Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.directories.relations.web--directories

This contribution is part of XML component org.nuxeo.ecm.directories.relations.web inside nuxeo-platform-relations-default-config-5.6.jar

Extension point

Extension point directories of component SQLDirectoryFactory.

Contributed items

  • <directory name="predicates">
          <schema>vocabulary</schema>
          <dataSource>java:/nxsqldirectory</dataSource>
          <table>relation_predicates</table>
          <idField>id</idField>
          <autoincrementIdField>false</autoincrementIdField>
          <dataFile>directories/relation_predicates.csv</dataFile>
          <createTablePolicy>on_missing_columns</createTablePolicy>
        </directory>
  • <directory name="inverse_predicates">
          <schema>vocabulary</schema>
          <dataSource>java:/nxsqldirectory</dataSource>
          <table>relation_inverse_predicates</table>
          <idField>id</idField>
          <autoincrementIdField>false</autoincrementIdField>
          <dataFile>directories/relation_inverse_predicates.csv</dataFile>
          <createTablePolicy>on_missing_columns</createTablePolicy>
        </directory>

XML source

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

    <directory name="predicates">
      <schema>vocabulary</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <table>relation_predicates</table>
      <idField>id</idField>
      <autoincrementIdField>false</autoincrementIdField>
      <dataFile>directories/relation_predicates.csv</dataFile>
      <createTablePolicy>on_missing_columns</createTablePolicy>
    </directory>

    <directory name="inverse_predicates">
      <schema>vocabulary</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <table>relation_inverse_predicates</table>
      <idField>id</idField>
      <autoincrementIdField>false</autoincrementIdField>
      <dataFile>directories/relation_inverse_predicates.csv</dataFile>
      <createTablePolicy>on_missing_columns</createTablePolicy>
    </directory>

  </extension>