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

Method Summary
 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()
           
 
Methods inherited from interface org.gvsig.tools.observer.Observable
addObserver, deleteObserver, deleteObservers
 
Methods inherited from interface org.gvsig.tools.persistence.Persistent
loadFromState, saveToState
 

Method Detail

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.