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

All Samples(124)  |  Call(124)  |  Derive(0)  |  Import(0)
Declare names to be inaccessible to restricted code.

src/f/t/ftw.publisher.receiver-2.0.2/ftw/publisher/receiver/decoder.py   ftw.publisher.receiver(Download)
        self.logger = getLogger()
 
    security.declarePrivate('__call__')
    def __call__(self, jsondata):
        """
        return self.data
 
    security.declarePrivate('decodeJson')
    def decodeJson(self, jsondata):
        """
        return data
 
    security.declarePrivate('validate')
    def validate(self):
        """
                        raise states.PartialError('Missing "%s.%s"' % (key, subkey))
 
    security.declarePrivate('getSchema')
    def getSchema(self, object):
        """
            return None
 
    security.declarePrivate('unserializeFields')
    def unserializeFields(self,object, jsonkey):
        """

src/f/t/ftw.publisher.core-2.4.0/ftw/publisher/core/adapters/topic_criterias.py   ftw.publisher.core(Download)
        self.object = object
 
    security.declarePrivate('getData')
    def getData(self):
        """returns all important data"""
        return self.getTopicCriterias()
 
    security.declarePrivate('getTopicCriterias')
        return criterias
 
    security.declarePrivate('setData')
    def setData(self, topic_criteria_data, metadata):
        """

src/f/t/ftw.publisher.core-2.4.0/ftw/publisher/core/adapters/properties_data.py   ftw.publisher.core(Download)
        self.object = object
 
    security.declarePrivate('getData')
    def getData(self):
        """returns all important data"""
        return self.getPropertyData()
 
    security.declarePrivate('getPropertyData')
        return properties
 
    security.declarePrivate('setData')
    def setData(self, properties, metadata):
        """

src/f/t/ftw.publisher.core-2.4.0/ftw/publisher/core/adapters/shop_items.py   ftw.publisher.core(Download)
        self.object = obj
 
    security.declarePrivate('getData')
    def getData(self):
        variations_config = queryAdapter(self.object, IVariationConfig)
        return data
 
    security.declarePrivate('setData')
    def setData(self, data, metadata):
        variations_config = queryAdapter(self.object, IVariationConfig)

src/f/t/ftw.publisher.core-2.4.0/ftw/publisher/core/adapters/geo_data.py   ftw.publisher.core(Download)
        self.manager = queryAdapter(obj, IGeoManager)
 
    security.declarePrivate('getData')
    def getData(self):
        if self.manager:
            return self.manager.getCoordinates()
        else:
            return None
 
    security.declarePrivate('setData')

src/f/t/ftw.publisher.core-2.4.0/ftw/publisher/core/adapters/custom_styles.py   ftw.publisher.core(Download)
        self.obj = obj
 
    security.declarePrivate('getData')
    def getData(self):
        return ICustomStyles(self.obj).get_styles()
 
    security.declarePrivate('setData')

src/f/t/ftw.publisher.sender-2.2.0/ftw/publisher/sender/adapters.py   ftw.publisher.sender(Download)
        self.portal = context.portal_url.getPortalObject()
 
    security.declarePrivate('is_blacklisted')
    def is_blacklisted(self, context=None, path=None):
        """ Checks if the adapter the context, the given

src/f/t/ftw.publisher.core-2.4.0/ftw/publisher/core/adapters/portlet_data.py   ftw.publisher.core(Download)
        self.object = object
 
    security.declarePrivate('getData')
    def getData(self):
        """returns all important data
        return data
 
    security.declarePrivate('setData')
    def setData(self, portletsdata, metadata):
        """create or updates portlet informations

src/f/t/ftw.publisher.core-2.4.0/ftw/publisher/core/adapters/backreferences.py   ftw.publisher.core(Download)
        self.context = obj
 
    security.declarePrivate('getData')
    def getData(self):
        """ Returns backreferences:
        return data
 
    security.declarePrivate('setData')
    def setData(self, data, metadata):
        self.logger.info('Updating backreferences (UID %s)' %

Previous  1 | 2