From 93e9e56dad8c4e7cdec0725adddbe2710d6de597 Mon Sep 17 00:00:00 2001 From: "hannes.kuchelmeister" Date: Thu, 6 Feb 2020 10:58:19 +0100 Subject: [PATCH] specify daos in more detail --- Additional_Notes/class_diagram.plantuml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Additional_Notes/class_diagram.plantuml b/Additional_Notes/class_diagram.plantuml index f27e5ec..789ac8c 100644 --- a/Additional_Notes/class_diagram.plantuml +++ b/Additional_Notes/class_diagram.plantuml @@ -82,8 +82,22 @@ package Model{ } package DAO { - class ConfigurationDAO - class ProductStructureDAO + class ConfigurationDAO { + -{static} instance : ConfigurationDAO + +{static} getInstance() : ConfigurationDAO + + getAll_as_objects() : List + + getAll() : JSON + + add(config : JSON) + + exists(config : JSON) : bool + } + class ProductStructureDAO { + -{static} instance : ProductStructureDAO + +{static} getInstance() : ProductStructureDAO + +get_as_objects() : ProductStructureModel + +get() : JSON + +replace(structure : JSON) + -get_highest_id() : Integer + } } package Scoring {