Back to index

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

List of all members.

Public Member Functions

def unrestrictedQueryObject
def unrestrictedGetObject
def unrestrictedQueryBrain
def unrestrictedGetBrain

Detailed Description

Querying unique ids unrestricted.

The below methods return not yet effective and already expired
objects regardless of the roles the caller has.

CAUTION: Care must be taken not to open security holes by exposing
the results of these methods to non authorized callers!

If you're in doubth if you should use this method signature or
the restricted ones ('IUniqueIdQuery' and 'IUniqueIdBrainQuery')
use the latter!

Returning a brain is more efficient than returning the object. A brain
usually exposes only parts of the object and should only be read from.

If the implementing class doesn't support returning a catalog
brain it may fallback to return the object. To be entirely
compatible it must implement the (non existing) interface
catalog brains implement.

Definition at line 167 of file interfaces.py.


Member Function Documentation

Return a brain of the object with the given uid.

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

Definition at line 211 of file interfaces.py.

00211 
00212     def unrestrictedGetBrain(uid):
00213         """Return a brain of the object with the given uid.
00214 
00215         If no object exist with the given unique id, a UniqueIdError
00216         is raised.
00217         """

Here is the caller graph for this function:

Return a brain of the object with the given uid.

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

Definition at line 197 of file interfaces.py.

00197 
00198     def unrestrictedGetObject(uid):
00199         """Return a brain of the object with the given uid.
00200 
00201         If no object exist with the given unique id, a UniqueIdError
00202         is raised.
00203         """

Here is the caller graph for this function:

Return the brain of the object with the given uid.

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

Definition at line 204 of file interfaces.py.

00204 
00205     def unrestrictedQueryBrain(uid, default=None):
00206         """Return the brain of the object with the given uid.
00207 
00208         If no object exist with the given unique id, the default value
00209         is returned.
00210         """

Here is the caller graph for this function:

Querying unique ids unrestricted.

The below methods return not yet effective and already expired
objects regardless of the roles the caller has.

CAUTION: Care must be taken not to open security holes by exposing
the results of these methods to non authorized callers!

If you're in doubth if you should use this method signature or
the restricted ones ('IUniqueIdQuery' and 'IUniqueIdBrainQuery')
use the latter!

Returning a brain is more efficient than returning the object. A brain
usually exposes only parts of the object and should only be read from.

If the implementing class doesn't support returning a catalog
brain it may fallback to return the object. To be entirely
compatible it must implement the (non existing) interface
catalog brains implement.
Return the object with the given uid.

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

Definition at line 190 of file interfaces.py.

00190 
00191     def unrestrictedQueryObject(uid, default=None):
00192         """Return the object with the given uid.
00193 
00194         If no object exist with the given unique id, the default value
00195         is returned.
00196         """


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