public interface AuthorityService extends PagerService
AuthorityService interface.
Modifier and Type | Method and Description |
---|---|
List<AuthorityDTO> |
getAuthorities()
getAuthorities
|
List<AuthorityDTO> |
getAuthorities(Pager pager)
getAuthorities
|
Integer |
getAuthoritiesNumber()
getAuthoritiesNumber
|
AuthorityDTO |
getAuthority(Integer id)
getAuthority
|
List<AuthorityDTO> |
getFreeAuthorities(String username)
getFreeAuthorities
|
List<AuthorityDTO> |
getFreeAuthoritiesForGroup()
getFreeAuthoritiesForGroup
|
List<AuthorityDTO> |
getGroupAuthorities(Integer id)
getGroupAuthorities
|
List<Integer> |
getIdItemsAuthority(Integer id)
getIdItemsAuthority
|
List<AuthorityDTO> |
getUserAuthorities(String username)
getUserAuthorities
|
boolean |
insertGroupAuthorities(Integer id,
List<Integer> authorities)
Insert a list of authorities assigned to a group
|
boolean |
removeAuthority(Integer id)
removeAuthority
|
boolean |
save(AuthorityDTO authority)
store an authority
|
getTotalItemsNumber
boolean save(AuthorityDTO authority)
authority
- a AuthorityDTO
object.AuthorityDTO getAuthority(Integer id)
getAuthority
id
- a Integer
object.boolean removeAuthority(Integer id)
removeAuthority
id
- a Integer
object.List<AuthorityDTO> getAuthorities(Pager pager)
getAuthorities
pager
- a Pager
object.List<AuthorityDTO> getAuthorities()
getAuthorities
List<AuthorityDTO> getUserAuthorities(String username)
getUserAuthorities
username
- a String
object.List<AuthorityDTO> getFreeAuthorities(String username)
getFreeAuthorities
username
- a String
object.List<AuthorityDTO> getFreeAuthoritiesForGroup()
getFreeAuthoritiesForGroup
List<AuthorityDTO> getGroupAuthorities(Integer id)
getGroupAuthorities
id
- a Integer
object.List<Integer> getIdItemsAuthority(Integer id)
getIdItemsAuthority
id
- a Integer
object.Integer getAuthoritiesNumber()
getAuthoritiesNumber
Copyright © 2015. All Rights Reserved.