Class WarlockPermServiceDummy
-
- All Implemented Interfaces:
-
pro.fessional.wings.warlock.service.perm.WarlockPermService
public class WarlockPermServiceDummy implements WarlockPermService
- Since:
2022-07-11
trydofor
-
-
Constructor Summary
Constructors Constructor Description WarlockPermServiceDummy()
-
Method Summary
Modifier and Type Method Description Map<Long, String>loadPermAll()Load all Perm id and code (scopes + `. voidcreate(@NotNull() String scopes, @NotNull() Collection<WarlockPermService.Act> acts)Create multiple perm at scopes from actions voidmodify(long permId, @NotNull() String remark)Modify the remark/comment of Perm -
-
Method Detail
-
loadPermAll
Map<Long, String> loadPermAll()
Load all Perm id and code (scopes + `.` + action) on time
- Returns:
map of id and code
-
create
void create(@NotNull() String scopes, @NotNull() Collection<WarlockPermService.Act> acts)
Create multiple perm at scopes from actions
- Parameters:
scopes- scopesacts- action
-
-
-
-