Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 Class Summary

Nested classes/interfaces inherited from class org.springframework.webflow.action.MultiAction
`org.springframework.webflow.action.MultiAction.MethodResolver`

Field Summary
`protected java.lang.String` | `ATTRIBUTE_PERMISSIONS`
`protected java.lang.String` | `ATTRIBUTE_ROLES`
`protected java.lang.String` | `ATTRIBUTE_USERS`
`protected int` | `INHERITED`
`protected org.apache.commons.logging.Log` | `log`
`protected int` | `NO_ACCESS`
`protected int` | `NO_PERMISSION_SET`
`protected java.lang.String` | `PERMISSION_PARM`
`protected java.lang.String` | `PREV_PERMISSION_PARM`
`protected java.lang.String` | `RESOURCE`

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
`ObjectPermissionAction()`

Method Summary
`protected ExecutionContext` | `getExecutionContext(org.springframework.webflow.execution.RequestContext context)`
`ObjectPermissionService` | `getObjectPermissionService()`
`RepositoryService` | `getRepository()`
`UserAuthorityService` | `getUserService()`
`org.springframework.webflow.execution.Event` | `goToPage(org.springframework.webflow.execution.RequestContext context)`
`org.springframework.webflow.execution.Event` | `loadPermissionsForRoles(org.springframework.webflow.execution.RequestContext context)`
`org.springframework.webflow.execution.Event` | `loadPermissionsForUsers(org.springframework.webflow.execution.RequestContext context)`
`void` | `setObjectPermissionService(ObjectPermissionService objectPermissionService)`
`void` | `setRepository(RepositoryService repository)`
`org.springframework.webflow.execution.Event` | `setRolePermission(org.springframework.webflow.execution.RequestContext context)`
`org.springframework.webflow.execution.Event` | `setUserPermission(org.springframework.webflow.execution.RequestContext context)`
`void` | `setUserService(UserAuthorityService userService)`

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`

Field Detail

### 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

Constructor Detail

### ObjectPermissionAction

    public ObjectPermissionAction()

Method Detail

### 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007. All Rights Reserved.