org.fao.geonet.kernel.csw.services
Class GetDomain

java.lang.Object
  extended by org.fao.geonet.kernel.csw.services.AbstractOperation
      extended by org.fao.geonet.kernel.csw.services.GetDomain
All Implemented Interfaces:
CatalogService

public class GetDomain
extends AbstractOperation
implements CatalogService


Constructor Summary
GetDomain(LuceneConfig luceneConfig)
           
 
Method Summary
 org.jdom.Element adaptGetRequest(Map<String,String> params)
          Convert params in a GET request to a POST request
 org.jdom.Element execute(org.jdom.Element request, ServiceContext context)
          Executes the service on given input request
 String getName()
          Returns the name of the service for dispatching purposes
static List<org.jdom.Element> handlePropertyName(String[] propertyNames, ServiceContext context, boolean freq, int maxRecords, String cswServiceSpecificConstraint, LuceneConfig luceneConfig)
           
 org.jdom.Element retrieveValues(String parameterName)
          Return domain values information for specific parameters
 
Methods inherited from class org.fao.geonet.kernel.csw.services.AbstractOperation
addElement, checkService, checkVersion, createValuesElement, createValuesElementNS, fill, fill, getElementSetName, getFilterExpression, getFilterVersion, retrieveNamespaces, retrieveTypeNames, setAttrib
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetDomain

public GetDomain(LuceneConfig luceneConfig)
Method Detail

getName

public String getName()
Description copied from interface: CatalogService
Returns the name of the service for dispatching purposes

Specified by:
getName in interface CatalogService

execute

public org.jdom.Element execute(org.jdom.Element request,
                                ServiceContext context)
                         throws CatalogException
Description copied from interface: CatalogService
Executes the service on given input request

Specified by:
execute in interface CatalogService
Throws:
CatalogException

adaptGetRequest

public org.jdom.Element adaptGetRequest(Map<String,String> params)
Description copied from interface: CatalogService
Convert params in a GET request to a POST request

Specified by:
adaptGetRequest in interface CatalogService

retrieveValues

public org.jdom.Element retrieveValues(String parameterName)
                                throws CatalogException
Description copied from interface: CatalogService
Return domain values information for specific parameters

Specified by:
retrieveValues in interface CatalogService
Throws:
CatalogException

handlePropertyName

public static List<org.jdom.Element> handlePropertyName(String[] propertyNames,
                                                        ServiceContext context,
                                                        boolean freq,
                                                        int maxRecords,
                                                        String cswServiceSpecificConstraint,
                                                        LuceneConfig luceneConfig)
                                                 throws Exception
Throws:
Exception


Copyright © 2003-2013. All Rights Reserved.