Interface WarlockPermService
-
- All Implemented Interfaces:
public interface WarlockPermService- Since:
2021-03-05
trydofor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumWarlockPermService.Janepublic classWarlockPermService.Act
-
Method Summary
Modifier and Type Method Description abstract Map<Long, String>loadPermAll()Load all Perm id and code (scopes + `. abstract voidcreate(@NotNull() String scopes, @NotNull() Collection<WarlockPermService.Act> acts)Create multiple perm at scopes from actions voidcreate(@NotNull() String scopes, Array<WarlockPermService.Act> acts)voidcreate(@NotNull() String scopes, @NotNull() String action, @NotNull() String remark)abstract voidmodify(long permId, @NotNull() String remark)Modify the remark/comment of Perm -
-
Method Detail
-
loadPermAll
abstract Map<Long, String> loadPermAll()
Load all Perm id and code (scopes + `.` + action) on time
- Returns:
map of id and code
-
create
abstract void create(@NotNull() String scopes, @NotNull() Collection<WarlockPermService.Act> acts)
Create multiple perm at scopes from actions
- Parameters:
scopes- scopesacts- action
-
create
void create(@NotNull() String scopes, Array<WarlockPermService.Act> acts)
-
-
-
-