| Home | Trees | Index | Help |
|---|
| Method Summary | |
|---|---|
__init__(self,
connections,
authAdapter,
sm,
params)
| |
Call a procedure of a given class on a sequence of gnue_id's. | |
This function commit the currently running transaction. | |
Delete objects of a given class. | |
Load data or datatypes of a given class from the database backend. | |
Create a new list instance containing all items of a given class matching the requested conditions. | |
Rollback the active transaction. | |
Store data for a given class in the backend database. | |
This function adds all GCField instances in a condition tree to the given content dictionary. | |
__cancelOperation(self)
| |
__confirmOperation(self)
| |
__convertCondition(self,
classdef,
condition,
contentdict)
| |
This function traverses the given condition tree and determines if it can be handled by the datasource completely. | |
__filterCondition(self,
classdef)
| |
__filterValue(self,
filterId)
| |
__findInstance(self,
classdef,
object_id,
propertylist)
| |
__getClassdef(self,
classname)
| |
__getFieldname(self,
classdef,
propertyname,
contentdict,
add,
skipCalculated)
| |
__getProcdef(self,
classdef,
procedurename)
| |
This function gets the property definition for a given propertyname, resolving references. | |
This function converts the given sortelement to a properly defined sort-item-dictionary. | |
__newInstance(self,
classdef)
| |
This function splits up a given condition into a condition which is handled by the datasource, and another one which has to be processed by appserver. | |
This function splits a condition tree into several independant subtrees which can be re-combined via AND. | |
__startOperation(self,
operation)
| |
__usable(self,
element,
classdef)
| |
_destroy(self)
| |
_start(self,
user,
password)
| |
| Class Variable Summary | |
|---|---|
int |
_MAX_CYCLES = 50 |
| Method Details |
|---|
__init__(self,
connections,
authAdapter,
sm,
params)
|
call(self, classname, obj_id_list, procedurename, parameters)Call a procedure of a given class on a sequence of gnue_id's.
|
commit(self)This function commit the currently running transaction. But before the backend will be requested to do so, all dirty instances are validated. |
delete(self, classname, obj_id_list)Delete objects of a given class. A single call of this function is treated as an atomic operation. If on delete fails, all previous deletes will be revoked.
|
load(self, classname, obj_id_list, propertylist)Load data or datatypes of a given class from the database backend.
|
request(self, classname, conditions, sortorder, propertylist)Create a new list instance containing all items of a given class matching the requested conditions. The elements are sorted according to the given sortorder and preloaded with the given properties.
|
rollback(self)Rollback the active transaction. |
store(self, classname, obj_id_list, propertylist, data)Store data for a given class in the backend database. All changes within a single call of this function are treated as an atomic operation. The update stamps (gnue_create*, gnue_modify*) will be updated automatically if needed.
|
__addConditionToContent(self, classdef, content, tree)This function adds all GCField instances in a condition tree to the given content dictionary. |
__cancelOperation(self) |
__confirmOperation(self) |
__convertCondition(self, classdef, condition, contentdict) |
__dbHandlesTree(self, tree, classdef)This function traverses the given condition tree and determines if it can be handled by the datasource completely. |
__filterCondition(self, classdef) |
__filterValue(self, filterId) |
__findInstance(self, classdef, object_id, propertylist) |
__getClassdef(self, classname) |
__getFieldname(self, classdef, propertyname, contentdict, add, skipCalculated=True) |
__getProcdef(self, classdef, procedurename) |
__getPropertyDef(self, propertyname, classdef)This function gets the property definition for a given propertyname, resolving references. |
__getSortElement(self, item)This function converts the given sortelement to a properly defined sort-item-dictionary.
|
__newInstance(self, classdef) |
__splitCondition(self, condition, classdef)This function splits up a given condition into a condition which is handled by the datasource, and another one which has to be processed by appserver. |
__splitIntoAnd(self, tree, forest)This function splits a condition tree into several independant subtrees which can be re-combined via AND. |
__startOperation(self, operation) |
__usable(self, element, classdef) |
_destroy(self) |
_start(self, user, password) |
| Class Variable Details |
|---|
_MAX_CYCLES
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Nov 20 23:01:31 2008 | http://epydoc.sf.net |