|
||||||||||
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.service.storage.AbstractStorageResource
public abstract class AbstractStorageResource
Abstract class for common properties of Storage resources
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
AbstractStorageResource()
|
Method Summary | |
---|---|
java.lang.String |
getDirectoryId()
Get the directory ID found in the API |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media)
Gets representation according to the specified MediaType. |
StorageAdministration |
getStorageAdministration()
Get the application associated to the resource |
StorageApplication |
getStorageApplication()
Get the application associated to the resource |
StorageDirectory |
getStorageDirectory(org.restlet.representation.Representation representation)
Instantiate a StorageDirectory object from representation |
DataStorageStore |
getStore()
Get the store associated to the application |
boolean |
isAlreadyAttached(StorageDirectory input)
Indicates if an attachment is already present (root comparison) |
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 AbstractStorageResource()
Method Detail |
---|
public final boolean isAlreadyAttached(StorageDirectory input)
input
- the directory to compare
public org.restlet.representation.Representation getRepresentation(Response response, org.restlet.data.MediaType media)
getRepresentation
in class SitoolsResource
response
- : The response to get the representation frommedia
- : The MediaType asked
public final StorageDirectory getStorageDirectory(org.restlet.representation.Representation representation)
representation
- the representation sent
public final DataStorageStore getStore()
public final java.lang.String getDirectoryId()
public final StorageAdministration getStorageAdministration()
public final StorageApplication getStorageApplication()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |