|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.vfny.geoserver.requests.wfs.SubTransactionRequest org.vfny.geoserver.requests.wfs.DeleteRequest
Defines a WFS Delete request, an element of TransactionRequest.
Defines a WFS delete request, which is a type transaction request. Full transaction requests may contain one or more delete requests. Note that this delete request object is slightly different than it is defined in the WFS 1.0 specification. In the specification, the delete request may contain one or more filters and feature types for deletion. In this construction - for consistency - each delete request may contain only a single feature type delete operation and filter. This rationalizes the design of the transaction object (which contains one or more sub requests) and its children requests, which contain only a single operation.
Each delete request contains a type name, (optionally) a filter, and (optionally) a release all boolean. Release all defines the action to preform on feature locks. If it is specified as true, then all feature locks are released when the transaction terminates. If it is specified as false, only those records that are modified are released.
Field Summary | |
protected org.geotools.filter.Filter |
filter
Specifies the features to lock. |
protected boolean |
releaseAll
|
protected java.lang.String |
typeName
Specifies the output format |
Fields inherited from class org.vfny.geoserver.requests.wfs.SubTransactionRequest |
DELETE, handle, INSERT, UPDATE |
Constructor Summary | |
DeleteRequest()
Empty constructor. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
org.geotools.filter.Filter |
getFilter()
Gets the filter of what features should be returned. |
java.lang.String |
getOperation()
Returns what type of transaction operation this is. |
short |
getOpType()
Gets the short representation of this operation. |
boolean |
getReleaseAll()
Gets whether all locks should be released after this transaction. |
java.lang.String |
getTypeName()
Gets the Name of the FeatureTypeInfo for this request. |
void |
setFilter(org.geotools.filter.Filter filter)
Sets the filter of what features should be returned. |
void |
setReleaseAll(boolean releaseAll)
Sets whether all locks should be released after this transaction. |
void |
setTypeName(java.lang.String typeName)
Sets the name of type to delete. |
java.lang.String |
toString()
Override of toString(). |
Methods inherited from class org.vfny.geoserver.requests.wfs.SubTransactionRequest |
getHandle, setHandle |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String typeName
protected org.geotools.filter.Filter filter
protected boolean releaseAll
Constructor Detail |
public DeleteRequest()
Method Detail |
public java.lang.String getTypeName()
getTypeName
in class SubTransactionRequest
public void setTypeName(java.lang.String typeName)
setTypeName
in class SubTransactionRequest
typeName
- The feature type name.public org.geotools.filter.Filter getFilter()
public void setFilter(org.geotools.filter.Filter filter)
setFilter
in class SubTransactionRequest
filter
- The geotools filter to query against.public boolean getReleaseAll()
public void setReleaseAll(boolean releaseAll)
releaseAll
- if all locks should be released.public java.lang.String getOperation()
public short getOpType()
getOpType
in class SubTransactionRequest
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |