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


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

All known Subclasses:   ru.emdev.EmForge.wiki.web.bean.NewsController,  ru.emdev.EmForge.wiki.web.bean.PageInfoController,  ru.emdev.EmForge.wiki.web.bean.DiffController,  org.emforge.report.web.bean.ReportViewBean,  ru.emdev.EmForge.wiki.web.bean.WikiTextEditController,  ru.emdev.EmForge.wiki.web.bean.WikiTextViewController,  org.emforge.report.web.bean.ReportListBean,  ru.emdev.EmForge.wiki.web.bean.SearchController,  ru.emdev.EmForge.wiki.web.bean.AttachmentInfoController,
BaseWikiControllerImpl
abstract public class BaseWikiControllerImpl extends BaseControllerImpl (Code)
Base wiki controller for controllers containing a wiki page
author:
   spopov


Field Summary
final public static  StringPAGE_PARAM_NAME
    
protected  BpmServicem_bpmService
    
protected  WikiPagem_page
    
protected  Stringm_pageName
    
protected  ProjectServicem_projectService
    
protected  ReportServicem_reportService
    
protected  URLConstructorm_urlConstructor
    
protected  UserFactorym_userFactory
    
protected  Integerm_version
    


Method Summary
public  WikiContextcreateNewWikiPage(String i_newPageName, String i_text)
    
public  AttachmentTO[]getAttachments()
    
protected  TaskTOgetEditedTask()
    
public  StringgetFooter()
    
public  WikiPagegetPage()
    
public  StringgetPageAuthorEmail()
    
public  StringgetPageName()
    
public  StringgetPageParam()
    
public  IntegergetVersion()
    
public  WikiContextgetWikiContext()
    
public  booleanisCanAddAttachment()
    
public  booleanisCanAddComment()
    
public  booleanisCanEditPage()
     OK, rules for ability to edit page: - Admin can do everything.
protected  booleanisEditMilestone()
    
protected  booleanisEditProject()
    
protected  booleanisEditReport()
    
protected  booleanisEditTask()
    
public  booleanisPageExists()
    
public  voidsetBpmService(BpmService i_bpmService)
    
public  voidsetPageName(String pageName)
    
public  voidsetProjectService(ProjectService projectService)
    
public  voidsetReportService(ReportService i_reportService)
    
public  voidsetUrlConstructor(URLConstructor i_urlConstructor)
    
public  voidsetUserFactory(UserFactory userFactory)
    
public  voidsetVersion(Integer i_version)
    

Field Detail
PAGE_PARAM_NAME
final public static String PAGE_PARAM_NAME(Code)



m_bpmService
protected BpmService m_bpmService(Code)



m_page
protected WikiPage m_page(Code)



m_pageName
protected String m_pageName(Code)



m_projectService
protected ProjectService m_projectService(Code)



m_reportService
protected ReportService m_reportService(Code)



m_urlConstructor
protected URLConstructor m_urlConstructor(Code)



m_userFactory
protected UserFactory m_userFactory(Code)



m_version
protected Integer m_version(Code)





Method Detail
createNewWikiPage
public WikiContext createNewWikiPage(String i_newPageName, String i_text) throws WikiException(Code)
Creates new wiki page with name i_newPageName and with a content; Sets curent user as author and current time as last modified
Parameters:
  i_newPageName -
Parameters:
  i_text - wiki context of created page if all OK
throws:
  WikiException -



getAttachments
public AttachmentTO[] getAttachments()(Code)



getEditedTask
protected TaskTO getEditedTask()(Code)



getFooter
public String getFooter()(Code)



getPage
public WikiPage getPage()(Code)



getPageAuthorEmail
public String getPageAuthorEmail()(Code)



getPageName
public String getPageName()(Code)



getPageParam
public String getPageParam()(Code)



getVersion
public Integer getVersion()(Code)



getWikiContext
public WikiContext getWikiContext()(Code)



isCanAddAttachment
public boolean isCanAddAttachment()(Code)
Same rules as for edit page True if the current user is a writer, otherwise False



