<p> HierarchyManager handles creating, deleting, and getting Hierarchies.
</p>
<p> All implementations of OsidManager (manager) provide methods for accessing and manipulating the various objects defined in the OSID package. A manager defines an implementation of an OSID. All other OSID objects come either directly or indirectly from the manager. New instances of the OSID objects are created either directly or indirectly by the manager. Because the OSID objects are defined using interfaces, create methods must be used instead of the new operator to create instances of the OSID objects. Create methods are used both to instantiate and persist OSID objects. Using the OsidManager class to define an OSID's implementation allows the application to change OSID implementations by changing the OsidManager package name used to load an implementation. Applications developed using managers permit OSID implementation substitution without changing the application source code. As with all managers, use the OsidLoader to load an implementation of this interface. </p>
<p></p>
<p> OSID Version: 2.0 </p>
Located in /harmoni/core/oki2/hierarchy/HarmoniHierarchyManager.class.php (line 49)
OsidManager | --HierarchyManager | --HarmoniHierarchyManager
Constructor
Assign the configuration of this Manager. Valid configuration options are as
follows: database_index integer database_name string
Assign the context of this OsidManager.
Create a Hierarchy.
Delete a Hierarchy by unique Id. All Nodes must be removed from the Hierarchy before this method is called.
Get all Hierarchies.
Get a Hierarchy by unique Id.
Returns the hierarchy to which the given Node belongs.
WARNING: NOT IN OSID - This method is not part of the OKI interface as of 07/06/04 but has been scheduled for addition.
Note: As of version 2.0, the getNode() method has been removed from the OSID, removing the need for this method.
Returns the hierarchy Node with the specified Id.
WARNING: NOT IN OSID - As of Version 2.0, this method has been removed from the OSID.
Return context of this OsidManager.
Answer TRUE if the a node exists with the given Id
WARNING: NOT in OSID
This method indicates whether this implementation supports
HierarchyManager methods: createHierarchy, deleteHierarchy, updateName, updateDescription, createRootNode, createNode, deleteNode, addNodeType, removeNodeType. Note methods: nodeUpdateDescription, noteUpdateDisplayName, addParent, removeParent, changeParent.
Inherited From HierarchyManager
HierarchyManager::createHierarchy()
HierarchyManager::deleteHierarchy()
HierarchyManager::getHierarchies()
HierarchyManager::getHierarchy()
HierarchyManager::supportsMaintenance()
Inherited From OsidManager
OsidManager::assignConfiguration()
OsidManager::assignOsidContext()
OsidManager::getOsidContext()
OsidManager::osidVersion_2_0()
Documentation generated on Wed, 19 Sep 2007 10:24:03 -0400 by phpDocumentor 1.3.0RC3