Java Doc for FacesBean.java in  » IDE-Netbeans » visualweb.api.designer » com » sun » jsfcl » app » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » visualweb.api.designer » com.sun.jsfcl.app 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.jsfcl.app.FacesBean

All known Subclasses:   com.sun.jsfcl.app.AbstractPageBean,  com.sun.jsfcl.app.AbstractRequestBean,  com.sun.jsfcl.app.AbstractSessionBean,  com.sun.jsfcl.app.AbstractApplicationBean,
FacesBean
abstract public class FacesBean implements PhaseListener(Code)

FacesBean is the abstract base class for all page beans, session scope data beans, and application scope data beans that wish to participate in the request processing lifecycle. Concrete subclasses of this class will typically be registered as managed beans, so that they get created on demand (and added to the relevant scope's attributes).




Constructor Summary
public  FacesBean()
    

Method Summary
protected  voidafterApplyRequestValues()
    
protected  voidafterInvokeApplication()
    
public  voidafterPhase(PhaseEvent phaseEvent)
    
protected  voidafterProcessValidations()
    
protected  voidafterRenderResponse()
    
protected  voidafterRestoreView()
    
protected  voidafterUpdateModelValues()
    
protected  voidbeforeApplyRequestValues()
    
protected  voidbeforeInvokeApplication()
    
public  voidbeforePhase(PhaseEvent phaseEvent)
    
protected  voidbeforeProcessValidations()
    
protected  voidbeforeRenderResponse()
    
protected  voidbeforeRestoreView()
    
protected  voidbeforeUpdateModelValues()
    
protected  voiderase()
    

Erase previously submitted values for all input components on this page.

protected  voiderror(String summary)
    

Enqueue a global FacesMessage (not associated with any particular componen) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_ERROR.

protected  voiderror(UIComponent component, String summary)
    

Enqueue a FacesMessage associated with the specified component, containing the specified summary text and a message severity level of FacesMessage.SEVERITY_ERROR.

protected  voidfatal(String summary)
    

Enqueue a global FacesMessage (not associated with any particular componen) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_FATAL.

protected  voidfatal(UIComponent component, String summary)
    

Enqueue a FacesMessage associated with the specified component, containing the specified summary text and a message severity level of FacesMessage.SEVERITY_FATAL.

protected  ApplicationgetApplication()
    
protected  MapgetApplicationMap()
    
protected  ObjectgetBean(String name)
    

Return any attribute stored in request scope, session scope, or application scope under the specified name.

protected  FacesContextgetContext()
    

Return the FacesContext instance for the current request.

protected  ExternalContextgetExternalContext()
    
protected  FacesContextgetFacesContext()
    
protected  LifecyclegetLifecycle()
    
public  PhaseIdgetPhaseId()
    
protected  MapgetRequestMap()
    
protected  MapgetSessionMap()
    

Return a Map of the session scope attributes for the current user's session.

protected  ObjectgetValue(String expr)
    
protected  voidinfo(String summary)
    

Enqueue a global FacesMessage (not associated with any particular componen) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_INFO.

protected  voidinfo(UIComponent component, String summary)
    

Enqueue a FacesMessage associated with the specified component, containing the specified summary text and a message severity level of FacesMessage.SEVERITY_INFO.

protected  booleanisPostBack()
    

Return true if the current request was a post back for an existing view, rather than the creation of a new view.

protected  voidlog(String message)
    
protected  voidlog(String message, Throwable throwable)
    
protected  voidrenderResponse()
    

Skip any remaining request processing lifecycle phases for the current request, and go immediately to Render Response phase.

protected  voidsetBean(String name, Object value)
    

Replace the value of any attribute stored in request scope, session scope, or application scope under the specified name.

protected  voidsetValue(String expr, Object value)
    
protected  voidwarn(String summary)
    

Enqueue a global FacesMessage (not associated with any particular componen) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_WARN.

protected  voidwarn(UIComponent component, String summary)
    

Enqueue a FacesMessage associated with the specified component, containing the specified summary text and a message severity level of FacesMessage.SEVERITY_WARN.



Constructor Detail
FacesBean
public FacesBean()(Code)




Method Detail
afterApplyRequestValues
protected void afterApplyRequestValues()(Code)



afterInvokeApplication
protected void afterInvokeApplication()(Code)



afterPhase
public void afterPhase(PhaseEvent phaseEvent)(Code)

Call through to the "after" lifecycle callback method for the current phase.


Parameters:
  phaseEvent - PhaseEvent to be processed



afterProcessValidations
protected void afterProcessValidations()(Code)



afterRenderResponse
protected void afterRenderResponse()(Code)



afterRestoreView
protected void afterRestoreView()(Code)



afterUpdateModelValues
protected void afterUpdateModelValues()(Code)



beforeApplyRequestValues
protected void beforeApplyRequestValues()(Code)



beforeInvokeApplication
protected void beforeInvokeApplication()(Code)



beforePhase
public void beforePhase(PhaseEvent phaseEvent)(Code)

Call through to the "before" lifecycle callback method for the current phase.


Parameters:
  phaseEvent - PhaseEvent to be processed



beforeProcessValidations
protected void beforeProcessValidations()(Code)



beforeRenderResponse
protected void beforeRenderResponse()(Code)



beforeRestoreView
protected void beforeRestoreView()(Code)



beforeUpdateModelValues
protected void beforeUpdateModelValues()(Code)



erase
protected void erase()(Code)

Erase previously submitted values for all input components on this page. This method MUST be called if you have bound input components to database columns, and then arbitrarily navigate the underlying RowSet to a different row in an event handler method.




error
protected void error(String summary)(Code)

Enqueue a global FacesMessage (not associated with any particular componen) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_ERROR.


Parameters:
  summary - Summary text for this message



error
protected void error(UIComponent component, String summary)(Code)

Enqueue a FacesMessage associated with the specified component, containing the specified summary text and a message severity level of FacesMessage.SEVERITY_ERROR.


Parameters:
  component - Component with which this message is associated
Parameters:
  summary - Summary text for this message



fatal
protected void fatal(String summary)(Code)

Enqueue a global FacesMessage (not associated with any particular componen) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_FATAL.


Parameters:
  summary - Summary text for this message



fatal
protected void fatal(UIComponent component, String summary)(Code)

Enqueue a FacesMessage associated with the specified component, containing the specified summary text and a message severity level of FacesMessage.SEVERITY_FATAL.


Parameters:
  component - Component with which this message is associated
Parameters:
  summary - Summary text for this message



getApplication
protected Application getApplication()(Code)

Return the Application instance for the current web application.




getApplicationMap
protected Map getApplicationMap()(Code)

Return a Map of the application scope attributes for this web application.




getBean
protected Object getBean(String name)(Code)

Return any attribute stored in request scope, session scope, or application scope under the specified name. If no such attribute is found, and if this name is the registered name of a managed bean, cause a new instance of this managed bean to be created (and stored in an appropriate scope, if necessary) and returned. If no attribute exists, and no managed bean was created, return null.


Parameters:
  name - Name of the attribute to be retrieved



getContext
protected FacesContext getContext()(Code)

Return the FacesContext instance for the current request. This method has been restored for backwards compatibilty.




getExternalContext
protected ExternalContext getExternalContext()(Code)

Return the ExternalContext instance for the current request.




getFacesContext
protected FacesContext getFacesContext()(Code)

Return the FacesContext instance for the current request.




getLifecycle
protected Lifecycle getLifecycle()(Code)

Return the configured Lifecycle instance for the current web application.




getPhaseId
public PhaseId getPhaseId()(Code)

Return PhaseId.ANY_PHASE to indicate that we are interested in all phases.




getRequestMap
protected Map getRequestMap()(Code)

Return a Map of the request scope attributes for the current request.




getSessionMap
protected Map getSessionMap()(Code)

Return a Map of the session scope attributes for the current user's session. Note that calling this method will cause a session to be created if there is not already one associated with this request.




getValue
protected Object getValue(String expr)(Code)

Evaluate the specified value binding expression, and return the value that it points at.


Parameters:
  expr - Value binding expression (including delimiters)



info
protected void info(String summary)(Code)

Enqueue a global FacesMessage (not associated with any particular componen) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_INFO.


Parameters:
  summary - Summary text for this message



info
protected void info(UIComponent component, String summary)(Code)

Enqueue a FacesMessage associated with the specified component, containing the specified summary text and a message severity level of FacesMessage.SEVERITY_INFO.


Parameters:
  component - Component with which this message is associated
Parameters:
  summary - Summary text for this message



isPostBack
protected boolean isPostBack()(Code)

Return true if the current request was a post back for an existing view, rather than the creation of a new view. The result of this method may be used to conditionally execute one time setup that is only required when a page is first displayed.




log
protected void log(String message)(Code)

Log the specified message to the container's log file.


Parameters:
  message - Message to be logged



log
protected void log(String message, Throwable throwable)(Code)

Log the specified message and exception to the container's log file.


Parameters:
  message - Message to be logged
Parameters:
  throwable - Exception to be logged



renderResponse
protected void renderResponse()(Code)

Skip any remaining request processing lifecycle phases for the current request, and go immediately to Render Response phase. This method is typically invoked when you want to throw away input values provided by the user, instead of processing them.




setBean
protected void setBean(String name, Object value)(Code)

Replace the value of any attribute stored in request scope, session scope, or application scope under the specified name. If there is no such attribute, create a new request scope attribute under this name, and store the value there.




setValue
protected void setValue(String expr, Object value)(Code)

Evaluate the specified value binding expression, and update the value that it points at.


Parameters:
  expr - Value binding expression (including delimiters) thatmust point at a writeable property
Parameters:
  value - New value for the property pointed at by expr



warn
protected void warn(String summary)(Code)

Enqueue a global FacesMessage (not associated with any particular componen) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_WARN.


Parameters:
  summary - Summary text for this message



warn
protected void warn(UIComponent component, String summary)(Code)

Enqueue a FacesMessage associated with the specified component, containing the specified summary text and a message severity level of FacesMessage.SEVERITY_WARN.


Parameters:
  component - Component with which this message is associated
Parameters:
  summary - Summary text for this message



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.