Java Doc for BaseControllerImpl.java in  » Project-Management » EmForce » ru » emdev » EmForge » web » bean » 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 » Project Management » EmForce » ru.emdev.EmForge.web.bean 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   ru.emdev.EmForge.web.bean.BaseControllerImpl

All known Subclasses:   org.emforge.jbpm.web.bean.TaskController,  ru.emdev.EmForge.security.RegActivationController,  org.emforge.jbpm.web.bean.WorkflowListController,  ru.emdev.EmForge.wiki.web.bean.BaseWikiControllerImpl,  org.emforge.jbpm.web.bean.NewTaskController,  org.emforge.projectmanager.web.bean.MilestoneController,  org.emforge.jbpm.web.bean.MainController,  org.emforge.jbpm.web.bean.WorkflowController,  org.emforge.projectmanager.web.bean.ProjectController,  org.emforge.projectmanager.web.bean.ProjectListController,  ru.emdev.EmForge.security.RegisterController,  org.emforge.jbpm.web.bean.DeployForm,  ru.emdev.EmForge.svn.web.SvnBaseController,
BaseControllerImpl
abstract public class BaseControllerImpl implements InitializingBean(Code)
Base controller
author:
   spopov


Field Summary
final protected  Loglogger
    
protected  EmForgeContextm_appContext
    
protected  AttachmentServicem_attachmentService
    
protected  MainMenuControllerm_mainMenu
    
protected  TrailControllerm_trail
    
protected  WikiEnginem_wikiEngine
    


Method Summary
public  voidaddErrorMessage(String i_message, String i_detailedMessage)
    
public  voidaddInfoMessage(String i_message, String i_detailedMessage)
    
public  voidaddMessage(String i_for, String i_message, String i_detailedMessage, Severity i_severity)
    
public  voidaddMessage(String i_message, String i_detailedMessage, Severity i_severity)
    
public  voidafterPropertiesSet()
    
protected  ObjectgetActionParameterValue(String parameterName, ActionEvent event)
    
public  EmForgeContextgetAppContext()
    
protected  ApplicationgetApplication()
    

Return the Application instance for the current web application.

protected  ObjectgetBean(String beanName)
    
public  EmForgeUserDetailsgetCurrentUser()
    
protected  FacesContextgetFacesContext()
     Return the FacesContext instance for the current request.
protected  HttpServletRequestgetHttpRequest()
    
public  LonggetId(String i_paramName)
    
public  StringgetParam(String i_paramName)
    
abstract public  MainMenuItemgetSelectionItemOnMainMenu()
     returns a text(title) on button in the main menu; it's used to make selected button on the menu; if button on the menu will not be selected.
public  StringgetTitle()
    
abstract public  StringgetTitleImpl()
    
abstract public  CrumbgetTrailCrumbInfo()
    
protected  ObjectgetValue(String expr)
    

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

abstract protected  voidinit()
    
public  booleanisAdmin()
    
public  voidredirect(String i_newUrl)
    
public  voidsetAppContext(EmForgeContext i_appContext)
    
public  voidsetAttachmentService(AttachmentService i_attachmentService)
    
public  voidsetMainMenu(MainMenuController i_mainMenu)
    
public  voidsetTrail(TrailController i_trailController)
    
public  voidsetWikiEngine(WikiEngine i_wikiEngine)
    

Field Detail
logger
final protected Log logger(Code)



m_appContext
protected EmForgeContext m_appContext(Code)



m_attachmentService
protected AttachmentService m_attachmentService(Code)



m_mainMenu
protected MainMenuController m_mainMenu(Code)



m_trail
protected TrailController m_trail(Code)



m_wikiEngine
protected WikiEngine m_wikiEngine(Code)





Method Detail
addErrorMessage
public void addErrorMessage(String i_message, String i_detailedMessage)(Code)

Parameters:
  i_message -
Parameters:
  i_detailedMessage -



addInfoMessage
public void addInfoMessage(String i_message, String i_detailedMessage)(Code)

Parameters:
  i_message -
Parameters:
  i_detailedMessage -



addMessage
public void addMessage(String i_for, String i_message, String i_detailedMessage, Severity i_severity)(Code)

Parameters:
  i_for -
Parameters:
  i_message -
Parameters:
  i_detailedMessage -
Parameters:
  i_severity -



addMessage
public void addMessage(String i_message, String i_detailedMessage, Severity i_severity)(Code)

Parameters:
  i_message -
Parameters:
  i_detailedMessage -
Parameters:
  i_severity -



afterPropertiesSet
public void afterPropertiesSet() throws Exception(Code)

See Also:   org.springframework.beans.factory.InitializingBean.afterPropertiesSet



getActionParameterValue
protected Object getActionParameterValue(String parameterName, ActionEvent event)(Code)
Returns a action parameter value, from its name



getAppContext
public EmForgeContext getAppContext()(Code)



getApplication
protected Application getApplication()(Code)

Return the Application instance for the current web application.




getBean
protected Object getBean(String beanName)(Code)
Returns Bean with specified name



getCurrentUser
public EmForgeUserDetails getCurrentUser()(Code)



getFacesContext
protected FacesContext getFacesContext()(Code)
Return the FacesContext instance for the current request.



getHttpRequest
protected HttpServletRequest getHttpRequest()(Code)
This is utilitary method used only in this class



getId
public Long getId(String i_paramName)(Code)
Reads param from HTTPRequest and convert it into ID
Parameters:
  i_paramName -



getParam
public String getParam(String i_paramName)(Code)
Read param from HttpRequest
Parameters:
  i_paramName -



getSelectionItemOnMainMenu
abstract public MainMenuItem getSelectionItemOnMainMenu()(Code)
returns a text(title) on button in the main menu; it's used to make selected button on the menu; if button on the menu will not be selected.



getTitle
public String getTitle()(Code)
push "crumb" to the trail and get title for page; don't use this method in a bean; it should be called on a page;



getTitleImpl
abstract public String getTitleImpl()(Code)
returns title on the header



getTrailCrumbInfo
abstract public Crumb getTrailCrumbInfo()(Code)
gets the info (display name and url) to make "breadcrumb" for the trail



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)



init
abstract protected void init()(Code)



isAdmin
public boolean isAdmin()(Code)



redirect
public void redirect(String i_newUrl)(Code)

Parameters:
  i_newUrl -



setAppContext
public void setAppContext(EmForgeContext i_appContext)(Code)

Parameters:
  i_appContext -



setAttachmentService
public void setAttachmentService(AttachmentService i_attachmentService)(Code)



setMainMenu
public void setMainMenu(MainMenuController i_mainMenu)(Code)

Parameters:
  i_mainMenu -



setTrail
public void setTrail(TrailController i_trailController)(Code)

Parameters:
  i_trailController -



setWikiEngine
public void setWikiEngine(WikiEngine i_wikiEngine)(Code)

Parameters:
  i_wikiEngine -



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.