Skip to content
Snippets Groups Projects
BulkMail_entity.aod 8.33 KiB
Newer Older
S.Listl's avatar
S.Listl committed
<?xml version="1.0" encoding="UTF-8"?>
David Büchler's avatar
David Büchler committed
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.11" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.11">
S.Listl's avatar
S.Listl committed
  <name>BulkMail_entity</name>
  <majorModelMode>DISTRIBUTED</majorModelMode>
S.Listl's avatar
S.Listl committed
  <icon>VAADIN:AT</icon>
S.Listl's avatar
S.Listl committed
  <title>Bulk mail</title>
S.Listl's avatar
S.Listl committed
  <contentTitleProcess>%aditoprj%/entity/BulkMail_entity/contentTitleProcess.js</contentTitleProcess>
S.Listl's avatar
S.Listl committed
  <recordContainer>db</recordContainer>
S.Listl's avatar
S.Listl committed
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
S.Listl's avatar
S.Listl committed
      <dependencies>
        <entityDependency>
          <name>88f8ded7-fe8f-41ef-8e01-030bae0867ee</name>
          <entityName>BulkMailAddRecipients_entity</entityName>
          <fieldName>BulkMails</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
S.Listl's avatar
S.Listl committed
    </entityProvider>
    <entityField>
      <name>BULKMAILID</name>
    </entityField>
    <entityField>
      <name>NAME</name>
S.Listl's avatar
S.Listl committed
      <title>Name</title>
S.Listl's avatar
S.Listl committed
      <mandatory v="true" />
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityField>
      <name>SUBJECT</name>
S.Listl's avatar
S.Listl committed
      <title>Subject</title>
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityField>
      <name>DESCRIPTION</name>
S.Listl's avatar
S.Listl committed
      <title>Description</title>
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityField>
      <name>DOCUMENTTEMPLATE_ID</name>
S.Listl's avatar
S.Listl committed
      <title>Document Template</title>
S.Listl's avatar
S.Listl committed
      <consumer>Templates</consumer>
S.Listl's avatar
S.Listl committed
      <mandatory v="false" />
      <onValueChange>%aditoprj%/entity/BulkMail_entity/entityfields/documenttemplate_id/onValueChange.js</onValueChange>
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityConsumer>
      <name>Recipients</name>
      <dependency>
        <name>dependency</name>
        <entityName>BulkMailRecipient_entity</entityName>
        <fieldName>BulkMailRecipients</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>BulkMailId_param</name>
          <valueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/recipients/children/bulkmailid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Templates</name>
      <dependency>
        <name>dependency</name>
        <entityName>DocumentTemplate_entity</entityName>
        <fieldName>DocumentTemplateProvider</fieldName>
      </dependency>
S.Listl's avatar
S.Listl committed
      <children>
        <entityParameter>
          <name>DocumentTemplateType_param</name>
          <valueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/templates/children/documenttemplatetype_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>DocumentTemplateTypeClassification_param</name>
          <valueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/templates/children/documenttemplatetypeclassification_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
S.Listl's avatar
S.Listl committed
    </entityConsumer>
S.Listl's avatar
S.Listl committed
    <entityField>
      <name>STATUS</name>
S.Listl's avatar
S.Listl committed
      <title>Status</title>
      <consumer>StatusKeyword</consumer>
      <valueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/status/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/status/displayValueProcess.js</displayValueProcess>
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityField>
      <name>SENDER</name>
S.Listl's avatar
S.Listl committed
      <title>Sender address</title>
      <mandatory v="true" />
S.Listl's avatar
S.Listl committed
      <onValidation>%aditoprj%/entity/BulkMail_entity/entityfields/sender/onValidation.js</onValidation>
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityActionField>
      <name>sendMail</name>
      <title>Send</title>
      <onActionProcess>%aditoprj%/entity/BulkMail_entity/entityfields/sendmail/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:PAPERPLANE</iconId>
S.Listl's avatar
S.Listl committed
      <stateProcess>%aditoprj%/entity/BulkMail_entity/entityfields/sendmail/stateProcess.js</stateProcess>
S.Listl's avatar
S.Listl committed
    </entityActionField>
    <entityField>
      <name>ICON</name>
      <contentType>IMAGE</contentType>
      <valueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/icon/valueProcess.js</valueProcess>
