Logo Search packages:      
Sourcecode: zope-ldapmultiplugins version File versions  Download package

def LDAPMultiPlugins::LDAPPluginBase::LDAPPluginBase::_getGroupInfoCache (   self,
  gid,
  default = None 
) [private]

Retrieve a group info from cache, given its group id.

Returns None or the passed-in default if the cache
has no group with such id

Definition at line 183 of file LDAPPluginBase.py.

00183                                                    :
        """Retrieve a group info from cache, given its group id.

        Returns None or the passed-in default if the cache
        has no group with such id
        """
        view_name, keywords = self._getGroupInfoCacheKey(gid)
        result = self.ZCacheable_get( view_name=view_name
                                    , keywords=keywords
                                    , default=default
                                    )
        return result


classImplements( LDAPPluginBase
               , IAuthenticationPlugin
               , ICredentialsUpdatePlugin
               , ICredentialsResetPlugin
               , IPropertiesPlugin
               , IRolesPlugin
               )

InitializeClass(LDAPPluginBase)
InitializeClass(LDAPPluginBase)


Generated by  Doxygen 1.6.0   Back to index