fr.cnes.sitools.dictionary
Class ConceptTemplateResource

java.lang.Object
  extended by ExtendedWadlServerResource
      extended by fr.cnes.sitools.common.resource.AbstractSitoolsResource
          extended by fr.cnes.sitools.common.SitoolsResource
              extended by fr.cnes.sitools.dictionary.AbstractConceptTemplateResource
                  extended by fr.cnes.sitools.dictionary.ConceptTemplateResource

public class ConceptTemplateResource
extends AbstractConceptTemplateResource

Resource for concept template services

Author:
jp.boignard (AKKA technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
ConceptTemplateResource()
           
 
Method Summary
 org.restlet.representation.Representation deleteConceptTemplate(org.restlet.representation.Variant variant)
          Delete template
 org.restlet.representation.Representation retrieveConceptTemplate(org.restlet.representation.Variant variant)
          get template
 void sitoolsDescribe()
          Method implementation mandatory
 org.restlet.representation.Representation updateConceptTemplate(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Update existing template
 
Methods inherited from class fr.cnes.sitools.dictionary.AbstractConceptTemplateResource
configure, doInit, getConceptTemplateId, getObject, getPropertyId, getStore
 
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 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

ConceptTemplateResource

public ConceptTemplateResource()
Method Detail

sitoolsDescribe

public void sitoolsDescribe()
Description copied from class: AbstractSitoolsResource
Method implementation mandatory

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

retrieveConceptTemplate

@Get
public org.restlet.representation.Representation retrieveConceptTemplate(org.restlet.representation.Variant variant)
get template

Parameters:
variant - client preferred media type
Returns:
Representation

updateConceptTemplate

@Put
public org.restlet.representation.Representation updateConceptTemplate(org.restlet.representation.Representation representation,
                                                                           org.restlet.representation.Variant variant)
Update existing template

Parameters:
representation - input
variant - client preferred media type
Returns:
Representation

deleteConceptTemplate

@Delete
public org.restlet.representation.Representation deleteConceptTemplate(org.restlet.representation.Variant variant)
Delete template

Parameters:
variant - client preferred media type
Returns:
Representation


Copyright © 2010-2013 CNES. All Rights Reserved.