|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcwebservices.AbstractOGCWebServiceRequest
org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequest
org.deegree.ogcwebservices.wfs.operation.GetFeature
org.deegree.ogcwebservices.wfs.operation.GetFeatureWithLock
public class GetFeatureWithLock
Represents a GetFeatureWithLock request to a web feature service.
This is identical to a GetFeature request, except that the features matching the request will also be locked.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.deegree.ogcwebservices.wfs.operation.GetFeature |
|---|
GetFeature.RESULT_TYPE |
| Field Summary |
|---|
| Fields inherited from class org.deegree.ogcwebservices.wfs.operation.GetFeature |
|---|
FORMAT_FEATURECOLLECTION, maxFeatures, outputFormat, queries, resultType, startPosition |
| Fields inherited from class org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequest |
|---|
FORMAT_GML2, FORMAT_GML2_WFS100, FORMAT_GML3, FORMAT_XML |
| Constructor Summary | |
|---|---|
GetFeatureWithLock(java.lang.String version,
java.lang.String id,
java.lang.String handle,
GetFeature.RESULT_TYPE resultType,
java.lang.String outputFormat,
int maxFeatures,
int startPosition,
int traverseXLinkDepth,
int traverseXLinkExpiry,
Query[] queries,
java.util.Map<java.lang.String,java.lang.String> vendorSpecificParam,
long expiry,
LockFeature.ALL_SOME_TYPE lockAction)
Creates a new GetFeatureWithLock instance. |
|
| Method Summary | |
|---|---|
static GetFeatureWithLock |
create(java.util.Map<java.lang.String,java.lang.String> kvp)
Creates a new GetFeatureWithLock request from the given map. |
static GetFeatureWithLock |
create(java.lang.String id,
org.w3c.dom.Element root)
Creates a new GetFeatureWithLock instance from a document that contains the DOM representation of
the request. |
static GetFeatureWithLock |
create(java.lang.String id,
java.lang.String request)
Creates a new GetFeatureWithLock instance from the given key-value pair encoded request. |
static GetFeatureWithLock |
create(java.lang.String version,
java.lang.String id,
java.lang.String handle,
GetFeature.RESULT_TYPE resultType,
java.lang.String outputFormat,
int maxFeatures,
int startPosition,
int traverseXLinkDepth,
int traverseXLinkExpiry,
Query[] queries,
java.util.Map<java.lang.String,java.lang.String> vendorSpecificParam,
long expiry,
LockFeature.ALL_SOME_TYPE lockAction)
Creates a new GetFeatureWithLock instance from the given parameters. |
long |
getExpiry()
Returns the limit on how long the web feature service holds the lock in the event that a transaction is never issued that would release the lock. |
LockFeature.ALL_SOME_TYPE |
getLockAction()
Returns the mode for lock acquisition. |
| Methods inherited from class org.deegree.ogcwebservices.wfs.operation.GetFeature |
|---|
create, extractPropNames, getMaxFeatures, getOutputFormat, getQuery, getResultType, getStartPosition, getTraverseXLinkDepth, getTraverseXLinkExpiry, guessAllMissingNamespaces, guessMissingTypeNameNamespaces, setMaxFeatures, setQueries, toString |
| Methods inherited from class org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequest |
|---|
checkServiceParameter, checkVersionParameter, extractBBOXFilter, extractFilters, extractNamespaceParameter, extractTypeNames, getHandle, getServiceName |
| Methods inherited from class org.deegree.ogcwebservices.AbstractOGCWebServiceRequest |
|---|
getId, getParam, getParamAsInt, getParamValues, getRequestParameter, getRequiredParam, getVendorSpecificParameter, getVendorSpecificParameters, getVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
GetFeatureWithLock(java.lang.String version,
java.lang.String id,
java.lang.String handle,
GetFeature.RESULT_TYPE resultType,
java.lang.String outputFormat,
int maxFeatures,
int startPosition,
int traverseXLinkDepth,
int traverseXLinkExpiry,
Query[] queries,
java.util.Map<java.lang.String,java.lang.String> vendorSpecificParam,
long expiry,
LockFeature.ALL_SOME_TYPE lockAction)
GetFeatureWithLock instance.
version - request versionid - id of the requesthandle - resultType - desired result type (results | hits)outputFormat - requested result formatmaxFeatures - startPosition - deegree specific parameter defining where to start considering featurestraverseXLinkDepth - traverseXLinkExpiry - queries - vendorSpecificParam - expiry - the limit on how long the web feature service keeps the lock (in milliseconds)lockAction - method for lock acquisition| Method Detail |
|---|
public static GetFeatureWithLock create(java.lang.String version,
java.lang.String id,
java.lang.String handle,
GetFeature.RESULT_TYPE resultType,
java.lang.String outputFormat,
int maxFeatures,
int startPosition,
int traverseXLinkDepth,
int traverseXLinkExpiry,
Query[] queries,
java.util.Map<java.lang.String,java.lang.String> vendorSpecificParam,
long expiry,
LockFeature.ALL_SOME_TYPE lockAction)
GetFeatureWithLock instance from the given parameters.
version - request versionid - id of the requesthandle - resultType - desired result type (results | hits)outputFormat - requested result formatmaxFeatures - startPosition - deegree specific parameter defining where to start considering featurestraverseXLinkDepth - traverseXLinkExpiry - queries - vendorSpecificParam - expiry - the limit on how long the web feature service keeps the lock (in milliseconds)lockAction - method for lock acquisition
GetFeatureWithLock request
public static GetFeatureWithLock create(java.lang.String id,
org.w3c.dom.Element root)
throws OGCWebServiceException
GetFeatureWithLock instance from a document that contains the DOM representation of
the request.
id - of the requestroot - element that contains the DOM representation of the request
GetFeatureWithLock request
OGCWebServiceException
public static GetFeatureWithLock create(java.lang.String id,
java.lang.String request)
throws InconsistentRequestException,
InvalidParameterValueException,
MissingParameterValueException
GetFeatureWithLock instance from the given key-value pair encoded request.
id - request identifierrequest -
GetFeatureWithLock request
InvalidParameterValueException
InconsistentRequestException
MissingParameterValueException
public static GetFeatureWithLock create(java.util.Map<java.lang.String,java.lang.String> kvp)
throws InconsistentRequestException,
InvalidParameterValueException,
MissingParameterValueException
GetFeatureWithLock request from the given map.
kvp - key-value pairs, keys have to be uppercase
GetFeatureWithLock request
InconsistentRequestException
InvalidParameterValueException
MissingParameterValueExceptionpublic long getExpiry()
public LockFeature.ALL_SOME_TYPE getLockAction()
LockFeature.ALL_SOME_TYPE
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org