fr.cnes.sitools.security.authorization
Class AbstractAuthorizationResource

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.security.authorization.AbstractAuthorizationResource
Direct Known Subclasses:
AuthorizationCollectionResource, AuthorizationResource, AuthorizerResource

public abstract class AbstractAuthorizationResource
extends SitoolsResource

Abstract Resource class for Authorizations management

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
AbstractAuthorizationResource()
          Default constructor
 
Method Summary
 void configure(com.thoughtworks.xstream.XStream xstream, Response response)
          XStream configuration for Response object mapping
 void doInit()
          Initiate the resource
 AuthorizationApplication getAuthorizationApplication()
          Get the application associated to the resource
 java.lang.String getResId()
          Get the resource ID
 AuthorizationStore getStore()
          Get the store associated to the application
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, getNotificationObject, getRepresentation, 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
 

Constructor Detail

AbstractAuthorizationResource

public AbstractAuthorizationResource()
Default constructor

Method Detail

doInit

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


configure

public final void configure(com.thoughtworks.xstream.XStream xstream,
                            Response response)
XStream configuration for Response object mapping

Overrides:
configure in class SitoolsResource
Parameters:
xstream - XStream
response - Response

getResId

public final java.lang.String getResId()
Get the resource ID

Returns:
the resource ID

getStore

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

Returns:
the store associated

getAuthorizationApplication

public final AuthorizationApplication getAuthorizationApplication()
Get the application associated to the resource

Returns:
the application associated


Copyright © 2010-2013 CNES. All Rights Reserved.