Back to index

plone3  3.1.7
Public Member Functions
plone.app.portlets.browser.manage.ManageGroupPortlets Class Reference
Inheritance diagram for plone.app.portlets.browser.manage.ManageGroupPortlets:
Inheritance graph
[legend]
Collaboration diagram for plone.app.portlets.browser.manage.ManageGroupPortlets:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def category
def key
def __init__
def getAssignmentMappingUrl
def getAssignmentsForManager
def group

Detailed Description

Definition at line 140 of file manage.py.


Constructor & Destructor Documentation

def plone.app.portlets.browser.manage.ManageGroupPortlets.__init__ (   self,
  context,
  request 
)

Definition at line 153 of file manage.py.

00153 
00154     def __init__(self, context, request):
00155         super(ManageGroupPortlets, self).__init__(context, request)
00156         self.request.set('disable_border', True)
    

Here is the caller graph for this function:


Member Function Documentation

Definition at line 146 of file manage.py.

00146 
00147     def category(self):
00148         return GROUP_CATEGORY
        

Definition at line 157 of file manage.py.

00157 
00158     def getAssignmentMappingUrl(self, manager):
00159         baseUrl = str(getMultiAdapter((self.context, self.request), name='absolute_url'))
00160         key = self.request['key']
00161         return '%s/++groupportlets++%s+%s' % (baseUrl, manager.__name__, key)

Here is the call graph for this function:

Definition at line 162 of file manage.py.

00162 
00163     def getAssignmentsForManager(self, manager):
00164         key = self.request['key']
00165         column = getUtility(IPortletManager, name=manager.__name__)
00166         category = column[GROUP_CATEGORY]
00167         mapping = category.get(key, None)
00168         if mapping is None:
00169             mapping = category[key] = PortletAssignmentMapping(manager=manager.__name__,
00170                                                                category=GROUP_CATEGORY,
00171                                                                name=key)
00172         return mapping.values()
    

Definition at line 175 of file manage.py.

00175 
00176     def group(self):
00177         return self.request['key']

Definition at line 150 of file manage.py.

00150 
00151     def key(self):
00152         return self.request['key']
    

Here is the caller graph for this function:


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