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.shop
Class ShopContentDisplayer

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.site.content.AbstractContentDisplayer
          extended by org.torweg.pulse.component.shop.ShopContentDisplayer

public class ShopContentDisplayer
extends AbstractContentDisplayer

is used to display ShopContents.

Version:
$Revision: 1549 $
Author:
Thomas Weber
See Also:
ShopContent, ContentGroup

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
ShopContentDisplayer()
           
 
Method Summary
 ShopContentDisplayerResult displayShop(Bundle bundle, ServiceRequest request)
          loads a given ShopContent, 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

ShopContentDisplayer

public ShopContentDisplayer()
Method Detail

displayShop

@Action(value="displayShop", security=NEVER)
@Permission(value="displayShop")
public final ShopContentDisplayerResult displayShop(Bundle bundle, ServiceRequest request)
loads a given ShopContent, 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:
bundle - the Bundle
request - the current ServiceRequest
Returns:
a ShopContentDisplayerResult for the requested ShopContent
See Also:
ShopContentDisplayerResult