public interface FeatureLocks extends WeakReferencingObservable, Persistent
| Modifier and Type | Method and Description |
|---|---|
void |
apply() |
long |
getDefaultTimeout() |
Iterator |
getGroups() |
int |
getGroupsCount() |
Iterator |
getLocks() |
long |
getLocksCount() |
Iterator |
getUnappliedLocks() |
long |
getUnappliedLocksCount() |
boolean |
isLocked(Feature feature) |
boolean |
isLocked(FeatureReference reference) |
boolean |
lock(Feature feature) |
boolean |
lock(FeatureReference reference) |
boolean |
lock(FeatureSet features) |
void |
lockAll() |
void |
setDefaultTimeout(long milisecs) |
boolean |
unlock(Feature feature) |
boolean |
unlock(FeatureReference reference) |
boolean |
unlock(FeatureSet features) |
void |
unlockAll() |
addObserver, deleteObserver, deleteObserversloadFromState, saveToStatevoid apply()
Iterator getGroups()
int getGroupsCount()
boolean isLocked(FeatureReference reference)
boolean isLocked(Feature feature)
long getLocksCount()
Iterator getLocks()
void setDefaultTimeout(long milisecs)
long getDefaultTimeout()
boolean lock(FeatureReference reference)
boolean lock(Feature feature)
boolean lock(FeatureSet features) throws DataException
DataExceptionvoid lockAll()
throws DataException
DataExceptionboolean unlock(FeatureReference reference)
boolean unlock(Feature feature)
boolean unlock(FeatureSet features) throws DataException
DataExceptionvoid unlockAll()
throws DataException
DataExceptionlong getUnappliedLocksCount()
Iterator getUnappliedLocks()