GeoAPI 2.0
Build 2005-06-08

org.opengis.feature
Interface LockRequest


@XmlElement(value="LockFeature")
public interface LockRequest

Represents the request for a lock. A lock is requested for a duration, except for the special case of a TRANSACTION_LOCK where the request is until the next commit or rollback.

A successful lock request will result in an authorization ID being generated. This is a simple token you can keep until you need to work with the content again. Without this token you are prevented from work (at least until the duration is up).

Since:
GeoAPI 2.0

Method Summary
 long getDuration()
          Returns a duration for which the request is valid.
 

Method Detail

getDuration

@XmlElement(value="expiry")
long getDuration()
Returns a duration for which the request is valid. The special value of -1 indicates that a lock should be valid only for the duration of a transaction.


GeoAPI 2.0
Build 2005-06-08

Symbols, terms and definitions
Copyright OpenGIS® Consortium