|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.security.entitlements.admin.rbac.DataTableElement
com.bea.security.entitlements.admin.rbac.BaseTableElement
com.bea.security.entitlements.admin.rbac.AttributableEntitlementElement
com.bea.security.entitlements.admin.rbac.PermissionElement
The attribute element class represents an attribute. It's likely that this class could be replaced by the rbac api version directly, but it will need to be wrapped with the DataTableElement object to allow for row selection
Constructor Summary | |
PermissionElement()
Default constructor |
|
PermissionElement(com.bea.ales.rbac.RBAC_Permission permission)
Construtor to create a new Permission Element object |
|
PermissionElement(java.lang.String name)
Constructor to create a new Permission element |
|
PermissionElement(java.lang.String permName,
com.bea.ales.rbac.RBAC_Permission permission)
Construtor to create a new Permission Element object |
Method Summary | |
java.util.List |
getAttributes()
Get direct Attributes associated to this Permission element. |
java.lang.String |
getOperation()
Get operation element set to permission element |
com.bea.ales.rbac.RBAC_Permission |
getPermission()
Get RBAC_Permission set to this current Permission element |
java.lang.String |
getResource()
Get resource associated to this permission element |
void |
setOperation(java.lang.String action)
SEt a new operation to this element |
void |
setPermission(com.bea.ales.rbac.RBAC_Permission permission)
Set a new RBAC permission object to this permission element |
void |
setResource(java.lang.String resource)
Set a new resource to this permission element |
Methods inherited from class com.bea.security.entitlements.admin.rbac.AttributableEntitlementElement |
addAttribute, setAttributes |
Methods inherited from class com.bea.security.entitlements.admin.rbac.BaseTableElement |
getName, setName |
Methods inherited from class com.bea.security.entitlements.admin.rbac.DataTableElement |
getcolor, getColorStyle, isSelected, setSelected |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PermissionElement()
public PermissionElement(com.bea.ales.rbac.RBAC_Permission permission)
permission
- - permission object to set, name would be permission.getName()public PermissionElement(java.lang.String name)
name
- Name of the Permission elementpublic PermissionElement(java.lang.String permName, com.bea.ales.rbac.RBAC_Permission permission)
permName
- - Permission Name to createpermission
- - permission object to useMethod Detail |
public java.util.List getAttributes()
getAttributes
in class AttributableEntitlementElement
public java.lang.String getOperation()
public com.bea.ales.rbac.RBAC_Permission getPermission()
public java.lang.String getResource()
public void setOperation(java.lang.String action)
action
- public void setPermission(com.bea.ales.rbac.RBAC_Permission permission)
permission
- new RBAC_Permission to setpublic void setResource(java.lang.String resource)
resource
- new resource to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |