Home | Trees | Index | Help |
|
---|
Package g4ds :: Module communitymanager :: Class Community |
|
Method Summary | |
---|---|
Initialises a Community instance | |
Some basic information about the object | |
Adds a algorithm to the community. | |
Adds the authority role for the given member to this community. | |
Add a community gateway to this community. | |
Add a member to this community. | |
Adds a protocol to the community. | |
List of String
|
Returns the list of algorithms for this community. |
List of String
|
GETTER |
GETTER | |
CommunityGateway
|
GETTER |
GETTER | |
List of String
|
GETTER |
GETTER | |
List of String
|
Returns the list of protocols for this community. |
CommunityGateway
|
GETTER |
GETTER | |
GETTER | |
GETTER | |
Boolean
|
Checks, whether the community has a member with the given id subscribed to it. |
Method Details |
---|
__init__(self,
id=None,
name=None,
description=None,
tcdl=None,
tcdlversion=None,
tcdldate=None)
|
__str__(self)
Some basic information about the object
|
addAlgorithm(self, algorithmid, loading=0)Adds a algorithm to the community.
|
addAuthority(self, authority_memberId, loading=0, registerInMember=0)Adds the authority role for the given member to this community.
|
addGateway(self, gateway)Add a community gateway to this community. It will determine itself, whether it is the source or the destination for the gateway.
|
addMember(self, memberId, isAuthority=0, registerInMember=0, loading=0)Add a member to this community. This function invokes a function in the db backend process for updating the table for the relation between members and communities.
|
addProtocol(self, protocolid, loading=0)Adds a protocol to the community.
|
getAlgorithms(self)Returns the list of algorithms for this community.
|
getAuthorities(self)GETTER Provides the list of community authorities for this community.
|
getDescription(self)GETTER
|
getDestinationGateways(self)GETTER Provides all the gateways, this community may receive through.
|
getId(self)GETTER
|
getMembers(self)GETTER Provides the list of members of this community.
|
getName(self)GETTER
|
getProtocols(self)Returns the list of protocols for this community.
|
getSourceGateways(self)GETTER Provides all the gateways, this community may send through.
|
getTcdl(self)GETTER
|
getTcdlDate(self)GETTER
|
getTcdlVersion(self)GETTER
|
hasMember(self, memberid)Checks, whether the community has a member with the given id subscribed to it.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 22 22:52:47 2005 | http://epydoc.sf.net |