Java Doc for OldWeblogPageModel.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.OldWeblogPageModel

OldWeblogPageModel
public class OldWeblogPageModel (Code)
Provides Roller page templates with access to Roller domain model objects.


Field Summary
final public static  StringVELOCITY_NULL
    
protected static  LogmLogger
    

Constructor Summary
public  OldWeblogPageModel()
    

Method Summary
public  CollectiongetBookmarks(FolderDataWrapper folder)
    
public  intgetCommentCount(String entryId)
    
public  intgetCommentCount(String entryId, boolean noSpam, boolean approvedOnly)
    
public  ListgetComments(WeblogEntryDataWrapper entry)
    
public  ListgetComments(WeblogEntryDataWrapper wrapper, boolean noSpam, boolean approvedOnly)
    
public  intgetDayHits()
    
public  booleangetEmailComments()
    
public  ListgetEntryReferers(WeblogEntryDataWrapper entry)
    
public  FolderDataWrappergetFolder(String folderPath)
    
public  FolderDataWrappergetFolderByPath(String path)
    
public  intgetIntRequestParameter(String key)
    
public  StringgetModelName()
    
public  WeblogEntryDataWrappergetNextEntry()
     Get the next occurring Entry.
public  TemplateWrappergetPageByName(String pageName)
    
public  StringgetPageIdByName(String pageName)
    
public  ObjectgetPages()
     Get collection of user pages.
public  WeblogEntryDataWrappergetPreviousEntry()
     Get the previous occurring Entry.
public  ListgetRecentComments(int maxCount)
     Facade for WeblogManager.getRecentComments().
public  MapgetRecentWeblogEntries(int maxEntries, String catName)
     Returns a map of up to 100 recent weblog entries for the user and day specified in the request, filtered by the category specified by the request, limited by the 'maxEntries' argument, and sorted by reverse chronological order.

This method will look for a category name in the following places and in the following order:

  • The request via RollerRequest.getWeblogCategory().
  • The categoryName argument to this method.
  • The default category for the website specified by the request via RollerRequest.getWebsite().getDefaultCategory().

Parameters:
  maxEntries - Maximum number of entries to be returned (only applies if specific day not specified).
Parameters:
  catName - Only return entries from this category and it'ssubcategories.
public  ListgetRecentWeblogEntriesArray(int maxEntries, String categoryName)
     Returns list of recent weblog entries for the user and day specified in the request, filtered by the category specified by the request, limited by the 'maxEntries' argument, and sorted by reverse chronological order.

This method will look for a category name in the same places and same order as does the getRecentWeblogEntries() method.


Parameters:
  maxEntries - Maximum number of entries to be returned.
Parameters:
  categoryName - Only return entries from this category and it'ssubcategories.
public  ListgetReferers(String date)
    
public  StringgetRequestParameter(String key)
    
public  ListgetTodaysReferers()
    
public  CollectiongetTopLevelFolders()
     Get top level bookmark folders.
public  intgetTotalHits()
    
public static  DategetUpdateTime(ArrayList weblogEntries)
     Returns most recent update time of collection of weblog entries.
Parameters:
  weblogEntries - Collection of weblog entries.
public  TemplateWrappergetUsersPageByName(WebsiteDataWrapper wrapper, String pageName)
    
public  ListgetWeblogCategories(String categoryName)
    
public  WeblogEntryDataWrappergetWeblogEntry()
    
public  voidinit(HttpServletRequest request, WebsiteData website, WeblogEntryData entry, WeblogCategoryData category, Date date, boolean isDay, boolean isMonth, String locale)
     Initialize PageModel and allow PageModel to initialized VelocityContext.
public  booleanisUserAuthenticated()
    
public  booleanisUserAuthorizedToAdmin()
    
public  booleanisUserAuthorizedToEdit()
    

Field Detail
VELOCITY_NULL
final public static String VELOCITY_NULL(Code)



mLogger
protected static Log mLogger(Code)




Constructor Detail
OldWeblogPageModel
public OldWeblogPageModel()(Code)
init() must be called to complete construction




Method Detail
getBookmarks
public Collection getBookmarks(FolderDataWrapper folder)(Code)
Encapsulates folder.getBookmarks() & sorting



getCommentCount
public int getCommentCount(String entryId)(Code)
Get number of approved non-spam comments for entry



getCommentCount
public int getCommentCount(String entryId, boolean noSpam, boolean approvedOnly)(Code)
Get number of approved non-spam comments for entry



getComments
public List getComments(WeblogEntryDataWrapper entry)(Code)
Get comments for weblog entry specified by request



