Platform Explorer / Nuxeo Platform LTS 2019 10.10

Component org.nuxeo.ecm.user.invite.core.service.contrib

Requirements

Resolution Order

211
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version='1.0' encoding='UTF-8'?>
<component name="org.nuxeo.ecm.user.invite.core.service.contrib">

  <require>org.nuxeo.ecm.user.invite.core.types.contrib</require>

  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
    <doctype name="UserInvitation" extends="File">
      <facet name="UserInvitation"/>
      <facet name="HiddenInNavigation"/>
    </doctype>

    <doctype name="UserInvitationContainer" extends="Workspace">
      <facet name="HiddenInNavigation"/>
    </doctype>
  </extension>

  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService" point="types">
    <types>
      <type name="UserInvitationContainer">default></type>
      <type name="UserInvitation">registrationRequest</type>
    </types>
  </extension>

  <extension target="org.nuxeo.ecm.user.invite.UserInvitationService" point="configuration">
    <configuration>
      <requestDocType>UserInvitation</requestDocType>
      <container>
        <docType>UserInvitationContainer</docType>
        <parentPath>/management/</parentPath>
        <name>invitationRequests</name>
        <title>Invitation Requests Container</title>
      </container>
      <validationEmail>
        <title>Hi ${userinfo.firstName} ${userinfo.lastName}! You are invited to access ${productName}</title>
        <template>skin/views/userRegistration/ValidationEmailTemplate.ftl</template>
      </validationEmail>
      <reviveEmail>
        <title>You are invited to access Nuxeo</title>
        <template>skin/views/userRegistration/ReviveEmailTemplate.ftl</template>
      </reviveEmail>
      <enterPasswordUrl>site/userInvitation/enterpassword/</enterPasswordUrl>
      <validationRelUrl>site/userInvitation/validate</validationRelUrl>
    </configuration>
  </extension>

  <extension target="org.nuxeo.ecm.platform.audit.service.NXAuditEventsService" point="event">
    <event name="registrationSubmitted"/>
    <event name="registrationAccepted"/>
    <event name="registrationValidated"/>
  </extension>

</component>