Something went wrong on our end
-
Sebastian Listl authoredSebastian Listl authored
KnowledgeManagement_entity.aod 22.16 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.17" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.17">
<name>KnowledgeManagement_entity</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<icon>VAADIN:ACADEMY_CAP</icon>
<title>Knowledge</title>
<grantUpdateProcess>%aditoprj%/entity/KnowledgeManagement_entity/grantUpdateProcess.js</grantUpdateProcess>
<grantDeleteProcess>%aditoprj%/entity/KnowledgeManagement_entity/grantDeleteProcess.js</grantDeleteProcess>
<contentTitleProcess>%aditoprj%/entity/KnowledgeManagement_entity/contentTitleProcess.js</contentTitleProcess>
<afterOperatingState>%aditoprj%/entity/KnowledgeManagement_entity/afterOperatingState.js</afterOperatingState>
<useFavorites v="true" />
<iconIdProcess>%aditoprj%/entity/KnowledgeManagement_entity/iconIdProcess.js</iconIdProcess>
<usePermissions v="true" />
<titlePlural>Knowledge entries</titlePlural>
<recordContainer>db</recordContainer>
<entityFields>
<entityProvider>
<name>#PROVIDER</name>
<dependencies>
<entityDependency>
<name>40cf66ca-421f-47f6-8ecc-8360657e0640</name>
<entityName>KnowledgeNewsFeed_entity</entityName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
</entityProvider>
<entityField>
<name>KNOWLEDGEMANAGEMENTID</name>
</entityField>
<entityField>
<name>TITLE</name>
<title>Title</title>
<mandatory v="true" />
</entityField>
<entityField>
<name>CONTENT</name>
<title>Content</title>
<contentType>HTML</contentType>
<outputFormat></outputFormat>
<mandatory v="true" />
<onValueChangeTypes>
<element>MASK</element>
<element>PROCESS</element>
<element>PROCESS_SETVALUE</element>
</onValueChangeTypes>
</entityField>
<entityField>
<name>CONTENTDECODED</name>
<title>Text content</title>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/contentdecoded/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>AUTHOR_CONTACT_ID</name>
<title>Author</title>
<consumer>PersonContacts</consumer>
<linkedContext>Person</linkedContext>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/author_contact_id/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/author_contact_id/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>DATE_NEW</name>
<title>Created on</title>
<contentType>DATE</contentType>
<resolution>SECOND</resolution>
<outputFormat>dd.MM.yyyy HH:mm</outputFormat>
<inputFormat>dd.MM.yyyy HH:mm</inputFormat>
<state>READONLY</state>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/date_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>DATE_EDIT</name>
<title>Edited on</title>
<contentType>DATE</contentType>
<resolution>SECOND</resolution>
<outputFormat>dd.MM.yyyy HH:mm</outputFormat>
<inputFormat>dd.MM.yyyy HH:mm</inputFormat>
<state>READONLY</state>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/date_edit/valueProcess.js</valueProcess>
<onValueChangeTypes>
<element>MASK</element>
<element>PROCESS</element>
<element>PROCESS_SETVALUE</element>
</onValueChangeTypes>
</entityField>
<entityField>
<name>USER_NEW</name>
<title>Created by</title>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/user_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>USER_EDIT</name>
<title>Edited by</title>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/user_edit/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>TYPE</name>
<title>Type</title>
<consumer>KeywordKnowledgeType</consumer>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/type/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>htmlView</name>
<title>Content</title>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/htmlview/valueProcess.js</valueProcess>
</entityField>
<entityConsumer>
<name>TagsByKnowledgeId</name>
<refreshParent v="true" />
<state>EDITABLE</state>
<onValidation>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/tagsbyknowledgeid/onValidation.js</onValidation>
<children>
<entityParameter>
<name>KnowledgeManagementId_param</name>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/tagsbyknowledgeid/children/knowledgemanagementid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
<dependency>
<name>dependency</name>
<entityName>KnowledgeManagementTags_entity</entityName>
<fieldName>ByKnowledgeManagementId</fieldName>
</dependency>
</entityConsumer>
<entityConsumer>
<name>DiscussionsByKnowledgeId</name>
<refreshParent v="true" />
<children>
<entityParameter>
<name>KnowledgeId_param</name>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/discussionsbyknowledgeid/children/knowledgeid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
<dependency>
<name>dependency</name>
<entityName>KnowledgeDiscussion_entity</entityName>
<fieldName>ByKnowledgeId</fieldName>
</dependency>
</entityConsumer>
<entityProvider>
<name>Provider</name>
</entityProvider>
<entityConsumer>
<name>PersonContacts</name>
<dependency>
<name>dependency</name>
<entityName>Person_entity</entityName>
<fieldName>Contacts</fieldName>
</dependency>
</entityConsumer>
<entityConsumer>
<name>KeywordKnowledgeType</name>
<children>
<entityParameter>
<name>ContainerName_param</name>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/keywordknowledgetype/children/containername_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
<dependency>
<name>dependency</name>
<entityName>KeywordEntry_entity</entityName>
<fieldName>SpecificContainerKeywords</fieldName>
</dependency>
</entityConsumer>
<entityConsumer>
<name>KeywordPublish</name>
<children>
<entityParameter>
<name>ContainerName_param</name>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/keywordpublish/children/containername_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
<dependency>
<name>dependency</name>
<entityName>KeywordEntry_entity</entityName>
<fieldName>SpecificContainerKeywords</fieldName>
</dependency>
</entityConsumer>
<entityField>
<name>indexTag</name>
</entityField>
<entityConsumer>
<name>LinkedDocuments</name>
<children>
<entityParameter>
<name>AssignmentTable_param</name>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/linkeddocuments/children/assignmenttable_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>AssignmentRowId_param</name>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/linkeddocuments/children/assignmentrowid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
<dependency>
<name>dependency</name>
<entityName>Document_entity</entityName>
<fieldName>Documents</fieldName>
</dependency>
</entityConsumer>
<entityActionField>
<name>openEntryAsMail</name>
<title>send as mail</title>
<onActionProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/openentryasmail/onActionProcess.js</onActionProcess>
<isMenuAction v="true" />
<isSelectionAction v="true" />
<state>INVISIBLE</state>
</entityActionField>
<entityConsumer>
<name>LinksByKnowledgeId</name>
<refreshParent v="true" />
<children>
<entityParameter>
<name>KnowledgeManagementId_param</name>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/linksbyknowledgeid/children/knowledgemanagementid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
<dependency>
<name>dependency</name>
<entityName>KnowledgeLink_entity</entityName>
<fieldName>ByKnowledgeId</fieldName>
</dependency>
</entityConsumer>
<entityField>
<name>LastChange</name>
<title>Last change</title>
<contentType>DATE</contentType>
</entityField>
<entityConsumer>
<name>LogHistories</name>
<children>
<entityParameter>
<name>tablenames_param</name>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/loghistories/children/tablenames_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
<dependency>
<name>dependency</name>
<entityName>LogHistory_entity</entityName>
<fieldName>LogHistoryProvider</fieldName>
</dependency>
</entityConsumer>
<entityActionField>
<name>exportHTML_action</name>
<title>Export HTML</title>
<onActionProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/exporthtml_action/onActionProcess.js</onActionProcess>
<iconId>NEON:EXPORT</iconId>
<tooltip>Exports the knowledge entry as a html file</tooltip>
</entityActionField>
<entityProvider>
<name>#PROVIDER_AGGREGATES</name>
<useAggregates v="true" />
</entityProvider>
<entityField>
<name>KNOWLEDGEMANAGEMENT_OBJECTTYPE</name>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/knowledgemanagement_objecttype/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>binaryContents</name>
<contentType>FILE</contentType>
</entityField>
<entityField>
<name>isNewsMark</name>
<title>News</title>
<contentType>BOOLEAN</contentType>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/isnewsmark/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>notificationMark</name>
<title>Notification</title>
<description>Oh Hi Mark</description>
<contentType>BOOLEAN</contentType>
<stateProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/notificationmark/stateProcess.js</stateProcess>
</entityField>
<entityParameter>
<name>isDashlet_param</name>
<expose v="true" />
</entityParameter>
<entityConsumer>
<name>KnowledgeRoles</name>
<stateProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/knowledgeroles/stateProcess.js</stateProcess>
<onValidation>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/knowledgeroles/onValidation.js</onValidation>
<children>
<entityParameter>
<name>KnowledgeManagement_param</name>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/knowledgeroles/children/knowledgemanagement_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>PublishLevelRoles_param</name>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/knowledgeroles/children/publishlevelroles_param/valueProcess.js</valueProcess>
<expose v="true" />
</entityParameter>
</children>
<dependency>
<name>dependency</name>
<entityName>KnowledgeRole_entity</entityName>
<fieldName>KnowledgeRole</fieldName>
</dependency>
</entityConsumer>
<entityConsumer>
<name>Tasks</name>
<children>
<entityParameter>
<name>ObjectId_param</name>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/tasks/children/objectid_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>RowId_param</name>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/tasks/children/rowid_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>PresetLinks_param</name>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/tasks/children/presetlinks_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
<dependency>
<name>dependency</name>
<entityName>Task_entity</entityName>
<fieldName>Tasks</fieldName>
</dependency>
</entityConsumer>
<entityField>
<name>RESPONSIBLE_CONTACT_ID</name>
<title>Responsible</title>
<consumer>PersonContacts</consumer>
<linkedContext>Person</linkedContext>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/responsible_contact_id/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/responsible_contact_id/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>PUBLISH</name>
<title>Publishing level</title>
<consumer>KeywordPublish</consumer>
<valueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/publish/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/KnowledgeManagement_entity/entityfields/publish/displayValueProcess.js</displayValueProcess>
</entityField>
</entityFields>
<recordContainers>
<dbRecordContainer>
<name>db</name>
<alias>Data_alias</alias>
<isRequireContainerFiltering v="true" />
<conditionProcess>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
<orderClauseProcess>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
<onDBInsert>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/db/onDBInsert.js</onDBInsert>
<onDBUpdate>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/db/onDBUpdate.js</onDBUpdate>
<linkInformation>
<linkInformation>
<name>9d4a7198-a4d1-45b3-867f-bf12cd558274</name>
<tableName>KNOWLEDGEMANAGEMENT</tableName>
<primaryKey>KNOWLEDGEMANAGEMENTID</primaryKey>
<isUIDTable v="true" />
<readonly v="false" />
</linkInformation>
</linkInformation>
<recordFieldMappings>
<dbRecordFieldMapping>
<name>AUTHOR_CONTACT_ID.value</name>
<recordfield>KNOWLEDGEMANAGEMENT.AUTHOR_CONTACT_ID</recordfield>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>CONTENT.value</name>
<recordfield>KNOWLEDGEMANAGEMENT.CONTENT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>CONTENTDECODED.value</name>
<recordfield>KNOWLEDGEMANAGEMENT.CONTENTDECODED</recordfield>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DATE_EDIT.value</name>
<recordfield>KNOWLEDGEMANAGEMENT.DATE_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DATE_NEW.value</name>
<recordfield>KNOWLEDGEMANAGEMENT.DATE_NEW</recordfield>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>KNOWLEDGEMANAGEMENTID.value</name>
<recordfield>KNOWLEDGEMANAGEMENT.KNOWLEDGEMANAGEMENTID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TITLE.value</name>
<recordfield>KNOWLEDGEMANAGEMENT.TITLE</recordfield>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TYPE.value</name>
<recordfield>KNOWLEDGEMANAGEMENT.TYPE</recordfield>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_EDIT.value</name>
<recordfield>KNOWLEDGEMANAGEMENT.USER_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_NEW.value</name>
<recordfield>KNOWLEDGEMANAGEMENT.USER_NEW</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>AUTHOR_CONTACT_ID.displayValue</name>
<expression>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/db/recordfieldmappings/author_contact_id.displayvalue/expression.js</expression>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>LastChange.value</name>
<expression>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/db/recordfieldmappings/lastchange.value/expression.js</expression>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TYPE.displayValue</name>
<expression>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/db/recordfieldmappings/type.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
<consumerMapping>
<name>KnowledgeRoles</name>
<filterConditionProcess>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/db/recordfieldmappings/knowledgeroles/filterConditionProcess.js</filterConditionProcess>
<isFilterable v="true" />
<isLookupFilter v="true" />
<filtertype>BASIC</filtertype>
</consumerMapping>
<dbRecordFieldMapping>
<name>RESPONSIBLE_CONTACT_ID.value</name>
<recordfield>KNOWLEDGEMANAGEMENT.RESPONSIBLE_CONTACT_ID</recordfield>
<columnAlias></columnAlias>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>RESPONSIBLE_CONTACT_ID.displayValue</name>
<expression>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/db/recordfieldmappings/responsible_contact_id.displayvalue/expression.js</expression>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>PUBLISH.value</name>
<recordfield>KNOWLEDGEMANAGEMENT.PUBLISH</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>PUBLISH.displayValue</name>
<expression>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/db/recordfieldmappings/publish.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
</recordFieldMappings>
<filterExtensions>
<filterExtension>
<name>TagFilter</name>
<title>Tag</title>
<contentType>TEXT</contentType>
<filterValuesProcess>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/db/filterextensions/tagfilter/filterValuesProcess.js</filterValuesProcess>
<filterConditionProcess>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/db/filterextensions/tagfilter/filterConditionProcess.js</filterConditionProcess>
<filtertype>BASIC</filtertype>
</filterExtension>
</filterExtensions>
</dbRecordContainer>
<indexRecordContainer>
<name>indexSearchKnowledgebase</name>
<configMode>INDEXGROUP_DEFINITION</configMode>
<patternExtensionProcess>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/indexsearchknowledgebase/patternExtensionProcess.js</patternExtensionProcess>
<indexRecordAlias>Data_alias</indexRecordAlias>
<query>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/indexsearchknowledgebase/query.js</query>
<subProcess>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/indexsearchknowledgebase/subProcess.js</subProcess>
<affectedTables>
<element>KNOWLEDGEMANAGEMENT</element>
<element>KNOWLEDGETAGLINK</element>
</affectedTables>
<affectedIds>%aditoprj%/entity/KnowledgeManagement_entity/recordcontainers/indexsearchknowledgebase/affectedIds.js</affectedIds>
<title>Knowledgebase</title>
<indexFieldMappings>
<indexRecordSystemFieldMapping>
<name>#UID</name>
</indexRecordSystemFieldMapping>
<indexRecordMultilingualSystemFieldMapping>
<name>#TITLE</name>
</indexRecordMultilingualSystemFieldMapping>
<indexRecordMultilingualSystemFieldMapping>
<name>#DESCRIPTION</name>
</indexRecordMultilingualSystemFieldMapping>
<indexRecordFieldMapping>
<name>KNOWLEDGEMANAGEMENTID.value</name>
<systemField>UID</systemField>
</indexRecordFieldMapping>
<indexRecordFieldMapping>
<name>TITLE.value</name>
<indexFieldType>TEXT</indexFieldType>
</indexRecordFieldMapping>
<indexRecordFieldMapping>
<name>CONTENTDECODED.value</name>
<indexFieldType>TEXT</indexFieldType>
</indexRecordFieldMapping>
<indexRecordFieldMapping>
<name>indexTag.value</name>
</indexRecordFieldMapping>
<indexRecordSystemFieldMapping>
<name>#SUB_GROUP</name>
</indexRecordSystemFieldMapping>
<indexRecordFieldMapping>
<name>binaryContents.value</name>
<isStored v="false" />
<isMultiValued v="true" />
</indexRecordFieldMapping>
</indexFieldMappings>
</indexRecordContainer>
</recordContainers>
</entity>