Package org.cyclos.impl.system
Interface ScriptObjectStorage
-
- All Superinterfaces:
ObjectParameterStorage,ParameterStorage
public interface ScriptObjectStorage extends ObjectParameterStorage
AnObjectParameterStoragewhich has access to some attributes of the underlyingScriptStorage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetCreationDate()Delegates toScriptStorage.getCreationDate()DategetExpirationDate()Delegates toScriptStorage.getExpirationDate()StringgetKey()Delegates toScriptStorage.getKey()voidlock()Locks the storage for exclusive access.-
Methods inherited from interface org.cyclos.server.utils.ObjectParameterStorage
getObject, setObject
-
Methods inherited from interface org.cyclos.utils.ParameterStorage
addBoolean, addDate, addDecimal, addEnum, addInteger, addLong, addString, getBoolean, getDate, getDecimal, getDecimalList, getEnum, getEnumList, getInteger, getIntegerList, getLong, getLongList, getNames, getString, getStringList, isSet, remove, setBoolean, setDate, setDecimal, setEnum, setInteger, setLong, setString
-
-
-
-
Method Detail
-
getCreationDate
Date getCreationDate()
Delegates toScriptStorage.getCreationDate()
-
getExpirationDate
Date getExpirationDate()
Delegates toScriptStorage.getExpirationDate()
-
getKey
String getKey()
Delegates toScriptStorage.getKey()
-
lock
void lock()
Locks the storage for exclusive access. If some other process owns the lock over the same storage key, this method is held until the lock is released. The storage is re-read from the database before returning, so it is always safe to update it afterwards.
-
-