|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for all objects that have nested buttons
Method Summary | |
Permission |
getButtonPermission(ControlButton button)
Retrieves the permission for the given button |
void |
setButtonPermission(ControlButton button,
Permission permission)
Sets whether a command button should be displayed by specifying an Access Control List. |
boolean |
showButton(ControlButton button,
Principal principal)
Checks if the button can be displayed. |
Method Detail |
public Permission getButtonPermission(ControlButton button)
button
- Button constant
null
public boolean showButton(ControlButton button, Principal principal)
button
- The Button to queryprincipal
- The principal object
true
if the button should be displayedpublic void setButtonPermission(ControlButton button, Permission permission)
button
- The Button to querypermission
- Permission
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |