Package com.luciad.ogc.wfs.client
Class TLcdWFSGetFeatureWithLockRequest
java.lang.Object
com.luciad.ogc.wfs.client.TLcdWFSGetFeatureRequest
com.luciad.ogc.wfs.client.TLcdWFSGetFeatureWithLockRequest
- All Implemented Interfaces:
ILcdOWSRequest
A WFS
GetFeatureWithLock
request. Instances of this class can not be created
directly. An instance can be created using the
TLcdWFSClient.createGetFeatureWithLockRequest()
method. This
method will ensure a request object is created that is compatible with the WFS version
implemented by the WFS server.
This class extends the GetFeature request class with the necessary properties to request a lock.- Since:
- 10.0
-
Field Summary
Fields inherited from class com.luciad.ogc.wfs.client.TLcdWFSGetFeatureRequest
RESULT_TYPE_HITS, RESULT_TYPE_RESULTS
-
Method Summary
Modifier and TypeMethodDescriptionReturns a key-value pair (KVP) encoding of this request.Returns the XML encoding of this request.void
setExpiry
(int aExpiry) Sets the requested expiry time for the lock in seconds.void
setLockAction
(TLcdWFSLockFeatureRequest.LockAction aLockAction) Sets the lock action.Methods inherited from class com.luciad.ogc.wfs.client.TLcdWFSGetFeatureRequest
getRestEncoding, getTransportData, setBoundingBox, setBoundingBox, setMaxFeatures, setOGCFilter, setOGCFilters, setOGCSortBy, setOutputFormat, setResultType, setTransportData, setTypeName, setTypeNames
-
Method Details
-
setExpiry
public void setExpiry(int aExpiry) Sets the requested expiry time for the lock in seconds. The expiry determines how long the lock will remain valid after its creation. The expiry of a lock can also be reset by other requests. By default the expiry is set to 300 seconds.- Parameters:
aExpiry
- A positive integer which represent the lock expiry time in seconds.
-
setLockAction
Sets the lock action. Valid values are the enumeration valuesALL
andSOME
, as defined inTLcdWFSLockFeatureRequest
. By default this is set toALL
. Set to null to reset to the default.- Parameters:
aLockAction
- The lock action which should be set on this request.- See Also:
-
getKVPEncoding
Description copied from class:TLcdWFSGetFeatureRequest
Returns a key-value pair (KVP) encoding of this request. If no key-value pairs are defined, an empty map should be returned. If no key-value pair encoding is supported for this request,null
should be returned.- Specified by:
getKVPEncoding
in interfaceILcdOWSRequest
- Overrides:
getKVPEncoding
in classTLcdWFSGetFeatureRequest
- Returns:
- the key-value pair (KVP) representation of this request.
-
getXMLEncoding
Description copied from class:TLcdWFSGetFeatureRequest
Returns the XML encoding of this request. If no XML encoding is supported for this request,null
should be returned.- Specified by:
getXMLEncoding
in interfaceILcdOWSRequest
- Overrides:
getXMLEncoding
in classTLcdWFSGetFeatureRequest
- Returns:
- the XML representation of this request.
-