|
||||||||||
| 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.collections.AbstractCollectionsResource
public abstract class AbstractCollectionsResource
Base class for resource of management of collections
| Field Summary |
|---|
| Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
|---|
DEFAULT_MEDIATYPE |
| Constructor Summary | |
|---|---|
AbstractCollectionsResource()
|
|
| Method Summary | |
|---|---|
void |
doInit()
Initiate the resource |
java.lang.String |
getCollectionId()
Gets the collectionId value |
DataSet |
getDataset(java.lang.String id)
Get DataSet object from its id |
Collection |
getObject(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Get the object collection representation |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media)
Response to Representation |
SitoolsStore<Collection> |
getStore()
Gets the store value |
void |
setCollectionId(java.lang.String collectionId)
Sets the value of collectionId |
void |
setStore(SitoolsStore<Collection> store)
Sets the value of store |
| 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 AbstractCollectionsResource()
| Method Detail |
|---|
public void doInit()
SitoolsResource
public final org.restlet.representation.Representation getRepresentation(Response response,
org.restlet.data.MediaType media)
getRepresentation in class SitoolsResourceresponse - the server responsemedia - the media used
public final Collection getObject(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
representation - the representation usedvariant - the variant used
public final void setCollectionId(java.lang.String collectionId)
collectionId - the collectionId to setpublic final java.lang.String getCollectionId()
public final void setStore(SitoolsStore<Collection> store)
store - the store to setpublic final SitoolsStore<Collection> getStore()
public DataSet getDataset(java.lang.String id)
id - the id of the DataSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||