getComments
public List getComments(WeblogEntryDataWrapper wrapper, boolean noSpam, boolean approvedOnly)(Code)
Get comments for weblog entry specified by request



getDayHits
public int getDayHits()(Code)
Encapsulates RefererManager



getEmailComments
public boolean getEmailComments()(Code)



getEntryReferers
public List getEntryReferers(WeblogEntryDataWrapper entry)(Code)
Encapsulates RefererManager *



getFolder
public FolderDataWrapper getFolder(String folderPath)(Code)
Encapsulates BookmarkManager.getFolder()



getFolderByPath
public FolderDataWrapper getFolderByPath(String path)(Code)



getIntRequestParameter
public int getIntRequestParameter(String key)(Code)



getModelName
public String getModelName()(Code)



getNextEntry
public WeblogEntryDataWrapper getNextEntry()(Code)
Get the next occurring Entry.



getPageByName
public TemplateWrapper getPageByName(String pageName)(Code)
Encapsulates UserManager.getPageByName()



getPageIdByName
public String getPageIdByName(String pageName)(Code)
Encapsulates UserManager.getPageByName()



getPages
public Object getPages()(Code)
Get collection of user pages.



getPreviousEntry
public WeblogEntryDataWrapper getPreviousEntry()(Code)
Get the previous occurring Entry.



getRecentComments
public List getRecentComments(int maxCount)(Code)
Facade for WeblogManager.getRecentComments(). Get the most recent (chronologically) posted Comments for this website, limited to maxCount. List of Comments.



getRecentWeblogEntries
public Map getRecentWeblogEntries(int maxEntries, String catName)(Code)
Returns a map of up to 100 recent weblog entries for the user and day specified in the request, filtered by the category specified by the request, limited by the 'maxEntries' argument, and sorted by reverse chronological order.

This method will look for a category name in the following places and in the following order:

  • The request via RollerRequest.getWeblogCategory().
  • The categoryName argument to this method.
  • The default category for the website specified by the request via RollerRequest.getWebsite().getDefaultCategory().

Parameters:
  maxEntries - Maximum number of entries to be returned (only applies if specific day not specified).
Parameters:
  catName - Only return entries from this category and it'ssubcategories. If null, returns all categories of entry Map of Lists of WeblogEntryData, keyed by 8-char date strings.



getRecentWeblogEntriesArray
public List getRecentWeblogEntriesArray(int maxEntries, String categoryName)(Code)
Returns list of recent weblog entries for the user and day specified in the request, filtered by the category specified by the request, limited by the 'maxEntries' argument, and sorted by reverse chronological order.

This method will look for a category name in the same places and same order as does the getRecentWeblogEntries() method.


Parameters:
  maxEntries - Maximum number of entries to be returned.
Parameters:
  categoryName - Only return entries from this category and it'ssubcategories. If null, returns all categories of entry. List of WeblogEntryData objects in revese chronological order.



getReferers
public List getReferers(String date)(Code)
Encapsulates RefererManager *



getRequestParameter
public String getRequestParameter(String key)(Code)



getTodaysReferers
public List getTodaysReferers()(Code)
Encapsulates RefererManager



getTopLevelFolders
public Collection getTopLevelFolders()(Code)
Get top level bookmark folders.



getTotalHits
public int getTotalHits()(Code)
Encapsulates RefererManager



getUpdateTime
public static Date getUpdateTime(ArrayList weblogEntries)(Code)
Returns most recent update time of collection of weblog entries.
Parameters:
  weblogEntries - Collection of weblog entries. Most recent update time.



getUsersPageByName
public TemplateWrapper getUsersPageByName(WebsiteDataWrapper wrapper, String pageName)(Code)
Encapsulates UserManager.getPageByName()



getWeblogCategories
public List getWeblogCategories(String categoryName)(Code)
Encapsulates WeblogManager.getWeblogCategories()



getWeblogEntry
public WeblogEntryDataWrapper getWeblogEntry()(Code)
Encapsulates RollerRequest.getWeblogEntry()



init
public void init(HttpServletRequest request, WebsiteData website, WeblogEntryData entry, WeblogCategoryData category, Date date, boolean isDay, boolean isMonth, String locale)(Code)
Initialize PageModel and allow PageModel to initialized VelocityContext.



isUserAuthenticated
public boolean isUserAuthenticated()(Code)



isUserAuthorizedToAdmin
public boolean isUserAuthorizedToAdmin()(Code)



isUserAuthorizedToEdit
public boolean isUserAuthorizedToEdit()(Code)



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__w__w_.___j___av___a__2__s.__c_o__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.