|
||||||||||
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.common.AbstractPluginResource
fr.cnes.sitools.dataset.converter.AbstractConverterResource
fr.cnes.sitools.dataset.converter.ConverterChainedResource
public final class ConverterChainedResource
Resource for a converter
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
ConverterChainedResource()
|
Method Summary | |
---|---|
org.restlet.representation.Representation |
deleteConverterChainedModel(org.restlet.representation.Variant variant)
Delete Converter |
void |
describeDelete(org.restlet.ext.wadl.MethodInfo info)
Describe the Delete command |
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
Describe the Get command |
void |
describePost(org.restlet.ext.wadl.MethodInfo info)
Describe the POST command |
void |
describePut(org.restlet.ext.wadl.MethodInfo info)
Describe the Put command |
void |
doInit()
Initiate the resource |
org.restlet.representation.Representation |
get(org.restlet.representation.Variant variant)
|
SitoolsStore<ConverterChainedModel> |
getStore()
Gets the store value |
org.restlet.representation.Representation |
newConverter(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Add a new converter to the converter list If the list of converter does not exists, it is created as well |
void |
sitoolsDescribe()
Method implementation mandatory |
org.restlet.representation.Representation |
updateConverterChainedModel(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Update / Validate existing Converters Basicaly, it changes the order of the converters |
Methods inherited from class fr.cnes.sitools.dataset.converter.AbstractConverterResource |
---|
addCurrentClassDescriptions, checkValidity, configure, getConverterModel, getConverterModelDTO, getDatasetId, getRepresentation, registerObserver, unregisterObserver |
Methods inherited from class fr.cnes.sitools.common.AbstractPluginResource |
---|
checkValidity, fromListToMap |
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 ConverterChainedResource()
Method Detail |
---|
public void doInit()
SitoolsResource
doInit
in class AbstractConverterResource
public void sitoolsDescribe()
AbstractSitoolsResource
sitoolsDescribe
in class AbstractSitoolsResource
@Post public org.restlet.representation.Representation newConverter(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
representation
- The representation parametervariant
- client preferred media type
public void describePost(org.restlet.ext.wadl.MethodInfo info)
info
- the info sent@Get public org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
info
- the info sent@Put public org.restlet.representation.Representation updateConverterChainedModel(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
representation
- the representation parametervariant
- client preferred media type
public void describePut(org.restlet.ext.wadl.MethodInfo info)
info
- the info sent@Delete public org.restlet.representation.Representation deleteConverterChainedModel(org.restlet.representation.Variant variant)
variant
- client preferred media type
public void describeDelete(org.restlet.ext.wadl.MethodInfo info)
info
- the info sentpublic SitoolsStore<ConverterChainedModel> getStore()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |