;ò _Ç@c@sadZdklZydklZWn ej odklZnXdefd„ƒYZdS(sR Groups tool interface Goes along the lines of portal_membership, but for groups.(s Attribute(s Interface(sBases portal_groupscBsŬtZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z ggd„Z ggd „Z d d „Z d „Z d d„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(s|Defines an interface for working with groups in an abstract manner. Parallels the portal_membership interface of CMFCorecCsdS(s†Test if a user/group object is a group or not. You must pass an object you get earlier with wrapUser() or wrapGroup() N((su((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pysisGroupscCsdS(sUReturns the portal_groupdata-ish object for a group corresponding to this id.N((sid((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pys getGroupByIdscCsdS(sKReturns a list of the groups the user corresponding to 'userid' belongs to.N((suserid((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pysgetGroupsByUserIdscCsdS(s=Returns a list of the available portal_groupdata-ish objects.N((((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pys listGroups!scCsdS(s?Returns a list of the available groups' ids (WITHOUT prefixes).N((((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pys listGroupIds$scCsdS(sEReturns a list of the available groups' names (ie. without prefixes).N((((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pyslistGroupNames'scKsdS(s4Return a list of groups meeting certain conditions. N((sREQUESTskw((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pyssearchForGroups0scKsdS(sÏCreate a group with the supplied id, roles, and groups. Underlying user folder must support adding users via the usual Zope API. Passwords for groups seem to be currently irrelevant in GRUF.N((sidsrolessgroupsskw((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pysaddGroup4scKsdS(sEdit the given group with the supplied roles. Underlying user folder must support editing users via the usual Zope API. Passwords for groups seem to be currently irrelevant in GRUF. One can supply additional named parameters to set group properties.N((sidsrolessgroupsskw((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pys editGroup:sicCsdS(sRemove the group in the provided list (if possible). Will by default remove this group's GroupWorkspace if it exists. You may turn this off by specifying keep_workspaces=true. Underlying user folder must support removing users via the usual Zope API.N((sidsskeep_workspaces((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pys removeGroupsAscCsdS(sOMake the object 'object' owned by group 'group' (a portal_groupdata-ish object)N((sgroupsobject((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pyssetGroupOwnershipHsscCsdS(sİ Set the location of the Group Workspaces folder by id. The Group Workspaces Folder contains all the group workspaces, just like the Members folder contains all the member folders. If anyone really cares, we can probably make the id work as a path as well, but for the moment it's only an id for a folder in the portal root, just like the corresponding MembershipTool functionality. N((sid((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pyssetGroupWorkspacesFolderKscCsdS(sĵ Get the Group Workspaces folder object's id. The Group Workspaces Folder contains all the group workspaces, just like the Members folder contains all the member folders. N((((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pysgetGroupWorkspacesFolderIdUscCsdS(s· Get the Group Workspaces folder object. The Group Workspaces Folder contains all the group workspaces, just like the Members folder contains all the member folders. N((((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pysgetGroupWorkspacesFolder[scCsdS(s` Toggles the flag for creation of a GroupWorkspaces folder upon first use of the group. N((((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pystoggleGroupWorkspacesCreationascCsdS(sšReturn the (boolean) flag indicating whether the Groups Tool will create a group workspace upon the next use of the group (if one doesn't exist). N((((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pysgetGroupWorkspacesCreationFlagescCsdS(s=Return the Type (as in TypesTool) to make the GroupWorkspace.N((((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pysgetGroupWorkspaceTypeiscCsdS(sVSet the Type (as in TypesTool) to make the GroupWorkspace. Expects the name of a Type.N((stype((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pyssetGroupWorkspaceTypelscCsdS(sXCreate a space in the portal for the given group, much like member home folders.N((sid((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pyscreateGroupareaoscCsdS(s,Returns the object of the group's work area.N((sid((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pysgetGroupareaFoldersscCsdS(s.Returns the full URL to the group's work area.N((sid((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pysgetGroupareaURLvs(s__name__s __module__s__doc__sisGroups getGroupByIdsgetGroupsByUserIds listGroupss listGroupIdsslistGroupNamesssearchForGroupssaddGroups editGroups removeGroupsssetGroupOwnershipssetGroupWorkspacesFoldersgetGroupWorkspacesFolderIdsgetGroupWorkspacesFolderstoggleGroupWorkspacesCreationsgetGroupWorkspacesCreationFlagsgetGroupWorkspaceTypessetGroupWorkspaceTypescreateGroupareasgetGroupareaFoldersgetGroupareaURL(((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pys portal_groupss,                 N(s__doc__s Interfaces Attributes ImportErrorsBases portal_groups(s Interfaces Attributes portal_groups((s\/mnt/gmirror/ports/www/zope-groupuserfolder/work/GroupUserFolder/interfaces/portal_groups.pys?s