Skip to content
Snippets Groups Projects
ClassificationAdmin_entity.aod 7.54 KiB
Newer Older
<?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">
  <name>ClassificationAdmin_entity</name>
  <majorModelMode>DISTRIBUTED</majorModelMode>
s.pongratz's avatar
s.pongratz committed
  <documentation>%aditoprj%/entity/ClassificationAdmin_entity/documentation.adoc</documentation>
  <icon>VAADIN:LIST_OL</icon>
  <title>Classification</title>
  <grantUpdateProcess>%aditoprj%/entity/ClassificationAdmin_entity/grantUpdateProcess.js</grantUpdateProcess>
  <grantDeleteProcess>%aditoprj%/entity/ClassificationAdmin_entity/grantDeleteProcess.js</grantDeleteProcess>
  <iconId>VAADIN:LIST_OL</iconId>
  <titlePlural>Classifications</titlePlural>
  <recordContainer>jDito</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
      <targetContextField>TARGET_CONTEXT</targetContextField>
      <targetIdField>TARGET_ID</targetIdField>
    </entityProvider>
    <entityParameter>
      <name>ClassificationType_param</name>
      <expose v="true" />
      <mandatory v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>ObjectType_param</name>
      <expose v="true" />
      <mandatory v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>ObjectRowid_param</name>
      <expose v="true" />
      <mandatory v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>CLASSIFICATIONTYPEID</name>
      <title>Indicator</title>
      <mandatory v="true" />
      <stateProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationtypeid/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationtypeid/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationtypeid/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>CLASSIFICATIONGROUP</name>
      <contentType>TEXT</contentType>
      <groupable v="true" />
      <dropDownProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationgroup/dropDownProcess.js</dropDownProcess>
      <textInputAllowed v="true" />
Benjamin Ulrich's avatar
Benjamin Ulrich committed
      <valueProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationgroup/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationgroup/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityParameter>
      <name>group_param</name>
      <expose v="true" />
      <mandatory v="true" />
    </entityParameter>
    <entityField>
      <name>CLASSIFICATION_PARENT_ID</name>
    </entityField>
    <entityField>
      <name>UID</name>
      <linkedContextProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/uid/linkedContextProcess.js</linkedContextProcess>
    </entityField>
    <entityField>
      <name>OBJECT_TYPE</name>
      <title>Place Of Use</title>
      <mandatory v="true" />
      <dropDownProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/object_type/dropDownProcess.js</dropDownProcess>
      <valueProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/object_type/valueProcess.js</valueProcess>
      <onValueChange>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/object_type/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>TARGET_CONTEXT</name>
      <valueProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/target_context/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>TARGET_ID</name>
      <valueProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/target_id/valueProcess.js</valueProcess>
    </entityField>
    <entityActionGroup>
      <name>FilterviewActionGroup</name>
        <entityActionField>
          <name>UpdateClassification</name>
          <title>Recalculate all Classifications</title>
          <onActionProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/filterviewactiongroup/children/updateclassification/onActionProcess.js</onActionProcess>
          <iconId>VAADIN:AUTOMATION</iconId>
        </entityActionField>
      <name>SORTING</name>
      <title>Sorting</title>
      <contentType>NUMBER</contentType>
      <stateProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/sorting/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/sorting/valueProcess.js</valueProcess>
      <name>CLASSIFICATIONTYPEIDDISPLAYVALUE</name>
      <title>Indicator</title>
      <stateProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationtypeiddisplayvalue/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationtypeiddisplayvalue/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>recordCategory</name>
      <valueProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/recordcategory/valueProcess.js</valueProcess>
    <entityProvider>
      <name>#PROVIDER_AGGREGATES</name>
      <useAggregates v="true" />
    </entityProvider>
    <jDitoRecordContainer>
      <name>jDito</name>
      <jDitoRecordAlias>Data_alias</jDitoRecordAlias>
      <contentProcess>%aditoprj%/entity/ClassificationAdmin_entity/recordcontainers/jdito/contentProcess.js</contentProcess>
      <hasDependentRecords v="false" />
      <onInsert>%aditoprj%/entity/ClassificationAdmin_entity/recordcontainers/jdito/onInsert.js</onInsert>
      <onUpdate>%aditoprj%/entity/ClassificationAdmin_entity/recordcontainers/jdito/onUpdate.js</onUpdate>
      <onDelete>%aditoprj%/entity/ClassificationAdmin_entity/recordcontainers/jdito/onDelete.js</onDelete>
      <recordFieldMappings>
        <jDitoRecordFieldMapping>
          <name>UID.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>CLASSIFICATION_PARENT_ID.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>CLASSIFICATIONGROUP.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>CLASSIFICATIONGROUP.displayValue</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>CLASSIFICATIONTYPEID.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>CLASSIFICATIONTYPEID.displayValue</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>OBJECT_TYPE.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>OBJECT_TYPE.displayValue</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>SORTING.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>recordCategory.value</name>
        </jDitoRecordFieldMapping>
      </recordFieldMappings>