|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.acl.service.AuthorityServiceImpl
@Service(value="authorityService") public class AuthorityServiceImpl
AuthorityServiceImpl class.
| Constructor Summary | |
|---|---|
AuthorityServiceImpl()
|
|
| Method Summary | |
|---|---|
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 |
Integer |
getTotalItemsNumber()
getTotalItemsNumber |
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 |
void |
setAuthorityRepository(AuthorityRepository authorityRepository)
Setter for the field authorityRepository. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthorityServiceImpl()
| Method Detail |
|---|
public List<AuthorityDTO> getGroupAuthorities(Integer id)
getGroupAuthorities
getGroupAuthorities in interface AuthorityServiceid - a Integer object.
public List<AuthorityDTO> getFreeAuthoritiesForGroup()
getFreeAuthoritiesForGroup
getFreeAuthoritiesForGroup in interface AuthorityServiceList object.public List<AuthorityDTO> getAuthorities()
getAuthorities
getAuthorities in interface AuthorityServiceList object.
public boolean insertGroupAuthorities(Integer id,
List<Integer> authorities)
insertGroupAuthorities in interface AuthorityServiceid - a Integer object.authorities - a List object.
public List<AuthorityDTO> getFreeAuthorities(String username)
getFreeAuthorities
getFreeAuthorities in interface AuthorityServiceusername - a String object.
public List<AuthorityDTO> getUserAuthorities(String username)
getUserAuthorities
getUserAuthorities in interface AuthorityServiceusername - a String object.
public Integer getTotalItemsNumber()
getTotalItemsNumber
getTotalItemsNumber in interface PagerServiceInteger object.public AuthorityDTO getAuthority(Integer id)
getAuthority
getAuthority in interface AuthorityServiceid - a Integer object.
public List<AuthorityDTO> getAuthorities(Pager pager)
getAuthorities
getAuthorities in interface AuthorityServicepager - a Pager object.
public boolean removeAuthority(Integer id)
removeAuthority
removeAuthority in interface AuthorityServiceid - a Integer object.
public boolean save(AuthorityDTO authority)
save in interface AuthorityServiceauthority - a AuthorityDTO object.
public Integer getAuthoritiesNumber()
getAuthoritiesNumber
getAuthoritiesNumber in interface AuthorityServiceInteger object.public List<Integer> getIdItemsAuthority(Integer id)
getIdItemsAuthority
getIdItemsAuthority in interface AuthorityServiceid - a Integer object.
public void setAuthorityRepository(AuthorityRepository authorityRepository)
Setter for the field authorityRepository.
authorityRepository - a AuthorityRepository object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||