<?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.13" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.13"> <name>Task_entity</name> <majorModelMode>DISTRIBUTED</majorModelMode> <documentation>%aditoprj%/entity/Task_entity/documentation.adoc</documentation> <title>Task</title> <grantDeleteProcess>%aditoprj%/entity/Task_entity/grantDeleteProcess.js</grantDeleteProcess> <contentTitleProcess>%aditoprj%/entity/Task_entity/contentTitleProcess.js</contentTitleProcess> <afterUiInit>%aditoprj%/entity/Task_entity/afterUiInit.js</afterUiInit> <onValidation>%aditoprj%/entity/Task_entity/onValidation.js</onValidation> <iconId>VAADIN:TASKS</iconId> <iconIdProcess>%aditoprj%/entity/Task_entity/iconIdProcess.js</iconIdProcess> <titlePlural>Tasks</titlePlural> <recordContainer>db</recordContainer> <entityFields> <entityProvider> <name>#PROVIDER</name> <recordContainer>db</recordContainer> </entityProvider> <entityField> <name>SUBJECT</name> <title>subject</title> <mandatory v="true" /> </entityField> <entityField> <name>STATUS</name> <title>{$TASK_STATUS}</title> <consumer>KeywordStates</consumer> <groupable v="true" /> <mandatory v="true" /> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/status/valueProcess.js</valueProcess> <displayValueProcess>%aditoprj%/entity/Task_entity/entityfields/status/displayValueProcess.js</displayValueProcess> </entityField> <entityField> <name>PRIORITY</name> <title>Priority</title> <consumer>KeywordPriorities</consumer> <groupable v="true" /> <mandatory v="true" /> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/priority/valueProcess.js</valueProcess> <displayValueProcess>%aditoprj%/entity/Task_entity/entityfields/priority/displayValueProcess.js</displayValueProcess> </entityField> <entityField> <name>REQUESTOR_CONTACT_ID</name> <title>{$TASK_REQUESTOR}</title> <consumer>ContactRequestors</consumer> <linkedContext>Person</linkedContext> <mandatory v="true" /> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/requestor_contact_id/valueProcess.js</valueProcess> <displayValueProcess>%aditoprj%/entity/Task_entity/entityfields/requestor_contact_id/displayValueProcess.js</displayValueProcess> </entityField> <entityField> <name>EDITOR_CONTACT_ID</name> <title>{$TASK_EDITOR}</title> <consumer>ContactEditors</consumer> <linkedContext>Person</linkedContext> <mandatory v="true" /> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/editor_contact_id/valueProcess.js</valueProcess> <displayValueProcess>%aditoprj%/entity/Task_entity/entityfields/editor_contact_id/displayValueProcess.js</displayValueProcess> </entityField> <entityField> <name>START_DATE</name> <title>Begin</title> <contentType>DATE</contentType> <resolution>MINUTE</resolution> <outputFormat>dd.MM.yyyy HH:mm</outputFormat> <inputFormat>dd.MM.yyyy HH:mm</inputFormat> <groupable v="true" /> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/start_date/valueProcess.js</valueProcess> </entityField> <entityField> <name>MATURITY_DATE</name> <title>Maturity</title> <contentType>DATE</contentType> <resolution>MINUTE</resolution> <outputFormat>dd.MM.yyyy HH:mm</outputFormat> <inputFormat>dd.MM.yyyy HH:mm</inputFormat> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/maturity_date/valueProcess.js</valueProcess> </entityField> <entityField> <name>DESCRIPTION</name> <title>description</title> <contentType>LONG_TEXT</contentType> </entityField> <entityField> <name>PROTECTIONLEVEL</name> <title>Protected</title> <contentType>BOOLEAN</contentType> <contentTypeProcess>%aditoprj%/entity/Task_entity/entityfields/protectionlevel/contentTypeProcess.js</contentTypeProcess> <dropDownProcess>%aditoprj%/entity/Task_entity/entityfields/protectionlevel/dropDownProcess.js</dropDownProcess> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/protectionlevel/valueProcess.js</valueProcess> </entityField> <entityField> <name>TASKID</name> <title>TASKID (UID)</title> <mandatory v="true" /> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/taskid/valueProcess.js</valueProcess> </entityField> <entityConsumer> <name>ContactEditors</name> <dependency> <name>dependency</name> <entityName>Employee_entity</entityName> <fieldName>Employees</fieldName> </dependency> </entityConsumer> <entityConsumer> <name>ContactRequestors</name> <dependency> <name>dependency</name> <entityName>Employee_entity</entityName> <fieldName>Employees</fieldName> </dependency> </entityConsumer> <entityConsumer> <name>MainDocuments</name> <stateProcess>%aditoprj%/entity/Task_entity/entityfields/maindocuments/stateProcess.js</stateProcess> <dependency> <name>dependency</name> <entityName>Document_entity</entityName> <fieldName>#PROVIDER</fieldName> </dependency> <children> <entityParameter> <name>AssignmentRowId_param</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/maindocuments/children/assignmentrowid_param/valueProcess.js</valueProcess> </entityParameter> <entityParameter> <name>AssignmentTable_param</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/maindocuments/children/assignmenttable_param/valueProcess.js</valueProcess> </entityParameter> </children> </entityConsumer> <entityConsumer> <name>KeywordStates</name> <dependency> <name>dependency</name> <entityName>KeywordEntry_entity</entityName> <fieldName>SpecificContainerKeywords</fieldName> </dependency> <children> <entityParameter> <name>ContainerName_param</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/keywordstates/children/containername_param/valueProcess.js</valueProcess> <expose v="false" /> </entityParameter> <entityParameter> <name>WhitelistIds_param</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/keywordstates/children/whitelistids_param/valueProcess.js</valueProcess> </entityParameter> </children> </entityConsumer> <entityConsumer> <name>ModuleTrees</name> <dependency> <name>dependency</name> <entityName>ModuleTree_entity</entityName> <fieldName>TreeProviders</fieldName> </dependency> <children> <entityParameter> <name>ID_param</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/moduletrees/children/id_param/valueProcess.js</valueProcess> <expose v="true" /> <mandatory v="false" /> </entityParameter> <entityParameter> <name>ContextName_param</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/moduletrees/children/contextname_param/valueProcess.js</valueProcess> <expose v="false" /> <mandatory v="false" /> </entityParameter> </children> </entityConsumer> <entityField> <name>PARENT_CONTEXT</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/parent_context/valueProcess.js</valueProcess> </entityField> <entityField> <name>PARENT_ID</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/parent_id/valueProcess.js</valueProcess> </entityField> <entityParameter> <name>ParentId_param</name> <expose v="true" /> <description>PARAMETER</description> </entityParameter> <entityParameter> <name>ParentContext_param</name> <expose v="true" /> <description>PARAMETER</description> </entityParameter> <entityActionField> <name>newActivity</name> <title>New activity</title> <onActionProcess>%aditoprj%/entity/Task_entity/entityfields/newactivity/onActionProcess.js</onActionProcess> <iconId>VAADIN:HOURGLASS_END</iconId> <tooltip>New activity</tooltip> <tooltipProcess>%aditoprj%/entity/Task_entity/entityfields/newactivity/tooltipProcess.js</tooltipProcess> </entityActionField> <entityActionField> <name>newTask</name> <title>New task</title> <onActionProcess>%aditoprj%/entity/Task_entity/entityfields/newtask/onActionProcess.js</onActionProcess> <actionOrder v="1" /> <iconId>VAADIN:TASKS</iconId> </entityActionField> <entityParameter> <name>RowId_param</name> <expose v="true" /> <description>PARAMETER</description> </entityParameter> <entityParameter> <name>ObjectId_param</name> <expose v="true" /> <description>PARAMETER</description> </entityParameter> <entityConsumer> <name>KeywordPriorities</name> <dependency> <name>dependency</name> <entityName>KeywordEntry_entity</entityName> <fieldName>SpecificContainerKeywords</fieldName> </dependency> <children> <entityParameter> <name>ContainerName_param</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/keywordpriorities/children/containername_param/valueProcess.js</valueProcess> <expose v="false" /> </entityParameter> </children> </entityConsumer> <entityActionField> <name>newOffer</name> <title>New offer</title> <onActionProcess>%aditoprj%/entity/Task_entity/entityfields/newoffer/onActionProcess.js</onActionProcess> <actionOrder v="0" /> <iconId>VAADIN:CART</iconId> </entityActionField> <entityField> <name>PROGRESS</name> <title>Progress</title> <consumer>KeywordProgress</consumer> <mandatory v="true" /> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/progress/valueProcess.js</valueProcess> <displayValueProcess>%aditoprj%/entity/Task_entity/entityfields/progress/displayValueProcess.js</displayValueProcess> </entityField> <entityConsumer> <name>KeywordProgress</name> <dependency> <name>dependency</name> <entityName>KeywordEntry_entity</entityName> <fieldName>SpecificContainerKeywords</fieldName> </dependency> <children> <entityParameter> <name>ContainerName_param</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/keywordprogress/children/containername_param/valueProcess.js</valueProcess> </entityParameter> </children> </entityConsumer> <entityConsumer> <name>Links</name> <state>EDITABLE</state> <dependency> <name>dependency</name> <entityName>TaskLink_entity</entityName> <fieldName>Link</fieldName> </dependency> <children> <entityParameter> <name>TaskId_param</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/links/children/taskid_param/valueProcess.js</valueProcess> </entityParameter> </children> </entityConsumer> <entityProvider> <name>Tasks</name> <dependencies> <entityDependency> <name>dd79df43-264c-494b-9c92-cadf19e61db6</name> <entityName>Organisation_entity</entityName> <fieldName>Tasks</fieldName> <isConsumer v="false" /> </entityDependency> <entityDependency> <name>dc29832e-15da-4f64-b17a-f1dd978ef47b</name> <entityName>Person_entity</entityName> <fieldName>Tasks</fieldName> <isConsumer v="false" /> </entityDependency> <entityDependency> <name>c6507834-cd91-4202-bdf7-6566f968edb4</name> <entityName>Salesproject_entity</entityName> <fieldName>Tasks</fieldName> <isConsumer v="false" /> </entityDependency> <entityDependency> <name>26b9b221-de02-40ef-a400-d4b5e356da0b</name> <entityName>Offer_entity</entityName> <fieldName>Tasks</fieldName> <isConsumer v="false" /> </entityDependency> <entityDependency> <name>b2bb448a-b647-40c8-baec-16356f3e23f5</name> <entityName>Order_entity</entityName> <fieldName>Tasks</fieldName> <isConsumer v="false" /> </entityDependency> <entityDependency> <name>a93f1e7e-f929-438f-8f37-21e4af8b53b6</name> <entityName>Product_entity</entityName> <fieldName>Tasks</fieldName> <isConsumer v="false" /> </entityDependency> <entityDependency> <name>2b0c15eb-fa9a-4ee8-a8b1-5d0f344ddad6</name> <entityName>Contract_entity</entityName> <fieldName>Tasks</fieldName> <isConsumer v="false" /> </entityDependency> <entityDependency> <name>335e31ad-ab67-4567-b4ea-3668f04922b2</name> <entityName>Campaign_entity</entityName> <fieldName>Tasks</fieldName> <isConsumer v="false" /> </entityDependency> <entityDependency> <name>fbaa2f6c-0ba1-4c93-acae-d7b636581679</name> <entityName>CampaignStep_entity</entityName> <fieldName>Tasks</fieldName> <isConsumer v="false" /> </entityDependency> <entityDependency> <name>f2bd3784-3f43-4a23-8b58-0a25e0584178</name> <entityName>Leadimport_entity</entityName> <fieldName>Tasks</fieldName> <isConsumer v="false" /> </entityDependency> <entityDependency> <name>0a5c7719-8f33-4647-a81d-02763c0df0a3</name> <entityName>ObjectProxy_entity</entityName> <fieldName>Tasks</fieldName> <isConsumer v="false" /> </entityDependency> </dependencies> <children> <entityParameter> <name>RowId_param</name> <expose v="true" /> </entityParameter> <entityParameter> <name>PresetLinks_param</name> <expose v="true" /> </entityParameter> <entityParameter> <name>ParentId_param</name> <expose v="false" /> </entityParameter> <entityParameter> <name>ParentContext_param</name> <expose v="false" /> </entityParameter> <entityParameter> <name>ObjectId_param</name> <expose v="true" /> </entityParameter> </children> </entityProvider> <entityParameter> <name>PresetLinks_param</name> <expose v="true" /> <documentation>%aditoprj%/entity/Task_entity/entityfields/presetlinks_param/documentation.adoc</documentation> <description>PARAMETER</description> </entityParameter> <entityField> <name>SUBJECT_DETAILS</name> <title>subject</title> <linkedContext>Task</linkedContext> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/subject_details/valueProcess.js</valueProcess> </entityField> <entityParameter> <name>FilterOnlyOwnTask_param</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/filteronlyowntask_param/valueProcess.js</valueProcess> <expose v="true" /> <description>PARAMETER</description> </entityParameter> <entityField> <name>PRIORITY_ICON</name> <colorProcess>%aditoprj%/entity/Task_entity/entityfields/priority_icon/colorProcess.js</colorProcess> <contentType>IMAGE</contentType> <state>READONLY</state> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/priority_icon/valueProcess.js</valueProcess> </entityField> <entityConsumer> <name>LogHistories</name> <dependency> <name>dependency</name> <entityName>LogHistory_entity</entityName> <fieldName>LogHistoryProvider</fieldName> </dependency> <children> <entityParameter> <name>tablenames_param</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/loghistories/children/tablenames_param/valueProcess.js</valueProcess> </entityParameter> </children> </entityConsumer> <entityConsumer> <name>Documents</name> <selectionMode>MULTI</selectionMode> <dependency> <name>dependency</name> <entityName>Document_entity</entityName> <fieldName>Documents</fieldName> </dependency> <children> <entityParameter> <name>AssignmentRowId_param</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/documents/children/assignmentrowid_param/valueProcess.js</valueProcess> </entityParameter> <entityParameter> <name>AssignmentTable_param</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/documents/children/assignmenttable_param/valueProcess.js</valueProcess> </entityParameter> </children> </entityConsumer> <entityField> <name>TYPE</name> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/type/valueProcess.js</valueProcess> </entityField> <entityActionField> <name>newSupportticket</name> <title>New Support ticket</title> <onActionProcess>%aditoprj%/entity/Task_entity/entityfields/newsupportticket/onActionProcess.js</onActionProcess> <iconId>VAADIN:CHAT</iconId> </entityActionField> <entityActionField> <name>openAdminView</name> <title>Open admin view</title> <onActionProcess>%aditoprj%/entity/Task_entity/entityfields/openadminview/onActionProcess.js</onActionProcess> <iconId>VAADIN:CURLY_BRACKETS</iconId> <stateProcess>%aditoprj%/entity/Task_entity/entityfields/openadminview/stateProcess.js</stateProcess> </entityActionField> </entityFields> <recordContainers> <dbRecordContainer> <name>db</name> <alias>Data_alias</alias> <conditionProcess>%aditoprj%/entity/Task_entity/recordcontainers/db/conditionProcess.js</conditionProcess> <orderClauseProcess>%aditoprj%/entity/Task_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess> <onDBDelete>%aditoprj%/entity/Task_entity/recordcontainers/db/onDBDelete.js</onDBDelete> <linkInformation> <linkInformation> <name>6dfe6f25-2b83-413b-89e4-5c5b9839be2e</name> <tableName>TASK</tableName> <primaryKey>TASKID</primaryKey> <isUIDTable v="true" /> <readonly v="false" /> </linkInformation> </linkInformation> <recordFieldMappings> <dbRecordFieldMapping> <name>DESCRIPTION.value</name> <recordfield>TASK.DESCRIPTION</recordfield> <isFilterable v="true" /> <isLookupFilter v="true" /> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>EDITOR_CONTACT_ID.value</name> <recordfield>TASK.EDITOR_CONTACT_ID</recordfield> <isFilterable v="true" /> <isLookupFilter v="true" /> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>MATURITY_DATE.value</name> <recordfield>TASK.MATURITY_DATE</recordfield> <isFilterable v="true" /> <isLookupFilter v="true" /> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>PRIORITY.value</name> <recordfield>TASK.PRIORITY</recordfield> <isFilterable v="true" /> <isLookupFilter v="true" /> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>PROTECTIONLEVEL.value</name> <recordfield>TASK.PROTECTIONLEVEL</recordfield> <isFilterable v="true" /> <isLookupFilter v="true" /> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>REQUESTOR_CONTACT_ID.value</name> <recordfield>TASK.REQUESTOR_CONTACT_ID</recordfield> <isFilterable v="true" /> <isLookupFilter v="true" /> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>START_DATE.value</name> <recordfield>TASK.START_DATE</recordfield> <isFilterable v="true" /> <isLookupFilter v="true" /> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>STATUS.value</name> <recordfield>TASK.STATUS</recordfield> <isFilterable v="true" /> <isLookupFilter v="true" /> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>SUBJECT.value</name> <recordfield>TASK.SUBJECT</recordfield> <isFilterable v="true" /> <isLookupFilter v="true" /> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>TASKID.value</name> <recordfield>TASK.TASKID</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>EDITOR_CONTACT_ID.displayValue</name> <expression>%aditoprj%/entity/Task_entity/recordcontainers/db/recordfieldmappings/editor_contact_id.displayvalue/expression.js</expression> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>REQUESTOR_CONTACT_ID.displayValue</name> <expression>%aditoprj%/entity/Task_entity/recordcontainers/db/recordfieldmappings/requestor_contact_id.displayvalue/expression.js</expression> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>PARENT_CONTEXT.value</name> <recordfield>TASK.PARENT_CONTEXT</recordfield> <isFilterable v="false" /> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>PARENT_ID.value</name> <recordfield>TASK.PARENT_ID</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>PRIORITY.displayValue</name> <expression>%aditoprj%/entity/Task_entity/recordcontainers/db/recordfieldmappings/priority.displayvalue/expression.js</expression> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>PROGRESS.value</name> <recordfield>TASK.PROGRESS</recordfield> <isFilterable v="true" /> <isLookupFilter v="true" /> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>PROGRESS.displayValue</name> <expression>%aditoprj%/entity/Task_entity/recordcontainers/db/recordfieldmappings/progress.displayvalue/expression.js</expression> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>STATUS.displayValue</name> <expression>%aditoprj%/entity/Task_entity/recordcontainers/db/recordfieldmappings/status.displayvalue/expression.js</expression> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>TYPE.value</name> <recordfield>TASK.KIND</recordfield> </dbRecordFieldMapping> </recordFieldMappings> </dbRecordContainer> </recordContainers> </entity>