Interface IAuthorityService
-
- All Known Implementing Classes:
AuthorityService
public interface IAuthorityService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Authority>findAll()java.util.List<Authority>findAllByIds(java.util.List<java.lang.String> ids)java.util.List<Authority>getAllPermissions()java.util.List<Authority>getAllRoles()AuthoritygetOne(java.lang.String id)AuthoritygetOrCreate(java.lang.String name)AuthoritygetOrCreatePermission(java.lang.String name)AuthoritygetOrCreateRole(java.lang.String name)
-
-
-
Method Detail
-
findAll
java.util.List<Authority> findAll()
-
getOrCreate
Authority getOrCreate(java.lang.String name)
-
getOrCreatePermission
Authority getOrCreatePermission(java.lang.String name)
-
getOrCreateRole
Authority getOrCreateRole(java.lang.String name)
-
getAllPermissions
java.util.List<Authority> getAllPermissions()
-
getAllRoles
java.util.List<Authority> getAllRoles()
-
getOne
Authority getOne(java.lang.String id)
-
findAllByIds
java.util.List<Authority> findAllByIds(java.util.List<java.lang.String> ids)
-
-