0% found this document useful (0 votes)
21 views1 page

Designklassenmodell

The document outlines a system architecture for user and task management, detailing various views, models, and their relationships. It includes functionalities for user login, role management, and task operations such as editing and deleting. The structure emphasizes the interactions between users, roles, tasks, and processes within the application.

Uploaded by

edmondhasanispam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views1 page

Designklassenmodell

The document outlines a system architecture for user and task management, detailing various views, models, and their relationships. It includes functionalities for user login, role management, and task operations such as editing and deleting. The structure emphasizes the interactions between users, roles, tasks, and processes within the application.

Uploaded by

edmondhasanispam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

RolesView

have ►

UserOverviewView
LoginView ProfilView

RolesViewModel

LoginViewModel UserViewModel UserOverviewViewModel + Edit(Id: Integer, Name: String): IActionResult


+ Delete(Id: Integer): IActionResult
- E-Mail: String - Name: String *
v has + EditUser(Id: Integer): IActionResult
- Password: String - E-Mail: String
1 1
+ HashPasswort(Password: String) + Edit(): IActionResult
+ Login(): IActionResult + ResetPasswort(): IActionResult

Brauchen wir den Admin noch hier


- Users - Roles - Roles
* * *

User Rolle Administrator


- Id: Integer - Name: String *
- Name: String have ► - Roles - AccessRights: List<String> *
- Password: String + Edit(Name: String, AccessRights: List(String)): Boolean
* *
- E-Mail: String + Delete(): Boolean
- IsActive: Boolean
- PersonResponsible + Edit(Name: String, Mail: String, Roles: List(Role), Status: Boolean): Boolean
* + LoginUser(Mail: String, Password: String): Boolean * * *
+ ResetPassword() - RolesResponsible - Roles - Rollen

1 1 * 1 *
- Subject - Manager - Manager - Subject

administer ▼
can be ◄ have
accessed
started by ▲
has ► and references
overseen to ▲
by ▲
ProcessOverviewViewModel ProcessOverviewView
has ►
+ Edit(Id: Integer): IActionResult
+ Create(): IActionResult
are in ▼ + Delete(Id: Integer): IActionResult

VorgangUebersichtView OperationOverviewViewModel - Processes


* * 1
+ EditOperation(Id: Integer): IActionResult
+ CloseOperation(Id: Integer): IActionResult 1 *
Process
Operation - Id: Integer
1 - Name: String
+ Id: Integer
- Description: String - Processes ◄ has
TargetedDate: DateTime is started from ► -Process
- Status: String + Delete(): Boolean *
* 1
has ► - Operations - ContractType: String + Edit(Tasks: List(Task), Roles: List(Role), name: String, Description: String): Boolean
- Description
*
+ Edit(TargetDate: DateTime, Status: String, ContractType: String, *
has ▲ Manager: User, Subject: User, Department: Department): Boolean
+ Archive(): Boolean * ProcessViewModel
+ Close(): Boolean administer ▼
- Id: Integer EditProcessView
* + LockWrite(): Boolean - Name: String
- Beschreibung: String
OperationViewModel
* 1 * + Create(): IActionResult
+ Id: Integer + Edit(): IActionResult CreateProcessView
EditVorgangView + Name: String + AddTaskTemplates(): IActionResult
+ Description: String + SubmitSelectedTaskTemplates(Templates: List(TaskTemplates)): IActionResult
+ Edit(): IActionResult + AddRole(Input: Role): IActionResult

1 * 1

- Abteilung
1
references ►
- Department
Department has ▲
1 have ▼
references ► - Department - Name: String
has ▼ 1

*
- Department
has ▼

has ►

TaskTemplateSelectionView
- Tasks - Tasks
1 * * 1 - TaskTemplates - Templates
* * 1
EditTaskView TaskViewModel Task
TaskTemplate TaskTemplateOverviewViewModel
- Id: Integer - Id: Integer
- Name: String - Name: String - Id: Integer + Edit(Id: Integer): IActionResult
- Name: String TaskTemplateOverviewView
- Description: String - Description: String + Delete(Id: Integer):IActionResult
is specific fo ► - Description: String
- Dauer: DateTime - TargetedDate: DateTime + Create(): IActionResult
- StartDate: DateTime 1 - Duration: DateTime
+ Edit(): IActionResult - ContractTypes: List(String)
- Status: String
- Notes: String created from ► - Template + Edit(Id: Integer, Name: String, Description: String, Duration: DateTime,
* 1 LinkedTaskTemplates: List(TaskTemplate), ContractTypes: List(String)): Boolean 1
+ Edit(Name: String, PersonResponsible: User, Description: String, StartDate: DateTime,
+ Delete(): Boolean - Templates ◄ has
TargetedDate: DateTime, Status: String, Notes: String): Boolean - PreviousTasks
+ Archiv(): Boolean *
*

* *
- Tasks

dependent on ▲
AvailableTasksView TaskOverviewViewModel
has ▲
+ Edit(Id: Integer): IActionResult
+ ChangeStatus(Id: Integer): IActionResult 1 TaskTemplateViewModel CreateTaskTemplateView
- Id: Integer
TasksToDoView - Name: String
- Description: String
- Duration: DateTime EditTaskTemplateView
+ AddLinkedTaskTemplate(): IActionResult
+ AddContractType(Type: String): IActionResult
+ AddRole(Input: Role): IActionResult
+ Edit(): IActionResult
+ Create(): IActionResult

You might also like