2019-01-20 12:54:56 +01:00
# Request Management
The request management works with different layers.
### Layers
Each layer contains out of __2 classes__ and __2 interfaces__ for it.
2019-02-03 01:01:26 +01:00
One class contains the __logic__ and the other class contains the __service__ . This makes the classes easier testable and mockable and follows the [SOLID Design Principles ](https://en.wikipedia.org/wiki/SOLID ).
2019-01-20 12:54:56 +01:00
2019-02-03 01:01:26 +01:00
#### Entity
A **requested entity** contains the attributes to manage the entity which should be handled by an action
2019-01-20 12:54:56 +01:00
#### Right
2019-02-03 01:01:26 +01:00
This is the basic request layer from which the other layers inhiere. The relation from a **requested right** to a **requested entity** is 1:0,1
2019-01-20 12:54:56 +01:00
#### User
2019-02-03 01:01:26 +01:00
A **requested user** contains is a parent of **requested action** .
2019-01-20 12:54:56 +01:00
#### Action
2019-02-03 01:01:26 +01:00
A **requested action** contains inhieres from **requested user** .