|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.dataset.AbstractDataSetResource
fr.cnes.sitools.dataset.DataSetDictionaryMappingResource
public class DataSetDictionaryMappingResource
Resource for managing Dictionary mappings on a DataSet
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
DataSetDictionaryMappingResource()
|
Method Summary | |
---|---|
org.restlet.representation.Representation |
deleteMapping(org.restlet.representation.Variant variant)
Delete a mapping |
void |
describeDelete(org.restlet.ext.wadl.MethodInfo info)
|
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
|
void |
describePut(org.restlet.ext.wadl.MethodInfo info)
|
void |
doInit()
Initiate the resource |
java.lang.String |
getDictionaryId()
Gets the dictionaryId value |
org.restlet.representation.Representation |
putMapping(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Put a mapping to add or modify it on the dataset object |
org.restlet.representation.Representation |
retrieveMappings(org.restlet.representation.Variant variant)
Get a Mapping from a given dictionaryId |
void |
setDictionaryId(java.lang.String dictionaryId)
Sets the value of dictionaryId |
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.dataset.AbstractDataSetResource |
---|
getDatasetId, getObject, getRepresentation, registerObserver, unregisterObserver |
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 |
---|
public DataSetDictionaryMappingResource()
Method Detail |
---|
public void sitoolsDescribe()
AbstractSitoolsResource
sitoolsDescribe
in class AbstractSitoolsResource
public void doInit()
@Get public org.restlet.representation.Representation retrieveMappings(org.restlet.representation.Variant variant)
variant
- client preferred media type
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
@Put public org.restlet.representation.Representation putMapping(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
representation
- DictionaryMapping Representationvariant
- client preferred media type
public void describePut(org.restlet.ext.wadl.MethodInfo info)
@Delete public org.restlet.representation.Representation deleteMapping(org.restlet.representation.Variant variant)
variant
- client preferred media type
public void describeDelete(org.restlet.ext.wadl.MethodInfo info)
public java.lang.String getDictionaryId()
public void setDictionaryId(java.lang.String dictionaryId)
dictionaryId
- the dictionaryId to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |