Something went wrong on our end
-
Sebastian Pongratz authoredSebastian Pongratz authored
Document_entity.aod 12.60 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>Document_entity</name>
<title>Document</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/Document_entity/documentation.adoc</documentation>
<grantCreateProcess>%aditoprj%/entity/Document_entity/grantCreateProcess.js</grantCreateProcess>
<contentTitleProcess>%aditoprj%/entity/Document_entity/contentTitleProcess.js</contentTitleProcess>
<contentDescriptionProcess>%aditoprj%/entity/Document_entity/contentDescriptionProcess.js</contentDescriptionProcess>
<iconId>VAADIN:FILE</iconId>
<titlePlural>Documents</titlePlural>
<recordContainer>jdito</recordContainer>
<entityFields>
<entityProvider>
<name>#PROVIDER</name>
<recordContainer>jdito</recordContainer>
</entityProvider>
<entityField>
<name>NAME</name>
<title>Filename</title>
<mandatory v="true" />
<state>AUTO</state>
</entityField>
<entityField>
<name>TYPE</name>
<title>Filetype</title>
<state>READONLY</state>
</entityField>
<entityField>
<name>SIZE</name>
<title>Filesize</title>
<contentType>FILESIZE</contentType>
<state>READONLY</state>
</entityField>
<entityField>
<name>DATE_EDIT</name>
<title>Date</title>
<contentType>DATE</contentType>
<resolution>MINUTE</resolution>
<outputFormat>dd.MM.yyyy HH:mm:ss</outputFormat>
<inputFormat>dd.MM.yyyy HH:mm:ss</inputFormat>
<state>READONLY</state>
</entityField>
<entityField>
<name>PREVIEW_IMAGE</name>
<title>Preview</title>
<contentType>IMAGE</contentType>
<state>READONLY</state>
</entityField>
<entityField>
<name>BINDATA_UPLOAD</name>
<title>File</title>
<contentType>FILE</contentType>
<mandatoryProcess>%aditoprj%/entity/Document_entity/entityfields/bindata_upload/mandatoryProcess.js</mandatoryProcess>
<onValueChange>%aditoprj%/entity/Document_entity/entityfields/bindata_upload/onValueChange.js</onValueChange>
<onValueChangeTypes>
<element>MASK</element>
<element>PROCESS</element>
<element>PROCESS_SETVALUE</element>
</onValueChangeTypes>
<onValidation>%aditoprj%/entity/Document_entity/entityfields/bindata_upload/onValidation.js</onValidation>
</entityField>
<entityParameter>
<name>AssignmentTable_param</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityParameter>
<name>AssignmentName_param</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityParameter>
<name>AssignmentRowId_param</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityField>
<name>UID</name>
<title>Id</title>
</entityField>
<entityField>
<name>DESCRIPTION</name>
<title>Description</title>
<contentType>LONG_TEXT</contentType>
<onValueChangeTypes>
<element>MASK</element>
<element>PROCESS</element>
<element>PROCESS_SETVALUE</element>
</onValueChangeTypes>
</entityField>
<entityField>
<name>KEYWORD</name>
<title>Keyword</title>
<state>INVISIBLE</state>
</entityField>
<entityField>
<name>ICON</name>
<valueProcess>%aditoprj%/entity/Document_entity/entityfields/icon/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>IS_MAIN_DOCUMENT</name>
<title>Main document</title>
<contentType>BOOLEAN</contentType>
<placeholderProcess>%aditoprj%/entity/Document_entity/entityfields/is_main_document/placeholderProcess.js</placeholderProcess>
<stateProcess>%aditoprj%/entity/Document_entity/entityfields/is_main_document/stateProcess.js</stateProcess>
<valueProcess>%aditoprj%/entity/Document_entity/entityfields/is_main_document/valueProcess.js</valueProcess>
<onValueChange>%aditoprj%/entity/Document_entity/entityfields/is_main_document/onValueChange.js</onValueChange>
<onValueChangeTypes>
<element>MASK</element>
</onValueChangeTypes>
</entityField>
<entityParameter>
<name>Keyword_param</name>
<expose v="true" />
<mandatory v="false" />
<description>PARAMETER</description>
</entityParameter>
<entityProvider>
<name>Documents</name>
<documentation>%aditoprj%/entity/Document_entity/entityfields/documents/documentation.adoc</documentation>
<recordContainer>jdito</recordContainer>
<children>
<entityParameter>
<name>AssignmentName_param</name>
<valueProcess>%aditoprj%/entity/Document_entity/entityfields/documents/children/assignmentname_param/valueProcess.js</valueProcess>
<expose v="true" />
<documentation>%aditoprj%/entity/Document_entity/entityfields/documents/children/assignmentname_param/documentation.adoc</documentation>
</entityParameter>
<entityParameter>
<name>AssignmentRowId_param</name>
<expose v="true" />
</entityParameter>
<entityParameter>
<name>AssignmentTable_param</name>
<expose v="true" />
</entityParameter>
<entityParameter>
<name>Keyword_param</name>
<expose v="true" />
</entityParameter>
</children>
</entityProvider>
<entityProvider>
<name>MainDocuments</name>
<recordContainer>jdito</recordContainer>
<children>
<entityParameter>
<name>Keyword_param</name>
<valueProcess>%aditoprj%/entity/Document_entity/entityfields/maindocuments/children/keyword_param/valueProcess.js</valueProcess>
<expose v="true" />
<mandatory v="true" />
<description>TODO: expose auf false. aktuell wird der Code nicht ausgeführt, wenn Expose false ist.</description>
</entityParameter>
<entityParameter>
<name>AssignmentName_param</name>
<valueProcess>%aditoprj%/entity/Document_entity/entityfields/maindocuments/children/assignmentname_param/valueProcess.js</valueProcess>
<expose v="true" />
<documentation>%aditoprj%/entity/Document_entity/entityfields/maindocuments/children/assignmentname_param/documentation.adoc</documentation>
</entityParameter>
<entityParameter>
<name>AssignmentRowId_param</name>
<expose v="true" />
</entityParameter>
<entityParameter>
<name>AssignmentTable_param</name>
<expose v="true" />
</entityParameter>
<entityParameter>
<name>DisallowCreate_param</name>
<expose v="false" />
</entityParameter>
</children>
</entityProvider>
<entityParameter>
<name>DisallowCreate_param</name>
<valueProcess>%aditoprj%/entity/Document_entity/entityfields/disallowcreate_param/valueProcess.js</valueProcess>
<expose v="true" />
</entityParameter>
<entityProvider>
<name>SingleDocument</name>
<titlePlural>Document</titlePlural>
<children>
<entityParameter>
<name>AssignmentName_param</name>
<valueProcess>%aditoprj%/entity/Document_entity/entityfields/singledocument/children/assignmentname_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>DisallowCreate_param</name>
<valueProcess>%aditoprj%/entity/Document_entity/entityfields/singledocument/children/disallowcreate_param/valueProcess.js</valueProcess>
<expose v="true" />
</entityParameter>
<entityParameter>
<name>MSTTeamId_param</name>
<expose v="false" />
</entityParameter>
</children>
</entityProvider>
<entityProvider>
<name>#PROVIDER_AGGREGATES</name>
<useAggregates v="true" />
</entityProvider>
<entityParameter>
<name>MSTTeamId_param</name>
<expose v="true" />
</entityParameter>
<entityField>
<name>assignmentRowID</name>
<valueProcess>%aditoprj%/entity/Document_entity/entityfields/assignmentrowid/valueProcess.js</valueProcess>
</entityField>
<entityActionGroup>
<name>Document_actions</name>
<title>Document actions</title>
<children>
<entityActionField>
<name>openFileAction</name>
<title>${ACTION_DO_OPEN}</title>
<onActionProcess>%aditoprj%/entity/Document_entity/entityfields/document_actions/children/openfileaction/onActionProcess.js</onActionProcess>
<isMenuAction v="true" />
<isObjectAction v="false" />
<selectionType>MULTI</selectionType>
<isSaveAction v="false" />
<iconId>VAADIN:FOLDER_OPEN</iconId>
<state>AUTO</state>
<stateProcess>%aditoprj%/entity/Document_entity/entityfields/document_actions/children/openfileaction/stateProcess.js</stateProcess>
</entityActionField>
<entityActionField>
<name>downloadFilesAction</name>
<title>Download</title>
<onActionProcess>%aditoprj%/entity/Document_entity/entityfields/document_actions/children/downloadfilesaction/onActionProcess.js</onActionProcess>
<isObjectAction v="false" />
<selectionType>MULTI</selectionType>
<iconId>VAADIN:DOWNLOAD</iconId>
<state>EDITABLE</state>
</entityActionField>
</children>
</entityActionGroup>
<entityActionField>
<name>openSingleFileAction</name>
<title>${ACTION_DO_OPEN}</title>
<onActionProcess>%aditoprj%/entity/Document_entity/entityfields/opensinglefileaction/onActionProcess.js</onActionProcess>
<selectionType>UNBOUND</selectionType>
<iconId>VAADIN:FOLDER_OPEN</iconId>
<state>AUTO</state>
<stateProcess>%aditoprj%/entity/Document_entity/entityfields/opensinglefileaction/stateProcess.js</stateProcess>
</entityActionField>
<entityActionField>
<name>downloadSingleFileAction</name>
<title>Download</title>
<onActionProcess>%aditoprj%/entity/Document_entity/entityfields/downloadsinglefileaction/onActionProcess.js</onActionProcess>
<iconId>VAADIN:DOWNLOAD</iconId>
</entityActionField>
<entityActionGroup>
<name>MSTeam</name>
<title>MS Teams</title>
<stateProcess>%aditoprj%/entity/Document_entity/entityfields/msteam/stateProcess.js</stateProcess>
<children>
<entityActionField>
<name>synchronizeDocuments</name>
<title>Synchronize documents</title>
<onActionProcess>%aditoprj%/entity/Document_entity/entityfields/msteam/children/synchronizedocuments/onActionProcess.js</onActionProcess>
<iconId>VAADIN:REFRESH</iconId>
<stateProcess>%aditoprj%/entity/Document_entity/entityfields/msteam/children/synchronizedocuments/stateProcess.js</stateProcess>
</entityActionField>
</children>
</entityActionGroup>
</entityFields>
<recordContainers>
<jDitoRecordContainer>
<name>jdito</name>
<jDitoRecordAlias>_____SYSTEMALIAS</jDitoRecordAlias>
<contentProcess>%aditoprj%/entity/Document_entity/recordcontainers/jdito/contentProcess.js</contentProcess>
<onInsert>%aditoprj%/entity/Document_entity/recordcontainers/jdito/onInsert.js</onInsert>
<onUpdate>%aditoprj%/entity/Document_entity/recordcontainers/jdito/onUpdate.js</onUpdate>
<onDelete>%aditoprj%/entity/Document_entity/recordcontainers/jdito/onDelete.js</onDelete>
<recordFieldMappings>
<jDitoRecordFieldMapping>
<name>UID.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>NAME.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>SIZE.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>DATE_EDIT.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>PREVIEW_IMAGE.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>TYPE.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>DESCRIPTION.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>KEYWORD.value</name>
</jDitoRecordFieldMapping>
<jDitoRecordFieldMapping>
<name>assignmentRowID.value</name>
</jDitoRecordFieldMapping>
</recordFieldMappings>
</jDitoRecordContainer>
</recordContainers>
</entity>