fr.cnes.sitools.userstorage
Class AbstractUserStorageResource

java.lang.Object
  extended by ExtendedWadlServerResource
      extended by fr.cnes.sitools.common.resource.AbstractSitoolsResource
          extended by fr.cnes.sitools.common.SitoolsResource
              extended by fr.cnes.sitools.userstorage.AbstractUserStorageResource
Direct Known Subclasses:
UserStorageActionResource, UserStorageCollectionResource, UserStorageConfigurationResource, UserStorageResource

public abstract class AbstractUserStorageResource
extends SitoolsResource

Resource for user storage

Author:
AKKA

Field Summary
static java.lang.String IDENTIFIER_PARAM_NAME
          The name of the project ID parameter name
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
AbstractUserStorageResource()
           
 
Method Summary
 void doInit()
          Initiate the resource
 java.lang.String getAction()
          Get the action described in the API
 java.lang.String getIdentifier()
          Get the identifier given in the API
 org.restlet.representation.Representation getRepresentation(Response response, org.restlet.data.MediaType media)
          Get a representation of the object
 UserStorageStore getStore()
          Get the store associated to the application
 UserStorageManagement getUserStorageManagement()
          Get the application associated to the resource
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting
 
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
 

Field Detail

IDENTIFIER_PARAM_NAME

public static final java.lang.String IDENTIFIER_PARAM_NAME
The name of the project ID parameter name

See Also:
Constant Field Values
Constructor Detail

AbstractUserStorageResource

public AbstractUserStorageResource()
Method Detail

doInit

public final void doInit()
Description copied from class: SitoolsResource
Initiate the resource


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 treat
media - the media to use
Returns:
Representation

getAction

public final java.lang.String getAction()
Get the action described in the API

Returns:
the action

getIdentifier

public final java.lang.String getIdentifier()
Get the identifier given in the API

Returns:
the identifier given

getStore

public final UserStorageStore getStore()
Get the store associated to the application

Returns:
the store

getUserStorageManagement

public final UserStorageManagement getUserStorageManagement()
Get the application associated to the resource

Returns:
the application


Copyright © 2010-2013 CNES. All Rights Reserved.