Back to index

plone3  3.1.7
Public Member Functions
Archetypes.interfaces._athistoryaware.IATHistoryAware Class Reference
Inheritance diagram for Archetypes.interfaces._athistoryaware.IATHistoryAware:
Inheritance graph
[legend]
Collaboration diagram for Archetypes.interfaces._athistoryaware.IATHistoryAware:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getHistories

Detailed Description

Archetypes history awareness

Provide access to older revisions of persistent Archetypes

Definition at line 3 of file _athistoryaware.py.


Member Function Documentation

Iterate over at most max historic revisions.

Yields (object, time, transaction_note, user) tuples, where object
is an object revision approximating what was committed at that time,
with the current acquisition context.

Definition at line 10 of file _athistoryaware.py.

00010 
00011     def getHistories(max=10):
00012         """Iterate over at most max historic revisions.
00013         
00014         Yields (object, time, transaction_note, user) tuples, where object
00015         is an object revision approximating what was committed at that time,
00016         with the current acquisition context.
00017         
00018         """

Here is the caller graph for this function:


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