fr.cnes.sitools.dictionary
Class DictionaryResource

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.AbstractDictionaryResource
                  extended by fr.cnes.sitools.dictionary.DictionaryResource

public final class DictionaryResource
extends AbstractDictionaryResource

Class for dictionary management (GET, UPDATE, DELETE)

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
DictionaryResource()
           
 
Method Summary
 org.restlet.representation.Representation deleteDictionary(org.restlet.representation.Variant variant)
          Delete dictionary
 org.restlet.representation.Representation retrieveDictionary(org.restlet.representation.Variant variant)
          get dictionary
 void sitoolsDescribe()
          Method implementation mandatory
 org.restlet.representation.Representation updateDictionary(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Update existing dictionary
 
Methods inherited from class fr.cnes.sitools.dictionary.AbstractDictionaryResource
configure, doInit, getConceptId, getDictionaryId, getNotionId, getObject, getRepresentation, getStore
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, getNotificationObject, 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

DictionaryResource

public DictionaryResource()
Method Detail

sitoolsDescribe

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

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

retrieveDictionary

@Get
public org.restlet.representation.Representation retrieveDictionary(org.restlet.representation.Variant variant)
get dictionary

Parameters:
variant - client preferred media type
Returns:
Representation

updateDictionary

@Put
public org.restlet.representation.Representation updateDictionary(org.restlet.representation.Representation representation,
                                                                      org.restlet.representation.Variant variant)
Update existing dictionary

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

deleteDictionary

@Delete
public org.restlet.representation.Representation deleteDictionary(org.restlet.representation.Variant variant)
Delete dictionary

Parameters:
variant - client preferred media type
Returns:
Representation


Copyright © 2010-2013 CNES. All Rights Reserved.