|
||||||||||
| 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
public abstract class AbstractServiceResource
Abstract resource for GuiPluginService
| Field Summary |
|---|
| Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
|---|
DEFAULT_MEDIATYPE |
| Constructor Summary | |
|---|---|
AbstractServiceResource()
|
|
| Method Summary | |
|---|---|
void |
doInit()
Initiate the resource |
ServiceCollectionModel |
getObject(org.restlet.representation.Representation representation)
Get the object from representation |
java.lang.String |
getParentId()
Gets the parentId value |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media)
Response to Representation |
ServiceModel |
getServiceModel(ServiceCollectionModel serviceCollection,
java.lang.String idService)
Get a service by its name in the given ServiceCollectionModel |
SitoolsStore<ServiceCollectionModel> |
getStore()
Gets the store value |
void |
registerObserver(ServiceCollectionModel input)
Register as observer |
boolean |
serviceExists(ServiceCollectionModel serviceCollection,
java.lang.String idService)
Check if the service exists in the given ServiceCollectionModel |
void |
setParentId(java.lang.String parentId)
Sets the value of parentId |
void |
setStore(SitoolsStore<ServiceCollectionModel> store)
Sets the value of store |
void |
unregisterObserver(ServiceCollectionModel input)
Unregister as Observer |
| 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 AbstractServiceResource()
| Method Detail |
|---|
public void doInit()
SitoolsResource
public org.restlet.representation.Representation getRepresentation(Response response,
org.restlet.data.MediaType media)
getRepresentation in class SitoolsResourceresponse - the server responsemedia - the media used
public final ServiceCollectionModel getObject(org.restlet.representation.Representation representation)
representation - the representation used
public final void setStore(SitoolsStore<ServiceCollectionModel> store)
store - the store to setpublic final SitoolsStore<ServiceCollectionModel> getStore()
public java.lang.String getParentId()
public void setParentId(java.lang.String parentId)
parentId - the parentId to set
public boolean serviceExists(ServiceCollectionModel serviceCollection,
java.lang.String idService)
ServiceCollectionModel
serviceCollection - the list of serviceidService - the id of the service to look for
public ServiceModel getServiceModel(ServiceCollectionModel serviceCollection,
java.lang.String idService)
ServiceCollectionModel
serviceCollection - the list of serviceidService - the id of the service to look for
ServiceModel if it exists, null otherwisepublic final void registerObserver(ServiceCollectionModel input)
input - The ConverterChainedModelpublic final void unregisterObserver(ServiceCollectionModel input)
input - ConverterChainedModel Objet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||