org.openpermis.editor.policy.command
Class AbstractRoleCommand
java.lang.Object
org.openpermis.editor.policy.command.AbstractCommand
org.openpermis.editor.policy.command.AbstractRoleCommand
- All Implemented Interfaces:
- Command
- Direct Known Subclasses:
- AddRoleCommand, DetachRoleCommand, IncludeRoleCommand, RemoveRoleCommand, RenameRoleCommand
public abstract class AbstractRoleCommand
- extends AbstractCommand
Keeps the information needed for the different role hierarchy commands.
- Since:
- 0.3.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
roleName
private final String roleName
- Since:
- 0.3.0
roleHierarchyBean
private final org.openpermis.policy.bean.RoleHierarchyBean roleHierarchyBean
- Since:
- 0.3.0
AbstractRoleCommand
public AbstractRoleCommand(String name,
String roleName,
org.openpermis.policy.bean.RoleHierarchyBean roleHierarchyBean)
- Creates an
AbstractRoleCommand
.
- Parameters:
name
- the command name.roleName
- the role name.roleHierarchyBean
- the hierarchy object.- Since:
- 0.3.0
getRoleName
protected String getRoleName()
- Returns the role name.
- Returns:
- the role name.
- Since:
- 0.3.0
getRoleHierarchyBean
protected org.openpermis.policy.bean.RoleHierarchyBean getRoleHierarchyBean()
- Returns the hierarchy object.
- Returns:
- the hierarchy object.
- Since:
- 0.3.0
PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:48
Copyright (c) 2002-2007 Ergon Informatik AG