Skip to content
Snippets Groups Projects
Attribute_entity.aod 23.09 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.18" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.18">
  <name>Attribute_entity</name>
  <title>Attribute</title>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/Attribute_entity/documentation.adoc</documentation>
  <grantDeleteProcess>%aditoprj%/entity/Attribute_entity/grantDeleteProcess.js</grantDeleteProcess>
  <contentTitleProcess>%aditoprj%/entity/Attribute_entity/contentTitleProcess.js</contentTitleProcess>
  <afterUiInit>%aditoprj%/entity/Attribute_entity/afterUiInit.js</afterUiInit>
  <iconId>VAADIN:TAG</iconId>
  <titlePlural>Attributes</titlePlural>
  <recordContainer>jdito</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
      <dependencies>
        <entityDependency>
          <name>42e6f528-8452-4262-97bd-68e8cbe99c74</name>
          <entityName>ObjectProxy_entity</entityName>
          <fieldName>Attributes</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>
    </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>
    <entityParameter>
      <name>ChildId_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityConsumer>
      <name>AttributeUsages</name>
      <refreshParent v="true" />
      <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>
      <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/dropdowndefinition/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>ChildType_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>
      <documentation>%aditoprj%/entity/Attribute_entity/entityfields/specificattribute/documentation.adoc</documentation>
      <dependencies>
        <entityDependency>
          <name>ba3b4d47-7385-49df-bf61-54c99f5b2c81</name>
          <entityName>AttributeRelation_entity</entityName>
          <fieldName>SpecificAttribute</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>6bc87a7f-02f1-4cab-8c98-b89b626b59bd</name>
          <entityName>Salesproject_entity</entityName>
          <fieldName>ProjectTypeAttribute</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>26b85665-7914-45c4-b611-081ffe9502a4</name>
          <entityName>Employee_entity</entityName>
          <fieldName>Departments</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>f31eceb3-2fcc-4298-8c5d-1076433e2c2a</name>
          <entityName>PermissionCalendar_entity</entityName>
          <fieldName>Departments</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>71cfeddd-a315-4692-8299-08813ca1dc19</name>
          <entityName>DistrictResponsible_entity</entityName>
          <fieldName>Departments</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>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/specificattribute/children/displaysimplename_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ChildId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ChildType_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ParentId_param</name>
          <description>parent id, this is used for filtering by the parent in the content process</description>
        </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>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>
      <documentation>%aditoprj%/entity/Attribute_entity/entityfields/attributegroups/documentation.adoc</documentation>
      <children>
        <entityParameter>
          <name>ThemeObjectRowId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ParentId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>AttributeCount_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>IncludeParentRecord_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityConsumer>
      <name>AttributeGroup</name>
      <description>Used for the selection of the parent attribute</description>
      <dependency>
        <name>dependency</name>
        <entityName>Attribute_entity</entityName>
        <fieldName>AttributeGroups</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ChildId_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributegroup/children/childid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ChildType_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributegroup/children/childtype_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>DisplaySimpleName_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributegroup/children/displaysimplename_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>
      <stateProcess>%aditoprj%/entity/Attribute_entity/entityfields/dropdownfilter/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/dropdownfilter/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>ThemeObjectRowId_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>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 child 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>
          <state>AUTO</state>
          <stateProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributeactions/children/newchildattribute/stateProcess.js</stateProcess>
        </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>
    <entityProvider>
      <name>ThemeProvider</name>
      <dependencies>
        <entityDependency>
          <name>6e314038-62de-4f0c-b89a-92f029c10933</name>
          <entityName>Activity_entity</entityName>
          <fieldName>ActivityAtrributes</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>AttributeCount_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ChildId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ChildType_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ParentId_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityParameter>
      <name>ParentId_param</name>
      <expose v="true" />
      <description>parent id, this is used for filtering by the parent in the content process</description>
    </entityParameter>
    <entityParameter>
      <name>IncludeParentRecord_param</name>
      <expose v="true" />
      <documentation>%aditoprj%/entity/Attribute_entity/entityfields/includeparentrecord_param/documentation.adoc</documentation>
    </entityParameter>
    <entityProvider>
      <name>AttributeChildren</name>
      <sortingField>SORTING</sortingField>
      <documentation>%aditoprj%/entity/Attribute_entity/entityfields/attributechildren/documentation.adoc</documentation>
      <titlePlural>Child Attributes</titlePlural>
      <dependencies>
        <entityDependency>
          <name>80023321-1954-483f-a4be-b7207557c068</name>
          <entityName>Attribute_entity</entityName>
          <fieldName>ChildAttributes</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ChildId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>AttributeCount_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ChildType_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>FilteredAttributeIds_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>IncludeParentRecord_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ThemeObjectRowId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>GetOnlyFirstLevelChildren_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributechildren/children/getonlyfirstlevelchildren_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ParentId_param</name>
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityConsumer>
      <name>ChildAttributes</name>
      <refreshParent v="true" />
      <stateProcess>%aditoprj%/entity/Attribute_entity/entityfields/childattributes/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>Attribute_entity</entityName>
        <fieldName>AttributeChildren</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>DisplaySimpleName_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/childattributes/children/displaysimplename_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ParentId_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/childattributes/children/parentid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ParentType_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/childattributes/children/parenttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>GetOnlyFirstLevelChildren_param</name>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>ParentType_param</name>
      <expose v="true" />
    </entityParameter>
    <entityProvider>
      <name>#PROVIDER_AGGREGATES</name>
      <useAggregates v="true" />
    </entityProvider>
    <entityProvider>
      <name>SpecificFilterAttributes</name>
      <dependencies>
        <entityDependency>
          <name>9b2b5f2e-229d-4a10-a54f-cbf77aafe512</name>
          <entityName>AttributeRelation_entity</entityName>
          <fieldName>SpecificFilterAttributes</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>DisplaySimpleName_param</name>
          <valueProcess>%aditoprj%/entity/Attribute_entity/entityfields/specificfilterattributes/children/displaysimplename_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ChildType_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
  </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>
      <hasDependentRecords v="true" />
      <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" />
          <isLookupFilter v="true" />
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>ATTRIBUTE_NAME.value</name>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </jDitoRecordFieldMapping>
        <jDitoRecordFieldMapping>
          <name>ATTRIBUTE_ACTIVE.value</name>
          <isFilterable v="true" />
          <isLookupFilter 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" />
          <isLookupFilter 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" />
          <isLookupFilter v="true" />
        </jDitoRecordFieldMapping>
      </recordFieldMappings>
    </jDitoRecordContainer>
  </recordContainers>
</entity>