|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.acl.service.AclNodeServiceImpl
@Service(value="nodesItemsService") public class AclNodeServiceImpl
Implementation class of AclItemService to use Node as Items
| Constructor Summary | |
|---|---|
AclNodeServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
addAuthority(AuthorityDTO authority)
add an authority with its items |
Boolean |
deleteAuthority(String authority)
delete an item |
Boolean |
deleteItem(Integer id)
delete an item |
Set<Integer> |
getAclItems(Set<AuthorityView> authorities)
the set of items permitted |
List<?> |
getAuthorityItems(List<Integer> items)
|
List<?> |
getFreeItems(List<Integer> items)
|
List<CategoryNodeONMSDTO> |
getItems()
|
void |
init()
|
void |
setAuthorityService(AuthorityService authorityService)
|
void |
setItemAclRepository(ItemAclRepository itemAclRepository)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AclNodeServiceImpl()
| Method Detail |
|---|
public void init()
public Boolean deleteAuthority(String authority)
AclItemService
deleteAuthority in interface AclItemServicepublic List<CategoryNodeONMSDTO> getItems()
getItems in interface AclItemServicepublic Set<Integer> getAclItems(Set<AuthorityView> authorities)
AclItemService
getAclItems in interface AclItemServicepublic Boolean deleteItem(Integer id)
AclItemService
deleteItem in interface AclItemServicepublic List<?> getAuthorityItems(List<Integer> items)
getAuthorityItems in interface AclItemServicepublic List<?> getFreeItems(List<Integer> items)
getFreeItems in interface AclItemServicepublic void addAuthority(AuthorityDTO authority)
AclItemService
addAuthority in interface AclItemService
public void setItemAclRepository(@Qualifier(value="categoryNodeRepository")
ItemAclRepository itemAclRepository)
public void setAuthorityService(AuthorityService authorityService)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||