Home | Trees | Index | Help |
|
---|
Package g4ds :: Module servicerepository :: Class ServiceManager |
|
Responsible for maintaining information about Services and relations with them
Connected to a database. All the data is loaded into the memory at startup time. Changes are written through directly.Method Summary | |
---|---|
Initialises the Service Manager | |
Some basic information about the object | |
Adds a community instance to the repository | |
Service
|
Getter |
List of String
|
GETTER |
Passes the request to the database backend. | |
Passes the request to the database backend. | |
Passes the request to the database backend. | |
Updates the manager with the given service information. |
Method Details |
---|
__init__(self,
loadFromDatabase=0)
|
__str__(self)
Some basic information about the object
|
addService(self, service, persistent=1)Adds a community instance to the repository
|
getService(self, serviceId)Getter
|
getServiceIds(self)GETTER
|
registerAuthority(self, serviceid, memberid)Passes the request to the database backend. |
registerCommunitySubscription(self, serviceid, communityid)Passes the request to the database backend. |
registerMemberSubscription(self, serviceid, memberid)Passes the request to the database backend. |
updateService(self, service, dropAuthorityRelations=1, dropMemberRelations=0, dropCommunityRelations=0)Updates the manager with the given service information. Writes information through to the database if connected. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 22 22:52:47 2005 | http://epydoc.sf.net |