Skip to content
Snippets Groups Projects
ClassificationAdmin_entity.aod 11.67 KiB
<?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.21" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.21">
  <name>ClassificationAdmin_entity</name>
  <title>Classification</title>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/ClassificationAdmin_entity/documentation.adoc</documentation>
  <icon>VAADIN:LIST_OL</icon>
  <grantUpdateProcess>%aditoprj%/entity/ClassificationAdmin_entity/grantUpdateProcess.js</grantUpdateProcess>
  <grantDeleteProcess>%aditoprj%/entity/ClassificationAdmin_entity/grantDeleteProcess.js</grantDeleteProcess>
  <contentTitleProcess>%aditoprj%/entity/ClassificationAdmin_entity/contentTitleProcess.js</contentTitleProcess>
  <iconId>VAADIN:LIST_OL</iconId>
  <iconIdProcess>%aditoprj%/entity/ClassificationAdmin_entity/iconIdProcess.js</iconIdProcess>
  <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="false" />
      <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>
      <title>Classification</title>
      <contentType>TEXT</contentType>
      <groupable v="true" />
      <mandatory v="false" />
      <dropDownProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationgroup/dropDownProcess.js</dropDownProcess>
      <textInputAllowed v="true" />
      <stateProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationgroup/stateProcess.js</stateProcess>
      <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>
    </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>
      <stateProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/object_type/stateProcess.js</stateProcess>
      <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>
      <children>
        <entityActionField>
          <name>UpdateClassifications</name>
          <title>Recalculate Classifications</title>
          <onActionProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/filterviewactiongroup/children/updateclassifications/onActionProcess.js</onActionProcess>
          <iconId>VAADIN:AUTOMATION</iconId>
          <tooltip>Starts the server process manually, which will recalculate all (potentially) outdated classifications. This process should be executed after changes to the classification configuration.</tooltip>
        </entityActionField>
        <entityActionField>
          <name>UpdateAllClassifications</name>
          <title>Recalculate all Classifications</title>
          <onActionProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/filterviewactiongroup/children/updateallclassifications/onActionProcess.js</onActionProcess>
          <iconId>VAADIN:AUTOMATION</iconId>
          <tooltip>Starts the server process manually, which will recalculate all classifications from scratch. This process should only be executed after importing data from elsewhere, where the outdated flag couldn't be set correctly, since this can take some time.</tooltip>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityField>
      <name>SORTING</name>
      <title>Sorting</title>
      <contentType>NUMBER</contentType>
      <mandatory v="true" />
      <stateProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/sorting/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/sorting/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>recordCategory</name>
      <valueProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/recordcategory/valueProcess.js</valueProcess>
    </entityField>
    <entityProvider>
      <name>#PROVIDER_AGGREGATES</name>
      <useAggregates v="true" />
    </entityProvider>
    <entityField>
      <name>classificationTypeFilter</name>
      <title>Usage</title>
      <contentType>FILTER_TREE</contentType>
      <filterTreeExcludedFieldsProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationtypefilter/filterTreeExcludedFieldsProcess.js</filterTreeExcludedFieldsProcess>
      <stateProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationtypefilter/stateProcess.js</stateProcess>
    </entityField>
    <entityField>
      <name>CLASSIFICATIONGROUPDISPLAYVALUE</name>
      <title>Classification</title>
      <mandatory v="true" />
      <dropDownProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationgroupdisplayvalue/dropDownProcess.js</dropDownProcess>
      <textInputAllowed v="true" />
      <stateProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationgroupdisplayvalue/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationgroupdisplayvalue/valueProcess.js</valueProcess>
      <onValueChange>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/classificationgroupdisplayvalue/onValueChange.js</onValueChange>
    </entityField>
    <entityField>
      <name>SCOREPOINTS</name>
      <title>Max Points</title>
      <contentType>NUMBER</contentType>
      <mandatory v="true" />
      <mandatoryProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/scorepoints/mandatoryProcess.js</mandatoryProcess>
      <stateProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/scorepoints/stateProcess.js</stateProcess>
    </entityField>
    <entityField>
      <name>FIELD</name>
      <title>Indicator</title>
      <mandatory v="false" />
      <mandatoryProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/field/mandatoryProcess.js</mandatoryProcess>
      <dropDownProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/field/dropDownProcess.js</dropDownProcess>
      <stateProcess>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/field/stateProcess.js</stateProcess>
      <onValueChange>%aditoprj%/entity/ClassificationAdmin_entity/entityfields/field/onValueChange.js</onValueChange>
    </entityField>
    <entityField>
      <name>FIELDTYPE</name>
      <title>Field Type</title>
      <state>INVISIBLE</state>
    </entityField>
    <entityField>
      <name>INDICATORTYPE</name>
      <title>Indicator Type</title>
      <state>INVISIBLE</state>
    </entityField>
  </entityFields>
  <recordContainers>
    <jDitoRecordContainer>
      <name>jDito</name>
      <jDitoRecordAlias>Data_alias</jDitoRecordAlias>
      <contentProcess>%aditoprj%/entity/ClassificationAdmin_entity/recordcontainers/jdito/contentProcess.js</contentProcess>
      <hasDependentRecords v="true" />
      <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>
        <jDitoRecordFieldMapping>
          <name>classificationTypeFilter.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>classificationTypeFilter.displayValue</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>SCOREPOINTS.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>CLASSIFICATIONGROUPDISPLAYVALUE.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>FIELD.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>FIELDTYPE.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>INDICATORTYPE.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>FIELD.displayValue</name>
        </jDitoRecordFieldMapping>
      </recordFieldMappings>
    </jDitoRecordContainer>
  </recordContainers>
</entity>