|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.wfs.protocol.WFSLock_Impl
The purpose of the LockFeature interface is to expose a long term feature locking mechanism to ensure consistency. The lock is considered long term because network latency would make feature locks last relatively longer than native commercial database locks.
The LockFeature interface is optional and need only be implemented if the underlying datastore supports (or can be made to support) data locking. In addition, the implementation of locking is completely opaque to the client.
--------------------------------------------------------
Field Summary | |
private java.util.ArrayList |
featureIds
|
private Filter |
filter
|
private java.lang.String |
handle
|
private java.lang.String |
lockAction
|
private java.lang.String |
typeName
|
Constructor Summary | |
(package private) |
WFSLock_Impl()
default constructor |
(package private) |
WFSLock_Impl(java.lang.String lockAction,
java.lang.String typeName,
java.lang.String handle,
Filter filter,
java.lang.String[] featureIds)
constructor initializing the class with the |
Method Summary | |
void |
addFeatureIds(java.lang.String featureIds)
adds the |
java.lang.String[] |
getFeatureIds()
A list of feature identifiers upon which the specified operation shall be applied. |
Filter |
getFilter()
A filter specification describes a set of features to operate upon. |
java.lang.String |
getHandle()
The handle attribute is included to allow a server to associate any text to the response. |
java.lang.String |
getLockAction()
Specify how the lock should be acquired. |
java.lang.String |
getTypeName()
If a filter is not specified, then the optional typeName attribute can be used to specify that all feature instances of a particular feature type should be locked. |
void |
setFeatureIds(java.lang.String[] featureIds)
sets the |
void |
setFilter(Filter filter)
sets the |
void |
setHandle(java.lang.String handle)
sets the |
void |
setLockAction(java.lang.String lockAction)
sets |
void |
setTypeName(java.lang.String typeName)
sets |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.ArrayList featureIds
private Filter filter
private java.lang.String handle
private java.lang.String lockAction
private java.lang.String typeName
Constructor Detail |
WFSLock_Impl()
WFSLock_Impl(java.lang.String lockAction, java.lang.String typeName, java.lang.String handle, Filter filter, java.lang.String[] featureIds)
Method Detail |
public java.lang.String getLockAction()
getLockAction
in interface WFSLock
public void setLockAction(java.lang.String lockAction)
public java.lang.String getTypeName()
getTypeName
in interface WFSLock
public void setTypeName(java.lang.String typeName)
public java.lang.String getHandle()
getHandle
in interface WFSLock
public void setHandle(java.lang.String handle)
public Filter getFilter()
getFilter
in interface WFSLock
public void setFilter(Filter filter)
public java.lang.String[] getFeatureIds()
getFeatureIds
in interface WFSLock
public void addFeatureIds(java.lang.String featureIds)
public void setFeatureIds(java.lang.String[] featureIds)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |