Back to index

plone3  3.1.7
Public Member Functions
GroupUserFolder.interfaces.IUserFolder.IGroup Class Reference
Inheritance diagram for GroupUserFolder.interfaces.IUserFolder.IGroup:
Inheritance graph
[legend]
Collaboration diagram for GroupUserFolder.interfaces.IUserFolder.IGroup:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getMemberIds
def getUserMemberIds
def getGroupMemberIds
def hasMember
def addMember
def removeMember

Detailed Description

A group is a user atom other atoms can belong to.

Definition at line 592 of file IUserFolder.py.


Member Function Documentation

Add a user the the current group

Definition at line 610 of file IUserFolder.py.

00610 
00611     def addMember(userid):
00612          """Add a user the the current group"""
         
Return the members ids (groups only) of the groups of this group

Definition at line 603 of file IUserFolder.py.

00603 
00604     def getGroupMemberIds(transitive = 1, ):
00605         """Return the members ids (groups only) of the groups of this group"""

A group is a user atom other atoms can belong to.
Return the member ids (users and groups) of the atoms of this group.
This method can be very expensive !

Definition at line 596 of file IUserFolder.py.

00596 
00597     def getMemberIds(transitive = 1, ):
00598         """Return the member ids (users and groups) of the atoms of this group.
00599         This method can be very expensive !"""

Return the member ids (users only) of the users of this group

Definition at line 600 of file IUserFolder.py.

00600 
00601     def getUserMemberIds(transitive = 1, ):
00602         """Return the member ids (users only) of the users of this group"""

Return true if the specified atom id is in the group.
This is the contrary of IUserAtom.isInGroup(groupid)

Definition at line 606 of file IUserFolder.py.

00606 
00607     def hasMember(id):
00608         """Return true if the specified atom id is in the group.
00609         This is the contrary of IUserAtom.isInGroup(groupid)"""

Remove a user from the current group

Definition at line 613 of file IUserFolder.py.

00613 
00614     def removeMember(userid):
00615          """Remove a user from the current group"""

The documentation for this class was generated from the following file: