public interface DataCache
|Modifier and Type||Method and Description|
Creates a new object of the given type in the Libertor's object cache.
Removes the object
AuthenticationResult createObject(java.lang.String objectName, int objectType)
Creates a new object of the given type in the Libertor's object cache. Creation may fail in the following ways;
AuthenticationResult.OK: indicates a new object was successfully created
AuthenticationResult.DENY: indicates creation failed as an object with the provided
objectNamealready exists. Note: the existing object may, or may not, be of a different type to the type specified to this method.
AuthenticationResult.ERROR: indicates creation failed as there is an existing directory of the same name as the parameter
objectName- the name of the object to be created in the Liberator cache.
objectType- the type of object that will be created.
AuthenticationResultindicating whether the object was successfully created or not.
AuthenticationResult.OKindicates creation was successful,
AuthenticationResult.DENYindicates the object already exists and
AuthenticationResult.ERROR/indicates the creation has failed.
void remove(java.lang.String objectName)
objectNamefrom the Liberator's object cache.
objectName- the name of the object that will be removed.
Please send bug reports and comments to Caplin support