| 
deegree 2.1 (2007/11/08 09:57 build-328-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 | 
| Fields inherited from class org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequest | 
|---|
FORMAT_GML2, FORMAT_GML2_WFS100, FORMAT_GML3, FORMAT_XML | 
| Constructor Summary | |
|---|---|
GetFeatureWithLock(String version,
                                     String id,
                                     String handle,
                                     GetFeature.RESULT_TYPE resultType,
                                     String outputFormat,
                                     int maxFeatures,
                                     int startPosition,
                                     int traverseXLinkDepth,
                                     int traverseXLinkExpiry,
                                     Query[] queries,
                                     Map<String,String> vendorSpecificParam,
                                     long expiry,
                                     LockFeature.ALL_SOME_TYPE lockAction)
Creates a new GetFeatureWithLock instance. | 
|
| Method Summary | |
|---|---|
static GetFeatureWithLock | 
create(Map<String,String> kvp)
Creates a new GetFeatureWithLock request from the given map. | 
static GetFeatureWithLock | 
create(String id,
             Element root)
Creates a new GetFeatureWithLock instance from a document that contains the
 DOM representation of the request. | 
static GetFeatureWithLock | 
create(String id,
             String request)
Creates a new GetFeatureWithLock instance from the given key-value pair
 encoded request. | 
static GetFeatureWithLock | 
create(String version,
             String id,
             String handle,
             GetFeature.RESULT_TYPE resultType,
             String outputFormat,
             int maxFeatures,
             int startPosition,
             int traverseXLinkDepth,
             int traverseXLinkExpiry,
             Query[] queries,
             Map<String,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, 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(String version,
                   String id,
                   String handle,
                   GetFeature.RESULT_TYPE resultType,
                   String outputFormat,
                   int maxFeatures,
                   int startPosition,
                   int traverseXLinkDepth,
                   int traverseXLinkExpiry,
                   Query[] queries,
                   Map<String,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(String version,
                                        String id,
                                        String handle,
                                        GetFeature.RESULT_TYPE resultType,
                                        String outputFormat,
                                        int maxFeatures,
                                        int startPosition,
                                        int traverseXLinkDepth,
                                        int traverseXLinkExpiry,
                                        Query[] queries,
                                        Map<String,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(String id,
                                        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(String id,
                                        String request)
                                 throws InconsistentRequestException,
                                        InvalidParameterValueException
GetFeatureWithLock instance from the given key-value pair
 encoded request.
id - request identifierrequest - 
GetFeatureWithLock request
InvalidParameterValueException
InconsistentRequestException
public static GetFeatureWithLock create(Map<String,String> kvp)
                                 throws InconsistentRequestException,
                                        InvalidParameterValueException
GetFeatureWithLock request from the given map.
kvp - key-value pairs, keys have to be uppercase
GetFeatureWithLock request
InconsistentRequestException
InvalidParameterValueExceptionpublic long getExpiry()
public LockFeature.ALL_SOME_TYPE getLockAction()
LockFeature.ALL_SOME_TYPE
  | 
deegree 2.1 (2007/11/08 09:57 build-328-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://deegree.sourceforge.net