|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.acl.domain.Authority
public class Authority
This entity class represent s an Authority (permission/authority/group/category/other...)
| Constructor Summary | |
|---|---|
Authority(AuthorityDTO authority,
AuthorityService authorityService,
AclItemService aclItemService)
Constructor used by AuthorityFactory |
|
| Method Summary | |
|---|---|
List<?> |
getAllItems()
Return a list of all items manageable by authorities |
List<AuthorityDTO> |
getAuthorities(Pager pager)
Return a paginated list of anemic authorities |
AuthorityView |
getAuthorityView()
Return a read only Autority |
String |
getDescription()
Return the human readable description of this Authority |
List<?> |
getFreeItems()
getFreeItems |
Integer |
getId()
Authority unique identifier |
List<?> |
getItems()
Return a list of all items managed by this Authority |
String |
getName()
Return the name of the Authority |
boolean |
hasItems()
hasItems |
boolean |
remove()
Remove this Autority |
void |
save()
Save the internal state of the Authority |
void |
setNewItems(List<?> items)
Overwrite the items assigned to this Autority |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Authority(AuthorityDTO authority,
AuthorityService authorityService,
AclItemService aclItemService)
authority - authorityService - authorityService - a AuthorityService object.aclItemService - a AclItemService object.| Method Detail |
|---|
public List<AuthorityDTO> getAuthorities(Pager pager)
pager - a Pager object.
List object.public AuthorityView getAuthorityView()
public boolean hasItems()
hasItems
public void save()
public void setNewItems(List<?> items)
items - a List object.public boolean remove()
public String getDescription()
public Integer getId()
public List<?> getAllItems()
public List<?> getFreeItems()
getFreeItems
List object.public List<?> getItems()
public String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||