mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Remove trailing whitespace
This commit is contained in:
parent
ec542be0fd
commit
b5e7f81ec2
|
@ -230,7 +230,7 @@ image:models/design/catering.svg[class design diagram - Catering]
|
||||||
=== Catalog
|
=== Catalog
|
||||||
image:models/design/catalog.svg[class design diagram - Catalog]
|
image:models/design/catalog.svg[class design diagram - Catalog]
|
||||||
[options="header"]
|
[options="header"]
|
||||||
|===
|
|===
|
||||||
|Class/Enumeration |Description
|
|Class/Enumeration |Description
|
||||||
|CatalogController |A Spring MVC Controller to handle requests to show ``Product``s
|
|CatalogController |A Spring MVC Controller to handle requests to show ``Product``s
|
||||||
|CatalogInitializer |An implementation of the DataInitializer to create dummy ``Product``s on application startup
|
|CatalogInitializer |An implementation of the DataInitializer to create dummy ``Product``s on application startup
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
@startuml
|
@startuml
|
||||||
|
|
||||||
participant ":Kunde" as Kunde
|
participant ":Kunde" as Kunde
|
||||||
participant "nutzerdatenbank:Nutzerdatenbank" as Nutzerdatenbank
|
participant "nutzerdatenbank:Nutzerdatenbank" as Nutzerdatenbank
|
||||||
participant "auftragsdatenbank:Auftragsdatenbank" as Auftragsdatenbank
|
participant "auftragsdatenbank:Auftragsdatenbank" as Auftragsdatenbank
|
||||||
|
|
||||||
Kunde --> Nutzerdatenbank : entferneAccount(this)
|
Kunde --> Nutzerdatenbank : entferneAccount(this)
|
||||||
activate Kunde
|
activate Kunde
|
||||||
|
@ -11,7 +11,7 @@ destroy Kunde
|
||||||
Nutzerdatenbank --> Auftragsdatenbank : entferneAccount(this)
|
Nutzerdatenbank --> Auftragsdatenbank : entferneAccount(this)
|
||||||
activate Auftragsdatenbank
|
activate Auftragsdatenbank
|
||||||
Auftragsdatenbank --> Nutzerdatenbank : boolean
|
Auftragsdatenbank --> Nutzerdatenbank : boolean
|
||||||
deactivate Nutzerdatenbank
|
deactivate Nutzerdatenbank
|
||||||
deactivate Auftragsdatenbank
|
deactivate Auftragsdatenbank
|
||||||
|
|
||||||
@enduml
|
@enduml
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@startuml
|
@startuml
|
||||||
|
|
||||||
participant ":Administrator" as Administrator
|
participant ":Administrator" as Administrator
|
||||||
participant "personal:Personal" as Personal
|
participant "personal:Personal" as Personal
|
||||||
participant "mitarbeiter:Mitarbeiter" as Mitarbeiter
|
participant "mitarbeiter:Mitarbeiter" as Mitarbeiter
|
||||||
|
|
||||||
Administrator --> Personal : nachfrageMitarbeiter(id)
|
Administrator --> Personal : nachfrageMitarbeiter(id)
|
||||||
|
|
|
@ -68,10 +68,10 @@ rectangle System <<component>> {
|
||||||
}
|
}
|
||||||
|
|
||||||
Kunde -[hidden]- System
|
Kunde -[hidden]- System
|
||||||
unauthentifizierter_nutzer -[hidden]left- Kunde
|
unauthentifizierter_nutzer -[hidden]left- Kunde
|
||||||
Administrator -[hidden]- System
|
Administrator -[hidden]- System
|
||||||
|
|
||||||
unauthentifizierter_nutzer -> ohne_authentifikation
|
unauthentifizierter_nutzer -> ohne_authentifikation
|
||||||
Administrator -> Administration
|
Administrator -> Administration
|
||||||
Kunde --down-> berechtigungen_eines_kundens
|
Kunde --down-> berechtigungen_eines_kundens
|
||||||
Nutzer ----> berechtigungen_eines_nutzers
|
Nutzer ----> berechtigungen_eines_nutzers
|
||||||
|
|
|
@ -50,7 +50,7 @@ package catering.catalog {
|
||||||
RentableCatalog ..> Catalog : "<bind> <T->Rentable"
|
RentableCatalog ..> Catalog : "<bind> <T->Rentable"
|
||||||
ConsumableCatalog --o CatalogController : "-consumableCatalog"
|
ConsumableCatalog --o CatalogController : "-consumableCatalog"
|
||||||
ConsumableCatalog ..> Catalog : "<bind> <T->Catalog"
|
ConsumableCatalog ..> Catalog : "<bind> <T->Catalog"
|
||||||
|
|
||||||
class CatalogController {
|
class CatalogController {
|
||||||
+ CatalogController()
|
+ CatalogController()
|
||||||
+ CatalogByEventategory(model : Model, form : Form) : String
|
+ CatalogByEventategory(model : Model, form : Form) : String
|
||||||
|
|
|
@ -9,7 +9,7 @@ participant Spring
|
||||||
== List Products for events of type ==
|
== List Products for events of type ==
|
||||||
|
|
||||||
User -> Catalog : catalog(type)
|
User -> Catalog : catalog(type)
|
||||||
activate User
|
activate User
|
||||||
activate Catalog
|
activate Catalog
|
||||||
Catalog -> Catalog : type == 'EVENTCATERING' ? rentableCatalog.findByType(type)
|
Catalog -> Catalog : type == 'EVENTCATERING' ? rentableCatalog.findByType(type)
|
||||||
Catalog -> Catalog : type != 'RENT_A_COOK' ? consumableCatalog.findByType(type)
|
Catalog -> Catalog : type != 'RENT_A_COOK' ? consumableCatalog.findByType(type)
|
||||||
|
@ -34,11 +34,11 @@ User -> Catalog : detail(id)
|
||||||
activate Catalog
|
activate Catalog
|
||||||
Catalog -> Inventory : inventory.findByProductIdentifier(id)
|
Catalog -> Inventory : inventory.findByProductIdentifier(id)
|
||||||
activate Inventory
|
activate Inventory
|
||||||
Catalog <-- Inventory : inventoryItem
|
Catalog <-- Inventory : inventoryItem
|
||||||
deactivate Inventory
|
deactivate Inventory
|
||||||
Catalog -> Salespoint : inventoryItem.getQuantity()
|
Catalog -> Salespoint : inventoryItem.getQuantity()
|
||||||
activate Salespoint
|
activate Salespoint
|
||||||
Catalog <-- Salespoint : quantity
|
Catalog <-- Salespoint : quantity
|
||||||
deactivate Salespoint
|
deactivate Salespoint
|
||||||
Catalog -> Spring : model.addAttribute(inventoryItem)
|
Catalog -> Spring : model.addAttribute(inventoryItem)
|
||||||
activate Spring
|
activate Spring
|
||||||
|
|
|
@ -31,7 +31,7 @@ public class Application {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The main application method
|
* The main application method
|
||||||
*
|
*
|
||||||
* @param args application arguments
|
* @param args application arguments
|
||||||
*/
|
*/
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|
Loading…
Reference in a new issue