Home | Trees | Index | Help |
|
---|
Package g4ds :: Module communitymanager :: Class MemberManager |
|
Managing information about members of communities
Connected to a database. All the data is loaded into the memory at startup time. Changes are written through directly.Method Summary | |
---|---|
Initialises the member manager. | |
Some basic information about the object | |
Adds a member instance to the dictionary. | |
Member
|
Returns the member instance for the local node. |
Member
|
Get the member with the given ID from the repository. |
Provides a list with IDs of all members stored in the repository. | |
Member
|
Updates the member information for the object in the member manager with the same member id. |
Method Details |
---|
__init__(self,
loadFromDatabase=0)
Initialises the member manager.
|
__str__(self)
Some basic information about the object
|
addMember(self, member, persistent=1, storeCommunityRelations=0)Adds a member instance to the dictionary.
|
getLocalMember(self)Returns the member instance for the local node.
|
getMember(self, memberId)Get the member with the given ID from the repository.
|
getMemberIds(self)Provides a list with IDs of all members stored in the repository. return: List of IDs of all known members. rtype:List
of String
|
updateMember(self, member, updateCommunityRelations)Updates the member information for the object in the member manager with the same member id. If no member with the given id is in the manager, a new member will be created. All changes are written 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 |