Class TLcdWFSGetFeatureWithLockRequest

java.lang.Object
com.luciad.ogc.wfs.client.TLcdWFSGetFeatureRequest
com.luciad.ogc.wfs.client.TLcdWFSGetFeatureWithLockRequest
All Implemented Interfaces:
ILcdOWSRequest

public class TLcdWFSGetFeatureWithLockRequest extends TLcdWFSGetFeatureRequest
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
  • 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

      public void setLockAction(TLcdWFSLockFeatureRequest.LockAction aLockAction)
      Sets the lock action. Valid values are the enumeration values ALL and SOME, as defined in TLcdWFSLockFeatureRequest. By default this is set to ALL. Set to null to reset to the default.
      Parameters:
      aLockAction - The lock action which should be set on this request.
      See Also:
    • getKVPEncoding

      public Map 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 interface ILcdOWSRequest
      Overrides:
      getKVPEncoding in class TLcdWFSGetFeatureRequest
      Returns:
      the key-value pair (KVP) representation of this request.
    • getXMLEncoding

      public InputStream getXMLEncoding()
      Description copied from class: TLcdWFSGetFeatureRequest
      Returns the XML encoding of this request.

      If no XML encoding is supported for this request, nullshould be returned.

      Specified by:
      getXMLEncoding in interface ILcdOWSRequest
      Overrides:
      getXMLEncoding in class TLcdWFSGetFeatureRequest
      Returns:
      the XML representation of this request.