Class DataManager

Description

The HarmoniDataManager class is used purely to setup the services required to use the other DataManager classes such as the DataSetTypeManager or the RecordManager.

  • abstract:
  • author: Gabe Schine
  • version: $Id: DataManager.abstract.php,v 1.17 2007/09/04 20:25:31 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College

Located in /harmoni/core/dataManager/DataManager.abstract.php (line 35)


	
			
Method Summary
void assignConfiguration (object Properties $configuration)
void assignOsidContext (mixed $context, object OsidContext $context )
object OsidContext getOsidContext ()
bool loaded ()
void setup (int $dbID, [optional $preloadTypes = null])
Methods
assignConfiguration (line 57)

Assign the configuration of this Manager. Valid configuration options are as

follows: database_index integer preload_types object TypeIterator

  • access: public
  • throws: object OsidException An exception with one of the following messages defined in org.osid.OsidException: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT
void assignConfiguration (object Properties $configuration)
  • object Properties $configuration: (original type: java.util.Properties)
assignOsidContext (line 88)

Assign the context of this OsidManager.

  • access: public
  • throws: object OsidException An exception with one of the following messages defined in org.osid.OsidException: NULL_ARGUMENT
void assignOsidContext (mixed $context, object OsidContext $context )
  • object OsidContext $context
getOsidContext (line 73)

Return context of this OsidManager.

  • access: public
  • throws: object OsidException
object OsidContext getOsidContext ()
loaded (line 141)

Returns if the DataManager was previously loaded or not.

  • access: public
bool loaded ()
setup (line 101)

Sets up the services required for the DataManager, including: DataSetTypeManager,

DataTypeManager, DataSetManager, RecordTagManager

  • abstract:
  • access: public
void setup (int $dbID, [optional $preloadTypes = null])
  • int $dbID: The DB index from the DBHandler that we should use to look for our data.
  • optional $preloadTypes: array An array of HarmoniType objects corresponding to Schemas that should be pre-loaded in one DB query.

Documentation generated on Wed, 19 Sep 2007 10:22:30 -0400 by phpDocumentor 1.3.0RC3