public interface Configuration extends Service, ConfigurationTypes
Configuration
interface provides methods to configure the global
settings of the Content Library Service.
The configuration settings are used by the Content Library Service to control the behavior of various operations.
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
ConfigurationModel |
get()
Retrieves the current configuration values.
|
void |
get(AsyncCallback<ConfigurationModel> asyncCallback)
Retrieves the current configuration values.
|
void |
get(AsyncCallback<ConfigurationModel> asyncCallback,
InvocationConfig invocationConfig)
Retrieves the current configuration values.
|
ConfigurationModel |
get(InvocationConfig invocationConfig)
Retrieves the current configuration values.
|
void |
update(ConfigurationModel model)
Updates the configuration.
|
void |
update(ConfigurationModel model,
AsyncCallback<java.lang.Void> asyncCallback)
Updates the configuration.
|
void |
update(ConfigurationModel model,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Updates the configuration.
|
void |
update(ConfigurationModel model,
InvocationConfig invocationConfig)
Updates the configuration.
|
void update(ConfigurationModel model)
ConfigurationModel
class that is null
will not be
modified. Note that this update method doesn't guarantee an atomic change of all
the properties. In the case of a system crash or failure, some of the properties
could be left unchanged while others may be updated.
Synchronous method overload. Result of the invocation will be reported as a method return value.
model
- The ConfigurationModel
specifying the settings to
update.InvalidArgument
- if one of the configuration properties is not within the proper range.Unauthorized
- if you do not have all of the privileges described as follows: ContentLibrary.UpdateConfiguration
. void update(ConfigurationModel model, InvocationConfig invocationConfig)
ConfigurationModel
class that is null
will not be
modified. Note that this update method doesn't guarantee an atomic change of all
the properties. In the case of a system crash or failure, some of the properties
could be left unchanged while others may be updated.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
model
- The ConfigurationModel
specifying the settings to
update.invocationConfig
- Configuration for the method invocation.InvalidArgument
- if one of the configuration properties is not within the proper range.Unauthorized
- if you do not have all of the privileges described as follows: ContentLibrary.UpdateConfiguration
. void update(ConfigurationModel model, AsyncCallback<java.lang.Void> asyncCallback)
ConfigurationModel
class that is null
will not be
modified. Note that this update method doesn't guarantee an atomic change of all
the properties. In the case of a system crash or failure, some of the properties
could be left unchanged while others may be updated.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidArgument
- if one of the configuration properties is not within the proper range.
Unauthorized
- if you do not have all of the privileges described as follows:
ContentLibrary.UpdateConfiguration
. model
- The ConfigurationModel
specifying the settings to
update.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(ConfigurationModel model, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
ConfigurationModel
class that is null
will not be
modified. Note that this update method doesn't guarantee an atomic change of all
the properties. In the case of a system crash or failure, some of the properties
could be left unchanged while others may be updated.
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:
InvalidArgument
- if one of the configuration properties is not within the proper range.
Unauthorized
- if you do not have all of the privileges described as follows:
ContentLibrary.UpdateConfiguration
. model
- The ConfigurationModel
specifying the settings to
update.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ConfigurationModel get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
ConfigurationModel
instance representing the
configuration of the Content Library Service.Unauthorized
- if you do not have all of the privileges described as follows: ContentLibrary.GetConfiguration
. ConfigurationModel get(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.ConfigurationModel
instance representing the
configuration of the Content Library Service.Unauthorized
- if you do not have all of the privileges described as follows: ContentLibrary.GetConfiguration
. void get(AsyncCallback<ConfigurationModel> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The ConfigurationModel
instance representing the
configuration of the Content Library Service.
Operation Errors:
Unauthorized
- if you do not have all of the privileges described as follows:
ContentLibrary.GetConfiguration
. asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<ConfigurationModel> 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.
Invocation Result:
The ConfigurationModel
instance representing the
configuration of the Content Library Service.
Operation Errors:
Unauthorized
- if you do not have all of the privileges described as follows:
ContentLibrary.GetConfiguration
. asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.