|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PermissionNode
Method Summary | |
---|---|
boolean |
actionsAreEqual(AuthorizationActions actions)
Determine if this node's AuthorizationActions are equal to the given actions. |
boolean |
actionsAreEqual(PermissionNode node)
Determine if this node's AuthorizationActions are equal to the given node's
actions. |
boolean |
actionsAreEqual(java.lang.String[] actions)
Determine if this node's AuthorizationActions are equal to the given actions. |
java.lang.String[] |
getActionLabels()
The AuthorizationActions labels currently on this data node. |
AuthorizationActions |
getActions()
The AuthorizationActions currently on this data node. |
AuthorizationActions |
getAllowedActions()
The AuthorizationActions allowed on this data node. |
java.lang.String |
getDisplayName()
Display name for node. |
java.lang.String |
getResourceName()
Resource name for node (the DataNodeFullName). |
ObjectID |
getUUID()
The node's unique ID. |
boolean |
hasPermission()
Does this node have any permission associated with it? |
boolean |
isHidden()
Check whether or not this node is hidden from the PermissionDataNodeTreeView . |
boolean |
isLeafNode()
Is this node a leaf? |
void |
setActions(AuthorizationActions actions)
Set the AuthorizationActions on this data node. |
void |
setActions(int actions)
Set the allowed AuthorizationActions on this data node. |
void |
setHidden(boolean isHidden)
Set whether or not this node is hidden from the PermissionDataNodeTreeView . |
Methods inherited from interface com.metamatrix.common.tree.TreeNode |
---|
compareTo, equals, exists, getFullName, getName, getNamespace, getSeparator, getSeparatorChar, getType, isModified, toString |
Method Detail |
---|
java.lang.String getDisplayName()
java.lang.String getResourceName()
ObjectID getUUID()
java.lang.String[] getActionLabels()
AuthorizationActions
labels currently on this data node.
StandardAuthorizationActions
AuthorizationActions getActions()
AuthorizationActions
currently on this data node.
StandardAuthorizationActions
AuthorizationActions getAllowedActions()
AuthorizationActions
allowed on this data node.
StandardAuthorizationActions
void setActions(AuthorizationActions actions) throws PermissionNodeNotActionableException
AuthorizationActions
on this data node.
actions
- The the actions to set on this data node.
PermissionNodeNotActionableException
- If attempt is made to set actions on a node that can't
accept any actions.void setActions(int actions) throws PermissionNodeNotActionableException
AuthorizationActions
on this data node.
actions
- The the actions to set on this data node.
PermissionNodeNotActionableException
- If attempt is made to set actions on a node that can't
accept any actions.boolean actionsAreEqual(java.lang.String[] actions)
AuthorizationActions
are equal to the given actions. The actions
are considered equal if number of actions are the same and all corresponding pairs of actions
are equal.
actions
- The Array Actions
of this node are equal to the given actions.boolean actionsAreEqual(AuthorizationActions actions)
AuthorizationActions
are equal to the given actions. The actions
are considered equal if number of actions are the same and all corresponding pairs of actions
are equal.
actions
- The AuthorizationActions
to compare with this node's actions.
Actions
of this node are equal to the given actions.boolean actionsAreEqual(PermissionNode node)
AuthorizationActions
are equal to the given node's
actions. The actions are considered equal if number of actions are the same and all
corresponding pairs of actions are equal.
node
- The node whose actions to compare with this node's actions.
Actions
of this node are equal to the given node's actions.boolean isLeafNode()
true
, if this node has no children.boolean isHidden()
PermissionDataNodeTreeView
. The
default is false
, the node is not hidden.
true
if this node may be hidden from the view.PermissionTreeView.setShowHidden(boolean)
void setHidden(boolean isHidden)
PermissionDataNodeTreeView
. The
default is false
, the node is not hidden.
isHidden
- If true
, this node may be hidden from the view.PermissionTreeView.setShowHidden(boolean)
boolean hasPermission()
Action
other than NONE
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |