public interface FeatureLocks extends WeakReferencingObservable, Persistent
Modifier and Type | Method and Description |
---|---|
void |
apply() |
long |
getDefaultTimeout() |
java.util.Iterator |
getGroups() |
int |
getGroupsCount() |
java.util.Iterator |
getLocks() |
long |
getLocksCount() |
java.util.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()
java.util.Iterator getGroups()
int getGroupsCount()
boolean isLocked(FeatureReference reference)
boolean isLocked(Feature feature)
long getLocksCount()
java.util.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()
java.util.Iterator getUnappliedLocks()