|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.arsdigita.toolbox.ui.ComponentAccess
Wrapper class that registers access checks (actions) to a Bebop component.
| Field Summary | |
static String |
versionId
|
| Constructor Summary | |
ComponentAccess(Component c)
|
|
ComponentAccess(Component c,
String check)
|
|
| Method Summary | |
void |
addAccessCheck(String check)
Add an access check to this component. |
boolean |
canAccess(PageState state,
Security security)
Do all the access checks registered to the component pass? |
ArrayList |
getAccessCheckList()
Get the access checks. |
Component |
getComponent()
Get the component. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String versionId
| Constructor Detail |
public ComponentAccess(Component c)
c - The component
public ComponentAccess(Component c,
String check)
c - The componentcheck - An access check| Method Detail |
public void addAccessCheck(String check)
check - The access checkpublic ArrayList getAccessCheckList()
public Component getComponent()
public boolean canAccess(PageState state,
Security security)
state - The page statesecurity - The Security implementation that will perform
the access checks
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||