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

ManagableIndex::ValueProvider::AttributeLookup Class Reference

Inheritance diagram for ManagableIndex::ValueProvider::AttributeLookup:


List of all members.

Detailed Description

Configures attribute/method lookup.

Configuration properties:

 'Name' -- the attribute/method which determines the value

 'AcquisitionType' -- controls how acquisition is used
   * 'implicit' -- use implicit acquisition

   * 'explicit' -- equivalent to 'implicit' unless the
     looked up value is a method and is called.
     In this case, the passed in object is an explicit
     acquisition wrapper.

   * 'none' -- do not use acquisition

 'CallType' -- controls how a callable result should be handled

   * 'call' -- call it and return the result

   * 'ignore' -- ignore value

   * 'return' -- return the value

Definition at line 87 of file ValueProvider.py.

Public Member Functions

def __str__
def evaluate
def listAcquisitionTypes
def listCallTypes

Static Public Attributes

string AcquisitionType = 'implicit'
string CallType = 'call'
int IgnoreExceptions = 1
tuple manage_options
string meta_type = 'Attribute Lookup'
string Name = ''
tuple security = ClassSecurityInfo()

Private Member Functions

def _evaluate

Static Private Attributes

tuple _properties

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

Generated by  Doxygen 1.6.0   Back to index