JavaScript is disabled on your browser.
 
 
public class  PermissionNode 
extends Object   
Permissions tree node, allowing one or more actions.
 Each action is a semicolon separated string with action class and method names.
 For example ru.bgcrm.struts.action.admin.AppAction:status.
 A node can contains many actions in case of name deprecations,
 or when all of them have to be handled together.
 All the node actions are allowed when the node is allowed.
 
 
Method Summary 
All Methods Static Methods Instance Methods Concrete Methods 
Selects an action's ID (class name or path)
 
Selects action method name
 
 
 
 
 
 
Finds permission node by action.
 
Finds permission node by action.
 
List with root permission nodes for kernel and other enabled plugins.
 
 
 
boolean
 
boolean
 
Gets map with primary actions as keys.
 
 
 
 
Methods inherited from class java.lang.Object  
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait  
 
 
 
 
Field Details 
ACTION_METHOD_UNSPECIFIED 
public static final  String   ACTION_METHOD_UNSPECIFIED  
See Also: 
 
 
 
 
 
 
 
Method Details 
getPermissionTrees 
List with root permission nodes for kernel and other enabled plugins.
Returns: 
 
 
 
primaryActions 
Gets map with primary actions as keys.
Parameters: 
permMap - map with any action as key. 
Returns: 
 
 
 
getPermissionNode 
Finds permission node by action.
Parameters: 
action - semicolon separated class and method names. 
Returns: 
 
 
 
getPermissionNodeOrThrow 
public static  PermissionNode   getPermissionNodeOrThrow (String  action) 
                                               throws javassist.NotFoundException  
Finds permission node by action.
Parameters: 
action - semicolon separated class and method names. 
Returns: 
not null node value. 
Throws: 
javassist.NotFoundException - not found node. 
 
 
 
actionId 
Selects an action's ID (class name or path)
Parameters: 
action - primary action class and method 
Returns: 
the class name 
 
 
 
actionMethod 
Selects action method name
Parameters: 
action - primary action class and method 
Returns: 
the method name or ACTION_METHOD_UNSPECIFIED 
 
 
 
getAction 
Returns: 
the primary node action, semicolon separated action class and method names. 
 
 
 
getActions 
Returns: 
list of primary and synonym actions (semicolon separated action class and method names). 
 
 
 
getTitle 
Returns: 
node title. 
 
 
 
getTitlePath 
Returns: 
slash separated titles path to the node. 
 
 
 
getDescription 
public  String   getDescription ()
 
 
 
isAllowAll 
public  boolean  isAllowAll ()
 
 
isNotLogging 
public  boolean  isNotLogging ()
 
 
getParent 
Returns: 
parent node; 
 
 
 
getChildren 
Returns: 
children nodes.