|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.ogcwebservices.wfs.operation.transaction.TransactionOperation org.deegree.ogcwebservices.wfs.operation.transaction.Delete
public class Delete
Represents a Delete
operation as a part of a Transaction
request.
WFS Specification OGC 04-094 (#12.2.6 Pg.71):
The Delete
element is used to indicate that one of more feature instances should be deleted. The scope
of the delete operation is constrained by using the Filter
element as described in the Filter
Encoding Specification[3].
In the event, that the Filter
element does not identify any Feature
instances to Delete
,
the Delete
action will simply have no effect.
This is not an exception condition.
Constructor Summary | |
---|---|
Delete(java.lang.String handle,
QualifiedName typeName,
Filter filter)
Creates a new Delete |
Method Summary | |
---|---|
protected static java.util.List<Delete> |
create(java.util.Map<QualifiedName,Filter> typeFilter)
Creates Delete instances from a KVP request. |
java.util.List<QualifiedName> |
getAffectedFeatureTypes()
Returns the names of the feature types that are affected by the operation. |
Filter |
getFilter()
Return Filter . |
QualifiedName |
getTypeName()
Returns the name of the targeted feature type. |
void |
setFilter(Filter filter)
sets the filter condition for an delete operation. |
void |
setTypeName(QualifiedName typeName)
Setter method for the type name |
Methods inherited from class org.deegree.ogcwebservices.wfs.operation.transaction.TransactionOperation |
---|
getHandle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Delete(java.lang.String handle, QualifiedName typeName, Filter filter)
Delete instance.
- Parameters:
handle
- optional identifier for the operation (for error messsages)typeName
- name of the targeted feature typefilter
- selects the feature instances to be deleted
Method Detail |
---|
public QualifiedName getTypeName()
public void setTypeName(QualifiedName typeName)
typeName
- a QualifiedName
public Filter getFilter()
Filter
.
public void setFilter(Filter filter)
filter
- public java.util.List<QualifiedName> getAffectedFeatureTypes()
For the Delete
operation, this is a list with a single entry - the value of the "typeName"
attribute.
getAffectedFeatureTypes
in class TransactionOperation
protected static java.util.List<Delete> create(java.util.Map<QualifiedName,Filter> typeFilter)
Delete
instances from a KVP request.
typeFilter
-
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org