Back to index

plone3  3.1.7
Public Member Functions
CMFUid.interfaces.IUniqueIdQuery Class Reference
Inheritance diagram for CMFUid.interfaces.IUniqueIdQuery:
Inheritance graph
[legend]
Collaboration diagram for CMFUid.interfaces.IUniqueIdQuery:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def queryUid
def getUid
def queryObject
def getObject

Detailed Description

Querying unique ids.

Definition at line 100 of file interfaces.py.


Member Function Documentation

Return the object with the given uid.

If no object exist with the given unique id, a UniqueIdError is raised.

Definition at line 124 of file interfaces.py.

00124 
00125     def getObject(uid):
00126         """Return the object with the given uid.
00127 
00128         If no object exist with the given unique id, a UniqueIdError is raised.
00129         """
00130 
00131 
# This is the main API for playing with unique ids

Here is the caller graph for this function:

Return the unique id of the object.

If the object doesn't have a unique, a UniqueIdError is raised.

Definition at line 111 of file interfaces.py.

00111 
00112     def getUid(obj):
00113         """Return the unique id of the object.
00114 
00115         If the object doesn't have a unique, a UniqueIdError is raised.
00116         """

def CMFUid.interfaces.IUniqueIdQuery.queryObject (   uid,
  default = None 
)
Return the object with the given uid.

If no object exist with the given unique id, the default value is
returned.

Definition at line 117 of file interfaces.py.

00117 
00118     def queryObject(uid, default=None):
00119         """Return the object with the given uid.
00120 
00121         If no object exist with the given unique id, the default value is
00122         returned.
00123         """

Here is the caller graph for this function:

def CMFUid.interfaces.IUniqueIdQuery.queryUid (   obj,
  default = None 
)
Querying unique ids.
Return the unique id of the object.

If the object doesn't have a unique, the default value is returned.

Definition at line 105 of file interfaces.py.

00105 
00106     def queryUid(obj, default=None):
00107         """Return the unique id of the object.
00108 
00109         If the object doesn't have a unique, the default value is returned.
00110         """

Here is the caller graph for this function:


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