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.admin
Class ShopOrderViewer

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.component.shop.admin.ShopOrderViewer
All Implemented Interfaces:
Configurable<ShopOrderViewerConfiguration>

public class ShopOrderViewer
extends Controller
implements Configurable<ShopOrderViewerConfiguration>

A "viewer" for shop-Orders.

Version:
$Revision: 1914 $
Author:
Daniel Dietz
See Also:
Order

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
ShopOrderViewer()
           
 
Method Summary
 void initialize(ShopOrderViewerConfiguration conf)
          Initialises the Controller with the given Configuration.
 Order loadShopOrder(Bundle bundle, ServiceRequest request)
          Loads a specific the Shop-Order of the current Bundle.
 void loadShopOrders(Bundle bundle, ServiceRequest request)
          Loads the data for the Shop-Order-overview-grid of the current Bundle.
 java.lang.Object viewShopOrders(Bundle bundle, ServiceRequest request)
          Initialises the Shop-Order-overview-grid of the current Bundle.
 
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

ShopOrderViewer

public ShopOrderViewer()
Method Detail

viewShopOrders

@RequireToken
@Action(value="viewShopOrders", generate=true)
@Permission(value="viewShopOrders")
@Groups(values="ShopOrderAdministrator")
public final java.lang.Object viewShopOrders(Bundle bundle, ServiceRequest request)
Initialises the Shop-Order-overview-grid of the current Bundle.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest
Returns:
null

loadShopOrders

@RequireToken
@Action(value="loadShopOrders", generate=true)
@Permission(value="loadShopOrders")
@Groups(values="ShopOrderAdministrator")
public final void loadShopOrders(Bundle bundle, ServiceRequest request)
Loads the data for the Shop-Order-overview-grid of the current Bundle.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

loadShopOrder

@RequireToken
@Action(value="loadShopOrder", generate=true)
@Permission(value="loadShopOrder")
@Groups(values="ShopOrderAdministrator")
public final Order loadShopOrder(Bundle bundle, ServiceRequest request)
Loads a specific the Shop-Order of the current Bundle.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest
Returns:
the order loaded or null on errors

initialize

public final void initialize(ShopOrderViewerConfiguration conf)
Initialises the Controller with the given Configuration.

Specified by:
initialize in interface Configurable<ShopOrderViewerConfiguration>
Parameters:
conf - the Configuration