Package org.imixs.workflow.office.config
Class AccessRoleController
- java.lang.Object
-
- org.imixs.workflow.office.config.AccessRoleController
-
- All Implemented Interfaces:
Serializable
@Named @SessionScoped public class AccessRoleController extends Object implements Serializable
This AccessRoleController supports the migration from the old txtgroups property in a userprofile to the new access roles.Since version 4.5.1 a list of fixed UserGroups is supported only.
- Author:
- rsoika
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String[]ACCESS_ROLES
-
Constructor Summary
Constructors Constructor Description AccessRoleController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getAccessRoles()StringgetUserRole()voidonWorkflowEvent(org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)WorkflowEvent listener to update the current FormDefinition.voidsetUserRole(String role)
-
-
-
Field Detail
-
ACCESS_ROLES
public static final String[] ACCESS_ROLES
-
-
Method Detail
-
onWorkflowEvent
public void onWorkflowEvent(@Observes org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)WorkflowEvent listener to update the current FormDefinition.- Parameters:
workflowEvent-- Throws:
org.imixs.workflow.exceptions.AccessDeniedExceptionorg.imixs.workflow.exceptions.ModelException
-
setUserRole
public void setUserRole(String role)
-
getUserRole
public String getUserRole()
-
getAccessRoles
public String[] getAccessRoles()
-
-