This represents a node within the Nirvana Realm namespace which contains other nodes, such as a directory or another Realm. More...
Public Member Functions | |
void | addACLEntries (nACL acl) |
Adds a list of acl entry to all known nodes within the nContainer node. More... | |
void | addACLEntries (nACL acl, nNode[] nodes) |
Adds a list acl entry to all nodes contained with in the array of nNodes More... | |
virtual void | addACLEntry (nACLEntry entry) |
Adds a specific acl entry to all known nodes within the nContainer node. More... | |
virtual void | addACLEntry (nACLEntry entry, bool allChannels, bool allQueues, bool allServices) |
Adds a specific acl entry to all known nodes within the nContainer node. More... | |
virtual void | closed (nRealmNode node) |
Called when the nRealmNode is closed, for internal use only. More... | |
virtual nNode | findNode (string name) |
Given a name of the form /container/container/name this function will locate the name object and return it, or null if that object can not be found. More... | |
virtual nNode | findNode (nNode node) |
Given a name of the form /container/container/name this function will locate the nNode object and return it, or null if that can not be found. More... | |
virtual nNode | findNode (nNode node, bool searchChildren) |
Given a name of the form /container/container/name this function will locate the name object and return it, or null if that can not be found. More... | |
nNode | getNextSibling () |
Method to return the next sibling from this node's parent More... | |
virtual nNode | getNextSibling (int idx) |
Returns the sibling at position idx from this nodes parent. More... | |
virtual System.Collections.IEnumerator | getNodes () |
Returns an IEnumerator of all the nodes under this container. More... | |
virtual nRealmNode | getRealmAt (string name) |
Given a mount point this function will return a realm if one exists at the specified mount point More... | |
nRealmNode | getRealmNode () |
Get method for the realm node which acts as a container for this object More... | |
virtual int | getSize () |
Returns the number of nodes under this container. More... | |
virtual int | getTotalNodes () |
Returns the total number of nodes within this container and all subsequent children by traversing the entire structure beneath this container node More... | |
virtual bool | hasRealmAt (string name) |
Given a mount point this function will determine if this container contains a mounted realm at the specified mount point More... | |
void | modACLEntries (nACL acl) |
Modifies a list of acl entry to all known nodes within the nContainer node. More... | |
void | modACLEntries (nACL acl, nNode[] nodes) |
Modifies a list of acl entry to all nodes contained with in the array of nNodes More... | |
virtual void | modACLEntry (nACLEntry entry) |
modifies a specific acl entry's permissions for all known nodes within the nContainer node. More... | |
virtual void | modACLEntry (nACLEntry entry, bool allChannels, bool allQueues, bool allServices) |
modifies a specific acl entry's permissions for all known nodes within the nContainer node. More... | |
void | removeACLEntries (nACL acl) |
Removes a list of acl entries from all known nodes within the nContainer node. More... | |
void | removeACLEntries (nACL acl, nNode[] nodes) |
Removes a list of acl entries from all nodes contained with in the array of nNodes More... | |
virtual void | removeACLEntry (nACLEntry entry) |
removes a specific acl entry from all known nodes within the nContainer node. More... | |
virtual void | removeACLEntry (nACLEntry entry, bool allChannels, bool allQueues, bool allServices) |
removes a specific acl entry from all known nodes within the nContainer node. More... | |
virtual void | setACL (nACL acl) |
Replaces the existing ACL with the nACL supplied to all known nodes within the nContainer node. More... | |
virtual void | setACL (nACL acl, bool allChannels, bool allQueues, bool allServices) |
Replaces the existing ACL with the nACL supplied to all known nodes within the nContainer node. More... | |
Public Member Functions inherited from com.pcbsys.nirvana.nAdminAPI.nNode | |
bool | Equals (long aLong) |
Needed as part of the SortedObject interface. More... | |
override bool | Equals (object item) |
Compares this object with the passed object More... | |
virtual string | getAbsolutePath () |
This function walks the tree to the root to generate a fully qualified name for this node More... | |
virtual nNode | getParent () |
Returns this nodes parent node. More... | |
virtual string | getRelativePath (nNode top) |
This method returns the relative path from this node to the nNode passed. More... | |
virtual bool | lessThan (long aLong) |
Needed as part of the SortedObject interface. More... | |
virtual bool | lessThan (object item) |
Compares this object with the passed object. More... | |
Public Member Functions inherited from com.pcbsys.nirvana.client.Observable | |
void | addObserver (IObserver o) |
Adds an observer to the set of observers for this object, provided that it is not the same as some observer already in the set. More... | |
int | countObservers () |
Returns the number of observers of this Observable object. More... | |
void | deleteObserver (IObserver o) |
Deletes an observer from the set of observers of this object. More... | |
void | deleteObservers () |
Clears the observer list so that this object no longer has any observers. More... | |
bool | hasChanged () |
Tests if this object has changed. More... | |
void | notifyObservers () |
If this object has changed, as indicated by the hasChanged method, then notify all of its observers and then call the clearChanged method to indicate that this object has no longer changed. More... | |
void | notifyObservers (Object arg) |
If this object has changed, as indicated by the More... | |
Observable () | |
Construct an Observable with zero Observers. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from com.pcbsys.nirvana.client.Observable | |
void | clearChanged () |
Indicates that this object has no longer changed, or that it has already notified all of its observers of its most recent change, so that the hasChanged method will now return false . More... | |
void | setChanged () |
Marks this Observable object as having been changed; the hasChanged method will now return true . More... | |
Properties inherited from com.pcbsys.nirvana.nAdminAPI.nNode | |
virtual string | Name [get] |
Returns the generic name of this node within the namespace More... | |
This represents a node within the Nirvana Realm namespace which contains other nodes, such as a directory or another Realm.
nContainer performs no functions other than containing the other nodes and being a placeholder in the namespace.
void com.pcbsys.nirvana.nAdminAPI.nContainer.addACLEntries | ( | nACL | acl | ) |
Adds a list of acl entry to all known nodes within the nContainer node.
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
nAdminIllegalArgumentException | If the supplied arguments are not valid |
Adds a list acl entry to all nodes contained with in the array of nNodes
acl | An nACL entry containing the subject and permissions to apply to all nodes under the container |
nodes | An array of nNodes which will have this list of acl entries applied to. This list can contain nContainer nodes, nLeafNodes and nServiceNodes |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
nAdminIllegalArgumentException | If the supplied arguments are not valid |
|
virtual |
Adds a specific acl entry to all known nodes within the nContainer node.
entry | An nACL entry containing the subject and permissions to apply to all nodes under the container |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
|
virtual |
Adds a specific acl entry to all known nodes within the nContainer node.
entry | An nACL entry containing the subject and permissions to apply to all nodes under the container |
allChannels | if set then all channels within the container will have the acl applied |
allQueues | if set then all queues within the container will have the acl applied |
allServices | if set then all services within the container will have the acl applied |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
|
virtual |
Called when the nRealmNode is closed, for internal use only.
node | The nRealmNode which has been closed |
Reimplemented in com.pcbsys.nirvana.nAdminAPI.nClusterNode, and com.pcbsys.nirvana.nAdminAPI.nLinkNode.
|
virtual |
Given a name of the form /container/container/name this function will locate the name object and return it, or null if that object can not be found.
name | the name of the node to locate as a String |
nAdminIllegalArgumentException | thrown if null is passed as the nNode |
nRealmNode nLeafNode nContainer
Reimplemented in com.pcbsys.nirvana.nAdminAPI.nRealmNode.
Given a name of the form /container/container/name this function will locate the nNode object and return it, or null if that can not be found.
This function applies to the part of the namespace relative to the current node. Currently wildcards are NOT supported.
node | the nNode to be located |
nAdminIllegalArgumentException | thrown if null is passed as the nNode |
|
virtual |
Given a name of the form /container/container/name this function will locate the name object and return it, or null if that can not be found.
The searchChildren flag specifies whether the search should be performed on the current container only or children containers too respectively. This function applies to the part of the namespace relative to the current node. Currently wildcards are NOT supported.
node | the nNode to be located |
searchChildren | specifies whether to traverse lower levels of the tree or not |
nAdminIllegalArgumentException | thrown if null is passed as the nNode |
nNode com.pcbsys.nirvana.nAdminAPI.nContainer.getNextSibling | ( | ) |
Method to return the next sibling from this node's parent
Returns the next sibling node from this node's parent.
|
virtual |
Returns the sibling at position idx from this nodes parent.
idx | positive int for the index of the sibling to return |
|
virtual |
Returns an IEnumerator of all the nodes under this container.
These could be other nContainer nodes, nLeafNode or nRealmNode objects.
|
virtual |
Given a mount point this function will return a realm if one exists at the specified mount point
name | the mount point as a string as a String |
nAdminIllegalArgumentException | thrown if null is passed as the nNode |
nRealmNode com.pcbsys.nirvana.nAdminAPI.nContainer.getRealmNode | ( | ) |
Get method for the realm node which acts as a container for this object
|
virtual |
Returns the number of nodes under this container.
|
virtual |
Returns the total number of nodes within this container and all subsequent children by traversing the entire structure beneath this container node
|
virtual |
Given a mount point this function will determine if this container contains a mounted realm at the specified mount point
name | the mount point as a string as a String |
nAdminIllegalArgumentException | thrown if null is passed as the nNode |
void com.pcbsys.nirvana.nAdminAPI.nContainer.modACLEntries | ( | nACL | acl | ) |
Modifies a list of acl entry to all known nodes within the nContainer node.
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
nAdminIllegalArgumentException | If the supplied arguments are not valid |
Modifies a list of acl entry to all nodes contained with in the array of nNodes
acl | An nACL entry containing the subject and permissions to apply to all nodes int the list |
nodes | An array of nNodes which will have this list of acl entries applied to. This list can contain nContainer nodes, nLeafNodes and nServiceNodes |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
nAdminIllegalArgumentException | If the supplied arguments are not valid |
|
virtual |
modifies a specific acl entry's permissions for all known nodes within the nContainer node.
entry | An nACL entry containing the subject and permissions to apply to all nodes under the container |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
|
virtual |
modifies a specific acl entry's permissions for all known nodes within the nContainer node.
entry | An nACL entry containing the subject and permissions to apply to all nodes under the container |
allChannels | if set then all channels within the container will have the acl modified |
allQueues | if set then all queues within the container will have the acl modified |
allServices | if set then all services within the container will have the acl modified |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
void com.pcbsys.nirvana.nAdminAPI.nContainer.removeACLEntries | ( | nACL | acl | ) |
Removes a list of acl entries from all known nodes within the nContainer node.
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
nAdminIllegalArgumentException | If the supplied arguments are not valid |
Removes a list of acl entries from all nodes contained with in the array of nNodes
acl | An nACL entry containing the subject and permissions to apply to all nodes under the container |
nodes | An array of nNodes which will have this list of acl entries applied to. This list can contain nContainer nodes, nLeafNodes and nServiceNodes |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
nAdminIllegalArgumentException | If the supplied arguments are not valid |
|
virtual |
removes a specific acl entry from all known nodes within the nContainer node.
entry | An nACL entry containing the subject and permissions to apply to all nodes under the container |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
|
virtual |
removes a specific acl entry from all known nodes within the nContainer node.
entry | An nACL entry containing the subject and permissions to apply to all nodes under the container |
allChannels | if set then all channels within the container will have the acl removed |
allQueues | if set then all queues within the container will have the acl removed |
allServices | if set then all services within the container will have the acl removed |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
|
virtual |
Replaces the existing ACL with the nACL supplied to all known nodes within the nContainer node.
acl | An nACL containing the nAclEntry objects that will be applied to all nodes under the container |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
|
virtual |
Replaces the existing ACL with the nACL supplied to all known nodes within the nContainer node.
acl | An nACL containing the nAclEntry objects that will be applied to all nodes under the container |
allChannels | if set then all channels within the container will have the acl added |
allQueues | if set then all queues within the container will have the acl added |
allServices | if set then all services within the container will have the acl added |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |