Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(225)  |  Call(225)  |  Derive(0)  |  Import(0)
Declare names to be publicly accessible.

src/z/o/Zope2-2.13.22/src/webdav/LockItem.py   Zope2(Download)
    # Use the Zope 2.3 declarative security to manage access
    security = ClassSecurityInfo()
    security.declarePublic('getOwner', 'getLockToken', 'getDepth',
                           'getTimeout', 'getTimeoutString',
                           'getModifiedTime', 'isValid', 'getLockScope',

src/z/o/Zope-HEAD/src/webdav/LockItem.py   Zope(Download)
    # Use the Zope 2.3 declarative security to manage access
    security = ClassSecurityInfo()
    security.declarePublic('getOwner', 'getLockToken', 'getDepth',
                           'getTimeout', 'getTimeoutString',
                           'getModifiedTime', 'isValid', 'getLockScope',

src/z/o/Zope2-2.13.22/src/webdav/Lockable.py   Zope2(Download)
    security = ClassSecurityInfo()
    security.declarePrivate('wl_lockmapping')
    security.declarePublic('wl_isLocked', 'wl_getLock', 'wl_isLockedByUser',
                           'wl_lockItems', 'wl_lockValues', 'wl_lockTokens',)
    security.declareProtected('WebDAV Lock items', 'wl_setLock')

src/z/o/Zope-HEAD/src/webdav/Lockable.py   Zope(Download)
    security = ClassSecurityInfo()
    security.declarePrivate('wl_lockmapping')
    security.declarePublic('wl_isLocked', 'wl_getLock', 'wl_isLockedByUser',
                           'wl_lockItems', 'wl_lockValues', 'wl_lockTokens',)
    security.declareProtected('WebDAV Lock items', 'wl_setLock')

src/p/r/Products.DocFinderTab-1.0.5/Products/DocFinderTab/analyse.py   Products.DocFinderTab(Download)
  _secInfo= ClassSecurityInfo()
  _secInfo.declarePublic(
    'ObjToDoc__', 'DocType__', 'DocMethodRe__', 'Path', 'Title',
    '__getitem__','__len__','tpValues', 'tpId',
    )
 
  _secInfo= ClassSecurityInfo()
  _secInfo.declarePublic('__getitem__','__len__','tpValues', 'tpId',
                         'Name', 'Doc', 'Module','Comment', 'FullName',
                         )
 
  _secInfo= ClassSecurityInfo()
  _secInfo.declarePublic('tpValues', 'tpId',
                         'Name', 'Roles', 'Args', 'Doc', 'Type', 'DocOrType',
                         'Comment', 'Permission', 'FullName',

src/p/r/Products.CMFPlone-5.0a2/Products/CMFPlone/patches/securemailhost.py   Products.CMFPlone(Download)
        MailHost.security = ClassSecurityInfo()
        MailHost.security.declareProtected(use_mailhost_services, 'secureSend')
        MailHost.security.declarePublic('validateSingleNormalizedEmailAddress',
                                        'validateSingleEmailAddress',
                                        'validateEmailAddresses',

src/p/r/Products.CMFPlone-HEAD/Products/CMFPlone/patches/securemailhost.py   Products.CMFPlone(Download)
        MailHost.security = ClassSecurityInfo()
        MailHost.security.declareProtected(use_mailhost_services, 'secureSend')
        MailHost.security.declarePublic('validateSingleNormalizedEmailAddress',
                                        'validateSingleEmailAddress',
                                        'validateEmailAddresses',

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/TypesTool.py   Products.CMFCore(Download)
        return getattr(self, 'icon_expr_object', None)
 
    security.declarePublic('allowType')
    def allowType( self, contentType ):
        """
        return 0
 
    security.declarePublic('getId')
    def getId(self):
        return self.id
 
    security.declarePublic('allowDiscussion')
        return self.allow_discussion
 
    security.declarePublic('globalAllow')
    def globalAllow(self):
        """
        Should this type be implicitly addable anywhere?
        """
        return self.global_allow
 
    security.declarePublic('listActions')

src/p/r/Products.CMFCalendar-2.3.0-beta/Products/CMFCalendar/Event.py   Products.CMFCalendar(Download)
        return attrib
 
    security.declarePublic('getEndStrings')
    def getEndStrings(self):
        """ Returns a mapping with string representations for the end time
        return _dateStrings(self.end())
 
    security.declarePublic('getStartStrings')
    def getStartStrings(self):
        """ Returns a mapping with string representations for the start time
        self.reindexObject()
 
    security.declarePublic('buildTimes')
    def buildTimes(self):
        result = []
        return result
 
    security.declarePublic('buildDays')
    def buildDays(self):
        result = []
        for day in range (1, 32):
            result.append(str('%d' % (day)))
        return result
 
    security.declarePublic('buildMonths')

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/MemberDataTool.py   Products.CMFCore(Download)
        self.getTool().registerMemberData(self, self.getId())
 
    security.declarePublic('getUser')
    def getUser(self):
        # The user object is our context, but it's possible for
        return aq_parent(aq_inner(self))
 
    security.declarePublic('getMemberId')
    def getMemberId(self):
        return self.getUser().getId()
    # XXX: s.b., getPropertyForMember(member, id, default)?
 
    security.declarePublic('getProperty')
    def getProperty(self, id, default=_marker):
 
    ### User object interface ###
 
    security.declarePublic('getUserName')
    def getUserName(self):
        """Return the username of a user"""
        return self.getUser().getUserName()
 
    security.declarePublic('getId')

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8  Next