org.geotools.data.wfs
Class LockRequest

java.lang.Object
  extended byorg.geotools.data.wfs.LockRequest
All Implemented Interfaces:
FeatureLock

public class LockRequest
extends java.lang.Object
implements FeatureLock

DOCUMENT ME!

Author:
dzwiers

Field Summary
 
Fields inherited from interface org.geotools.data.FeatureLock
TRANSACTION
 
Constructor Summary
protected LockRequest(long duration, java.util.Map dataSets)
           
protected LockRequest(long duration, java.lang.String[] types, Filter[] filters)
           
 
Method Summary
 java.lang.String getAuthorization()
          LockId used for transaction authorization.
 long getDuration()
          Time from now the lock will expire
 Filter[] getFilters()
           
 java.lang.String[] getTypeNames()
           
protected  void setAuthorization(java.lang.String auth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockRequest

protected LockRequest(long duration,
                      java.util.Map dataSets)

LockRequest

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

getAuthorization

public java.lang.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(java.lang.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 java.lang.String[] getTypeNames()
Returns:
Type Names

getFilters

public Filter[] getFilters()
Returns:
Filters


Copyright © GeoTools. All Rights Reserved.