org.apache.myfaces.component.html.ext

Class HtmlCommandLink

Implemented Interfaces:
UserRoleAware
Known Direct Subclasses:
HtmlCommandNavigation, HtmlCommandSortHeader

public class HtmlCommandLink
extends javax.faces.component.html.HtmlCommandLink
implements UserRoleAware

Version:
$Revision: 167522 $ $Date: 2005-01-16 21:09:54 +0100 (Sun, 16 Jan 2005) $
Authors:
Thomas Spiegl (latest modification by $Author: matzew $)
Manfred Geiler

Field Summary

static String
COMPONENT_TYPE

Fields inherited from interface org.apache.myfaces.component.UserRoleAware

ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR

Constructor Summary

HtmlCommandLink()

Method Summary

String
getClientId(FacesContext context)
String
getEnabledOnUserRole()
String
getTarget()
String
getVisibleOnUserRole()
boolean
isRendered()
void
restoreState(FacesContext context, Object state)
Object
saveState(FacesContext context)
void
setEnabledOnUserRole(String enabledOnUserRole)
void
setTarget(String target)
void
setVisibleOnUserRole(String visibleOnUserRole)

Field Details

COMPONENT_TYPE

public static final String COMPONENT_TYPE

Constructor Details

HtmlCommandLink

public HtmlCommandLink()

Method Details

getClientId

public String getClientId(FacesContext context)

getEnabledOnUserRole

public String getEnabledOnUserRole()
Specified by:
getEnabledOnUserRole in interface UserRoleAware

getTarget

public String getTarget()

getVisibleOnUserRole

public String getVisibleOnUserRole()
Specified by:
getVisibleOnUserRole in interface UserRoleAware

isRendered

public boolean isRendered()

restoreState

public void restoreState(FacesContext context,
                         Object state)

saveState

public Object saveState(FacesContext context)

setEnabledOnUserRole

public void setEnabledOnUserRole(String enabledOnUserRole)
Specified by:
setEnabledOnUserRole in interface UserRoleAware

setTarget

public void setTarget(String target)

setVisibleOnUserRole

public void setVisibleOnUserRole(String visibleOnUserRole)
Specified by:
setVisibleOnUserRole in interface UserRoleAware