S.Listl's avatar
S.Listl committed
    </entityField>
S.Listl's avatar
S.Listl committed
    <entityField>
S.Listl's avatar
S.Listl committed
      <name>preview</name>
S.Listl's avatar
S.Listl committed
      <contentType>HTML</contentType>
      <state>READONLY</state>
      <displayValueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/preview/displayValueProcess.js</displayValueProcess>
    </entityField>
S.Listl's avatar
S.Listl committed
    <entityConsumer>
      <name>StatusKeyword</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/statuskeyword/children/containername_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>BINDATA</name>
      <contentType>FILE</contentType>
S.Listl's avatar
S.Listl committed
      <stateProcess>%aditoprj%/entity/BulkMail_entity/entityfields/bindata/stateProcess.js</stateProcess>
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityFieldGroup>
      <name>subjectPreview</name>
      <valueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/subjectpreview/valueProcess.js</valueProcess>
      <fields>
        <element>SUBJECT</element>
      </fields>
    </entityFieldGroup>
S.Listl's avatar
S.Listl committed
    <entityActionField>
      <name>openAdminView</name>
      <title>Open admin view</title>
      <onActionProcess>%aditoprj%/entity/BulkMail_entity/entityfields/openadminview/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CURLY_BRACKETS</iconId>
      <stateProcess>%aditoprj%/entity/BulkMail_entity/entityfields/openadminview/stateProcess.js</stateProcess>
    </entityActionField>
S.Listl's avatar
S.Listl committed
  </entityFields>
S.Listl's avatar
S.Listl committed
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <alias>Data_alias</alias>
S.Listl's avatar
S.Listl committed
      <fromClauseProcess>%aditoprj%/entity/BulkMail_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
S.Listl's avatar
S.Listl committed
      <onDBInsert>%aditoprj%/entity/BulkMail_entity/recordcontainers/db/onDBInsert.js</onDBInsert>
S.Listl's avatar
S.Listl committed
      <onDBUpdate>%aditoprj%/entity/BulkMail_entity/recordcontainers/db/onDBUpdate.js</onDBUpdate>
S.Listl's avatar
S.Listl committed
      <onDBDelete>%aditoprj%/entity/BulkMail_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
S.Listl's avatar
S.Listl committed
      <linkInformation>
        <linkInformation>
S.Listl's avatar
S.Listl committed
          <name>6444866d-42ee-4b7b-8536-6dc8f6437c45</name>
S.Listl's avatar
S.Listl committed
          <tableName>BULKMAIL</tableName>
          <primaryKey>BULKMAILID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
S.Listl's avatar
S.Listl committed
        <linkInformation>
          <name>914d6373-4409-44e5-882a-3f795b196d7b</name>
          <tableName>DOCUMENTTEMPLATE</tableName>
          <primaryKey>DOCUMENTTEMPLATEID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
S.Listl's avatar
S.Listl committed
      </linkInformation>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>BULKMAILID.value</name>
          <recordfield>BULKMAIL.BULKMAILID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DESCRIPTION.value</name>
          <recordfield>BULKMAIL.DESCRIPTION</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DOCUMENTTEMPLATE_ID.value</name>
          <recordfield>BULKMAIL.DOCUMENTTEMPLATE_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>NAME.value</name>
          <recordfield>BULKMAIL.NAME</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>SUBJECT.value</name>
          <recordfield>BULKMAIL.SUBJECT</recordfield>
        </dbRecordFieldMapping>
S.Listl's avatar
S.Listl committed
        <dbRecordFieldMapping>
          <name>SENDER.value</name>
          <recordfield>BULKMAIL.SENDER</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DOCUMENTTEMPLATE_ID.displayValue</name>
          <recordfield>DOCUMENTTEMPLATE.NAME</recordfield>
        </dbRecordFieldMapping>
S.Listl's avatar
S.Listl committed
        <dbRecordFieldMapping>
          <name>STATUS.value</name>
          <recordfield>BULKMAIL.STATUS</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STATUS.displayValue</name>
          <expression>%aditoprj%/entity/BulkMail_entity/recordcontainers/db/recordfieldmappings/status.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
S.Listl's avatar
S.Listl committed
      </recordFieldMappings>
    </dbRecordContainer>
  </recordContainers>
S.Listl's avatar
S.Listl committed
</entity>