com.jaspersoft.jasperserver.war.action
Class RoleAction

java.lang.Object
  extended by org.springframework.webflow.action.AbstractAction
      extended by org.springframework.webflow.action.MultiAction
          extended by org.springframework.webflow.action.FormAction
              extended by com.jaspersoft.jasperserver.war.action.RoleAction
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.webflow.execution.Action

public class RoleAction
extends org.springframework.webflow.action.FormAction

FIXME: spring:bind doesn't work properly, should take a closer look at this

Version:
$Id
Author:
Ionut Nedelcu (ionutned@users.sourceforge.net)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.webflow.action.MultiAction
org.springframework.webflow.action.MultiAction.MethodResolver
 
Field Summary
protected  org.apache.commons.logging.Log log
           
 
Fields inherited from class org.springframework.webflow.action.FormAction
DEFAULT_FORM_OBJECT_NAME, VALIDATOR_METHOD_ATTRIBUTE
 
Fields inherited from class org.springframework.webflow.action.AbstractAction
logger
 
Constructor Summary
RoleAction()
           
 
Method Summary
 org.springframework.webflow.execution.Event addUser(org.springframework.webflow.execution.RequestContext context)
           
 java.lang.Object createFormObject(org.springframework.webflow.execution.RequestContext context)
           
 org.springframework.webflow.execution.Event editRole(org.springframework.webflow.execution.RequestContext context)
           
 ConfigurationBean getConfiguration()
           
 UserAuthorityService getUserService()
           
 org.springframework.webflow.execution.Event goToPage(org.springframework.webflow.execution.RequestContext context)
           
protected  void initBinder(org.springframework.webflow.execution.RequestContext context, org.springframework.validation.DataBinder binder)
           
 org.springframework.webflow.execution.Event removeRoles(org.springframework.webflow.execution.RequestContext context)
           
 org.springframework.webflow.execution.Event removeUser(org.springframework.webflow.execution.RequestContext context)
           
 org.springframework.webflow.execution.Event roleList(org.springframework.webflow.execution.RequestContext context)
           
 org.springframework.webflow.execution.Event saveRole(org.springframework.webflow.execution.RequestContext context)
           
 void setConfiguration(ConfigurationBean configuration)
           
 void setUserService(UserAuthorityService userService)
           
 
Methods inherited from class org.springframework.webflow.action.FormAction
bind, bindAndValidate, createBinder, doBind, doValidate, getFormErrors, getFormErrorsScope, getFormObject, getFormObjectAccessor, getFormObjectClass, getFormObjectName, getFormObjectScope, getMessageCodesResolver, getPropertyEditorRegistrar, getValidateMethodInvoker, getValidator, initAction, registerPropertyEditors, registerPropertyEditors, resetForm, setFormErrorsScope, setFormObjectClass, setFormObjectName, setFormObjectScope, setMessageCodesResolver, setPropertyEditorRegistrar, setupForm, setValidator, validate, validationEnabled
 
Methods inherited from class org.springframework.webflow.action.MultiAction
doExecute, getMethodResolver, setMethodResolver, setTarget
 
Methods inherited from class org.springframework.webflow.action.AbstractAction
afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, no, result, result, result, result, success, success, yes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

RoleAction

public RoleAction()
Method Detail

getUserService

public UserAuthorityService getUserService()

setUserService

public void setUserService(UserAuthorityService userService)

initBinder

protected void initBinder(org.springframework.webflow.execution.RequestContext context,
                          org.springframework.validation.DataBinder binder)
Overrides:
initBinder in class org.springframework.webflow.action.FormAction

getConfiguration

public ConfigurationBean getConfiguration()

setConfiguration

public void setConfiguration(ConfigurationBean configuration)

roleList

public org.springframework.webflow.execution.Event roleList(org.springframework.webflow.execution.RequestContext context)

goToPage

public org.springframework.webflow.execution.Event goToPage(org.springframework.webflow.execution.RequestContext context)

removeRoles

public org.springframework.webflow.execution.Event removeRoles(org.springframework.webflow.execution.RequestContext context)

editRole

public org.springframework.webflow.execution.Event editRole(org.springframework.webflow.execution.RequestContext context)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

saveRole

public org.springframework.webflow.execution.Event saveRole(org.springframework.webflow.execution.RequestContext context)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

addUser

public org.springframework.webflow.execution.Event addUser(org.springframework.webflow.execution.RequestContext context)
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

removeUser

public org.springframework.webflow.execution.Event removeUser(org.springframework.webflow.execution.RequestContext context)
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

createFormObject

public java.lang.Object createFormObject(org.springframework.webflow.execution.RequestContext context)
Overrides:
createFormObject in class org.springframework.webflow.action.FormAction


Copyright © 2007. All Rights Reserved.