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, deleteObservers
loadFromState, saveToState
void 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
DataException
void lockAll() throws DataException
DataException
boolean unlock(FeatureReference reference)
boolean unlock(Feature feature)
boolean unlock(FeatureSet features) throws DataException
DataException
void unlockAll() throws DataException
DataException
long getUnappliedLocksCount()
Iterator getUnappliedLocks()