From dcf1fe5dcd2c4872920c5b8fc52910610a4accb7 Mon Sep 17 00:00:00 2001 From: Maria Hofmann <m.hofmann@adito.de> Date: Mon, 6 May 2019 15:43:27 +0200 Subject: [PATCH] [Projekt: Entwicklung - Neon][TicketNr.: 1037814][Anforerungsdefinition / Konzeption: Kontaktmanagement - Datenschutz] --- .../Data_alias/basic/2019.2/changelog.xml | 1 + .../basic/2019.2/create_DataPrivacy.xml | 36 +++++++++++++++++++ .../DataPrivacy_entity/DataPrivacy_entity.aod | 20 +++++++++++ process/DataPrivacy_lib/DataPrivacy_lib.aod | 9 +++++ process/DataPrivacy_lib/process.js | 0 .../DataPrivacy_report/DataPrivacy_report.aod | 16 +++++++++ report/DataPrivacy_report/reportData.jrxml | 27 ++++++++++++++ 7 files changed, 109 insertions(+) create mode 100644 .liquibase/Data_alias/basic/2019.2/create_DataPrivacy.xml create mode 100644 entity/DataPrivacy_entity/DataPrivacy_entity.aod create mode 100644 process/DataPrivacy_lib/DataPrivacy_lib.aod create mode 100644 process/DataPrivacy_lib/process.js create mode 100644 report/DataPrivacy_report/DataPrivacy_report.aod create mode 100644 report/DataPrivacy_report/reportData.jrxml diff --git a/.liquibase/Data_alias/basic/2019.2/changelog.xml b/.liquibase/Data_alias/basic/2019.2/changelog.xml index 8dd34b786f9..ba0b7f7bfad 100644 --- a/.liquibase/Data_alias/basic/2019.2/changelog.xml +++ b/.liquibase/Data_alias/basic/2019.2/changelog.xml @@ -157,4 +157,5 @@ <include relativeToChangelogFile="true" file="CampaignManagement/create_campaignCostCategory.xml"/> <include relativeToChangelogFile="true" file="AditoBasic/ActivityDirectionKeyword_add_icon_attr.xml"/> + <include relativeToChangelogFile="true" file="create_DataPrivacy"/> </databaseChangeLog> diff --git a/.liquibase/Data_alias/basic/2019.2/create_DataPrivacy.xml b/.liquibase/Data_alias/basic/2019.2/create_DataPrivacy.xml new file mode 100644 index 00000000000..0211eae0bc3 --- /dev/null +++ b/.liquibase/Data_alias/basic/2019.2/create_DataPrivacy.xml @@ -0,0 +1,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="m.hofmann" id=""> + <createTable tableName="DATA_PRIVACY"> + + <column name="ROW_ID" type="CHAR(36)"> + <constraints nullable="false"/> + </column> + <column name="RIGHT" type="NVARCHAR(200)"> + <constraints nullable="false"/> + </column> + <column name="USE" type="CHAR(36)"> + <constraints nullable="false"/> + </column> + <column name="TABLENAME" type="NVARCHAR(%=)"> + <constraints nullable="false"/> + </column> + <column name="VALID_TO" type="TIMESTAMP"> + + </column> + + <!-- + eigene id?, contact? + --> + + <column name="USER_NEW" type="NVARCHAR(50)"> + <constraints nullable="false"/> + </column> + <column name="DATE_NEW" type="TIMESTAMP"> + <constraints nullable="false"/> + </column> + <column name="USER_EDIT" type="NVARCHAR(50)" /> + <column name="DATE_EDIT" type="TIMESTAMP" /> + </createTable> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/entity/DataPrivacy_entity/DataPrivacy_entity.aod b/entity/DataPrivacy_entity/DataPrivacy_entity.aod new file mode 100644 index 00000000000..600a8c4b5b4 --- /dev/null +++ b/entity/DataPrivacy_entity/DataPrivacy_entity.aod @@ -0,0 +1,20 @@ +<?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.4" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.4"> + <name>DataPrivacy_entity</name> + <majorModelMode>DISTRIBUTED</majorModelMode> + <title>DataPrivacy</title> + <image>VAADIN:BOOK</image> + <titlePlural>DataPrivacies</titlePlural> + <recordContainer>db</recordContainer> + <entityFields> + <entityProvider> + <name>#PROVIDER</name> + </entityProvider> + </entityFields> + <recordContainers> + <dbRecordContainer> + <name>db</name> + <alias>Data_alias</alias> + </dbRecordContainer> + </recordContainers> +</entity> diff --git a/process/DataPrivacy_lib/DataPrivacy_lib.aod b/process/DataPrivacy_lib/DataPrivacy_lib.aod new file mode 100644 index 00000000000..87e4a73a1b3 --- /dev/null +++ b/process/DataPrivacy_lib/DataPrivacy_lib.aod @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<process xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.2.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/process/1.2.1"> + <name>DataPrivacy_lib</name> + <majorModelMode>DISTRIBUTED</majorModelMode> + <process>%aditoprj%/process/DataPrivacy_lib/process.js</process> + <variants> + <element>LIBRARY</element> + </variants> +</process> diff --git a/process/DataPrivacy_lib/process.js b/process/DataPrivacy_lib/process.js new file mode 100644 index 00000000000..e69de29bb2d diff --git a/report/DataPrivacy_report/DataPrivacy_report.aod b/report/DataPrivacy_report/DataPrivacy_report.aod new file mode 100644 index 00000000000..5b80c94f122 --- /dev/null +++ b/report/DataPrivacy_report/DataPrivacy_report.aod @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<report xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.2.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/report/1.2.0"> + <name>DataPrivacy_report</name> + <majorModelMode>DISTRIBUTED</majorModelMode> + <alias>Data_alias</alias> + <reportData>%aditoprj%/report/DataPrivacy_report/reportData.jrxml</reportData> + <reportType>JASPER</reportType> + <ribbon> + <name>ribbon</name> + <ribbonTasks> + <ribbonTask> + <name>TASK_REPORT</name> + </ribbonTask> + </ribbonTasks> + </ribbon> +</report> diff --git a/report/DataPrivacy_report/reportData.jrxml b/report/DataPrivacy_report/reportData.jrxml new file mode 100644 index 00000000000..22d85f067cf --- /dev/null +++ b/report/DataPrivacy_report/reportData.jrxml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report1" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="e7a916c8-3f9a-497d-84bb-3909b15271ea"> + <background> + <band splitType="Stretch"/> + </background> + <title> + <band height="79" splitType="Stretch"/> + </title> + <pageHeader> + <band height="35" splitType="Stretch"/> + </pageHeader> + <columnHeader> + <band height="61" splitType="Stretch"/> + </columnHeader> + <detail> + <band height="125" splitType="Stretch"/> + </detail> + <columnFooter> + <band height="45" splitType="Stretch"/> + </columnFooter> + <pageFooter> + <band height="54" splitType="Stretch"/> + </pageFooter> + <summary> + <band height="42" splitType="Stretch"/> + </summary> +</jasperReport> -- GitLab