Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.social.relationship.directoryContrib--directories

This contribution is part of XML component org.nuxeo.ecm.social.relationship.directoryContrib inside nuxeo-relationship-5.6.jar

Extension point

Extension point directories of component SQLDirectoryFactory.

Contributed items

  • <directory name="actorRelationshipDirectory">
          <schema>actor_relationship</schema>
          <dataSource>java:/nxsqldirectory</dataSource>
          <cacheTimeout>3600</cacheTimeout>
          <cacheMaxSize>1000</cacheMaxSize>
          <table>actor_relationship</table>
          <idField>id</idField>
          <autoincrementIdField>true</autoincrementIdField>
          <createTablePolicy>on_missing_columns</createTablePolicy>
          <substringMatchType>subany</substringMatchType>
        </directory>

XML source

<extension point="directories" target="org.nuxeo.ecm.directory.sql.SQLDirectoryFactory">

    <directory name="actorRelationshipDirectory">
      <schema>actor_relationship</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <cacheTimeout>3600</cacheTimeout>
      <cacheMaxSize>1000</cacheMaxSize>
      <table>actor_relationship</table>
      <idField>id</idField>
      <autoincrementIdField>true</autoincrementIdField>
      <createTablePolicy>on_missing_columns</createTablePolicy>
      <substringMatchType>subany</substringMatchType>
    </directory>

  </extension>