fr.cnes.sitools.userstorage
Class UserStorageStatusResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.userstorage.UserStorageStatusResource
public class UserStorageStatusResource
- extends SitoolsResource
Gets the status of a UserStorage for a particular User
- Author:
- m.gond
Method Summary |
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
|
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media)
Get a representation of the object |
org.restlet.representation.Representation |
getStatus(org.restlet.representation.Variant variant)
Gets a userstorage Representation without the userstoragePath attribute |
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserStorageStatusResource
public UserStorageStatusResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
getStatus
@Get
public org.restlet.representation.Representation getStatus(org.restlet.representation.Variant variant)
- Gets a userstorage Representation without the userstoragePath attribute
- Parameters:
variant
- The Variant needed
- Returns:
- a Representation of the userstorage with the asked variant
describeGet
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
getRepresentation
public final org.restlet.representation.Representation getRepresentation(Response response,
org.restlet.data.MediaType media)
- Get a representation of the object
- Overrides:
getRepresentation
in class SitoolsResource
- Parameters:
response
- the response to treatmedia
- the media to use
- Returns:
- Representation
Copyright © 2010-2013 CNES. All Rights Reserved.