|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.appdef.shared.AppdefResourcePermissions
public class AppdefResourcePermissions
This object is used to represent a users permissions as they relate to a specific appdef resource identified by an AppdefEntityID.
Constructor Summary | |
---|---|
AppdefResourcePermissions(AuthzSubject subject,
AppdefEntityID eid,
boolean canView,
boolean canCreateChild,
boolean canModify,
boolean canRemove,
boolean canControl,
boolean canMeasure,
boolean canAlert)
|
Method Summary | |
---|---|
boolean |
canAlert()
|
boolean |
canControl()
Can the user control this resource |
boolean |
canCreateChild()
Can the user create a child object of this resource. |
boolean |
canMeasure()
Can the user monitor this resource |
boolean |
canModify()
Can the user modify the resource |
boolean |
canRemove()
Can the user remove this resource |
boolean |
canView()
Can the user view this resource |
AppdefEntityID |
getEntityId()
|
AuthzSubject |
getSubject()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppdefResourcePermissions(AuthzSubject subject, AppdefEntityID eid, boolean canView, boolean canCreateChild, boolean canModify, boolean canRemove, boolean canControl, boolean canMeasure, boolean canAlert)
subject
- - whoentityId
- - whatcanView
- - can the user view the entitycanCreateChild
- - can the user create a child entitycanModify
- - can the user modify the entitycanRemove
- - can the user remove the entitycanControl
- - can the user perform control actions on the entitycanMeasure
- - can the user look at measurement data for the entityMethod Detail |
---|
public boolean canView()
public boolean canCreateChild()
public boolean canModify()
public boolean canRemove()
public boolean canAlert()
public boolean canControl()
public boolean canMeasure()
public AuthzSubject getSubject()
public AppdefEntityID getEntityId()
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |