Skip to content
Snippets Groups Projects
Commit 76d18341 authored by Dominik Lechner's avatar Dominik Lechner
Browse files

Renaming DOCUMENTMANAGEMENT to DOCUMENTTEMPLATE

Create Entity DOCUMENTTEMPLATE
parent 4cade4a6
No related branches found
No related tags found
No related merge requests found
Showing
with 200 additions and 37 deletions
......@@ -5955,9 +5955,9 @@
</entityFields>
</entityDb>
<entityDb>
<name>DOCUMENTMANAGEMENT</name>
<name>DOCUMENTTEMPLATE</name>
<dbName></dbName>
<idColumn>DOCUMENTMANAGEMENTID</idColumn>
<idColumn>DOCUMENTTEMPLATEID</idColumn>
<idGeneratorType v="0" />
<idGeneratorInterval v="1" />
<documentation></documentation>
......@@ -6015,7 +6015,7 @@
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DOCUMENTMANAGEMENTID</name>
<name>DOCUMENTTEMPLATEID</name>
<dbName></dbName>
<primaryKey v="true" />
<columnType v="1" />
......@@ -6101,9 +6101,9 @@
</entityFields>
</entityDb>
<entityDb>
<name>DOCUMENTMANAGEMENTLINK</name>
<name>DOCUMENTTEMPLATELINK</name>
<dbName></dbName>
<idColumn>DOCUMENTMANAGEMENTLINKID</idColumn>
<idColumn>DOCUMENTTEMPLATELINKID</idColumn>
<idGeneratorType v="0" />
<idGeneratorInterval v="1" />
<documentation></documentation>
......@@ -6133,7 +6133,7 @@
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DOCUMENTMANAGEMENT_ID_PARENT</name>
<name>DOCUMENTTEMPLATE_ID_PARENT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="1" />
......@@ -6146,20 +6146,6 @@
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DOCUMENTMANAGEMENTLINKID</name>
<dbName></dbName>
<primaryKey v="true" />
<columnType v="1" />
<size v="36" />
<scale v="0" />
<notNull v="true" />
<isUnique v="true" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DATE_NEW</name>
<dbName></dbName>
......@@ -6189,14 +6175,14 @@
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DOCUMENTMANAGEMENT_ID_CHILD</name>
<name>DOCUMENTTEMPLATELINKID</name>
<dbName></dbName>
<primaryKey v="false" />
<primaryKey v="true" />
<columnType v="1" />
<size v="36" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<notNull v="true" />
<isUnique v="true" />
<index v="false" />
<documentation></documentation>
<title></title>
......@@ -6216,6 +6202,20 @@
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DOCUMENTTEMPLATE_ID_CHILD</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="1" />
<size v="36" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields>
</entityDb>
</entities>
......
......@@ -33,6 +33,7 @@
<node name="KeywordEntry" kind="10077" />
<node name="KeywordAttribute" kind="10077" />
<node name="Employee" kind="10077" />
<node name="DocumentTemplate" kind="10077" />
<node name="INTERNAL_ADMINISTRATOR" kind="159" />
</node>
</node>
......
<?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.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.1">
<name>DocumentTemplate_entity</name>
<title>Document Template</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<icon>VAADIN:FILE_FONT</icon>
<recordContainer>db</recordContainer>
<entityFields>
<entityProvider>
<name>#PROVIDER</name>
</entityProvider>
<entityField>
<name>DATE_EDIT</name>
</entityField>
<entityField>
<name>DESCRIPTION</name>
</entityField>
<entityField>
<name>DOCUMENTMANAGEMENTID</name>
</entityField>
<entityField>
<name>DATE_NEW</name>
<valueProcess>%aditoprj%/entity/Documentmanagement_entity/entityfields/date_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>USER_NEW</name>
<valueProcess>%aditoprj%/entity/Documentmanagement_entity/entityfields/user_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>TYPE</name>
</entityField>
<entityField>
<name>USER_EDIT</name>
</entityField>
<entityField>
<name>NAME</name>
</entityField>
<entityField>
<name>LANGUAGE_documentmanagement</name>
</entityField>
</entityFields>
<recordContainers>
<dbRecordContainer>
<name>db</name>
<alias>Data_alias</alias>
<linkInformation>
<linkInformation>
<name>982325b6-d12e-43f9-8ac2-c4b9f013aafd</name>
<tableName>DOCUMENTTEMPLATE</tableName>
<primaryKey>DOCUMENTTEMPLATEID</primaryKey>
<isUIDTable v="false" />
<readonly v="false" />
</linkInformation>
</linkInformation>
<recordFieldMappings>
<dbRecordFieldMapping>
<name>DATE_EDIT.value</name>
<recordfield>DOCUMENTTEMPLATE.DATE_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DATE_NEW.value</name>
<recordfield>DOCUMENTTEMPLATE.DATE_NEW</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DESCRIPTION.value</name>
<recordfield>DOCUMENTTEMPLATE.DESCRIPTION</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DOCUMENTMANAGEMENTID.value</name>
<recordfield>DOCUMENTTEMPLATE.DOCUMENTTEMPLATEID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>LANGUAGE_documentmanagement.value</name>
<recordfield>DOCUMENTTEMPLATE.LANGUAGE</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>NAME.value</name>
<recordfield>DOCUMENTTEMPLATE.NAME</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TYPE.value</name>
<recordfield>DOCUMENTTEMPLATE.TYPE</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_EDIT.value</name>
<recordfield>DOCUMENTTEMPLATE.USER_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_NEW.value</name>
<recordfield>DOCUMENTTEMPLATE.USER_NEW</recordfield>
</dbRecordFieldMapping>
</recordFieldMappings>
</dbRecordContainer>
</recordContainers>
</entity>
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
result.string(vars.get("$sys.date"));
\ No newline at end of file
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
result.string(vars.get("$sys.user"));
\ No newline at end of file
......@@ -2688,6 +2688,9 @@
<entry>
<key>This private person doeas already exist and can not be created once more.</key>
</entry>
<entry>
<key>Documentmanagement</key>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
<sqlModels>
......
......@@ -46,6 +46,10 @@
<key>Show all activities</key>
<value>Alle Aktivitäten anzeigen</value>
</entry>
<entry>
<key>Document Template</key>
<value>Doku Vorlage</value>
</entry>
<entry>
<key>${ADDRESS_STATE}</key>
<value>Staat</value>
......
......@@ -2718,6 +2718,9 @@
<entry>
<key>This private person doeas already exist and can not be created once more.</key>
</entry>
<entry>
<key>Documentmanagement</key>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
</language>
<?xml version="1.0" encoding="UTF-8"?>
<neonContext xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonContext/1.1.0">
<name>DocumentTemplate</name>
<title>Document Management</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<icon>VAADIN:FILE_FONT</icon>
<entity>DocumentTemplate_entity</entity>
<references>
<neonViewReference>
<name>d63a58ee-5ff0-4633-af45-7469707a888c</name>
<view>DocumentTemplateFilter_view</view>
</neonViewReference>
</references>
</neonContext>
<?xml version="1.0" encoding="UTF-8"?>
<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.1">
<name>DocumentTemplateFilter_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<layout>
<boxLayout>
<name>layout</name>
</boxLayout>
</layout>
<children>
<tableViewTemplate>
<name>Search</name>
<entityField>#ENTITY</entityField>
<title>Document Management</title>
<columns>
<neonTableColumn>
<name>b71e5a83-7bb6-4638-bf77-28193831e341</name>
<entityField>NAME</entityField>
</neonTableColumn>
<neonTableColumn>
<name>95143922-57be-440b-b310-befbccf63fb0</name>
<entityField>TYPE</entityField>
</neonTableColumn>
<neonTableColumn>
<name>d3fc4acc-0754-4e0a-8143-5c90f4a3b9f9</name>
<entityField>LANGUAGE_documentmanagement</entityField>
</neonTableColumn>
</columns>
</tableViewTemplate>
</children>
</neonView>
......@@ -130,6 +130,6 @@
<include relativeToChangelogFile="true" file="indicesRefactor/Activity.xml"/>
<include relativeToChangelogFile="true" file="indicesRefactor/Task.xml"/>
<include relativeToChangelogFile="true" file="create_documentmanagement.xml"/>
<include relativeToChangelogFile="true" file="create_documentmanagementlink.xml"/>
<include relativeToChangelogFile="true" file="create_documenttemplate.xml"/>
<include relativeToChangelogFile="true" file="create_documenttemplatelink.xml"/>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="d.lechner" id="documentmanagement-1">
<createTable tableName="DOCUMENTMANAGEMENT">
<column name="DOCUMENTMANAGEMENTID" type="CHAR(36)">
<constraints primaryKey="true" primaryKeyName="PK_DOCUMENTMANAGEMENT_DOCUMENTMANAGEMENTID"/>
<changeSet author="d.lechner" id="documenttemplate-1">
<createTable tableName="DOCUMENTTEMPLATE">
<column name="DOCUMENTTEMPLATEID" type="CHAR(36)">
<constraints primaryKey="true" primaryKeyName="PK_DOCUMENTTEMPLATE_DOCUMENTTEMPLATEID"/>
</column>
<column name="NAME" type="NVARCHAR(50)"/>
<column name="TYPE" type="CHAR(36)"/>
......
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="d.lechner" id="documentmanagement-2">
<createTable tableName="DOCUMENTMANAGEMENTLINK">
<column name="DOCUMENTMANAGEMENTLINKID" type="CHAR(36)">
<constraints primaryKey="true" primaryKeyName="PK_DOCUMENTMANAGEMENTLINK_DOCUMENTMANAGEMENTLINKID"/>
<changeSet author="d.lechner" id="documenttemplate-2">
<createTable tableName="DOCUMENTTEMPLATELINK">
<column name="DOCUMENTTEMPLATELINKID" type="CHAR(36)">
<constraints primaryKey="true" primaryKeyName="PK_DOCUMENTTEMPLATELINK_DOCUMENTTEMPLATELINKID"/>
</column>
<column name="DOCUMENTMANAGEMENT_ID_PARENT" type="CHAR(36)"/>
<column name="DOCUMENTMANAGEMENT_ID_CHILD" type="CHAR(36)"/>
<column name="DOCUMENTTEMPLATE_ID_PARENT" type="CHAR(36)"/>
<column name="DOCUMENTTEMPLATE_ID_CHILD" type="CHAR(36)"/>
<column name="USER_NEW" type="NVARCHAR(50)">
<constraints nullable="false"/>
</column>
......
......@@ -2,7 +2,7 @@
<preferences xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="3.1.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/preferences/3.1.0">
<name>_____PREFERENCES_PROJECT</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<projectName>xRM-Basic5</projectName>
<projectName>xRM-Basic - neon - 2019</projectName>
<jditoMaxContentSize v="57671680" />
<calendarCategoriesEvent>
<entry>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment