public class TLcdWFSGetFeatureWithLockRequest extends TLcdWFSGetFeatureRequest
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.RESULT_TYPE_HITS, RESULT_TYPE_RESULTS
Modifier and Type | Method and Description |
---|---|
Map |
getKVPEncoding()
Returns a key-value pair (KVP) encoding of this request.
|
InputStream |
getXMLEncoding()
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.
|
getRestEncoding, getTransportData, setBoundingBox, setBoundingBox, setMaxFeatures, setOGCFilter, setOGCFilters, setOGCSortBy, setOutputFormat, setResultType, setTransportData, setTypeName, setTypeNames
public void setExpiry(int aExpiry)
aExpiry
- A positive integer which represent the lock expiry time in seconds.public void setLockAction(TLcdWFSLockFeatureRequest.LockAction aLockAction)
ALL
and SOME
, as defined
in TLcdWFSLockFeatureRequest
. By default this is set to ALL
.
Set to null to reset to the default.aLockAction
- The lock action which should be set on this request.TLcdWFSLockFeatureRequest.LockAction.ALL
,
TLcdWFSLockFeatureRequest.LockAction.SOME
public Map getKVPEncoding()
TLcdWFSGetFeatureRequest
null
should be returned.getKVPEncoding
in interface ILcdOWSRequest
getKVPEncoding
in class TLcdWFSGetFeatureRequest
public InputStream getXMLEncoding()
TLcdWFSGetFeatureRequest
null
should be returned.getXMLEncoding
in interface ILcdOWSRequest
getXMLEncoding
in class TLcdWFSGetFeatureRequest