|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.books.common.BaseBean
public class BaseBean
CAS Enterprise Application Development mit Java EE (EADJ) - 2007
Modul: Web-Tier (JSF)
Beschreibung:
Diese Klasse ist eine Utillity-Klasse und kapselt generelle Methoden fuer
die Java Beans in der Web-Applikation.
Copyright (c) 2007 bouquet dot ch, 3032 Hinterkappelen. All rights reseved.
Constructor Summary | |
---|---|
BaseBean()
Standard Konstruktor |
Method Summary | |
---|---|
protected javax.faces.context.FacesContext |
getFacesContext()
This method created a reference on the FacesContext. |
java.lang.Object |
getManagedBean(java.lang.String managedBeanName)
This method created a reference on the managed bean. |
protected javax.servlet.http.HttpServletRequest |
getRequest()
This method created a reference on the HttpServletRequest. |
protected javax.servlet.http.HttpServletResponse |
getResponse()
This method created a reference on the HttpServletResponse. |
protected javax.servlet.http.HttpSession |
getSession()
This method created a reference on the HttpSession. |
java.lang.String |
getText(java.lang.String id,
java.lang.String bundleName)
This method returns the i18n key of current locale |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseBean()
Method Detail |
---|
protected javax.faces.context.FacesContext getFacesContext()
{@link javax.faces.context.FacesContext}
protected javax.servlet.http.HttpSession getSession()
{@link javax.servlet.http.HttpSession}
protected javax.servlet.http.HttpServletRequest getRequest()
{@link javax.servlet.http.HttpServletRequest}
protected javax.servlet.http.HttpServletResponse getResponse()
{@link javax.servlet.http.HttpServletRequest}
public java.lang.Object getManagedBean(java.lang.String managedBeanName)
managedBeanName
- String
public java.lang.String getText(java.lang.String id, java.lang.String bundleName)
id
- String i18n keybundleName
- String name of the resourceBundle in the faces-config.xml
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |