Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
CMFCore.interfaces._tools.IUndoTool Class Reference
Inheritance diagram for CMFCore.interfaces._tools.IUndoTool:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.interfaces._tools.IUndoTool:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def listUndoableTransactionsFor
def undo

Static Public Attributes

tuple id

Detailed Description

Provide access to Zope undo functions.

Definition at line 1485 of file _tools.py.


Member Function Documentation

def CMFCore.interfaces._tools.IUndoTool.listUndoableTransactionsFor (   object,
  first_transaction = None,
  last_transaction = None,
  PrincipiaUndoBatchSize = None 
)
List all transaction IDs the user is allowed to undo on 'object'.

o Return a list of "transaction info" objects, using the given
  parameters to batch the results.

o XXX:  this needs documentation / testing.

o Permission:  Undo changes

Definition at line 1503 of file _tools.py.

01503 
01504                                     PrincipiaUndoBatchSize=None):
01505         """ List all transaction IDs the user is allowed to undo on 'object'.
01506 
01507         o Return a list of "transaction info" objects, using the given
01508           parameters to batch the results.
01509 
01510         o XXX:  this needs documentation / testing.
01511 
01512         o Permission:  Undo changes
01513         """

Here is the caller graph for this function:

def CMFCore.interfaces._tools.IUndoTool.undo (   object,
  transaction_info 
)
Performs an undo operation.

o Permission:  Undo changes

Definition at line 1514 of file _tools.py.

01514 
01515     def undo(object, transaction_info):
01516         """Performs an undo operation.
01517 
01518         o Permission:  Undo changes
01519         """
01520 
01521 
01522 #
01523 #   URL tool interface
#

Member Data Documentation

Initial value:
Attribute('id',
            """ The ID of the tool.o BBB:  for use in 'getToolByName';  in the future, prefer  'zapi.getUtility(IUndoTool)'.o Must be set to "portal_undo"""",
            )
Provide access to Zope undo functions.

Definition at line 1490 of file _tools.py.


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