Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Static Private Attributes
CMFEditions.UniqueIdHandlerTool.UniqueIdHandlerTool Class Reference
Inheritance diagram for CMFEditions.UniqueIdHandlerTool.UniqueIdHandlerTool:
Inheritance graph
[legend]
Collaboration diagram for CMFEditions.UniqueIdHandlerTool.UniqueIdHandlerTool:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def register
def unregister
def queryUid
def getUid
def setUid
def queryBrain
def getBrain
def getObject
def queryObject

Static Public Attributes

string id = 'portal_historyidhandler'
string alternative_id = "portal_editions_uidhandler"
string meta_type = 'Unique Id Handler Tool'
 UID_ATTRIBUTE_NAME = UID_ATTRIBUTE_NAME
 UniqueIdError = UniqueIdError
tuple security = ClassSecurityInfo()

Static Private Attributes

 __doc__ = __doc__
tuple __implements__ = (SimpleItem.__implements__,)

Detailed Description

Definition at line 44 of file UniqueIdHandlerTool.py.


Member Function Documentation

See IUniqueIdBrainQuery.

Definition at line 117 of file UniqueIdHandlerTool.py.

00117 
00118     def getBrain(self, uid):
00119         """See IUniqueIdBrainQuery.
00120         """
00121         histid_handler = getToolByName(self, 'portal_historyidhandler', None)
00122         if histid_handler is not None:
00123             return histid_handler.getBrain(uid)
    

Here is the call graph for this function:

Here is the caller graph for this function:

See IUniqueIdQuery.

Definition at line 125 of file UniqueIdHandlerTool.py.

00125 
00126     def getObject(self, uid):
00127         """See IUniqueIdQuery.
00128         """
00129         histid_handler = getToolByName(self, 'portal_historyidhandler', None)
00130         if histid_handler is not None:
00131             return histid_handler.getObject(uid)
    

Here is the call graph for this function:

Here is the caller graph for this function:

See IUniqueIdQuery.

Definition at line 93 of file UniqueIdHandlerTool.py.

00093 
00094     def getUid(self, obj):
00095         """See IUniqueIdQuery.
00096         """
00097         histid_handler = getToolByName(self, 'portal_historyidhandler', None)
00098         if histid_handler is not None:
00099             return histid_handler.getUid(obj)
    

Here is the call graph for this function:

def CMFEditions.UniqueIdHandlerTool.UniqueIdHandlerTool.queryBrain (   self,
  uid,
  default = None 
)
See IUniqueIdBrainQuery.

Definition at line 109 of file UniqueIdHandlerTool.py.

00109 
00110     def queryBrain(self, uid, default=None):
00111         """See IUniqueIdBrainQuery.
00112         """
00113         histid_handler = getToolByName(self, 'portal_historyidhandler', None)
00114         if histid_handler is not None:
00115             return histid_handler.queryBrain(uid, default)
    

Here is the call graph for this function:

Here is the caller graph for this function:

def CMFEditions.UniqueIdHandlerTool.UniqueIdHandlerTool.queryObject (   self,
  uid,
  default = None 
)
See IUniqueIdQuery.

Definition at line 133 of file UniqueIdHandlerTool.py.

00133 
00134     def queryObject(self, uid, default=None):
00135         """See IUniqueIdQuery.
00136         """
00137         histid_handler = getToolByName(self, 'portal_historyidhandler', None)
00138         if histid_handler is not None:
00139             return histid_handler.queryObject(uid, default)
00140     
00141 InitializeClass(UniqueIdHandlerTool)

Here is the call graph for this function:

Here is the caller graph for this function:

def CMFEditions.UniqueIdHandlerTool.UniqueIdHandlerTool.queryUid (   self,
  obj,
  default = None 
)
See IUniqueIdQuery.

Definition at line 85 of file UniqueIdHandlerTool.py.

00085 
00086     def queryUid(self, obj, default=None):
00087         """See IUniqueIdQuery.
00088         """
00089         histid_handler = getToolByName(self, 'portal_historyidhandler', None)
00090         if histid_handler is not None:
00091             return histid_handler.queryUid(obj, default)
    

Here is the call graph for this function:

Here is the caller graph for this function:

See IUniqueIdSet.

Definition at line 69 of file UniqueIdHandlerTool.py.

00069 
00070     def register(self, obj):
00071         """See IUniqueIdSet.
00072         """
00073         histid_handler = getToolByName(self, 'portal_historyidhandler', None)
00074         if histid_handler is not None:
00075             return histid_handler.register(obj)
    

Here is the call graph for this function:

Here is the caller graph for this function:

def CMFEditions.UniqueIdHandlerTool.UniqueIdHandlerTool.setUid (   self,
  obj,
  uid,
  check_uniqueness = True 
)
See IUniqueIdSet.

Definition at line 101 of file UniqueIdHandlerTool.py.

00101 
00102     def setUid(self, obj, uid, check_uniqueness=True):
00103         """See IUniqueIdSet.
00104         """
00105         histid_handler = getToolByName(self, 'portal_historyidhandler', None)
00106         if histid_handler is not None:
00107             return histid_handler.setUid(obj, uid, check_uniqueness)
    

Here is the call graph for this function:

See IUniqueIdSet.

Definition at line 77 of file UniqueIdHandlerTool.py.

00077 
00078     def unregister(self, obj):
00079         """See IUniqueIdSet.
00080         """
00081         histid_handler = getToolByName(self, 'portal_historyidhandler', None)
00082         if histid_handler is not None:
00083             histid_handler.unregister(obj)
    

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 45 of file UniqueIdHandlerTool.py.

tuple CMFEditions.UniqueIdHandlerTool.UniqueIdHandlerTool.__implements__ = (SimpleItem.__implements__,) [static, private]

Definition at line 48 of file UniqueIdHandlerTool.py.

string CMFEditions.UniqueIdHandlerTool.UniqueIdHandlerTool.alternative_id = "portal_editions_uidhandler" [static]

Definition at line 51 of file UniqueIdHandlerTool.py.

string CMFEditions.UniqueIdHandlerTool.UniqueIdHandlerTool.id = 'portal_historyidhandler' [static]

Definition at line 50 of file UniqueIdHandlerTool.py.

string CMFEditions.UniqueIdHandlerTool.UniqueIdHandlerTool.meta_type = 'Unique Id Handler Tool' [static]

Definition at line 52 of file UniqueIdHandlerTool.py.

Definition at line 61 of file UniqueIdHandlerTool.py.

Definition at line 56 of file UniqueIdHandlerTool.py.

Definition at line 59 of file UniqueIdHandlerTool.py.


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