|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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(String handle,
QualifiedName typeName,
Filter filter)
Creates a new Delete |
Method Summary | |
---|---|
protected static List<Delete> |
create(Map typeFilter)
Creates Delete instances from a KVP request. |
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. |
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(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 Filter getFilter()
Filter
.
public void setFilter(Filter filter)
filter
- public 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 List<Delete> create(Map typeFilter)
Delete
instances from a KVP request.
typeFilter
-
InconsistentRequestException
|
deegree 2.1 (2007/11/08 09:57 build-328-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://deegree.sourceforge.net