Package OFS :: Module History :: Class Historical
[show private | hide private]
[frames | no frames]

Type Historical

object --+    
         |    
      Base --+
             |
            Historical

Known Subclasses:
ZenModelRM, ZenModelRM, ZopePageTemplate

Mix-in class to provide a veiw that shows hystorical changes

The display is similar to that used for undo, except that the transactions are limited to those that effect the displayed object and that the interface doesn't provide an undo capability.

This interface is generally *only* interesting for objects, such as methods, and documents, that are self-contained, meaning that they don't have persistent sub-objects.
Method Summary
  manage_afterHistoryCopy(self)
  manage_beforeHistoryCopy(self)
  manage_change_history(self)
  manage_historicalComparison(self, REQUEST, keys)
Compare two selected revisions
  manage_historyCompare(self, rev1, rev2, REQUEST, historyComparisonResults)
  manage_historyCopy(self, keys, RESPONSE, URL1)
Copy a selected revision to the present
Inherited from Base: __getattribute__, __getnewargs__, __getstate__, __new__, __reduce__, __setstate__
Inherited from object: __init__, __delattr__, __hash__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variable Summary
tuple __ac_permissions__ = (('View History', ('manage_change_h...
Historian HistoricalRevisions = <OFS.History.Historian object at 0...
tuple manage_afterHistoryCopy__roles__ = ('Manager',)
tuple manage_beforeHistoryCopy__roles__ = ('Manager',)
PermissionRole manage_change_history__roles__ = <PermissionRole object ...
DTMLFile manage_change_history_page = <App.special_dtml.DTMLFile ...
PermissionRole manage_change_history_page__roles__ = <PermissionRole ob...
PermissionRole manage_historicalComparison__roles__ = <PermissionRole o...
PermissionRole manage_historyCompare__roles__ = <PermissionRole object ...
tuple manage_historyCopy__roles__ = ('Manager',)
tuple manage_options = ({'action': 'manage_change_history_page...

Method Details

manage_historicalComparison(self, REQUEST, keys=[])

Compare two selected revisions

manage_historyCopy(self, keys=[], RESPONSE=None, URL1=None)

Copy a selected revision to the present

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
(('View History',
  ('manage_change_history_page',
   'manage_change_history',
   'manage_historyCompare',
   'manage_historicalComparison')),)                                   

HistoricalRevisions

Type:
Historian
Value:
<OFS.History.Historian object at 0x15d5750>                            

manage_afterHistoryCopy__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_beforeHistoryCopy__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_change_history__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151cad0>                                   

manage_change_history_page

Type:
DTMLFile
Value:
<App.special_dtml.DTMLFile object at 0x15d5870>                        

manage_change_history_page__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151cad0>                                   

manage_historicalComparison__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151cad0>                                   

manage_historyCompare__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151cad0>                                   

manage_historyCopy__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_options

Type:
tuple
Value:
({'action': 'manage_change_history_page',
  'help': ('OFSP', 'History.stx'),
  'label': 'History'},)                                                

Generated by Epydoc 2.1 on Thu Aug 16 09:55:09 2007 http://epydoc.sf.net