Revize b439853d
Přidáno uživatelem Michal Linha před asi 4 roky(ů)
src/main/java/vldc/aswi/service/ConfigurationManager.java | ||
---|---|---|
16 | 16 |
*/ |
17 | 17 |
List<Configuration> getConfigurations(); |
18 | 18 |
|
19 |
/** |
|
20 |
* Gets configuration according to its ID |
|
21 |
* @param id ID of configuration |
|
22 |
* @return configuration by ID |
|
23 |
*/ |
|
19 | 24 |
Configuration getConfigurationById(Long id); |
25 |
|
|
26 |
/** |
|
27 |
* Saves configuration and its contents into database |
|
28 |
* @param newConfiguration configuration to save |
|
29 |
* @param id id of configuration, if not empty configuration is updated |
|
30 |
* @return saved configuration |
|
31 |
*/ |
|
32 |
Configuration saveConfiguration(Configuration newConfiguration, String id); |
|
20 | 33 |
} |
Také k dispozici: Unified diff
re #7881 ability to create or edit a user configuration and set or edit its basic attributes, operator value and configuration name are validated, if operator value is wrong user is redirected to main page, auto increment functionality changed to IDENTITY