fr.cnes.sitools.dataset.opensearch
Class OpenSearchCollectionResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.dataset.opensearch.AbstractSearchResource
fr.cnes.sitools.dataset.opensearch.OpenSearchCollectionResource
public class OpenSearchCollectionResource
- extends AbstractSearchResource
Class Resource for managing Project Collection (GET, POST)
- Author:
- jp.boignard (AKKA Technologies)
Method Summary |
org.restlet.representation.Representation |
newOpensearch(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Update / Validate existing OpenSearch |
org.restlet.representation.Representation |
retrieve(org.restlet.representation.Variant variant)
get all OpenSearch configuration |
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenSearchCollectionResource
public OpenSearchCollectionResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
newOpensearch
@Post
public org.restlet.representation.Representation newOpensearch(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
- Update / Validate existing OpenSearch
- Parameters:
representation
- OpenSearch configurationvariant
- client preferred media type
- Returns:
- Representation
retrieve
@Get
public org.restlet.representation.Representation retrieve(org.restlet.representation.Variant variant)
- get all OpenSearch configuration
- Parameters:
variant
- client preferred media type
- Returns:
- Representation
Copyright © 2010-2013 CNES. All Rights Reserved.