Back to index

plone3  3.1.7
Public Member Functions
CMFEditions.interfaces.IArchivist.IHistory Class Reference
Inheritance diagram for CMFEditions.interfaces.IArchivist.IHistory:
Inheritance graph
[legend]
Collaboration diagram for CMFEditions.interfaces.IArchivist.IHistory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __len__
def __getattr__
def __iter__

Detailed Description

Iterable version history.

Definition at line 343 of file IArchivist.py.


Constructor & Destructor Documentation

Iterable version history.
Instantiates a lazy iterable history.

This is a multi adapter adpating the archivist, the object and
optionally a context wrapper.

Definition at line 347 of file IArchivist.py.

00347 
00348     def __init__(archivist, obj):
00349         """Instantiates a lazy iterable history.
00350         
00351         This is a multi adapter adpating the archivist, the object and
00352         optionally a context wrapper.
00353         """


Member Function Documentation

Returns the version of an object corresponding to the version id.

The object returned is of 'IVersionData'.

Definition at line 358 of file IArchivist.py.

00358 
00359     def __getattr__(version_id):
00360         """Returns the version of an object corresponding to the version id.
00361         
00362         The object returned is of 'IVersionData'.
00363         """

Here is the caller graph for this function:

Returns an ordered set of versions for beeing looped over.

The objects returned are of 'IVersionData'.

Definition at line 364 of file IArchivist.py.

00364 
00365     def __iter__():
00366         """Returns an ordered set of versions for beeing looped over.
00367         
00368         The objects returned are of 'IVersionData'.
00369         """
00370 

Here is the caller graph for this function:

Returns the length of the history.

Definition at line 354 of file IArchivist.py.

00354 
00355     def __len__():
00356         """Returns the length of the history.
00357         """


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