| Home | Trees | Index | Help |
|
|---|
| Package AccessGrid :: Module DataStore :: Class DataDescriptionContainer |
|
| Method Summary | |
|---|---|
__init__(self)
| |
Replace the current description for dataDescription.name with this one. | |
AsINIBlock serializes the data as an INI formatted block of text. | |
GetData retreives the DataDescription associated with fileName. | |
This methods returns a list containing all present DataDescriptions. | |
GetDataFromId(self,
id)
| |
This methods returns a list containing all present DataDescriptions. | |
Adds a list of DataDescriptions without distributing events | |
RemoveData removes a DataDescription **Arguments:** *dataDescription* A data description. | |
Sets the object used to send events | |
**Arguments:** *dataDescription* DataDescription to update **Raises:** *DataNotFound* Raised when the data is not found in the Venue. | |
| Method Details |
|---|
AddData(self, dataDescription)
Replace the current description for dataDescription.name with
this one.
**Arguments:**
*dataDescription* A real data description.
**Raises:**
*DataAlreadyPresent* Raised when the data is not found in the Venue.
|
AsINIBlock(self)AsINIBlock serializes the data as an INI formatted block of text. **Returns** *iniblock* string of serialized data. If no data is present, |
GetData(self, fileName)
GetData retreives the DataDescription associated with fileName.
**Arguments:**
*fileName* The name of the data to be retrieved.
**Returns:**
*dataDescription* A data description that corresponds
to the name passed in.
*None* When the data is not found
|
GetDataDescriptions(self)
This methods returns a list containing all present DataDescriptions.
**Returns**
*data* A list of DataDescription
|
GetDataIDs(self)
This methods returns a list containing all present DataDescriptions.
**Returns**
*data* A list of DataDescription
|
LoadPersistentData(self, dataList)Adds a list of DataDescriptions without distributing events **Arguments** *dataList* List of DataDescriptions you want to add |
RemoveData(self, dataDescription)
RemoveData removes a DataDescription
**Arguments:**
*dataDescription* A data description.
**Raises:**
*DataNotFound* Raised when the data is not found.
|
SetEventDistributor(self, eventDistributor, channelId)Sets the object used to send events **Arguments** *eventDistributor* Object that sends events *channelId* channel ID to use for events |
UpdateData(self, dataDescription)
**Arguments:**
*dataDescription* DataDescription to update
**Raises:**
*DataNotFound* Raised when the data is not found in the Venue.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jan 09 13:23:53 2006 | http://epydoc.sf.net |