<p> SchedulingManager creates, deletes, and gets ScheduleItems. Items include Agent Commitments (e.g. Calendar events). The Manager also enumerates the commitment Status Types supported by the implementation.
</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/core/oki2/scheduling/HarmoniSchedulingManager.class.php (line 48)
OsidManager | --SchedulingManager | --HarmoniSchedulingManager
Assign the configuration of this Manager. There are no valid configuration options for this manager.
Assign the context of this OsidManager.
WARNING: NOT IN OSID -- This method is designed to comply with V3 of the OSIDs, at least How Tom suggested they were headed <a href="http://okicommunity.mit.edu/forum/viewtopic.php?forum=1&showtopic=67&show=10&page=2"> here </a>. Leave out the agent parameter, and add a statusType instead.
Create a ScheduleItem. The masterIdentifier argument is optional--it can be set to null. If master identifier is passed in as null, then the id string will be used. Master Identifier is a key, rule, or function that can be used to associated more than one ScheduleItem together. An example can be recurring items where each recurring item has the same Master Identifier. An unique Id is generated for this ScheduleItem by the implementation.
Delete a ScheduleItem by unique Id.
Get the Timespans during which all Agents are uncommitted.
The time complexity may not be great on this one.
Get the Status Types for Agents' Commitment supported by the implementation.
Warning: not in OSID
Get the Status Types for Agents' Commitment supported by the implementation.
Get the Status Types for ScheduleItem supported by the implementation.
Return context of this OsidManager.
Get a ScheduleItem by unique Id.
Get all the ScheduleItems for any Agent, with the specified Item Status and that start or end between the start and end specified, inclusive.
Null will select all types of ScheduleItems
Get all ScheduleItems with the specified master identifier reference. A
Master Identifier is a key, rule, or function that can be used to associated more than one ScheduleItem together. An example can be recurring items where each recurring item has the same Master Identifier.
Get all the ScheduleItems for the specified Agents, with the specified Item Status and that start or end between the start and end specified, inclusive.
Null will select all types of ScheduleItems
Given the object in table $table with id $id, get the field with name $key
For object in table $table with id $id, get the Type with type $typename
Get all the Types from the table specified
For get the Type with type $typename with id $index
This helper function takes a ScheduleItem and and array of timespans and returns the array of timespans that donot conflict with the event, but which contain as much of the original time as possible.
Given the object in table $table with id $id, change the field with name $key to $value
Find the index for our Type of type $type in its table. If it is not there, put it into the table and return the index.
Inherited From SchedulingManager
SchedulingManager::createScheduleItem()
SchedulingManager::deleteScheduleItem()
SchedulingManager::getAvailableTimes()
SchedulingManager::getCommitmentStatusTypes()
SchedulingManager::getItemStatusTypes()
SchedulingManager::getScheduleItem()
SchedulingManager::getScheduleItems()
SchedulingManager::getScheduleItemsByMasterId()
SchedulingManager::getScheduleItemsForAgents()
Inherited From OsidManager
OsidManager::assignConfiguration()
OsidManager::assignOsidContext()
OsidManager::getOsidContext()
OsidManager::osidVersion_2_0()
Documentation generated on Wed, 19 Sep 2007 10:24:22 -0400 by phpDocumentor 1.3.0RC3