com.jaspersoft.jasperserver.war.action
Class ObjectPermissionAction
java.lang.Object
org.springframework.webflow.action.AbstractAction
org.springframework.webflow.action.MultiAction
org.springframework.webflow.action.FormAction
com.jaspersoft.jasperserver.war.action.ObjectPermissionAction
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.webflow.execution.Action
public class ObjectPermissionAction
- extends org.springframework.webflow.action.FormAction
- Version:
- $Id
- Author:
- Ionut Nedelcu (ionutned@users.sourceforge.net)
Nested classes/interfaces inherited from class org.springframework.webflow.action.MultiAction |
org.springframework.webflow.action.MultiAction.MethodResolver |
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 |
Methods inherited from class org.springframework.webflow.action.FormAction |
bind, bindAndValidate, createBinder, createFormObject, doBind, doValidate, getFormErrors, getFormErrorsScope, getFormObject, getFormObjectAccessor, getFormObjectClass, getFormObjectName, getFormObjectScope, getMessageCodesResolver, getPropertyEditorRegistrar, getValidateMethodInvoker, getValidator, initAction, initBinder, 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 |
RESOURCE
protected final java.lang.String RESOURCE
- See Also:
- Constant Field Values
ATTRIBUTE_PERMISSIONS
protected final java.lang.String ATTRIBUTE_PERMISSIONS
- See Also:
- Constant Field Values
ATTRIBUTE_ROLES
protected final java.lang.String ATTRIBUTE_ROLES
- See Also:
- Constant Field Values
ATTRIBUTE_USERS
protected final java.lang.String ATTRIBUTE_USERS
- See Also:
- Constant Field Values
NO_ACCESS
protected final int NO_ACCESS
- See Also:
- Constant Field Values
NO_PERMISSION_SET
protected final int NO_PERMISSION_SET
- See Also:
- Constant Field Values
INHERITED
protected final int INHERITED
- See Also:
- Constant Field Values
PERMISSION_PARM
protected final java.lang.String PERMISSION_PARM
- See Also:
- Constant Field Values
PREV_PERMISSION_PARM
protected final java.lang.String PREV_PERMISSION_PARM
- See Also:
- Constant Field Values
log
protected final org.apache.commons.logging.Log log
ObjectPermissionAction
public ObjectPermissionAction()
loadPermissionsForRoles
public org.springframework.webflow.execution.Event loadPermissionsForRoles(org.springframework.webflow.execution.RequestContext context)
loadPermissionsForUsers
public org.springframework.webflow.execution.Event loadPermissionsForUsers(org.springframework.webflow.execution.RequestContext context)
setRolePermission
public org.springframework.webflow.execution.Event setRolePermission(org.springframework.webflow.execution.RequestContext context)
setUserPermission
public org.springframework.webflow.execution.Event setUserPermission(org.springframework.webflow.execution.RequestContext context)
goToPage
public org.springframework.webflow.execution.Event goToPage(org.springframework.webflow.execution.RequestContext context)
getObjectPermissionService
public ObjectPermissionService getObjectPermissionService()
setObjectPermissionService
public void setObjectPermissionService(ObjectPermissionService objectPermissionService)
getRepository
public RepositoryService getRepository()
setRepository
public void setRepository(RepositoryService repository)
getUserService
public UserAuthorityService getUserService()
setUserService
public void setUserService(UserAuthorityService userService)
getExecutionContext
protected ExecutionContext getExecutionContext(org.springframework.webflow.execution.RequestContext context)
Copyright © 2007. All Rights Reserved.