Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.social.workspace.listeners.contrib--listener

This contribution is part of XML component org.nuxeo.ecm.social.workspace.listeners.contrib inside nuxeo-social-workspace-core-5.6.jar

Extension point

Extension point listener of component EventServiceComponent.

Contributed items

  • <listener async="false" class="org.nuxeo.ecm.social.workspace.listeners.SocialWorkspaceListener" name="socialWorkspaceListener" postCommit="false" priority="150">
          <event>documentCreated</event>
          <event>documentModified</event>
          <event>documentRemoved</event>
        </listener>
  • <listener async="false" class="org.nuxeo.ecm.social.workspace.listeners.InitializeSocialWorkspaceDashboardsListener" name="initializeSocialWorkspaceDashboardsListener" postCommit="false" priority="200">
          <event>documentCreated</event>
        </listener>
  • <listener async="false" class="org.nuxeo.ecm.social.workspace.listeners.ResizeArticlePictureListener" name="resizeArticlePictureListener" postCommit="false" priority="200">
          <event>aboutToCreate</event>
          <event>beforeDocumentModification</event>
        </listener>
  • <listener async="true" class="org.nuxeo.ecm.social.workspace.listeners.VisibilitySocialDocumentListener" name="createSocialDocumentListener" postCommit="false" priority="200">
          <event>documentCreated</event>
          <event>documentModified</event>
        </listener>
  • <listener async="false" class="org.nuxeo.ecm.social.workspace.listeners.DeleteSocialDocumentListener" name="deleteSocialDocumentListener" postCommit="false" priority="200">
          <event>lifecycle_transition_event</event>
        </listener>
  • <listener async="false" class="org.nuxeo.ecm.social.workspace.listeners.CheckSocialWorkspaceValidationTasks" name="checkSocialWorkspaceValidationTasks" postCommit="false" priority="100">
          <event>checkExpiredTasksSignal</event>
        </listener>
  • <listener async="false" class="org.nuxeo.ecm.social.workspace.listeners.AddSocialDocumentFacetListener" name="addSocialDocumentFacetListener" postCommit="false" priority="150">
          <event>aboutToCreate</event>
          <event>documentCreatedByCopy</event>
          <event>documentMoved</event>
        </listener>
  • <listener async="true" class="org.nuxeo.ecm.social.workspace.listeners.SocialWorkspaceMembersManagementListener" name="socialWorkspaceMembersManagementListener" postCommit="true" priority="150">
          <event>newMembersAdded</event>
          <event>newMembersRemoved</event>
        </listener>

XML source

<extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">

    <listener async="false" class="org.nuxeo.ecm.social.workspace.listeners.SocialWorkspaceListener" name="socialWorkspaceListener" postCommit="false" priority="150">
      <event>documentCreated</event>
      <event>documentModified</event>
      <event>documentRemoved</event>
    </listener>

    <listener async="false" class="org.nuxeo.ecm.social.workspace.listeners.InitializeSocialWorkspaceDashboardsListener" name="initializeSocialWorkspaceDashboardsListener" postCommit="false" priority="200">
      <event>documentCreated</event>
    </listener>

    <listener async="false" class="org.nuxeo.ecm.social.workspace.listeners.ResizeArticlePictureListener" name="resizeArticlePictureListener" postCommit="false" priority="200">
      <event>aboutToCreate</event>
      <event>beforeDocumentModification</event>
    </listener>

    <listener async="true" class="org.nuxeo.ecm.social.workspace.listeners.VisibilitySocialDocumentListener" name="createSocialDocumentListener" postCommit="false" priority="200">
      <event>documentCreated</event>
      <event>documentModified</event>
    </listener>

    <listener async="false" class="org.nuxeo.ecm.social.workspace.listeners.DeleteSocialDocumentListener" name="deleteSocialDocumentListener" postCommit="false" priority="200">
      <event>lifecycle_transition_event</event>
    </listener>

    <listener async="false" class="org.nuxeo.ecm.social.workspace.listeners.CheckSocialWorkspaceValidationTasks" name="checkSocialWorkspaceValidationTasks" postCommit="false" priority="100">
      <event>checkExpiredTasksSignal</event>
    </listener>


    <listener async="false" class="org.nuxeo.ecm.social.workspace.listeners.AddSocialDocumentFacetListener" name="addSocialDocumentFacetListener" postCommit="false" priority="150">
      <event>aboutToCreate</event>
      <event>documentCreatedByCopy</event>
      <event>documentMoved</event>
    </listener>

    <listener async="true" class="org.nuxeo.ecm.social.workspace.listeners.SocialWorkspaceMembersManagementListener" name="socialWorkspaceMembersManagementListener" postCommit="true" priority="150">
      <event>newMembersAdded</event>
      <event>newMembersRemoved</event>
    </listener>
  </extension>