org.apache.myfaces.component

Interface UserRoleAware

Known Implementing Classes:
Div, HtmlCommandButton, HtmlCommandJSCookMenu, HtmlCommandLink, HtmlCommandNavigation, HtmlCommandSortHeader, HtmlDataScroller, HtmlDataTable, HtmlGraphicImage, HtmlInputDate, HtmlInputFileUpload, HtmlInputSecret, HtmlInputText, HtmlInputTextarea, HtmlInputTextHelp, HtmlMessage, HtmlMessages, HtmlOutputLabel, HtmlOutputText, HtmlPanelGrid, HtmlPanelGroup, HtmlPanelNavigation, HtmlSelectBooleanCheckbox, HtmlSelectManyCheckbox, HtmlSelectManyListbox, HtmlSelectManyMenu, HtmlSelectOneListbox, HtmlSelectOneMenu, HtmlSelectOneRadio, HtmlTag, InputHtml, SelectOneCountry, SelectOneLanguage, UINavigationMenuItem

public interface UserRoleAware

Behavioral interface. Components that support user role checking should implement this interface to optimize property access.
Version:
$Revision: 169646 $ $Date: 2005-05-11 17:34:57 +0200 (Wed, 11 May 2005) $
Author:
Manfred Geiler (latest modification by $Author: grantsmith $)

Field Summary

static String
ENABLED_ON_USER_ROLE_ATTR
static String
VISIBLE_ON_USER_ROLE_ATTR

Method Summary

String
getEnabledOnUserRole()
String
getVisibleOnUserRole()
void
setEnabledOnUserRole(String userRole)
void
setVisibleOnUserRole(String userRole)

Field Details

ENABLED_ON_USER_ROLE_ATTR

public static final String ENABLED_ON_USER_ROLE_ATTR

VISIBLE_ON_USER_ROLE_ATTR

public static final String VISIBLE_ON_USER_ROLE_ATTR

Method Details

getEnabledOnUserRole

public String getEnabledOnUserRole()

getVisibleOnUserRole

public String getVisibleOnUserRole()

setEnabledOnUserRole

public void setEnabledOnUserRole(String userRole)

setVisibleOnUserRole

public void setVisibleOnUserRole(String userRole)