Platform Explorer / server 10.10

Contribution org.nuxeo.ecm.multi.tenant.listeners--listener

This contribution is part of XML component org.nuxeo.ecm.multi.tenant.listeners inside nuxeo-multi-tenant-core-10.10.jar /OSGI-INF/listeners-contrib.xml

Extension point

Extension point listener of component EventServiceComponent.

Contributed items

  • <listener async="false" class="org.nuxeo.ecm.multi.tenant.MultiTenantListener" name="multiTenantListener" postCommit="false" priority="150">
          <event>documentCreated</event>
          <event>documentCreatedByCopy</event>
          <event>documentRemoved</event>
          <event>lifecycle_transition_event</event>
          <event>documentTrashed</event>
          <event>documentUntrashed</event>
        </listener>
  • <listener async="false" class="org.nuxeo.ecm.multi.tenant.TenantAdministratorsListener" name="tenantAdministratorsListener" postCommit="false" priority="100">
          <event>beforeDocumentModification</event>
        </listener>
  • <listener async="false" class="org.nuxeo.ecm.multi.tenant.acl.ACLUpdateListener" name="multiTenantACLListener" postCommit="false" priority="150">
          <event>beforeDocumentSecurityModification</event>
        </listener>

XML source

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

    <listener async="false" class="org.nuxeo.ecm.multi.tenant.MultiTenantListener" name="multiTenantListener" postCommit="false" priority="150">
      <event>documentCreated</event>
      <event>documentCreatedByCopy</event>
      <event>documentRemoved</event>
      <event>lifecycle_transition_event</event>
      <event>documentTrashed</event>
      <event>documentUntrashed</event>
    </listener>

    <listener async="false" class="org.nuxeo.ecm.multi.tenant.TenantAdministratorsListener" name="tenantAdministratorsListener" postCommit="false" priority="100">
      <event>beforeDocumentModification</event>
    </listener>

    <listener async="false" class="org.nuxeo.ecm.multi.tenant.acl.ACLUpdateListener" name="multiTenantACLListener" postCommit="false" priority="150">
      <event>beforeDocumentSecurityModification</event>
    </listener>

  </extension>