fr.cnes.sitools.dictionary
Class ConceptTemplateCollectionResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.dictionary.AbstractConceptTemplateResource
fr.cnes.sitools.dictionary.ConceptTemplateCollectionResource
public class ConceptTemplateCollectionResource
- extends AbstractConceptTemplateResource
Resource for concept template collection
- Author:
- jp.boignard (AKKA technologies)
Method Summary |
org.restlet.representation.Representation |
newTemplate(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Create a new template |
org.restlet.representation.Representation |
retrieveTemplate(org.restlet.representation.Variant variant)
get all template |
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, getNotificationObject, getRepresentation, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConceptTemplateCollectionResource
public ConceptTemplateCollectionResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
newTemplate
@Post
public org.restlet.representation.Representation newTemplate(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
- Create a new template
- Parameters:
representation
- inputvariant
- client preferred media type
- Returns:
- Representation
retrieveTemplate
@Get
public org.restlet.representation.Representation retrieveTemplate(org.restlet.representation.Variant variant)
- get all template
- Parameters:
variant
- client preferred media type
- Returns:
- Representation
Copyright © 2010-2013 CNES. All Rights Reserved.