pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.cms
Class CMSContentDisplayer

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.site.content.AbstractContentDisplayer
          extended by org.torweg.pulse.component.cms.CMSContentDisplayer

public class CMSContentDisplayer
extends AbstractContentDisplayer

is used to display CMSContents.

Version:
$Revision: 1914 $
Author:
Thomas Weber
See Also:
CMSContent

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
CMSContentDisplayer()
           
 
Method Summary
 CMSContentDisplayerResult display(ServiceRequest request)
          loads a given CMSContent, either by the Command 's sitemapID (see: Command.getSitemapID()) or by the <em>contentId</em> Parameter, while the <em>contentId</em> Parameter takes precedence over the Command's sitemapId.
 
Methods inherited from class org.torweg.pulse.site.content.AbstractContentDisplayer
chooseContent, getChildrenForContentGroup, prepareRedirect
 
Methods inherited from class org.torweg.pulse.bundle.Controller
getAlwaysRun, isAlwaysRun, setAlwaysRun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMSContentDisplayer

public CMSContentDisplayer()
Method Detail

display

@Action(value="displayCMS", security=NEVER)
@Permission(value="displayCMS")
public final CMSContentDisplayerResult display(ServiceRequest request)
loads a given CMSContent, either by the Command 's sitemapID (see: Command.getSitemapID()) or by the <em>contentId</em> Parameter, while the <em>contentId</em> Parameter takes precedence over the Command's sitemapId.

If the sitemapID denotes a SitemapNode without a View, the first CMSContent in the ancestor axis is loaded instead.

Parameters:
request - the current ServiceRequest
Returns:
a CMSContentDisplayerResult for the requested CMSContent
See Also:
CMSContentDisplayerResult