fr.cnes.sitools.dictionary
Class DictionaryResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.dictionary.AbstractDictionaryResource
fr.cnes.sitools.dictionary.DictionaryResource
public final class DictionaryResource
- extends AbstractDictionaryResource
Class for dictionary management (GET, UPDATE, DELETE)
- Author:
- jp.boignard (AKKA Technologies)
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.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, getNotificationObject, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DictionaryResource
public DictionaryResource()
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
- inputvariant
- 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.