Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Static Private Attributes
CMFPlone.GroupsTool.GroupsTool Class Reference
Inheritance diagram for CMFPlone.GroupsTool.GroupsTool:
Inheritance graph
[legend]
Collaboration diagram for CMFPlone.GroupsTool.GroupsTool:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getGroupInfo
def createGrouparea

Static Public Attributes

 meta_type = ToolNames.GroupsTool
tuple security = ClassSecurityInfo()
string toolicon = 'skins/plone_images/group.gif'
int groupWorkspacesCreationFlag = 0

Static Private Attributes

tuple __implements__ = (PloneBaseTool.__implements__, BaseTool.__implements__, )

Detailed Description

Definition at line 9 of file GroupsTool.py.


Member Function Documentation

Override the method to make sure the groups folder gets indexed,
GRUF makes a policy decision to unindex the groups folder.

Definition at line 37 of file GroupsTool.py.

00037 
00038     def createGrouparea(self, id):
00039         """
00040         Override the method to make sure the groups folder gets indexed,
00041         GRUF makes a policy decision to unindex the groups folder.
00042         """
00043         workspaces = self.getGroupWorkspacesFolder()
00044         BaseTool.createGrouparea(self, id)
00045         if workspaces is None:
00046             workspaces = self.getGroupWorkspacesFolder()
00047             if base_hasattr(workspaces, 'reindexObject'):
00048                 workspaces.reindexObject()
00049 
00050 GroupsTool.__doc__ = BaseTool.__doc__
00051 
00052 InitializeClass(GroupsTool)

Here is the call graph for this function:

Here is the caller graph for this function:

def CMFPlone.GroupsTool.GroupsTool.getGroupInfo (   self,
  groupId 
)
Return default group info of any group

Definition at line 22 of file GroupsTool.py.

00022 
00023     def getGroupInfo(self, groupId):
00024         """
00025         Return default group info of any group
00026         """
00027         group = self.getGroupById(groupId)
00028 
00029         if group is None:
00030             return None
00031 
00032         groupinfo = { 'title'    : group.getProperty('title'),
00033                       'description' : group.getProperty('description'),
00034                     }
00035 
00036         return groupinfo

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

tuple CMFPlone.GroupsTool.GroupsTool.__implements__ = (PloneBaseTool.__implements__, BaseTool.__implements__, ) [static, private]

Definition at line 18 of file GroupsTool.py.

Definition at line 16 of file GroupsTool.py.

Definition at line 11 of file GroupsTool.py.

tuple CMFPlone.GroupsTool.GroupsTool.security = ClassSecurityInfo() [static]

Definition at line 12 of file GroupsTool.py.

string CMFPlone.GroupsTool.GroupsTool.toolicon = 'skins/plone_images/group.gif' [static]

Definition at line 13 of file GroupsTool.py.


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