Skip to content
Snippets Groups Projects
360Degree_entity.aod 6.9 KiB
Newer Older
Nico Bugl's avatar
Nico Bugl committed
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.6" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.6">
  <name>360Degree_entity</name>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <title>360 Degree</title>
  <recordContainer>jdito</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
    </entityProvider>
    <entityField>
      <name>UID</name>
      <searchable v="false" />
    </entityField>
    <entityField>
      <name>TITLE</name>
      <linkedContextProcess>%aditoprj%/entity/360Degree_entity/entityfields/title/linkedContextProcess.js</linkedContextProcess>
      <searchable v="false" />
    </entityField>
    <entityParameter>
      <name>ObjectType_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>ObjectRowId_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityProvider>
      <name>OrganisationObjects</name>
      <targetContextField>TARGET_CONTEXT</targetContextField>
      <targetIdField>TARGET_ID</targetIdField>
      <dependencies>
        <entityDependency>
          <name>15488007-165c-4630-828a-447cf2c27899</name>
          <entityName>Organisation_entity</entityName>
          <fieldName>360DegreeObjects</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/360Degree_entity/entityfields/organisationobjects/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityProvider>
    <entityField>
      <name>TARGET_CONTEXT</name>
      <searchable v="false" />
    </entityField>
    <entityField>
      <name>TARGET_ID</name>
      <searchable v="false" />
    </entityField>
    <entityField>
      <name>CONTEXT_NAME</name>
      <title>Module</title>
      <groupable v="true" />
      <valueProcess>%aditoprj%/entity/360Degree_entity/entityfields/context_name/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE</name>
      <title>Date</title>
      <contentType>DATE</contentType>
Tobias Feldmann's avatar
Tobias Feldmann committed
      <resolution>DAY</resolution>
Nico Bugl's avatar
Nico Bugl committed
    </entityField>
    <entityProvider>
      <name>PersonObjects</name>
      <targetContextField>TARGET_CONTEXT</targetContextField>
      <targetIdField>TARGET_ID</targetIdField>
      <dependencies>
        <entityDependency>
          <name>1d931ae6-137a-4db3-b02c-eb8872d349c6</name>
          <entityName>Person_entity</entityName>
          <fieldName>360DegreeObjects</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/360Degree_entity/entityfields/personobjects/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityProvider>
    <entityField>
      <name>YEAR</name>
      <title>Year</title>
      <groupable v="true" />
      <valueProcess>%aditoprj%/entity/360Degree_entity/entityfields/year/valueProcess.js</valueProcess>
    </entityField>
    <entityActionGroup>
      <name>newModule</name>
      <title>New module</title>
      <iconId>VAADIN:PLUS_CIRCLE</iconId>
      <children>
        <entityActionField>
          <name>newOffer</name>
          <title>Offer</title>
          <onActionProcess>%aditoprj%/entity/360Degree_entity/entityfields/newmodule/children/newoffer/onActionProcess.js</onActionProcess>
          <iconId>VAADIN:CART</iconId>
          <stateProcess>%aditoprj%/entity/360Degree_entity/entityfields/newmodule/children/newoffer/stateProcess.js</stateProcess>
        </entityActionField>
        <entityActionField>
          <name>newSalesproject</name>
          <title>Salesproject</title>
          <onActionProcess>%aditoprj%/entity/360Degree_entity/entityfields/newmodule/children/newsalesproject/onActionProcess.js</onActionProcess>
          <iconId>VAADIN:BOOK_DOLLAR</iconId>
          <stateProcess>%aditoprj%/entity/360Degree_entity/entityfields/newmodule/children/newsalesproject/stateProcess.js</stateProcess>
        </entityActionField>
        <entityActionField>
          <name>newContract</name>
          <title>Contract</title>
          <onActionProcess>%aditoprj%/entity/360Degree_entity/entityfields/newmodule/children/newcontract/onActionProcess.js</onActionProcess>
          <iconId>VAADIN:FILE_TEXT</iconId>
          <iconIdProcess>%aditoprj%/entity/360Degree_entity/entityfields/newmodule/children/newcontract/iconIdProcess.js</iconIdProcess>
          <stateProcess>%aditoprj%/entity/360Degree_entity/entityfields/newmodule/children/newcontract/stateProcess.js</stateProcess>
        </entityActionField>
        <entityActionField>
          <name>newCampaignParticipant</name>
          <title>Add to Campaign</title>
          <onActionProcess>%aditoprj%/entity/360Degree_entity/entityfields/newmodule/children/newcampaignparticipant/onActionProcess.js</onActionProcess>
          <iconId>NEON:GROUP_APPOINTMENT</iconId>
          <stateProcess>%aditoprj%/entity/360Degree_entity/entityfields/newmodule/children/newcampaignparticipant/stateProcess.js</stateProcess>
          <tooltip>Choose a campaign and a step to add the contact to a  campaign</tooltip>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityField>
      <name>ICON</name>
      <contentType>IMAGE</contentType>
      <searchable v="false" />
      <valueProcess>%aditoprj%/entity/360Degree_entity/entityfields/icon/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>ACTIVE</name>
      <title>Active</title>
      <contentType>TEXT</contentType>
Tobias Feldmann's avatar
Tobias Feldmann committed
      <groupable v="true" />
Nico Bugl's avatar
Nico Bugl committed
      <dropDownProcess>%aditoprj%/entity/360Degree_entity/entityfields/active/dropDownProcess.js</dropDownProcess>
      <searchable v="true" />
    </entityField>
  </entityFields>
  <recordContainers>
    <jDitoRecordContainer>
      <name>jdito</name>
      <jDitoRecordAlias>Data_alias</jDitoRecordAlias>
      <isFilterable v="true" />
      <isRequireContainerFiltering v="true" />
Nico Bugl's avatar
Nico Bugl committed
      <contentProcess>%aditoprj%/entity/360Degree_entity/recordcontainers/jdito/contentProcess.js</contentProcess>
      <recordFields>
        <element>UID.value</element>
        <element>TARGET_ID.value</element>
        <element>TARGET_CONTEXT.value</element>
        <element>TITLE.value</element>
        <element>DATE.value</element>
        <element>ACTIVE.value</element>
      </recordFields>
    </jDitoRecordContainer>
  </recordContainers>
</entity>