it.eng.spagobi.tools.role.services
Class ModifyRolesAction

java.lang.Object
  extended by it.eng.spago.dispatching.service.DefaultRequestContext
      extended by it.eng.spago.dispatching.service.DefaultHttpRequestContext
          extended by it.eng.spago.dispatching.action.AbstractHttpAction
              extended by it.eng.spagobi.tools.role.services.ModifyRolesAction
All Implemented Interfaces:
it.eng.spago.dispatching.action.ActionIFace, it.eng.spago.dispatching.service.HttpRequestContextIFace, it.eng.spago.dispatching.service.RequestContextIFace, it.eng.spago.dispatching.service.ServiceIFace, it.eng.spago.init.InitializerIFace, java.io.Serializable

public class ModifyRolesAction
extends it.eng.spago.dispatching.action.AbstractHttpAction

Author:
Zerbetto (davide.zerbetto@eng.it)
See Also:
Serialized Form

Constructor Summary
ModifyRolesAction()
           
 
Method Summary
 void service(it.eng.spago.base.SourceBean serviceRequest, it.eng.spago.base.SourceBean serviceResponse)
          This action is invoked to save modifications on one or more than one roles.
 
Methods inherited from class it.eng.spago.dispatching.action.AbstractHttpAction
getActionMethod, getActionName, getConfig, init, setActionMethod, setActionName
 
Methods inherited from class it.eng.spago.dispatching.service.DefaultHttpRequestContext
freezeHttpResponse, getHttpRequest, getHttpResponse, getServletConfig, isHttpResponseFreezed, setRequestContext, unfreezeHttpResponse
 
Methods inherited from class it.eng.spago.dispatching.service.DefaultRequestContext
getErrorHandler, getRequestContainer, getResponseContainer, getServiceRequest, getServiceResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface it.eng.spago.dispatching.service.RequestContextIFace
getErrorHandler, getRequestContainer, getResponseContainer, getServiceRequest, getServiceResponse
 

Constructor Detail

ModifyRolesAction

public ModifyRolesAction()
Method Detail

service

public void service(it.eng.spago.base.SourceBean serviceRequest,
                    it.eng.spago.base.SourceBean serviceResponse)
             throws java.lang.Exception
This action is invoked to save modifications on one or more than one roles. Required request attributes: FIELDS_ORDER : a string with the fields order declaration (ex.: 'Type,Snapshost,Subobjects,....') MODIFIED_ROLES : a string with all roles modifications with the syntax: {role id}:{comma separated values for the fields in the same order declared by FIELDS_ORDER}(ex: '4:ADMIN,false,true....')

Parameters:
serviceRequest - the service request
serviceResponse - the service response
Throws:
java.lang.Exception - the exception