org.geotools.data.wfs.v1_0_0
Class LockRequest

Object
  extended by LockRequest
All Implemented Interfaces:
FeatureLock

public class LockRequest
extends Object
implements FeatureLock

DOCUMENT ME!

Author:
dzwiers
Module:

Field Summary
 
Fields inherited from interface FeatureLock
TRANSACTION
 
Constructor Summary
protected LockRequest(long duration, Map dataSets)
           
protected LockRequest(long duration, String[] types, Filter[] filters)
           
 
Method Summary
 String getAuthorization()
          LockId used for transaction authorization.
 long getDuration()
          Time from now the lock will expire
 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 dataSets)

LockRequest

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

getAuthorization

public String getAuthorization()
Description copied from interface: FeatureLock
LockId used for transaction authorization.

Specified by:
getAuthorization in interface FeatureLock
Returns:
A string of the LockId.
See Also:
FeatureLock.getAuthorization()

setAuthorization

protected void setAuthorization(String auth)

getDuration

public long getDuration()
Description copied from interface: FeatureLock
Time from now the lock will expire

Specified by:
getDuration in interface FeatureLock
Returns:
A long of the time till the lock expires.
See Also:
FeatureLock.getDuration()

getTypeNames

public String[] getTypeNames()
Returns:
Type Names

getFilters

public Filter[] getFilters()
Returns:
Filters


Copyright © 1996-2009 Geotools. All Rights Reserved.