Back to index

plone3  3.1.7
_event.py
Go to the documentation of this file.
00001 """Event-related interfaces
00002 """
00003 
00004 from zope.component.interfaces import IObjectEvent
00005 from zope.lifecycleevent.interfaces import IObjectModifiedEvent
00006 
00007 # Modification
00008 
00009 class IObjectInitializedEvent(IObjectModifiedEvent):
00010     """An object is being initialised, i.e. populated for the first time
00011     """
00012     
00013 class IObjectEditedEvent(IObjectModifiedEvent):
00014     """An object is being edited, i.e. modified after the first save
00015     """
00016 
00017 class IEditBegunEvent(IObjectEvent):
00018     """An event signalling that editing has begun on an object
00019     """
00020     
00021 class IEditCancelledEvent(IObjectEvent):
00022     """An event signalling that editing was cancelled on the given object
00023     """