Commit 33ac96dcf40ee4f3e3fa816d91575051fb8aa270
1 parent
86f9bc2e
More in-lab fixes
- clarify javadocs of services about dependency loading - Typo fix in README
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
README.md
... | ... | @@ -14,7 +14,7 @@ Documentation |
14 | 14 | * complete documentation to precise one level dependencies for create and find methods |
15 | 15 | * clarify tree of rights |
16 | 16 | * clarify why the dependencies need to be managed in the service (to avoid to break the |
17 | -CRUD model, *i.e.* reppsitory methods are specialised to load the one-level | |
17 | +CRUD model, *i.e.* repository methods are specialised to load the one-level | |
18 | 18 | dependencies, thus cannot be used to load object as dependencies |
19 | 19 | |
20 | 20 | Tests | ... | ... |
src/main/java/fr/plil/sio/persistence/api/RightService.java
... | ... | @@ -15,8 +15,7 @@ public interface RightService { |
15 | 15 | |
16 | 16 | /** |
17 | 17 | * Create a sibling right attached to a parent right with a specific name in the database. |
18 | - * It is possible that two rights has the same name. | |
19 | - * Return only the right with the parent in the field parent. | |
18 | + * It is possible that two rights has the same name. Return only the right with the parent in the field parent. | |
20 | 19 | * |
21 | 20 | * |
22 | 21 | * @param name the name of the right | ... | ... |
src/main/java/fr/plil/sio/persistence/api/UserService.java
... | ... | @@ -5,6 +5,7 @@ public interface UserService { |
5 | 5 | /** |
6 | 6 | * Create an user with a specific name in the database and affected to an existing group. |
7 | 7 | * There is no two users with the same name in the database. |
8 | + * Only references at one level are loaded (i.e. the group where the user belong). | |
8 | 9 | * |
9 | 10 | * @param name the name of the user |
10 | 11 | * @param groupName the name of the group | ... | ... |