|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.dataset.opensearch.AbstractSearchResource
fr.cnes.sitools.dataset.opensearch.OpenSearchResource
public final class OpenSearchResource
OpenSearch CRUD resource
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
OpenSearchResource()
|
Method Summary | |
---|---|
org.restlet.representation.Representation |
deleteOpensearch(org.restlet.representation.Variant variant)
Delete OpenSearch |
void |
describeDelete(org.restlet.ext.wadl.MethodInfo info)
Describe the DELETE HTTP command |
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
Describe the GET HTTP command |
void |
describePost(org.restlet.ext.wadl.MethodInfo info)
Describe the POST HTTP command |
void |
describePut(org.restlet.ext.wadl.MethodInfo info)
Describe the PUT HTTP command |
void |
doInit()
Initiate the resource |
org.restlet.representation.Representation |
get(org.restlet.representation.Variant variant)
|
org.restlet.representation.Representation |
newOpensearch(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Create / attach OpenSearch to dataset |
void |
sitoolsDescribe()
Method implementation mandatory |
org.restlet.representation.Representation |
updateOpensearch(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Update / Validate existing OpenSearchs |
Methods inherited from class fr.cnes.sitools.dataset.opensearch.AbstractSearchResource |
---|
getDatasetId, getIndexName, getOpenSearchApplication, getRepresentation, getStore, getStoreFeed, registerObserver, setIndexName, unregisterObserver |
Methods inherited from class fr.cnes.sitools.common.resource.AbstractSitoolsResource |
---|
getMediaType |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenSearchResource()
Method Detail |
---|
public void sitoolsDescribe()
AbstractSitoolsResource
sitoolsDescribe
in class AbstractSitoolsResource
public void doInit()
SitoolsResource
doInit
in class AbstractSearchResource
@Post public org.restlet.representation.Representation newOpensearch(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
representation
- The representation parametervariant
- client preferred media type
public void describePost(org.restlet.ext.wadl.MethodInfo info)
info
- the method WADL info@Get public org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
info
- the method WADL info@Put public org.restlet.representation.Representation updateOpensearch(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
representation
- the representation parametervariant
- client preferred media type
public void describePut(org.restlet.ext.wadl.MethodInfo info)
info
- the method WADL info@Delete public org.restlet.representation.Representation deleteOpensearch(org.restlet.representation.Variant variant)
variant
- client preferred media type
public void describeDelete(org.restlet.ext.wadl.MethodInfo info)
info
- the method WADL info
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |