public void releaseLock(String lockId) throws WFSException { new LockFeature(getServiceInfo(), catalog).release(lockId); }
public void releaseAllLocks() throws WFSException { new LockFeature(getServiceInfo(), catalog).releaseAll(); }
/** * WFS DescribeFeatureType operation. * * @param request The describe feature type request. * @return A set of feature type metadata objects. * @throws WFSException Any service exceptions. */ public FeatureTypeInfo[] describeFeatureType(DescribeFeatureTypeType request) throws WFSException { return new DescribeFeatureType(getServiceInfo(), catalog) .run(new DescribeFeatureTypeRequest.WFS11(request)); }
/** * WFS GetGmlObject operation. * * @param request The GetGmlObject request. * @return The gml object request. * @throws WFSException Any service exceptions. */ public Object getGmlObject(GetGmlObjectType request) throws WFSException { GetGmlObject getGmlObject = new GetGmlObject(getServiceInfo(), catalog); getGmlObject.setFilterFactory(filterFactory); return getGmlObject.run(request); }
/** * WFS GetFeature operation. * * @param request The get feature request. * @return A feature collection type instance. * @throws WFSException Any service exceptions. */ public FeatureCollectionResponse getFeature(GetFeatureType request) throws WFSException { GetFeature getFeature = new GetFeature(getServiceInfo(), catalog); getFeature.setFilterFactory(filterFactory); return getFeature.run(new GetFeatureRequest.WFS11(request)); }
/** * WFS GetCapabilities operation. * * @param request The get capabilities request. * @return A transformer instance capable of serializing a wfs capabilities document. * @throws WFSException Any service exceptions. */ public TransformerBase getCapabilities(GetCapabilitiesType request) throws WFSException { return new GetCapabilities( getServiceInfo(), catalog, WFSExtensions.findExtendedCapabilitiesProviders(context)) .run(new GetCapabilitiesRequest.WFS11(request)); }
/** * WFS LockFeatureType operation. * * @param request The lock feature request. * @return A lock feature response type. * @throws WFSException An service exceptions. */ public LockFeatureResponseType lockFeature(LockFeatureType request) throws WFSException { LockFeature lockFeature = new LockFeature(getServiceInfo(), catalog); lockFeature.setFilterFactory(filterFactory); return (LockFeatureResponseType) lockFeature.lockFeature(new LockFeatureRequest.WFS11(request)).getAdaptee(); }
/** * WFS transaction operation. * * @param request The transaction request. * @return A transaction response instance. * @throws WFSException Any service exceptions. */ public TransactionResponseType transaction(TransactionType request) throws WFSException { Transaction transaction = new Transaction(getServiceInfo(), catalog, context); transaction.setFilterFactory(filterFactory); return (TransactionResponseType) transaction.transaction(new TransactionRequest.WFS11(request)).getAdaptee(); }