<p> AgentManager handles creating, deleting, and getting Agents and Groups.
Group is a subclass of Agent. Groups contain members. Group members are Agents or other Groups. </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>
<p> Licensed under the org.osid.SidImplementationLicenseMIT. </p>
Located in /harmoni/oki2/osid/agent/AgentManager.php (line 41)
OsidManager | --AgentManager
Class | Description |
---|---|
HarmoniAgentManager | <p> AgentManager handles creating, deleting, and getting Agents and Groups. |
JavaPOCAgentManager | <p> AgentManager handles creating, deleting, and getting Agents and Groups. |
Create an Agent with the display name, Type, and Properties specified.
All are immutable.
Create a Group with the display name, Type, description, and Properties specified. All but description are immutable.
Delete the Agent with the specified unique Id.
Delete the Group with the specified unique Id.
Get the Agent with the specified unique Id. Getting an Agent by name is not supported since names are not guaranteed to be unique.
Get all the Agents. The returned iterator provides access to the Agents one at a time. Iterators have a method hasNextAgent() which returns
if there is an Agent available and a method nextAgent() which returns the next Agent.
- true
if there is an Agent available and a method nextAgent() which returns the next Agent.
- true
if there is an Agent available and a method nextAgent() which returns the next Agent.
- true
Get all the Agents with the specified search criteria and search Type.
Get all the Agents of the specified Type.
Get all the agent search Types supported by this implementation.
Get all the agent Types. The returned iterator provides access to the agent Types from this implementation one at a time. Iterators have a method hasNext() which returns true if there is an agent Type available and a method next() which returns the next agent Type.
Gets the Group with the specified unique Id. Getting a Group by name is not supported since names are not guaranteed to be unique.
Get all the Groups. Note since Groups subclass Agents, we are returning
an AgentIterator and there is no GroupIterator. the returned iterator provides access to the Groups one at a time. Iterators have a method hasNextAgent() which returns true if there is a Group available and a method nextAgent() which returns the next Group.
Get all the groups with the specified search criteria and search Type.
Get all the Groups of the specified Type.
Get all the group search types supported by this implementation.
Get all the group Types. The returned iterator provides access to the group Types from this implementation one at a time. Iterators have a method hasNext() which returns true if there is a group Type available and a method next() which returns the next group Type.
Get all the property Types. The returned iterator provides access to
the property Types from this implementation one at a time. Iterators have a method hasNext() which returns true if there is another property Type available and a method next() which returns the next property Type.
Inherited From OsidManager
OsidManager::assignConfiguration()
OsidManager::assignOsidContext()
OsidManager::getOsidContext()
OsidManager::osidVersion_2_0()
Documentation generated on Wed, 19 Sep 2007 10:21:23 -0400 by phpDocumentor 1.3.0RC3