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.store
Class StoreContentDisplayer

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.site.content.AbstractContentDisplayer
          extended by org.torweg.pulse.component.store.StoreContentDisplayer

public class StoreContentDisplayer
extends AbstractContentDisplayer

is used to display StoreContents.

Version:
$Revision: 1546 $
Author:
Thomas Weber
See Also:
StoreContent, ContentGroup

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
StoreContentDisplayer()
           
 
Method Summary
 ContentResult displayStore(ServiceRequest request)
          loads a given StoreContent, 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

StoreContentDisplayer

public StoreContentDisplayer()
Method Detail

displayStore

@Action(value="displayStore", security=NEVER)
@Permission(value="displayStore")
public final ContentResult displayStore(ServiceRequest request)
loads a given StoreContent, 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 StoreContentDisplayerResult for the requested StoreContent
See Also:
StoreContentDisplayerResult