Skip to content
Snippets Groups Projects
Attribute_entity.aod 18.63 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.11" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.11">
  <name>Attribute_entity</name>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/Attribute_entity/documentation.adoc</documentation>
  <title>Attribute</title>
  <contentTitleProcess>%aditoprj%/entity/Attribute_entity/contentTitleProcess.js</contentTitleProcess>
  <afterUiInit>%aditoprj%/entity/Attribute_entity/afterUiInit.js</afterUiInit>
  <onValidation>%aditoprj%/entity/Attribute_entity/onValidation.js</onValidation>
  <iconId>VAADIN:TAG</iconId>
  <titlePlural>Attributes</titlePlural>
  <recordContainer>jdito</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
      <dependencies>
        <entityDependency>
          <name>0691a752-4e4e-47b7-a376-f39655c0aa6f</name>
          <entityName>Activity_entity</entityName>
          <fieldName>ActivityAtrributes</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
    </entityProvider>
    <entityField>
      <name>ATTRIBUTE_NAME</name>
      <title>Title (original language)</title>
      <mandatory v="true" />
      <state>EDITABLE</state>
    </entityField>
    <entityField>
      <name>ATTRIBUTE_TYPE</name>
      <title>Type</title>
      <consumer>KeywordAttributeTypes</consumer>
      <mandatory v="true" />
      <state>READONLY</state>
      <stateProcess>%aditoprj%/entity/Attribute_entity/entityfields/attribute_type/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attribute_type/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attribute_type/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Attribute_entity/entityfields/attribute_type/onValueChange.js</onValueChange>
    </entityField>
    <entityField>
      <name>ATTRIBUTE_PARENT_ID</name>
      <title>Superordinate Attribute</title>
      <consumer>AttributeGroup</consumer>
      <linkedContext>Attribute</linkedContext>
      <stateProcess>%aditoprj%/entity/Attribute_entity/entityfields/attribute_parent_id/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attribute_parent_id/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attribute_parent_id/displayValueProcess.js</displayValueProcess>
      <onValueChangeTypes>
        <element>MASK</element>
        <element>PROCESS</element>
        <element>PROCESS_SETVALUE</element>
      </onValueChangeTypes>
    </entityField>
    <entityConsumer>
      <name>AttributeChildren</name>
      <stateProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributechildren/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>Attribute_entity</entityName>
        <fieldName>AttributeParent</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>AttrParentId_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributechildren/children/attrparentid_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>AttrParentType_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributechildren/children/attrparenttype_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityProvider>
      <name>AttributeParent</name>
      <dependencies>
        <entityDependency>
          <name>18bd148d-bed3-429f-ba54-c5eac76c5083</name>
          <entityName>Attribute_entity</entityName>
          <fieldName>AttributeChildren</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>9fb3569c-7c75-48b1-9dc0-3f707940813a</name>
          <entityName>Employee_entity</entityName>
          <fieldName>Departments</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>39e0acea-e141-4457-8019-b30009d5d904</name>
          <entityName>Salesproject_entity</entityName>
          <fieldName>ProjectTypeAttribute</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>AttrParentType_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>AttrParentId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>AttributeCount_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>GetGroups_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>AttributeTypes_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityParameter>
      <name>AttrParentId_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityConsumer>
      <name>AttributeUsages</name>
      <stateProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributeusages/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>AttributeUsage_entity</entityName>
        <fieldName>SpecificAttribute</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>AttributeId_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributeusages/children/attributeid_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>SingleSelection_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributeusages/children/singleselection_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>DisableMinCount_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributeusages/children/disablemincount_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>ATTRIBUTE_ACTIVE</name>
      <title>Active</title>
      <contentType>BOOLEAN</contentType>
      <groupable v="true" />
      <dropDownProcess>%aditoprj%/entity/Attribute_entity/entityfields/attribute_active/dropDownProcess.js</dropDownProcess>
      <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attribute_active/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>KeywordAttributeTypes</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/keywordattributetypes/children/containername_param/valueProcess.js</valueProcess>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>WhitelistIds_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/keywordattributetypes/children/whitelistids_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>DROPDOWNDEFINITION</name>
      <title>Keyword</title>
      <placeholderProcess>%aditoprj%/entity/Attribute_entity/entityfields/dropdowndefinition/placeholderProcess.js</placeholderProcess>
      <dropDownProcess>%aditoprj%/entity/Attribute_entity/entityfields/dropdowndefinition/dropDownProcess.js</dropDownProcess>
      <stateProcess>%aditoprj%/entity/Attribute_entity/entityfields/dropdowndefinition/stateProcess.js</stateProcess>
      <titleProcess>%aditoprj%/entity/Attribute_entity/entityfields/dropdowndefinition/titleProcess.js</titleProcess>
    </entityField>
    <entityParameter>
      <name>AttrParentType_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>ObjectType_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityProvider>
      <name>SpecificAttribute</name>
      <lookupIdfield>UID</lookupIdfield>
      <dependencies>
        <entityDependency>
          <name>ba3b4d47-7385-49df-bf61-54c99f5b2c81</name>
          <entityName>AttributeRelation_entity</entityName>
          <fieldName>SpecificAttribute</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ObjectType_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>FilteredAttributeIds_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>DisplaySimpleName_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>AttrParentId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>AttrParentType_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>GetGroups_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityField>
      <name>FULL_ATTRIBUTE_NAME</name>
      <title>Title</title>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/full_attribute_name/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>FilteredAttributeIds_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>GetGroups_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>DisplaySimpleName_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>USAGELIST</name>
      <title>Usage</title>
      <state>READONLY</state>
    </entityField>
    <entityProvider>
      <name>AttributeGroups</name>
      <children>
        <entityParameter>
          <name>GetGroups_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributegroups/children/getgroups_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>AttrParentId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>AttributeCount_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>AttributeTypes_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityConsumer>
      <name>AttributeGroup</name>
      <dependency>
        <name>dependency</name>
        <entityName>Attribute_entity</entityName>
        <fieldName>AttributeGroups</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>AttrParentId_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributegroup/children/attrparentid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>AttrParentType_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributegroup/children/attrparenttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>ICON</name>
      <colorProcess>%aditoprj%/entity/Attribute_entity/entityfields/icon/colorProcess.js</colorProcess>
      <contentType>IMAGE</contentType>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/icon/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>UID</name>
    </entityField>
    <entityField>
      <name>SORTING</name>
      <title>Sorting</title>
    </entityField>
    <entityParameter>
      <name>AttributeCount_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityFieldGroup>
      <name>attributeName</name>
      <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributename/valueProcess.js</valueProcess>
      <title>Name</title>
      <fields>
        <element>ATTRIBUTE_NAME</element>
      </fields>
    </entityFieldGroup>
    <entityField>
      <name>expanded</name>
      <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/expanded/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DROPDOWNFILTER</name>
      <title>Filter</title>
      <contentType>FILTER_TREE</contentType>
      <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/dropdownfilter/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>AttributeTypes_param</name>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>ObjectRowId_param</name>
      <expose v="true" />
    </entityParameter>
    <entityField>
      <name>USAGE_FILTER</name>
      <title>Usage</title>
      <consumer>Contexts</consumer>
    </entityField>
    <entityConsumer>
      <name>Contexts</name>
      <dependency>
        <name>dependency</name>
        <entityName>Context_entity</entityName>
        <fieldName>Exclusive</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>Blacklist_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/contexts/children/blacklist_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>GetAllContexts_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/contexts/children/getallcontexts_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>InvertBlacklist_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/contexts/children/invertblacklist_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityActionGroup>
      <name>AttributeActions</name>
      <children>
        <entityActionField>
          <name>newChildAttribute</name>
          <title>New attribute</title>
          <onActionProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributeactions/children/newchildattribute/onActionProcess.js</onActionProcess>
          <isMenuAction v="true" />
          <isObjectAction v="false" />
          <isSelectionAction v="true" />
          <iconId>VAADIN:FILE_TREE_SMALL</iconId>
          <tooltipProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributeactions/children/newchildattribute/tooltipProcess.js</tooltipProcess>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityActionField>
      <name>openDetails</name>
      <onActionProcess>%aditoprj%/entity/Attribute_entity/entityfields/opendetails/onActionProcess.js</onActionProcess>
      <state>INVISIBLE</state>
    </entityActionField>
    <entityActionField>
      <name>openAdminView</name>
      <title>Open admin view</title>
      <onActionProcess>%aditoprj%/entity/Attribute_entity/entityfields/openadminview/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CURLY_BRACKETS</iconId>
      <stateProcess>%aditoprj%/entity/Attribute_entity/entityfields/openadminview/stateProcess.js</stateProcess>
    </entityActionField>
  </entityFields>
  <recordContainers>
    <jDitoRecordContainer>
      <name>jdito</name>
      <jDitoRecordAlias>Data_alias</jDitoRecordAlias>
      <isFilterable v="true" />
      <isSortable v="true" />
      <contentProcess>%aditoprj%/entity/Attribute_entity/recordcontainers/jdito/contentProcess.js</contentProcess>
      <onInsert>%aditoprj%/entity/Attribute_entity/recordcontainers/jdito/onInsert.js</onInsert>
      <onUpdate>%aditoprj%/entity/Attribute_entity/recordcontainers/jdito/onUpdate.js</onUpdate>
      <onDelete>%aditoprj%/entity/Attribute_entity/recordcontainers/jdito/onDelete.js</onDelete>
      <recordFieldMappings>
        <jDitoRecordFieldMapping>
          <name>UID.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>ATTRIBUTE_PARENT_ID.value</name>
          <isFilterable v="true" />
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>ATTRIBUTE_NAME.value</name>
          <isFilterable v="true" />
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>ATTRIBUTE_ACTIVE.value</name>
          <isFilterable v="true" />
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>DROPDOWNDEFINITION.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>DROPDOWNFILTER.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>SORTING.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>ATTRIBUTE_TYPE.value</name>
          <isFilterable v="true" />
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>ATTRIBUTE_TYPE.displayValue</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>USAGELIST.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>ATTRIBUTE_PARENT_ID.displayValue</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>FULL_ATTRIBUTE_NAME.value</name>
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>USAGE_FILTER.value</name>
          <isFilterable v="true" />
        </jDitoRecordFieldMapping>
      </recordFieldMappings>
    </jDitoRecordContainer>
  </recordContainers>
</entity>