|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.client.xacml.AbstractTreeNode
org.exist.client.xacml.AbstractNodeContainer
org.exist.client.xacml.PolicyElementNode
org.exist.client.xacml.AbstractPolicyNode
org.exist.client.xacml.PolicySetNode
public class PolicySetNode
Constructor Summary | |
---|---|
PolicySetNode(NodeContainer parent,
PolicySet policySet)
|
|
PolicySetNode(NodeContainer parent,
String documentName,
PolicySet policySet)
|
Method Summary | |
---|---|
void |
add(int index,
PolicyElementNode node)
|
void |
add(int index,
PolicyTreeElement element)
|
void |
add(PolicyElementNode node)
|
void |
add(PolicyTreeElement element)
|
void |
commit(boolean deep)
Commits the state of this element. |
boolean |
containsId(String id)
|
PolicyTreeElement |
create()
Creates a PolicyTreeElement
from this object's current state. |
PolicyTreeElement |
create(URI id)
Creates a PolicyTreeElement
from this object's current state except
that it uses the specified id. |
PolicySet |
createPolicySet()
|
PolicySet |
createPolicySet(URI id)
|
XACMLTreeNode |
getChild(int index)
Gets the child at the specified index. |
int |
getChildCount()
Gets the number of children of this element. |
int |
indexOfChild(Object child)
Gets the index of a particular child. |
boolean |
isModified(boolean deep)
Returns true if this element has been modified. |
void |
remove(PolicyElementNode node)
|
void |
revert(boolean deep)
Reverts the state of this element to the last commit. |
Methods inherited from class org.exist.client.xacml.AbstractPolicyNode |
---|
getCombiningAlgorithm, getDocumentName, isAlgorithmModified, setCombiningAlgorithm, setDocumentName |
Methods inherited from class org.exist.client.xacml.PolicyElementNode |
---|
getDescription, getId, getTarget, isDescriptionModified, isIdModified, serialize, setDescription, toString |
Methods inherited from class org.exist.client.xacml.AbstractNodeContainer |
---|
nodeAdded, nodeChanged, nodeRemoved |
Methods inherited from class org.exist.client.xacml.AbstractTreeNode |
---|
getParent, setModified |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.exist.client.xacml.NodeChangeListener |
---|
nodeAdded, nodeChanged, nodeRemoved |
Methods inherited from interface org.exist.client.xacml.XACMLTreeNode |
---|
getParent, serialize, setModified |
Constructor Detail |
---|
public PolicySetNode(NodeContainer parent, PolicySet policySet)
public PolicySetNode(NodeContainer parent, String documentName, PolicySet policySet)
Method Detail |
---|
public PolicyTreeElement create()
PolicyElementNode
PolicyTreeElement
from this object's current state.
PolicyTreeElement
public PolicyTreeElement create(URI id)
PolicyElementNode
PolicyTreeElement
from this object's current state except
that it uses the specified id.
PolicyTreeElement
public PolicySet createPolicySet()
public PolicySet createPolicySet(URI id)
public void add(PolicyTreeElement element)
public void add(int index, PolicyTreeElement element)
public void add(PolicyElementNode node)
public void add(int index, PolicyElementNode node)
public void remove(PolicyElementNode node)
public boolean containsId(String id)
public int getChildCount()
NodeContainer
public XACMLTreeNode getChild(int index)
NodeContainer
index
- The child's position
public int indexOfChild(Object child)
NodeContainer
child
- The child to obtain the index of
public boolean isModified(boolean deep)
XACMLTreeNode
isModified
in interface XACMLTreeNode
isModified
in class AbstractPolicyNode
deep
- if descendants should be included
public void revert(boolean deep)
XACMLTreeNode
revert
in interface XACMLTreeNode
revert
in class AbstractPolicyNode
public void commit(boolean deep)
XACMLTreeNode
commit
in interface XACMLTreeNode
commit
in class AbstractPolicyNode
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |