org.apache.myfaces.component
Interface UserRoleAware

All Known Implementing Classes:
HtmlCommandButton, HtmlCommandJSCookMenu, HtmlCommandLink, HtmlDataTable, HtmlInputDate, HtmlInputFileUpload, HtmlInputText, HtmlInputTextarea, HtmlMessage, HtmlMessages, HtmlOutputLabel, HtmlOutputText, HtmlPanelGroup, HtmlSelectManyCheckbox, HtmlSelectOneMenu, HtmlSelectOneRadio, UINavigationMenuItem

public interface UserRoleAware

Behavioral interface. Components that support user role checking should implement this interface to optimize property access.

Version:
$Revision: 1.4 $ $Date: 2004/10/13 11:50:56 $ $Log: UserRoleAware.java,v $ Revision 1.4 2004/10/13 11:50:56 matze renamed packages to org.apache Revision 1.3 2004/07/01 21:53:10 mwessendorf ASF switch Revision 1.2 2004/05/18 14:31:36 manolito user role support completely moved to components source tree Revision 1.1 2004/03/31 07:19:20 manolito changed name from UserRoleSupport
Author:
Manfred Geiler (latest modification by $Author: matze $)

Field Summary
static java.lang.String ENABLED_ON_USER_ROLE_ATTR
           
static java.lang.String VISIBLE_ON_USER_ROLE_ATTR
           
 
Method Summary
 java.lang.String getEnabledOnUserRole()
           
 java.lang.String getVisibleOnUserRole()
           
 void setEnabledOnUserRole(java.lang.String userRole)
           
 void setVisibleOnUserRole(java.lang.String userRole)
           
 

Field Detail

ENABLED_ON_USER_ROLE_ATTR

public static final java.lang.String ENABLED_ON_USER_ROLE_ATTR
See Also:
Constant Field Values

VISIBLE_ON_USER_ROLE_ATTR

public static final java.lang.String VISIBLE_ON_USER_ROLE_ATTR
See Also:
Constant Field Values
Method Detail

getEnabledOnUserRole

public java.lang.String getEnabledOnUserRole()

setEnabledOnUserRole

public void setEnabledOnUserRole(java.lang.String userRole)

getVisibleOnUserRole

public java.lang.String getVisibleOnUserRole()

setVisibleOnUserRole

public void setVisibleOnUserRole(java.lang.String userRole)