isCanAddComment
public boolean isCanAddComment()(Code)
True if the page exists and the current user is not an anonymous, otherwiseFalse



isCanEditPage
public boolean isCanEditPage()(Code)
OK, rules for ability to edit page: - Admin can do everything. Addtionally to it: - Normal pages may be edited by WIKIWRITER users - Project and Milestone descriptions may be edited by Project Managers (ok, by users, allowed to edit project) - Task descriptions may be edited by owner of task or project manager True if the current user is a writer, otherwise False



isEditMilestone
protected boolean isEditMilestone()(Code)



isEditProject
protected boolean isEditProject()(Code)



isEditReport
protected boolean isEditReport()(Code)



isEditTask
protected boolean isEditTask()(Code)



isPageExists
public boolean isPageExists()(Code)



setBpmService
public void setBpmService(BpmService i_bpmService)(Code)

Parameters:
  i_bpmService -



setPageName
public void setPageName(String pageName)(Code)

Parameters:
  pageName -



setProjectService
public void setProjectService(ProjectService projectService)(Code)

Parameters:
  projectService -



setReportService
public void setReportService(ReportService i_reportService)(Code)

Parameters:
  i_reportService -



setUrlConstructor
public void setUrlConstructor(URLConstructor i_urlConstructor)(Code)

Parameters:
  i_urlConstructor -



setUserFactory
public void setUserFactory(UserFactory userFactory)(Code)

Parameters:
  userFactory -



setVersion
public void setVersion(Integer i_version)(Code)

Parameters:
  i_version -



Fields inherited from ru.emdev.EmForge.web.bean.BaseControllerImpl
final protected Log logger(Code)(Java Doc)
protected EmForgeContext m_appContext(Code)(Java Doc)
protected AttachmentService m_attachmentService(Code)(Java Doc)
protected MainMenuController m_mainMenu(Code)(Java Doc)
protected TrailController m_trail(Code)(Java Doc)
protected WikiEngine m_wikiEngine(Code)(Java Doc)

Methods inherited from ru.emdev.EmForge.web.bean.BaseControllerImpl
public void addErrorMessage(String i_message, String i_detailedMessage)(Code)(Java Doc)
public void addInfoMessage(String i_message, String i_detailedMessage)(Code)(Java Doc)
public void addMessage(String i_for, String i_message, String i_detailedMessage, Severity i_severity)(Code)(Java Doc)
public void addMessage(String i_message, String i_detailedMessage, Severity i_severity)(Code)(Java Doc)
public void afterPropertiesSet() throws Exception(Code)(Java Doc)
protected Object getActionParameterValue(String parameterName, ActionEvent event)(Code)(Java Doc)
public EmForgeContext getAppContext()(Code)(Java Doc)
protected Application getApplication()(Code)(Java Doc)
protected Object getBean(String beanName)(Code)(Java Doc)
public EmForgeUserDetails getCurrentUser()(Code)(Java Doc)
protected FacesContext getFacesContext()(Code)(Java Doc)
protected HttpServletRequest getHttpRequest()(Code)(Java Doc)
public Long getId(String i_paramName)(Code)(Java Doc)
public String getParam(String i_paramName)(Code)(Java Doc)
abstract public MainMenuItem getSelectionItemOnMainMenu()(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
abstract public String getTitleImpl()(Code)(Java Doc)
abstract public Crumb getTrailCrumbInfo()(Code)(Java Doc)
protected Object getValue(String expr)(Code)(Java Doc)
abstract protected void init()(Code)(Java Doc)
public boolean isAdmin()(Code)(Java Doc)
public void redirect(String i_newUrl)(Code)(Java Doc)
public void setAppContext(EmForgeContext i_appContext)(Code)(Java Doc)
public void setAttachmentService(AttachmentService i_attachmentService)(Code)(Java Doc)
public void setMainMenu(MainMenuController i_mainMenu)(Code)(Java Doc)
public void setTrail(TrailController i_trailController)(Code)(Java Doc)
public void setWikiEngine(WikiEngine i_wikiEngine)(Code)(Java Doc)

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.