org.apache.myfaces.component.html.ext

Class HtmlMessages

Implemented Interfaces:
UserRoleAware

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

Version:
$Revision: 167533 $ $Date: 2005-01-22 20:47:45 +0100 (Sat, 22 Jan 2005) $
Authors:
Thomas Spiegl (latest modification by $Author: mmarinschek $)
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

HtmlMessages()

Method Summary

String
getClientId(FacesContext context)
String
getDetailFormat()
String
getEnabledOnUserRole()
String
getGlobalSummaryFormat()
String
getSummaryFormat()
String
getVisibleOnUserRole()
boolean
isRendered()
boolean
isReplaceIdWithLabel()
void
restoreState(FacesContext context, Object state)
Object
saveState(FacesContext context)
void
setDetailFormat(String detailFormat)
void
setEnabledOnUserRole(String enabledOnUserRole)
void
setGlobalSummaryFormat(String globalSummaryFormat)
void
setReplaceIdWithLabel(boolean replaceIdWithLabel)
void
setSummaryFormat(String summaryFormat)
void
setVisibleOnUserRole(String visibleOnUserRole)

Field Details

COMPONENT_TYPE

public static final String COMPONENT_TYPE

Constructor Details

HtmlMessages

public HtmlMessages()

Method Details

getClientId

public String getClientId(FacesContext context)

getDetailFormat

public String getDetailFormat()

getEnabledOnUserRole

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

getGlobalSummaryFormat

public String getGlobalSummaryFormat()

getSummaryFormat

public String getSummaryFormat()

getVisibleOnUserRole

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

isRendered

public boolean isRendered()

isReplaceIdWithLabel

public boolean isReplaceIdWithLabel()

restoreState

public void restoreState(FacesContext context,
                         Object state)

saveState

public Object saveState(FacesContext context)

setDetailFormat

public void setDetailFormat(String detailFormat)

setEnabledOnUserRole

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

setGlobalSummaryFormat

public void setGlobalSummaryFormat(String globalSummaryFormat)

setReplaceIdWithLabel

public void setReplaceIdWithLabel(boolean replaceIdWithLabel)

setSummaryFormat

public void setSummaryFormat(String summaryFormat)

setVisibleOnUserRole

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