Skip to content
Snippets Groups Projects
360Degree_entity.aod 9.88 KiB
Newer Older
S.Listl's avatar
S.Listl 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.17" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.17">
S.Listl's avatar
S.Listl committed
  <name>360Degree_entity</name>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/360Degree_entity/documentation.adoc</documentation>
S.Listl's avatar
S.Listl committed
  <title>360 Degree</title>
  <siblings>
    <element>Offer_entity</element>
    <element>Salesproject_entity</element>
    <element>Contract_entity</element>
    <element>CampaignParticipant_entity</element>
    <element>SupportTicket_entity</element>
    <element>Order_entity</element>
    <element>Campaign_entity</element>
  </siblings>
  <grantUpdate v="false" />
  <grantDelete v="false" />
S.Listl's avatar
S.Listl committed
  <recordContainer>jdito</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
    </entityProvider>
    <entityField>
      <name>UID</name>
    </entityField>
    <entityField>
      <name>TITLE</name>
S.Listl's avatar
S.Listl committed
      <linkedContextProcess>%aditoprj%/entity/360Degree_entity/entityfields/title/linkedContextProcess.js</linkedContextProcess>
    </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>
      <documentation>%aditoprj%/entity/360Degree_entity/entityfields/organisationobjects/documentation.adoc</documentation>
S.Listl's avatar
S.Listl committed
      <children>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/360Degree_entity/entityfields/organisationobjects/children/objecttype_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>BaseContextId_param</name>
          <valueProcess>%aditoprj%/entity/360Degree_entity/entityfields/organisationobjects/children/basecontextid_param/valueProcess.js</valueProcess>
        </entityParameter>
S.Listl's avatar
S.Listl committed
      </children>
      <dependencies>
        <entityDependency>
          <name>15488007-165c-4630-828a-447cf2c27899</name>
          <entityName>Organisation_entity</entityName>
          <fieldName>360DegreeObjects</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
S.Listl's avatar
S.Listl committed
    </entityProvider>
    <entityField>
      <name>TARGET_CONTEXT</name>
    </entityField>
    <entityField>
      <name>TARGET_ID</name>
    </entityField>
    <entityField>
      <name>ENTITY_NAME</name>
S.Listl's avatar
S.Listl committed
      <title>Module</title>
      <valueProcess>%aditoprj%/entity/360Degree_entity/entityfields/entity_name/valueProcess.js</valueProcess>
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityField>
S.Listl's avatar
S.Listl committed
      <title>Date</title>
      <contentType>DATE</contentType>
      <resolution>DAY</resolution>
    </entityField>
    <entityProvider>
      <name>PersonObjects</name>
      <targetContextField>TARGET_CONTEXT</targetContextField>
      <targetIdField>TARGET_ID</targetIdField>
      <documentation>%aditoprj%/entity/360Degree_entity/entityfields/personobjects/documentation.adoc</documentation>
S.Listl's avatar
S.Listl committed
      <children>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/360Degree_entity/entityfields/personobjects/children/objecttype_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>BaseContextId_param</name>
          <valueProcess>%aditoprj%/entity/360Degree_entity/entityfields/personobjects/children/basecontextid_param/valueProcess.js</valueProcess>
        </entityParameter>
S.Listl's avatar
S.Listl committed
      </children>
      <dependencies>
        <entityDependency>
          <name>1d931ae6-137a-4db3-b02c-eb8872d349c6</name>
          <entityName>Person_entity</entityName>
          <fieldName>360DegreeObjects</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
S.Listl's avatar
S.Listl committed
    </entityProvider>
    <entityActionGroup>
      <name>newModule</name>
      <title>New module</title>
      <iconId>VAADIN:PLUS_CIRCLE</iconId>
      <stateProcess>%aditoprj%/entity/360Degree_entity/entityfields/newmodule/stateProcess.js</stateProcess>
S.Listl's avatar
S.Listl committed
      <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>Sales Project</title>
S.Listl's avatar
S.Listl committed
          <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>
          <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>
Johannes Hörmann's avatar
Johannes Hörmann committed
        <entityActionField>
          <name>newSupportticket</name>
          <title>New Support ticket</title>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <onActionProcess>%aditoprj%/entity/360Degree_entity/entityfields/newmodule/children/newsupportticket/onActionProcess.js</onActionProcess>
          <iconId>VAADIN:CHAT</iconId>
Johannes Hörmann's avatar
Johannes Hörmann committed
        </entityActionField>
Tobias Feldmann's avatar
Tobias Feldmann committed
        <entityActionField>
          <name>newOrder</name>
          <title>Receipt</title>
Tobias Feldmann's avatar
Tobias Feldmann committed
          <onActionProcess>%aditoprj%/entity/360Degree_entity/entityfields/newmodule/children/neworder/onActionProcess.js</onActionProcess>
          <iconId>VAADIN:DOLLAR</iconId>
          <stateProcess>%aditoprj%/entity/360Degree_entity/entityfields/newmodule/children/neworder/stateProcess.js</stateProcess>
        </entityActionField>
S.Listl's avatar
S.Listl committed
      </children>
    </entityActionGroup>
    <entityField>
      <name>ICON</name>
      <contentType>IMAGE</contentType>
      <valueProcess>%aditoprj%/entity/360Degree_entity/entityfields/icon/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>BaseContextId_param</name>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>ObjectStatus_param</name>
      <expose v="true" />
    </entityParameter>
    <entityProvider>
      <name>#PROVIDER_AGGREGATES</name>
      <useAggregates v="true" />
    </entityProvider>
    <entityField>
      <name>GROUP</name>
      <title>Group</title>
      <groupable v="true" />
    </entityField>
    <entityField>
      <name>DESCRIPTION</name>
      <title>Description</title>
    </entityField>
    <entityField>
      <name>YEAR</name>
      <title>Year</title>
      <groupable v="true" />
    </entityField>
    <entityField>
      <name>ACTIVE</name>
      <title>Active</title>
      <dropDownProcess>%aditoprj%/entity/360Degree_entity/entityfields/active/dropDownProcess.js</dropDownProcess>
    </entityField>
S.Listl's avatar
S.Listl committed
  </entityFields>
  <recordContainers>
    <jDitoRecordContainer>
      <name>jdito</name>
      <jDitoRecordAlias>Data_alias</jDitoRecordAlias>
      <isFilterable v="true" />
      <isRequireContainerFiltering v="false" />
S.Listl's avatar
S.Listl committed
      <contentProcess>%aditoprj%/entity/360Degree_entity/recordcontainers/jdito/contentProcess.js</contentProcess>
      <recordFieldMappings>
        <jDitoRecordFieldMapping>
          <name>UID.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>TARGET_ID.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>TARGET_CONTEXT.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>TARGET_CONTEXT.displayValue</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>TITLE.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
Alexander Vögl's avatar
Alexander Vögl committed
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <isFilterable v="true" />
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>YEAR.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>ENTITY_NAME.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>GROUP.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>ACTIVE.value</name>
          <isFilterable v="true" />
        </jDitoRecordFieldMapping>
      </recordFieldMappings>
S.Listl's avatar
S.Listl committed
    </jDitoRecordContainer>
  </recordContainers>
</entity>