org.torweg.pulse.component.shop.admin
Class ShopOrderViewer
java.lang.Object
org.torweg.pulse.bundle.Controller
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShopOrderViewer
public ShopOrderViewer()
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 Bundlerequest - 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 Bundlerequest - 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 Bundlerequest - 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