fr.cnes.sitools.security.userblacklist
Class AbstractUserBlackListResource

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.userblacklist.AbstractUserBlackListResource
Direct Known Subclasses:
UserBlackListCollectionResource, UserBlackListResource

public abstract class AbstractUserBlackListResource
extends SitoolsResource

Abstract resource for UserBlacklist handling

Author:
m.gond

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
AbstractUserBlackListResource()
          Default constructor
 
Method Summary
 void doInit()
          Initiate the resource
 org.restlet.representation.Representation getRepresentation(Response response, org.restlet.data.MediaType media)
          Encode a response into a Representation according to the given media type.
 SitoolsStore<UserBlackListModel> getStore()
          Gets the store value
 UserBlackListApplication getUserBlackListApplication()
          Gets the application value
 java.lang.String getUserId()
          Gets the userId value
 
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 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

AbstractUserBlackListResource

public AbstractUserBlackListResource()
Default constructor

Method Detail

doInit

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


getUserBlackListApplication

public UserBlackListApplication getUserBlackListApplication()
Gets the application value

Returns:
the application

getStore

public SitoolsStore<UserBlackListModel> getStore()
Gets the store value

Returns:
the store

getUserId

public java.lang.String getUserId()
Gets the userId value

Returns:
the userId

getRepresentation

public org.restlet.representation.Representation getRepresentation(Response response,
                                                                   org.restlet.data.MediaType media)
Encode a response into a Representation according to the given media type.

Overrides:
getRepresentation in class SitoolsResource
Parameters:
response - Response
media - Response
Returns:
Representation


Copyright © 2010-2013 CNES. All Rights Reserved.