public interface Domains extends Service, DomainsTypes
Domains
interface provides methods DNS search domains.Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String domain)
Add domain to DNS search domains.
|
void |
add(java.lang.String domain,
AsyncCallback<java.lang.Void> asyncCallback)
Add domain to DNS search domains.
|
void |
add(java.lang.String domain,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Add domain to DNS search domains.
|
void |
add(java.lang.String domain,
InvocationConfig invocationConfig)
Add domain to DNS search domains.
|
java.util.List<java.lang.String> |
list()
Get list of DNS search domains.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Get list of DNS search domains.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Get list of DNS search domains.
|
java.util.List<java.lang.String> |
list(InvocationConfig invocationConfig)
Get list of DNS search domains.
|
void |
set(java.util.List<java.lang.String> domains)
Set DNS search domains.
|
void |
set(java.util.List<java.lang.String> domains,
AsyncCallback<java.lang.Void> asyncCallback)
Set DNS search domains.
|
void |
set(java.util.List<java.lang.String> domains,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set DNS search domains.
|
void |
set(java.util.List<java.lang.String> domains,
InvocationConfig invocationConfig)
Set DNS search domains.
|
void add(java.lang.String domain)
Synchronous method overload. Result of the invocation will be reported as a method return value.
domain
- Domain to add.Error
- Generic errorvoid add(java.lang.String domain, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
domain
- Domain to add.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid add(java.lang.String domain, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
domain
- Domain to add.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void add(java.lang.String domain, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- Generic error
domain
- Domain to add.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void set(java.util.List<java.lang.String> domains)
Synchronous method overload. Result of the invocation will be reported as a method return value.
domains
- List of domains.Error
- Generic errorvoid set(java.util.List<java.lang.String> domains, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
domains
- List of domains.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid set(java.util.List<java.lang.String> domains, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
domains
- List of domains.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(java.util.List<java.lang.String> domains, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- Generic error
domains
- List of domains.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<java.lang.String> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorjava.util.List<java.lang.String> list(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
List of domains.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
List of domains.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.