/** Encodes the ListStoredQueries ows:Operation element. */ protected OperationMetadata describeStoredQueries() { return new OperationMetadata("DescribeStoredQueries", true, true); }
/** Encodes the ListStoredQueries ows:Operation element. */ protected OperationMetadata listStoredQueries() { return new OperationMetadata("ListStoredQueries", true, true); }
/** Encodes the DropStoredQuery ows:Operation element. */ protected OperationMetadata dropStoredQuery() { return new OperationMetadata("DropStoredQuery", true, true); }
/** Encodes the GetGmlObject ows:Operation element. */ protected OperationMetadata getGmlObject() { return new OperationMetadata("GetGmlObject", true, true); }
/** Encodes the CreateStoredQuery ows:Operation element. */ protected OperationMetadata createStoredQuery() { OperationMetadata operation = new OperationMetadata("CreateStoredQuery", false, true); operation .getParameters() .add( new DomainType( "language", new String[] {CreateStoredQuery.DEFAULT_LANGUAGE})); return operation; }
/** Encodes the LockFeature ows:Operation element. */ protected OperationMetadata lockFeature() { OperationMetadata operation = new OperationMetadata("LockFeature", true, true); operation .getParameters() .add(new DomainType("releaseAction", new String[] {"ALL", "SOME"})); return operation; }
/** Encodes the LockFeature ows:Operation element. */ protected OperationMetadata lockFeature() { OperationMetadata operation = new OperationMetadata("LockFeature", true, true); operation .getParameters() .add(new DomainType("releaseAction", new String[] {"ALL", "SOME"})); return operation; }
/** Encodes the DescribeFeatureType ows:Operation element. */ protected OperationMetadata describeFeatureType() { OperationMetadata operation = new OperationMetadata("DescribeFeatureType", true, true); operation .getParameters() .add(new DomainType("outputFormat", new String[] {GML_3_1_1_FORMAT})); return operation; }
/** Encodes the DescribeFeatureType ows:Operation element. */ protected OperationMetadata describeFeatureType() { OperationMetadata operation = new OperationMetadata("DescribeFeatureType", true, true); operation .getParameters() .add(new DomainType("outputFormat", new String[] {GML32_FORMAT})); return operation; }
protected OperationMetadata getPropertyValue() { OperationMetadata operation = new OperationMetadata("GetPropertyValue", true, true); operation .getParameters() .add(new DomainType("resolve", new String[] {"none", "local"})); operation .getParameters() .add(new DomainType("outputFormat", new String[] {GML32_FORMAT})); return operation; }
/** Encodes the Transaction ows:Operation element. */ protected OperationMetadata transaction() { OperationMetadata operation = new OperationMetadata("Transaction", true, true); operation .getParameters() .add(new DomainType("inputFormat", new String[] {GML32_FORMAT})); operation .getParameters() .add(new DomainType("releaseAction", new String[] {"ALL", "SOME"})); return operation; }
/** Encodes the GetFeatureWithLock ows:Operation element. */ protected OperationMetadata getFeatureWithLock() { String[] formats = getoutputFormatNames(); OperationMetadata operation = new OperationMetadata("GetFeatureWithLock", true, true); operation .getParameters() .add(new DomainType("resultType", new String[] {"results", "hits"})); operation.getParameters().add(new DomainType("outputFormat", formats)); return operation; }
/** Encodes the GetFeature ows:Operation element. */ protected OperationMetadata getFeature() { String[] formats = getoutputFormatNames(); OperationMetadata operation = new OperationMetadata("GetFeature", true, true); operation .getParameters() .add(new DomainType("resultType", new String[] {"results", "hits"})); operation.getParameters().add(new DomainType("outputFormat", formats)); operation .getConstraints() .add(new DomainType("LocalTraverseXLinkScope", new String[] {"2"})); return operation; }
/** Encodes the GetFeatureWithLock ows:Operation element. */ protected OperationMetadata getFeatureWithLock() { String[] formats = getAvailableOutputFormatNames(GML32_FORMAT); OperationMetadata operation = new OperationMetadata("GetFeatureWithLock", true, true); operation .getParameters() .add(new DomainType("resultType", new String[] {"results", "hits"})); operation.getParameters().add(new DomainType("outputFormat", formats)); operation .getParameters() .add(new DomainType("resolve", new String[] {"none", "local"})); return operation; }
/** Encodes the Transaction ows:Operation element. */ protected OperationMetadata transaction() { OperationMetadata operation = new OperationMetadata("Transaction", true, true); operation .getParameters() .add(new DomainType("inputFormat", new String[] {GML_3_1_1_FORMAT})); operation .getParameters() .add( new DomainType( "idgen", new String[] { "GenerateNew", "UseExisting", "ReplaceDuplicate" })); operation .getParameters() .add(new DomainType("releaseAction", new String[] {"ALL", "SOME"})); return operation; }
/** Encodes the GetCapabilities ows:Operation element. */ protected OperationMetadata getCapabilities() { OperationMetadata operation = new OperationMetadata("GetCapabilities", true, true); operation .getParameters() .add(new DomainType("AcceptVersions", new String[] {"1.0.0", "1.1.0"})); operation .getParameters() .add(new DomainType("AcceptFormats", new String[] {"text/xml"})); operation .getParameters() .add( new DomainType( "Sections", new String[] { "ServiceIdentification", "ServiceProvider", "OperationsMetadata", "FeatureTypeList", "Filter_Capabilities" })); return operation; }
/** Encodes the GetFeature ows:Operation element. */ protected OperationMetadata getFeature() { String[] formats = getAvailableOutputFormatNames(GML32_FORMAT); OperationMetadata operation = new OperationMetadata("GetFeature", true, true); operation .getParameters() .add(new DomainType("resultType", new String[] {"results", "hits"})); operation.getParameters().add(new DomainType("outputFormat", formats)); operation.getConstraints().add(new DomainType("PagingIsTransactionSafe", FALSE)); operation .getConstraints() .add(new DomainType("CountDefault", String.valueOf(wfs.getMaxFeatures()))); operation .getParameters() .add(new DomainType("resolve", new String[] {"none", "local"})); return operation; }
/** Encodes the GetCapabilities ows:Operation element. */ protected OperationMetadata getCapabilities() { OperationMetadata operation = new OperationMetadata("GetCapabilities", true, true); operation .getParameters() .add( new DomainType( "AcceptVersions", new String[] {"1.0.0", "1.1.0", "2.0.0"})); operation .getParameters() .add(new DomainType("AcceptFormats", new String[] {"text/xml"})); operation .getParameters() .add( new DomainType( "Sections", new String[] { "ServiceIdentification", "ServiceProvider", "OperationsMetadata", "FeatureTypeList", "Filter_Capabilities" })); return operation; }
OperationMetadata pageResults = new OperationMetadata("PageResults", true, true); pageResults.getParameters().add(new DomainType("outputFormat", GML32_FORMAT)); operations.add(pageResults);