| Home >> All >> com >> RuntimeCollective >> sitemap >> [ bean Javadoc ] |
com.RuntimeCollective.sitemap.bean: Javadoc index of package com.RuntimeCollective.sitemap.bean.
Package Samples:
com.RuntimeCollective.sitemap.bean: The Sitemap module defines the necessary classes to set up and edit the structure of a content library.
Classes:
SiteNode: The SiteNode version of the ContentSiteLocation, which can have a parent and children SiteNodes. The SiteNode hierarchy was designed with the principle of "the sub node doesn't *do* things to its parent": setting a Child in a SiteNode also sets the Child's ParentNode, NOT the opposite If you want to be spared the hassle of writing JSPs to create/edit your SiteNode objects, do have a look at the pages written for the Sussex Enterprise project. You can find them by checking out the relevent project: "cvs co rsework", then look in rsework/web/admin. The pages are called addPageXXX.jsp and editPageXXX.jsp. ...
Publishable: Interface to implement if you want an object to be publishable, ie sometimes live and sometimes dead. If you want to be spared the hassle of writing JSPs for the publishing of your Publishable objects, do have a look at the pages written for the Sussex Enterprise project. You can find them by checking out the relevent project: "cvs co rsework", then look in rsework/web/admin. The pages are called publishPageXXX.jsp. They should be pretty self-explanatory. The rsework/struts-config.xml file is also worth checking, for the action mappings etc. And while you're at it, why not vanilla them and copy ...
SimplePublishable: A commodity class which implements all the basic functionality of Publishable, so we can spare duplicating lots of simple code. It also now reuses SimplePermissible, to let you constrain the access to Publishable items. This class should be subclassed to add more functionality.
ContentSiteLocation: A SiteLocation, which is itself a Content, and which holds other Contents in given roles and positions. It implements Searchable, so will be available to the site-wide search. It is now also Versioned, so that each CSL can be accessible in different versions.
SiteLocationLink: The SiteLocationLink class implements the abstract Link class, by linking to a SiteLocation. NB: Saving a SLL doesn't save its SiteLocation, as that could provoke some infinite loop. So take care of saving the destination first.
SimpleSiteLocation: A commodity class which implements all the basic functionality of SiteLocation, so we can spare duplicating lots of simple code. It reuses SimplePublishable. This class should be subclassed to add more functionality.
Bookmarks: A collection of bookmarked content for a SitemapUser. You should not directly instantiate a Bookmarks object; just call Bookmarks.getBookmarksForUser(User user) .
Template: The Template class will hold the code used to render e.g. SiteLocations. The code can either be stored in the (db) persistence layer, or via a filename reference.
SiteLocation: The interface to implement if you want an object to be a location within your site map.
ImageCategory: The ImageCategory class is used to group Images, for use in an image library.
| Home | Contact Us | Privacy Policy | Terms of Service |