fr.cnes.sitools.userstorage
Class UserStorageCollectionResource

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
                  extended by fr.cnes.sitools.userstorage.UserStorageCollectionResource

public final class UserStorageCollectionResource
extends AbstractUserStorageResource

Class Resource for managing UserStorage Collection (GET, POST)

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.userstorage.AbstractUserStorageResource
IDENTIFIER_PARAM_NAME
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
UserStorageCollectionResource()
           
 
Method Summary
 void describeGet(org.restlet.ext.wadl.MethodInfo info)
           
 void describePost(org.restlet.ext.wadl.MethodInfo info)
           
 org.restlet.representation.Representation newUserStorage(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Update / Validate existing userStorage
 org.restlet.representation.Representation retrieveUserStorage(org.restlet.representation.Variant variant)
          get all userStorages
 void sitoolsDescribe()
          Method implementation mandatory
 
Methods inherited from class fr.cnes.sitools.userstorage.AbstractUserStorageResource
doInit, getAction, getIdentifier, getRepresentation, getStore, getUserStorageManagement
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserStorageCollectionResource

public UserStorageCollectionResource()
Method Detail

sitoolsDescribe

public void sitoolsDescribe()
Description copied from class: AbstractSitoolsResource
Method implementation mandatory

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

newUserStorage

@Post
public org.restlet.representation.Representation newUserStorage(org.restlet.representation.Representation representation,
                                                                     org.restlet.representation.Variant variant)
Update / Validate existing userStorage

Parameters:
representation - UserStorage representation
variant - client preferred media type
Returns:
Representation

describePost

public void describePost(org.restlet.ext.wadl.MethodInfo info)

retrieveUserStorage

@Get
public org.restlet.representation.Representation retrieveUserStorage(org.restlet.representation.Variant variant)
get all userStorages

Parameters:
variant - client preferred media type
Returns:
Representation

describeGet

public void describeGet(org.restlet.ext.wadl.MethodInfo info)


Copyright © 2010-2013 CNES. All Rights Reserved.