Java Doc for OldPageHelper.java in  » Blogger-System » apache-roller-3.1 » org » apache » roller » ui » rendering » velocity » deprecated » 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 » Blogger System » apache roller 3.1 » org.apache.roller.ui.rendering.velocity.deprecated 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.roller.ui.rendering.velocity.deprecated.OldPageHelper

OldPageHelper
public class OldPageHelper (Code)
Provides assistance to VelociMacros, filling in where Velocity falls.



Constructor Summary
public  OldPageHelper(HttpServletRequest request, HttpServletResponse response, Map ctx, WebsiteData website, Date date, FolderData folder, String pageName, PageContext pageContext, WeblogPageRequest pageRequest)
     Initialize VelocityHelper, setting the variables it will be hiding from the Velocimacros.

Method Summary
public  HashtableaddParam(String key, String value, Hashtable map)
     Another stupid helper method to make up for the shortcomings of Velocity.
public  StringevaluateString(String str)
     Evaluates the String as a Velocimacro, returning the results.
public  StringgetCommentAuthenticatorHtml()
    
public  StringgetEntryEditUrl(WeblogEntryDataWrapper entry)
    
public  StringgetPathInfo()
    
public  Locale[]getSupportedLanguages()
     This method used to return an array of supported locales based on some of the old i18n work done in Roller, however, as of Roller 3.0 there is no longer a list of supported languages.
public  StringgetToggleLinkbackDisplayHTML(RefererDataWrapper referer)
    
public  booleanisUserAuthorizedToEdit()
    
public  StringrenderPlugins(WeblogEntryDataWrapper entry, String str)
     Pass the String through any PagePlugins that have been assigned to the PageHelper, as selected by the Entry.
Parameters:
  entry - Entry being rendered.
Parameters:
  str - String to which plugins are to be applied.
public  voidsetContentType(String type)
    
public  StringshowBigWeblogCalendar()
     Display big weblog calendar, well suited for an archive page.
public  StringshowEditorNavBar(boolean vertical)
     Call hybrid EditorNavBarTag to render editor navbar.
Parameters:
  vertical - True for vertical navbar.
public  StringshowMenu(String model, String template)
     Call hybrid EditorNavBarTag to render editor navbar.
Parameters:
  model - Name of XML file in WEB-INF that contains XML for menu.
Parameters:
  template - Name of Velocity template in classpath to display menu.
public  StringshowWeblogCalendar()
     Display weblog calendar.
public  StringshowWeblogCalendar(boolean big, String cat)
     Weblog calendar display implementation.
Parameters:
  big - Show big archive style calendar.
public  StringstrutsUrlHelper(boolean useIds, boolean isAction, String path, String val1, String val2)
     Convenience method, contrived helper for Velocity.
public  StringstrutsUrlHelper1(boolean useIds, boolean isAction, String path, String val1, String val2, Hashtable params)
     Very contrived helper method for Velocimacros generating Struts links.


Constructor Detail
OldPageHelper
public OldPageHelper(HttpServletRequest request, HttpServletResponse response, Map ctx, WebsiteData website, Date date, FolderData folder, String pageName, PageContext pageContext, WeblogPageRequest pageRequest) throws RollerException(Code)
Initialize VelocityHelper, setting the variables it will be hiding from the Velocimacros.




Method Detail
addParam
public Hashtable addParam(String key, String value, Hashtable map)(Code)
Another stupid helper method to make up for the shortcomings of Velocity. HashMap



evaluateString
public String evaluateString(String str)(Code)
Evaluates the String as a Velocimacro, returning the results.
Parameters:
  str - String String



getCommentAuthenticatorHtml
public String getCommentAuthenticatorHtml()(Code)



getEntryEditUrl
public String getEntryEditUrl(WeblogEntryDataWrapper entry)(Code)
Build the URL for editing an WeblogEntry *



getPathInfo
public String getPathInfo()(Code)
relative URL to page, starting with /username



getSupportedLanguages
public Locale[] getSupportedLanguages()(Code)
This method used to return an array of supported locales based on some of the old i18n work done in Roller, however, as of Roller 3.0 there is no longer a list of supported languages. The languages available to a weblog are unbounded and are purely determined by the weblog author. This method always returns null.



getToggleLinkbackDisplayHTML
public String getToggleLinkbackDisplayHTML(RefererDataWrapper referer)(Code)



isUserAuthorizedToEdit
public boolean isUserAuthorizedToEdit()(Code)



renderPlugins
public String renderPlugins(WeblogEntryDataWrapper entry, String str)(Code)
Pass the String through any PagePlugins that have been assigned to the PageHelper, as selected by the Entry.
Parameters:
  entry - Entry being rendered.
Parameters:
  str - String to which plugins are to be applied. Result of applying plugins to str.



setContentType
public void setContentType(String type)(Code)



showBigWeblogCalendar
public String showBigWeblogCalendar()(Code)
Display big weblog calendar, well suited for an archive page. HTML for calendar.



showEditorNavBar
public String showEditorNavBar(boolean vertical)(Code)
Call hybrid EditorNavBarTag to render editor navbar.
Parameters:
  vertical - True for vertical navbar. String HTML for navbar.



showMenu
public String showMenu(String model, String template)(Code)
Call hybrid EditorNavBarTag to render editor navbar.
Parameters:
  model - Name of XML file in WEB-INF that contains XML for menu.
Parameters:
  template - Name of Velocity template in classpath to display menu. String HTML for menu.



showWeblogCalendar
public String showWeblogCalendar()(Code)
Display weblog calendar. HTML for calendar.



showWeblogCalendar
public String showWeblogCalendar(boolean big, String cat)(Code)
Weblog calendar display implementation.
Parameters:
  big - Show big archive style calendar. HTML for calendar.



strutsUrlHelper
public String strutsUrlHelper(boolean useIds, boolean isAction, String path, String val1, String val2)(Code)
Convenience method, contrived helper for Velocity.
Parameters:
  useIds -
Parameters:
  isAction -
Parameters:
  path -
Parameters:
  val1 -
Parameters:
  val2 - String



strutsUrlHelper1
public String strutsUrlHelper1(boolean useIds, boolean isAction, String path, String val1, String val2, Hashtable params)(Code)
Very contrived helper method for Velocimacros generating Struts links. This is really only of use to the showNavBar macro.
Parameters:
  useIds -
Parameters:
  isAction -
Parameters:
  path -
Parameters:
  val1 -
Parameters:
  val2 - String



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)

w___ww_.j___a__v___a_2__s___._c_om | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.