Module usedto build a ZODB that will be used by the TikiWare WebApp Framework
Main class to be used to create the database. requires a tikiDB.DB to be passed. All methods that commit data must be explicitly committed by transaction.commit() after being performed.
creates a containter to house data objects and adds an object to the index_listing container
Parameters: | name (String) – The name of the conainter to be created. should be a plural of the object (i.e. people for an container to house person objects, recipies for a container to house recipe objects, etc...) |
---|
creates the data definition of an object. the name of the object definition should be a singular object.
Parameters: |
|
---|---|
Paramobj_container : | |
name of the container where the objects will be stored |
generate database document. this will contain information on the containers, objects and indexes that are available in the database :param doc_type: is the type data returned. valid types are: markdown, html, print: pretty print? :type doc_type: string
return a list of all containers
Return a list of all indexes
Return a dict of the object definitions
calls the makeIndex method of the passed TikiDB.DB() to create an index. Refer to the doc string of the TikiDB.DB.makeIndex() for more info
Main class to be used to create the database. requires a tikiDB.DB to be passed. All methods that commit data must be explicitly committed by transaction.commit() after being performed.
creates a containter to house data objects and adds an object to the index_listing container
Parameters: | name (String) – The name of the conainter to be created. should be a plural of the object (i.e. people for an container to house person objects, recipies for a container to house recipe objects, etc...) |
---|
creates the data definition of an object. the name of the object definition should be a singular object.
Parameters: |
|
---|---|
Paramobj_container : | |
name of the container where the objects will be stored |
generate database document. this will contain information on the containers, objects and indexes that are available in the database :param doc_type: is the type data returned. valid types are: markdown, html, print: pretty print? :type doc_type: string
return a list of all containers
Return a list of all indexes
Return a dict of the object definitions
calls the makeIndex method of the passed TikiDB.DB() to create an index. Refer to the doc string of the TikiDB.DB.makeIndex() for more info