|
||||||||||
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.services.AbstractServiceResource
fr.cnes.sitools.dataset.services.AbstractServerServiceResource
fr.cnes.sitools.dataset.services.ServerServiceResource
public class ServerServiceResource
Resource to manage a guiservice on a specific parent id
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
ServerServiceResource()
|
Method Summary | |
---|---|
org.restlet.representation.Representation |
deleteServerService(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)
|
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)
Retrieve an existing Server service |
void |
sitoolsDescribe()
Method implementation mandatory |
org.restlet.representation.Representation |
updateServerService(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Update / Validate existing Server service |
Methods inherited from class fr.cnes.sitools.dataset.services.AbstractServerServiceResource |
---|
getObjectResourceModel, getRepresentation, getResourcesUrl, handleResourceModelCall |
Methods inherited from class fr.cnes.sitools.dataset.services.AbstractServiceResource |
---|
getObject, getParentId, getServiceModel, getStore, registerObserver, serviceExists, setParentId, setStore, 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 ServerServiceResource()
Method Detail |
---|
public void doInit()
SitoolsResource
doInit
in class AbstractServiceResource
public void sitoolsDescribe()
AbstractSitoolsResource
sitoolsDescribe
in class AbstractSitoolsResource
@Get public org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
variant
- client preferred media type
public final void describeGet(org.restlet.ext.wadl.MethodInfo info)
@Put public org.restlet.representation.Representation updateServerService(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 deleteServerService(org.restlet.representation.Variant variant)
variant
- client preferred media type
public void describeDelete(org.restlet.ext.wadl.MethodInfo info)
info
- the info sent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |