Class CswQueryFactory

java.lang.Object
org.codice.ddf.spatial.ogc.csw.catalog.endpoint.CswQueryFactory

public class CswQueryFactory extends Object
CswQueryFactory provides utility methods for creating a QueryRequest
  • Constructor Details

    • CswQueryFactory

      public CswQueryFactory(CswRecordMap cswRecordMap, ddf.catalog.filter.FilterBuilder filterBuilder, ddf.catalog.filter.FilterAdapter adapter, ddf.security.permission.Permissions permissions)
  • Method Details

    • getJaxBContext

      public static javax.xml.bind.JAXBContext getJaxBContext() throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • getQueryById

      public ddf.catalog.operation.QueryRequest getQueryById(List<String> ids)
    • getQuery

      public ddf.catalog.operation.QueryRequest getQuery(net.opengis.cat.csw.v_2_0_2.GetRecordsType request) throws CswException
      Throws:
      CswException
    • getQuery

      public ddf.catalog.operation.QueryRequest getQuery(net.opengis.cat.csw.v_2_0_2.QueryConstraintType constraint, String typeName) throws CswException
      Throws:
      CswException
    • updateQueryRequestTags

      public ddf.catalog.operation.QueryRequest updateQueryRequestTags(ddf.catalog.operation.QueryRequest queryRequest, String schema) throws ddf.catalog.source.UnsupportedQueryException
      Throws:
      ddf.catalog.source.UnsupportedQueryException
    • setSchemaToTagsMapping

      public void setSchemaToTagsMapping(String[] schemaToTagsMappingStrings)
    • setAttributeRegistry

      public void setAttributeRegistry(ddf.catalog.data.AttributeRegistry attributeRegistry)
    • setQueryFilterTransformerProvider

      public void setQueryFilterTransformerProvider(ddf.catalog.transform.QueryFilterTransformerProvider queryFilterTransformerProvider)