Something went wrong on our end
-
Johannes Goderbauer authored
[Projekt: Entwicklung - Neon][TicketNr.: 1051901][Beispiel für dynamische Filterwerte bereitstellen]
Johannes Goderbauer authored[Projekt: Entwicklung - Neon][TicketNr.: 1051901][Beispiel für dynamische Filterwerte bereitstellen]
Employee_entity.aod 18.18 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.14" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.14">
<name>Employee_entity</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/Employee_entity/documentation.adoc</documentation>
<title>Employee</title>
<grantDeleteProcess>%aditoprj%/entity/Employee_entity/grantDeleteProcess.js</grantDeleteProcess>
<contentTitleProcess>%aditoprj%/entity/Employee_entity/contentTitleProcess.js</contentTitleProcess>
<afterUiInit>%aditoprj%/entity/Employee_entity/afterUiInit.js</afterUiInit>
<onValidation>%aditoprj%/entity/Employee_entity/onValidation.js</onValidation>
<iconId>VAADIN:USER</iconId>
<titlePlural>Employees</titlePlural>
<recordContainer>jdito</recordContainer>
<entityFields>
<entityProvider>
<name>#PROVIDER</name>
<lookupIdfield>CONTACT_ID</lookupIdfield>
<filterVariablesProcess>%aditoprj%/entity/Employee_entity/entityfields/#provider/filterVariablesProcess.js</filterVariablesProcess>
</entityProvider>
<entityField>
<name>UID</name>
<title>UID</title>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/uid/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>TITLE</name>
<title>Username</title>
<mandatory v="true" />
<onValidation>%aditoprj%/entity/Employee_entity/entityfields/title/onValidation.js</onValidation>
</entityField>
<entityField>
<name>CONTACT_ID</name>
<title>Person</title>
<consumer>Contacts</consumer>
<linkedContext>Person</linkedContext>
<mandatory v="true" />
<stateProcess>%aditoprj%/entity/Employee_entity/entityfields/contact_id/stateProcess.js</stateProcess>
<displayValueProcess>%aditoprj%/entity/Employee_entity/entityfields/contact_id/displayValueProcess.js</displayValueProcess>
<onValueChange>%aditoprj%/entity/Employee_entity/entityfields/contact_id/onValueChange.js</onValueChange>
<onValidation>%aditoprj%/entity/Employee_entity/entityfields/contact_id/onValidation.js</onValidation>
</entityField>
<entityField>
<name>FIRSTNAME</name>
<title>Firstname</title>
<state>READONLY</state>
</entityField>
<entityField>
<name>LASTNAME</name>
<title>Lastname</title>
<mandatory v="false" />
<state>READONLY</state>
</entityField>
<entityField>
<name>ISACTIVE</name>
<title>Active</title>
<contentType>BOOLEAN</contentType>
<dropDownProcess>%aditoprj%/entity/Employee_entity/entityfields/isactive/dropDownProcess.js</dropDownProcess>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/isactive/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>EMAIL_ADDRESS</name>
<title>Email</title>
<mandatory v="true" />
<dropDownProcess>%aditoprj%/entity/Employee_entity/entityfields/email_address/dropDownProcess.js</dropDownProcess>
<textInputAllowed v="true" />
<onValidation>%aditoprj%/entity/Employee_entity/entityfields/email_address/onValidation.js</onValidation>
</entityField>
<entityField>
<name>PASSWORD</name>
<title>Password</title>
<contentType>PASSWORD</contentType>
<mandatoryProcess>%aditoprj%/entity/Employee_entity/entityfields/password/mandatoryProcess.js</mandatoryProcess>
<stateProcess>%aditoprj%/entity/Employee_entity/entityfields/password/stateProcess.js</stateProcess>
</entityField>
<entityField>
<name>CONFIRM_PASSWORD</name>
<title>Confirm password</title>
<contentType>PASSWORD</contentType>
<mandatoryProcess>%aditoprj%/entity/Employee_entity/entityfields/confirm_password/mandatoryProcess.js</mandatoryProcess>
<stateProcess>%aditoprj%/entity/Employee_entity/entityfields/confirm_password/stateProcess.js</stateProcess>
</entityField>
<entityActionField>
<name>setPassword</name>
<title>Set password</title>
<onActionProcess>%aditoprj%/entity/Employee_entity/entityfields/setpassword/onActionProcess.js</onActionProcess>
<iconId>VAADIN:PASSWORD</iconId>
</entityActionField>
<entityParameter>
<name>PasswordChange_param</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityParameter>
<name>OnlyActives_param</name>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/onlyactives_param/valueProcess.js</valueProcess>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityConsumer>
<name>Contacts</name>
<dependency>
<name>dependency</name>
<entityName>Person_entity</entityName>
<fieldName>#PROVIDER</fieldName>
</dependency>
</entityConsumer>
<entityConsumer>
<name>Attributes</name>
<onValidation>%aditoprj%/entity/Employee_entity/entityfields/attributes/onValidation.js</onValidation>
<dependency>
<name>dependency</name>
<entityName>AttributeRelation_entity</entityName>
<fieldName>AttributeRelations</fieldName>
</dependency>
<children>
<entityParameter>
<name>ObjectRowId_param</name>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/attributes/children/objectrowid_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>ObjectType_param</name>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/attributes/children/objecttype_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityFieldGroup>
<name>NAME_fieldGroup</name>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/name_fieldgroup/valueProcess.js</valueProcess>
<title>Name</title>
<description>FIELDGROUP</description>
<fields>
<element>FIRSTNAME</element>
<element>LASTNAME</element>
</fields>
</entityFieldGroup>
<entityField>
<name>IMAGE</name>
<contentType>IMAGE</contentType>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/image/valueProcess.js</valueProcess>
<onValueChange>%aditoprj%/entity/Employee_entity/entityfields/image/onValueChange.js</onValueChange>
<onValueChangeTypes>
<element>MASK</element>
</onValueChangeTypes>
</entityField>
<entityField>
<name>DEPARTMENT</name>
<title>Department</title>
<consumer>Departments</consumer>
<mandatory v="true" />
<displayValueProcess>%aditoprj%/entity/Employee_entity/entityfields/department/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>DESCRIPTION</name>
<title>Description</title>
<contentType>LONG_TEXT</contentType>
</entityField>
<entityField>
<name>ROLE_FILTER</name>
<title>Role</title>
<consumer>PossibleRoles</consumer>
</entityField>
<entityConsumer>
<name>EmployeeRoles</name>
<dependency>
<name>dependency</name>
<entityName>EmployeeRole_entity</entityName>
<fieldName>EmployeeRoles</fieldName>
</dependency>
<children>
<entityParameter>
<name>UserTitle_param</name>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/employeeroles/children/usertitle_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityConsumer>
<name>AttributeTree</name>
<dependency>
<name>dependency</name>
<entityName>AttributeRelation_entity</entityName>
<fieldName>TreeProvider</fieldName>
</dependency>
<children>
<entityParameter>
<name>ObjectRowId_param</name>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/attributetree/children/objectrowid_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>ObjectType_param</name>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/attributetree/children/objecttype_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>AssignmentTable_param</name>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/documents/children/assignmenttable_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>AssignmentRowId_param</name>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/documents/children/assignmentrowid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityProvider>
<name>Employees</name>
<lookupIdfield>CONTACT_ID</lookupIdfield>
<filterVariablesProcess>%aditoprj%/entity/Employee_entity/entityfields/employees/filterVariablesProcess.js</filterVariablesProcess>
<dependencies>
<entityDependency>
<name>0ca415b9-a940-424e-bee8-05c007b20659</name>
<entityName>Activity_entity</entityName>
<fieldName>Employees</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>73f93f34-bfe9-48fd-b9ce-7f8ba46014c9</name>
<entityName>Timetracking_entity</entityName>
<fieldName>Employees</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>02bacafb-433c-497d-8561-96c426da61e9</name>
<entityName>Campaign_entity</entityName>
<fieldName>Employee</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>fefc05d2-6087-4600-bc77-80804654809e</name>
<entityName>CampaignStep_entity</entityName>
<fieldName>Employees</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>1affaf42-1889-42d8-802a-730a83b79cc4</name>
<entityName>Task_entity</entityName>
<fieldName>ContactEditors</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>24d41887-29f4-4a3d-9a0b-063adb6603dc</name>
<entityName>Task_entity</entityName>
<fieldName>ContactRequestors</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>6a502317-8b81-4bea-803f-003f990513df</name>
<entityName>CommRestriction_Entity</entityName>
<fieldName>EmployeeInvolved</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>773cd8d0-c4e2-4e2e-b910-a1f4e4b87801</name>
<entityName>UnlinkedMailMappingWrapper_entity</entityName>
<fieldName>Employees</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>4f377eaf-bd24-4347-99fc-c6c8ab4355be</name>
<entityName>Leadimport_entity</entityName>
<fieldName>Leadimport_Empl</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
<children>
<entityParameter>
<name>OnlyActives_param</name>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/employees/children/onlyactives_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityProvider>
<entityConsumer>
<name>Departments</name>
<dependency>
<name>dependency</name>
<entityName>Attribute_entity</entityName>
<fieldName>SpecificAttribute</fieldName>
</dependency>
<children>
<entityParameter>
<name>ParentId_param</name>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/departments/children/parentid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityActionField>
<name>openAdminView</name>
<title>Open admin view</title>
<onActionProcess>%aditoprj%/entity/Employee_entity/entityfields/openadminview/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CURLY_BRACKETS</iconId>
<stateProcess>%aditoprj%/entity/Employee_entity/entityfields/openadminview/stateProcess.js</stateProcess>
</entityActionField>
<entityConsumer>
<name>PossibleRoles</name>
<dependency>
<name>dependency</name>
<entityName>Role_entity</entityName>
<fieldName>FilteredRoles</fieldName>
</dependency>
<children>
<entityParameter>
<name>ExcludeRoles_param</name>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/possibleroles/children/excluderoles_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityField>
<name>SHORT_UID</name>
</entityField>
<entityProvider>
<name>EmployeesByUserId</name>
<dependencies>
<entityDependency>
<name>1d000ca2-f27e-47d2-95e2-ee14771c4ced</name>
<entityName>WorkflowTask_entity</entityName>
<fieldName>Employees</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
</entityProvider>
<entityProvider>
<name>EmployeesByShortUserId</name>
<lookupIdfield>SHORT_UID</lookupIdfield>
<dependencies>
<entityDependency>
<name>8b02831c-e831-4314-8ea3-d913c3394db2</name>
<entityName>ObjectProxy_entity</entityName>
<fieldName>Employees</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>4dad4b91-52ae-4263-9587-3b45101444fd</name>
<entityName>PermissionCalendar_entity</entityName>
<fieldName>User</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
</entityProvider>
<entityConsumer>
<name>TheirPermissions</name>
<refreshParent v="false" />
<dependency>
<name>dependency</name>
<entityName>PermissionCalendar_entity</entityName>
<fieldName>Permissions</fieldName>
</dependency>
<children>
<entityParameter>
<name>PermissionProcurer_param</name>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/theirpermissions/children/permissionprocurer_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityConsumer>
<name>MyPermissions</name>
<dependency>
<name>dependency</name>
<entityName>PermissionCalendar_entity</entityName>
<fieldName>Permissions</fieldName>
</dependency>
<children>
<entityParameter>
<name>PermissionDealer_param</name>
<valueProcess>%aditoprj%/entity/Employee_entity/entityfields/mypermissions/children/permissiondealer_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
</entityFields>
<recordContainers>
<jDitoRecordContainer>
<name>jdito</name>
<jDitoRecordAlias>Data_alias</jDitoRecordAlias>
<isFilterable v="true" />
<isSortable v="true" />
<contentProcess>%aditoprj%/entity/Employee_entity/recordcontainers/jdito/contentProcess.js</contentProcess>
<onInsert>%aditoprj%/entity/Employee_entity/recordcontainers/jdito/onInsert.js</onInsert>
<onUpdate>%aditoprj%/entity/Employee_entity/recordcontainers/jdito/onUpdate.js</onUpdate>
<onDelete>%aditoprj%/entity/Employee_entity/recordcontainers/jdito/onDelete.js</onDelete>
<recordFieldMappings>
<jDitoRecordFieldMapping>
<name>UID.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>TITLE.value</name>
<isFilterable v="true" />
<isLookupFilter v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>ISACTIVE.value</name>
<isFilterable v="true" />
<isLookupFilter v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>FIRSTNAME.value</name>
<isFilterable v="true" />
<isLookupFilter v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>LASTNAME.value</name>
<isFilterable v="true" />
<isLookupFilter v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>EMAIL_ADDRESS.value</name>
<isFilterable v="true" />
<isLookupFilter v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>EMAIL_ADDRESS.displayValue</name>
<isFilterable v="true" />
<isLookupFilter v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>DESCRIPTION.value</name>
<isFilterable v="true" />
<isLookupFilter v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>CONTACT_ID.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>DEPARTMENT.value</name>
<isFilterable v="true" />
<isLookupFilter v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>PASSWORD.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>CONFIRM_PASSWORD.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>ROLE_FILTER.value</name>
<isFilterable v="true" />
<isLookupFilter v="true" />
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>SHORT_UID.value</name>
</jDitoRecordFieldMapping>
</recordFieldMappings>
</jDitoRecordContainer>
</recordContainers>
</entity>