fr.cnes.sitools.role
Class RoleNotifyUserResource

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.role.AbstractRoleResource
                  extended by fr.cnes.sitools.role.RoleNotifyUserResource

public class RoleNotifyUserResource
extends AbstractRoleResource

The Class RoleNotifyUserResource.

Author:
m.gond

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
RoleNotifyUserResource()
           
 
Method Summary
 org.restlet.representation.Representation deleteUserFromRoles(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Delete user from roles.
 void doInit()
          Initiate the resource
 void sitoolsDescribe()
          Method implementation mandatory
 
Methods inherited from class fr.cnes.sitools.role.AbstractRoleResource
getObject, getRepresentation, getRoleApplication, getRoleId, getStore
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleNotifyUserResource

public RoleNotifyUserResource()
Method Detail

sitoolsDescribe

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

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

doInit

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

Overrides:
doInit in class AbstractRoleResource

deleteUserFromRoles

@Put
public org.restlet.representation.Representation deleteUserFromRoles(org.restlet.representation.Representation representation,
                                                                         org.restlet.representation.Variant variant)
Delete user from roles.

Parameters:
variant - the variant
representation - the representation
Returns:
the representation


Copyright © 2010-2013 CNES. All Rights Reserved.