Someplace nice

Plone “events”

Recently I was looking for a list of all events available in plone. By ‘events’ what I actually mean is:

Zope provides an events system. Various components (e.g the standard add and edit forms) notify any number of event subscribers (also known as event handlers) of a particular event.

So these are ‘events’ you can subscribe to and trigger custom code when they are fired. I wasn’t able to find a complete list so I’ve decided to compile one myself:

From zope.lifecycleevent.interfaces:

  • IObjectCreatedEvent
  • IObjectCopiedEvent
  • IObjectModifiedEvent

From Products.Archetypes.interfaces:

  • IObjectInitializedEvent
  • IWebDAVObjectInitializedEvent
  • IObjectEditedEvent
  • IWebDAVObjectEditedEvent
  • IEditBegunEvent
  • IEditCancelledEvent

From zope.app.container.interfaces:

  • IObjectMovedEvent
  • IObjectAddedEvent
  • IObjectRemovedEvent
  • IContainerModifiedEvent

From Products.CMFCore.interfaces:

  • IWorkflowActionEvent
  • IActionWillBeInvokedEvent
  • IActionRaisedExceptionEvent
  • IActionSucceededEvent

From Products.DCWorkflow.interfaces:

  • ITransitionEvent
  • IBeforeTransitionEvent
  • IAfterTransitionEvent

For more information visit the following links:

http://plone.org/products/dexterity/documentation/manual/five.grok/core-components/events

http://plone.org/documentation/kb/five-zope3-walkthrough/events

Archive