fr.cnes.sitools.dictionary
Class DictionaryCollectionResource

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.DictionaryCollectionResource

public final class DictionaryCollectionResource
extends AbstractDictionaryResource

Class for dictionary collection management

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
DictionaryCollectionResource()
           
 
Method Summary
 org.restlet.representation.Representation newDictionary(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Create a new dictionary
 org.restlet.representation.Representation retrieveDictionary(org.restlet.representation.Variant variant)
          get all dictionary
 void sitoolsDescribe()
          Method implementation mandatory
 
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

DictionaryCollectionResource

public DictionaryCollectionResource()
Method Detail

sitoolsDescribe

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

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

newDictionary

@Post
public org.restlet.representation.Representation newDictionary(org.restlet.representation.Representation representation,
                                                                    org.restlet.representation.Variant variant)
Create a new dictionary

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

retrieveDictionary

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

Parameters:
variant - client preferred media type
Returns:
Representation


Copyright © 2010-2013 CNES. All Rights Reserved.