|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.component.UserRoleUtils
| Constructor Summary | |
UserRoleUtils()
|
|
| Method Summary | |
static boolean |
isEnabledOnUserRole(javax.faces.component.UIComponent component)
Gets the comma separated list of enabling user roles from the given component and checks if current user is in one of these roles. |
static boolean |
isVisibleOnUserRole(javax.faces.component.UIComponent component)
Gets the comma separated list of visibility user roles from the given component and checks if current user is in one of these roles. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UserRoleUtils()
| Method Detail |
public static boolean isVisibleOnUserRole(javax.faces.component.UIComponent component)
component - a user role aware component
public static boolean isEnabledOnUserRole(javax.faces.component.UIComponent component)
component - a user role aware component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||