3.5.2. ECMS events

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

Content events

  1. InlineEditingService and RenameConnector will fire the below event when a content is created, updated, or removed from the database:

    • CmsService.event.postEdit

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<org.exoplatform.services.cms.CmService, javax.jcr.Node>.

  2. CmsService will fire these events when a content is created/added.

    • CmsService.event.postCreate

    • CmsService.event.postEdit

    • CmsService.event.preCreate

    • CmsService.event.preEdit

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<org.exoplatform.services.cms.CmService, javax.jcr.Node>.

  3. LinkManager will fire the following event when a link is added to the content.

    • CmsService.event.postEdit

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<org.exoplatform.services.cms.CmService, javax.jcr.Node>.

  4. WebDavService will fire this event when a content is uploaded through WebDav.

    • WebDavService.event.postUpload

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<org.exoplatform.services.jcr.webdav.WebDavService, javax.jcr.Node>.

File events

  1. FileUploadHandler and WebdavService will fire the below events when a file is created or removed from the database:

    • FileActivityNotify.event.FileRemoved

    • ActivityNotify.event.FileCreated

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<java.lang.Object, javax.jcr.Node>.

  2. UIDocumentForm will fire the following event when a file is created.

    • ActivityNotify.event.FileCreated

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<java.lang.Object, javax.jcr.Node>.

  3. DeleteManageComponent will fire the following event when a file is removed from the database.

    • FileActivityNotify.event.FileRemoved

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<java.lang.Object, javax.jcr.Node>.

  4. AddNodeActivityAction will fire the following event when an attachment is added into the database.

    • ActivityNotify.event.AttachmentAdded

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<javax.jcr.Node, javax.jcr.Node>.

  5. RemoveFileActivityAction will fire the following event when a file is removed from the database.

    • FileActivityNotify.event.FileRemoved

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<java.lang.Object, javax.jcr.Node>.

  6. RemoveNodeActivityAction will fire the following event when an attachment is removed from the database.

    • ActivityNotify.event.AttachmentRemoved

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<javax.jcr.Node, javax.jcr.Node>.

Publication events

  1. WCMPublicationService will fire the below event when the document publication state is changed.

    • WCMPublicationService.event.updateState

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<org.exoplatform.services.cms.CmService, javax.jcr.Node>.

  2. AuthoringPublicationPlugin will fire the below event when a node is involved into a publication lifecycle.

    • PublicationService.event.postInitState

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<org.exoplatform.services.cms.CmService, javax.jcr.Node>.

  3. AuthoringPublicationPlugin will fire the following events when publication state of a document is changed.

    • ActivityNotify.event.StateChanged

    • PublicationService.event.postUpdateState

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<javax.jcr.Node, java.lang.String>.

Version events

UIPublicationPanel will fire the below event when the document version is restored.

The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<javax.jcr.Node, java.lang.String>.

Comment events

CommentService will fire the following events when a comment is created/updated/removed.

The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<javax.jcr.Node, javax.jcr.Node>.

Tag events

NewFolksonomyService will fire the following events when a tag is created/removed.

The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<javax.jcr.Node, java.lang.String>.

Node events

  1. CmsService, MoveNodeManageComponent and PasteManageComponent will fire the below event when a node is moved to another place.

    • ActivityNotify.event.NodeMoved

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<javax.jcr.Node, java.lang.String>.

  2. RemoveNodeActivityAction will fire the below event when a node is removed from the database.

    • ActivityNotify.event.NodeRemoved

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<javax.jcr.Node, java.lang.String>.

  3. UIDocumentForm will fire the below event when a new node is created.

    • ActivityNotify.event.NodeCreated

    The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<java.lang.Object, javax.jcr.Node>.

Property events

  1. AddFilePropertyActivityAction will fire the below event when a new property is added to a file:

    • FileActivityNotify.event.PropertyAdded

  2. EditFilePropertyActivityAction will fire the below event when a property of file is modified.

    • FileActivityNotify.event.PropertyUpdated

  3. EditPropertyActivityAction will fire the below event when a property of document is modified.

    • ActivityNotify.event.PropertyUpdated

  4. RemoveFilePropertyActivityAction will fire the below event when a property is removed from file.

    • FileActivityNotify.event.PropertyRemoved

The listeners of Property events must be subclasses of org.exoplatform.services.listener.Listener<javax.jcr.Node, java.lang.String>.

Category events

TaxomonyService will fire the following events when a category is added to/removed from a node.

The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<javax.jcr.Node, java.lang.String>.

Artifacts events

CreatePortalArtifactService will fire the below event when artifacts are deployed for a new site.

The related event listeners must be subclasses of org.exoplatform.services.listener.Listener<org.exoplatform.services.jcr.ext.commonSessionProvider, java.lang.String>.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus