org.geotools.data.wfs
Class LockRequest
java.lang.Object
org.geotools.data.wfs.LockRequest
- All Implemented Interfaces:
- FeatureLock
- public class LockRequest
- extends java.lang.Object
- implements FeatureLock
DOCUMENT ME!
- Author:
- dzwiers
Constructor Summary |
protected |
LockRequest(long duration,
java.util.Map dataSets)
|
protected |
LockRequest(long duration,
java.lang.String[] types,
Filter[] filters)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LockRequest
protected LockRequest(long duration,
java.util.Map dataSets)
LockRequest
protected LockRequest(long duration,
java.lang.String[] types,
Filter[] filters)
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.