org.gvsig.fmap.dal.feature
Interface FeatureLocks
- All Superinterfaces:
- Observable, Persistent, WeakReferencingObservable
public interface FeatureLocks
- extends WeakReferencingObservable, Persistent
Manages locks of Features.
- Author:
- Joaquin del Cerro
apply
void apply()
getGroups
Iterator getGroups()
getGroupsCount
int getGroupsCount()
isLocked
boolean isLocked(FeatureReference reference)
isLocked
boolean isLocked(Feature feature)
getLocksCount
long getLocksCount()
getLocks
Iterator getLocks()
setDefaultTimeout
void setDefaultTimeout(long milisecs)
getDefaultTimeout
long getDefaultTimeout()
lock
boolean lock(FeatureReference reference)
lock
boolean lock(Feature feature)
lock
boolean lock(FeatureSet features)
throws DataException
- Throws:
DataException
lockAll
void lockAll()
throws DataException
- Throws:
DataException
unlock
boolean unlock(FeatureReference reference)
unlock
boolean unlock(Feature feature)
unlock
boolean unlock(FeatureSet features)
throws DataException
- Throws:
DataException
unlockAll
void unlockAll()
throws DataException
- Throws:
DataException
getUnappliedLocksCount
long getUnappliedLocksCount()
getUnappliedLocks
Iterator getUnappliedLocks()
Copyright © 2004-2012 gvSIG. All Rights Reserved.