org.geotools.data.wfs.v1_0_0
Class LockRequest

Object
  extended by FeatureLock
      extended by LockRequest

public class LockRequest
extends FeatureLock

Extension to FeatureLock that records types and filters effected.

Author:
dzwiers

Field Summary
 
Fields inherited from class FeatureLock
authorization, duration, TRANSACTION
 
Constructor Summary
protected LockRequest(long duration, Map<String,Filter> dataSets)
           
protected LockRequest(long duration, String[] types, Filter[] filters)
           
 
Method Summary
 String getAuthorization()
          Authorisation provided.
 long getDuration()
          Gets the expiry time for this lock (in minutes).
 Filter[] getFilters()
           
 String[] getTypeNames()
           
protected  void setAuthorization(String auth)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockRequest

protected LockRequest(long duration,
                      Map<String,Filter> dataSets)

LockRequest

protected LockRequest(long duration,
                      String[] types,
                      Filter[] filters)
Method Detail

getAuthorization

public String getAuthorization()
Authorisation provided.

Overrides:
getAuthorization in class FeatureLock
Returns:
the authorization ID
See Also:
FeatureLock.getAuthorization()

setAuthorization

protected void setAuthorization(String auth)

getDuration

public long getDuration()
Description copied from class: FeatureLock
Gets the expiry time for this lock (in minutes).

Overrides:
getDuration in class FeatureLock
Returns:
expiry period
See Also:
FeatureLock.getDuration()

getTypeNames

public String[] getTypeNames()
Returns:
Type Names

getFilters

public Filter[] getFilters()
Returns:
Filters


Copyright © 1996-2014 Geotools. All Rights Reserved.