Class WarlockGrantServiceImpl
-
- All Implemented Interfaces:
-
pro.fessional.wings.warlock.service.grant.WarlockGrantService
public class WarlockGrantServiceImpl implements WarlockGrantService- Since:
2021-03-26
trydofor
-
-
Constructor Summary
Constructors Constructor Description WarlockGrantServiceImpl()
-
Method Summary
Modifier and Type Method Description voidgrantRole(long roleId, @NotNull() GrantType type, @NotNull() Collection<Long> grant)voidpurgeRole(long roleId, @NotNull() GrantType type, @NotNull() Collection<Long> grant)voidgrantUser(long userId, @NotNull() GrantType type, @NotNull() Collection<Long> grant)voidpurgeUser(long userId, @NotNull() GrantType type, @NotNull() Collection<Long> grant)Map<Long, Set<Long>>entryUser(@NotNull() GrantType type, @NotNull() Collection<Long> userId)Map<Long, Set<Long>>entryRole(@NotNull() GrantType type, @NotNull() Collection<Long> roleId)voidsetJournalService(JournalService journalService)voidsetWinRoleGrantDao(WinRoleGrantDao winRoleGrantDao)voidsetWinUserGrantDao(WinUserGrantDao winUserGrantDao)-
-
Method Detail
-
grantRole
void grantRole(long roleId, @NotNull() GrantType type, @NotNull() Collection<Long> grant)
-
purgeRole
void purgeRole(long roleId, @NotNull() GrantType type, @NotNull() Collection<Long> grant)
-
grantUser
void grantUser(long userId, @NotNull() GrantType type, @NotNull() Collection<Long> grant)
-
purgeUser
void purgeUser(long userId, @NotNull() GrantType type, @NotNull() Collection<Long> grant)
-
entryUser
Map<Long, Set<Long>> entryUser(@NotNull() GrantType type, @NotNull() Collection<Long> userId)
-
entryRole
Map<Long, Set<Long>> entryRole(@NotNull() GrantType type, @NotNull() Collection<Long> roleId)
-
setJournalService
@Autowired() void setJournalService(JournalService journalService)
-
setWinRoleGrantDao
@Autowired() void setWinRoleGrantDao(WinRoleGrantDao winRoleGrantDao)
-
setWinUserGrantDao
@Autowired() void setWinUserGrantDao(WinUserGrantDao winUserGrantDao)
-
-
-
-