Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.roller.business.* (74)org.roller.client.* (2)org.roller.model.* (11)
org.roller.pojos.* (16)org.roller.presentation.* (148)org.roller.util.* (6)

org.roller: Javadoc index of package org.roller.


Package Samples:

org.roller.business.persistence: Base and common classes that may be used in any implementation of the Roller Business Tier interfaces.  
org.roller.presentation.velocity.plugins.textile: Velocity integration, Page Servlet and Macros object.  
org.roller.presentation.website.tags: userDisplayBean and extended WebsiteData bean  
org.roller.util: Logger interface and exception classes  
org.roller.presentation.tags.menu: General purposes Roller JSP tags.  
org.roller.presentation.xmlrpc: Top level presentation classes.  
org.roller.presentation.weblog.tags: Extended WeblogEntryData bean.  
org.roller.business.beans
org.roller.business.castor.tests
org.roller.business.castor
org.roller.client
org.roller.model
org.roller.presentation.admin.actions
org.roller.presentation.admin.formbeans
org.roller.presentation.bookmarks.actions
org.roller.presentation.bookmarks.formbeans
org.roller.presentation.bookmarks.tags
org.roller.presentation.caching
org.roller.presentation.export
org.roller.presentation.filters

Classes:

DatabaseResourceLoader: This is a simple template file loader that loads templates from a Database instead of plain files. Dave Johnson: Modified to use a regular old JDBC connection specified by driver class and connection URL. It can be configured with a datasource name, a table name, id column (name), content column (the template body) and a timestamp column (for last modification info). Example configuration snippet for velocity.properties: resource.loader.1.public.name =Database resource.loader.1.description = Roller Database Resource Loader resource.loader.1.class = org.roller.presentation.velocity.DatabaseResourceLoader ...
DataSourceResourceLoader: This is a simple template file loader that loads templates from a DataSource instead of plain files. It can be configured with a datasource name, a table name, id column (name), content column (the template body) and a timestamp column (for last modification info). Example configuration snippet for velocity.properties: resource.loader.1.public.name = DataSource resource.loader.1.description = Velocity DataSource Resource Loader resource.loader.1.class = org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader resource.loader.1.resource.datasource = jdbc/SomeDS resource.loader.1.resource.table ...
RowTag: This tag generates table rows (i.e. <tr>....</tr> elements) with the background color set differently for alternating odd and even rows. This tag only operates properly if embedded in an IterateTag. The following parameters can be specified for this Tag: oddColor - The color for Odd numbered rows evenColor - The color for Even numbered rows oddStyleClass - The style class for Odd numbered rows evenStyleClass - The style class for Even numbered rows align - The alignment for the table row valign - The vertical alignment for the table row Additionally this tag inherits the Event Handler ...
RollerRequest: Access to objects and values specified by request. Parses out arguments from request URL needed for various parts of Roller and makes them available via getter methods. These forms of pathinfo get special support: [username] - get default page for user for today's date [username]/[date] - get default page for user for specified date [username]/[pagelink] - get specified page for today's date [username]/[pagelink]/[date] - get specified page for specified date [username]/[pagelink]/[anchor] - get specified page & entry (by anchor) [username]/[pagelink]/[date]/[anchor] - get specified page & entry ...
ViewBookmarksTag: Displays a folder of bookmarks or a table that shows all folders. If the folderName property is set then this tag will display the bookmarks in that folder, separated by BR tag line breaks. If the folderName property is not set, this tag will display a table of bookmarks. The bookmarks table display uses the Folder Column and Row values to position the Folders in a table. The bookmarks within each folder are ordered using the Bookmark Priority value. A bookmark's HREF tag is given a CSS class of rBookmark_N where N is the Bookmark's Weight value.
LinkTag: Generates an HTML link. This class adds the parameter feature to the Struts html link tag. It should be use as follow: This will produce the equivalent of Title: BSquare Description: Bsquare Projects Copyright: Copyright (c) 2001 Company: HubMethods
CommonsPageCache: Implementation of the PageCache, using Commons Cache. The extra benefit here is that we can group the pages by the requested page's username (the user that the page belongs to). We can then use this later to clear only the cache item's for that user (i.e. when the user updates their site) and not have to clear ALL pages in the cache. A "seperate" cache is maintained for each logged in user (this allows the "edit" links to be displayed).
RollerFactory: This is primarily a static holder for whatever Roller implementation is being used. RollerContext should call setRoller(ServletContext) during its initialization so that the Roller implementation can be instantiated. Likewise, RollerContext.getRoller() should be replaced with calls to RollerFactory.getRoller(). This should prevent us any direct ties to Castor and permit for experimentation* with other persistence frameworks.
WikiPlugin: Wiki plugin using the JSPWiki WikiEngine. If you want Wiki links to point to your JSPWiki, then edit the jspwiki.properties fiel in Roller's WEB-INF directory and set the jspwiki.baseURL appropriately. For example, if your Wiki is on your localhost in the Servlet Context named 'wiki' then you'd set jspwiki.baseURL like so: jspwiki.baseURL=http://local:8080/wiki/
RollerSpellCheck: Since this class cannot be thread-safe due to the SpellCheckListener interface, first a "canonical" SpellDictionary must be instantiated with the path to the dictionary. Subsequently, call getInstance() which will return a new instance of RollerSpellCheck using the "precompiled" SpellDictionary, or will throw a NullPointerException. A better way can probably be found.
PreviewResourceLoader: This is a simple template file loader that loads "preview" templates from a HashMap instance instead of plain files. Ideally this would use some smarter caching (re-implement with Commons-Cache?) so that the templates put here could expire in case the user forgot/neglected to clear their "work area". There is no configuration.
RollerPageProvider: Override page provider so that Wiki links always appear as hyperlinks to the external Wiki's Wiki.jsp?page=MyPageName page. Without this, they would appear as links tp Edit.jsp?page=MyPageName, which is not quite as nice. Eventually, it may be a good idea to use JSPWiki's XML-RPC interface to figure out if the page exists or not.
DatabasePool: A class for preallocating, recycling, and managing connections. Adapted for handling JDO Database objects rather than connections. Taken from Core Servlets and JavaServer Pages from Prentice Hall and Sun Microsystems Press, http://www.coreservlets.com/. © 2000 Marty Hall; may be freely used or adapted.
WebappResourceLoader: Tries to load Velocity resources from the Webapp. This class borrows heavily from org.apache.velocity.tools.view.servlet.WebappLoader http://cvs.apache.org/viewcvs/jakarta-velocity- tools/view/src/java/org/apache/velocity/tools/view/servlet/WebappLoader.java? rev=1.1.1.1&content-type=text/vnd.viewcvs-markup
BookmarkManagerImpl: BookmarkManager implementation based on Castor JDO. Implementation Notes Connections returned by getDatabase() and releases by releaseDatabase(). Public methods create connection and use transaction. Private methods need connection and expect existing transaction.
PageCache: Configurable PageCache Filter implementation. Set the desired FilterHandler by adding a filter init parameter to web.xml named 'handler'. Possible values: OSCacheFilterHandler: to use OSCache (the default) CommonsPageCache: to use the Jakarta Commons cache
CompressionFilter: Filter that compresses output with gzip (assuming that browser supports gzip). Taken from More Servlets and JavaServer Pages from Prentice Hall and Sun Microsystems Press, http://www.moreservlets.com/. © 2002 Marty Hall; may be freely used or adapted.
ConnectionPool: A class for preallocating, recycling, and managing JDBC connections. Taken from Core Servlets and JavaServer Pages from Prentice Hall and Sun Microsystems Press, http://www.coreservlets.com/. © 2000 Marty Hall; may be freely used or adapted.
RollerTestBase: Base class for Roller backend unit test classes, responsible for creating the appropriate Roller implementation. Roller implementation determined by system property rollerImpl. Currently the only valid value of rollerImpl is 'castor'.
LinkParamTag: Implements a custom tag to add parameter to a href request. This tag is intended to be nested in a hm:link tag. Title: BSquare Description: Bsquare Projects Copyright: Copyright (c) 2001 Company: HubMethods
LoginServlet: Implementation of HttpServlet that is used to get a username and password and mEncrypt the password before sending to container-managed authentication. View Source
TrackbackServlet: Roller's Trackback server implementation. POSTing to this Servlet will add a Trackback to a Weblog Entrty. For more info on Trackback, read the spec: MT Trackback .
TrackbackAction: Roller's Trackback client implementation allows user to send a trackback ping for a weblog entry. For more info on Trackback, read the spec: MT Trackback .
RssServlet: Roller's RSS Servlet, extends VelocityServlet to load Roller values into VelocityContext and to return Roller RSS temlates for execution by Velocity. Assumes that If-Modified-Since has already been handled.

Home | Contact Us | Privacy Policy | Terms of Service