Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes
ZopeVersionControl.EventLog.LogEntry Class Reference
Inheritance diagram for ZopeVersionControl.EventLog.LogEntry:
Inheritance graph
[legend]
Collaboration diagram for ZopeVersionControl.EventLog.LogEntry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__

Public Attributes

 timestamp
 version_id
 action
 message
 user_id
 path

Static Public Attributes

int ACTION_CHECKOUT = 0
int ACTION_CHECKIN = 1
int ACTION_UNCHECKOUT = 2
int ACTION_UPDATE = 3

Detailed Description

A LogEntry contains audit information about a version control
   operation. Actions that cause audit records to be created include 
   checkout and checkin. Log entry information can be read (but
   not changed) by restricted code.

Definition at line 52 of file EventLog.py.


Constructor & Destructor Documentation

def ZopeVersionControl.EventLog.LogEntry.__init__ (   self,
  version_id,
  action,
  path = None,
  message = '' 
)

Definition at line 64 of file EventLog.py.

00064 
00065     def __init__(self, version_id, action, path=None, message=''):
00066         self.timestamp = time.time()
00067         self.version_id = version_id
00068         self.action = action
00069         self.message = message
00070         self.user_id = _findUserId()
00071         self.path = path
00072 
00073 InitializeClass(LogEntry)

Member Data Documentation

Definition at line 67 of file EventLog.py.

Definition at line 60 of file EventLog.py.

Definition at line 59 of file EventLog.py.

Definition at line 61 of file EventLog.py.

Definition at line 62 of file EventLog.py.

Definition at line 68 of file EventLog.py.

Definition at line 70 of file EventLog.py.

Definition at line 65 of file EventLog.py.

Definition at line 69 of file EventLog.py.

Definition at line 66 of file EventLog.py.


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