|
||||||||||
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.dictionary.AbstractConceptTemplateResource
public abstract class AbstractConceptTemplateResource
Base resource for concept template management
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
AbstractConceptTemplateResource()
|
Method Summary | |
---|---|
void |
configure(com.thoughtworks.xstream.XStream xstream,
Response response)
Configure XStream mapping for xml and json serialization TODO Optimisation possible au lieu de créer à chaque fois une instance de XStream conserver 4 instances d'XStream correspondant aux 4 combinaisons possibles : classe retournée (ConceptTemplate, Property) et type (data / item) |
void |
doInit()
Initiate the resource |
java.lang.String |
getConceptTemplateId()
Gets the templateId value |
ConceptTemplate |
getObject(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Decodes a representation to a ConceptTemplate object. |
java.lang.String |
getPropertyId()
Gets the propertyId value |
SitoolsStore<ConceptTemplate> |
getStore()
Gets the store value |
Methods inherited from class fr.cnes.sitools.common.resource.AbstractSitoolsResource |
---|
getMediaType, sitoolsDescribe |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractConceptTemplateResource()
Method Detail |
---|
public void doInit()
SitoolsResource
public void configure(com.thoughtworks.xstream.XStream xstream, Response response)
configure
in class SitoolsResource
xstream
- XStreamresponse
- Responsepublic final ConceptTemplate getObject(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
representation
- Representationvariant
- Variant
public final java.lang.String getPropertyId()
public final java.lang.String getConceptTemplateId()
public final SitoolsStore<ConceptTemplate> getStore()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |