package apps.firstapp.frames; ... ... /** * The LCO for the Orders Workscreen. *
* @author René Jahn */ Public Class Orders Extends Session { //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // User-defined methods //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /** * Returns the orders storage. * * @return the orders storage * @throws Exception if the initialization throws an error */ public DBStorage getOrders() throws Exception { ... } /** * Performs the cancellation of an order via SAP webservice. * * @param pOrderId the order ID * @param pPin the storno PIN */ public void cancel(BigDecimal pOrderId, String pPin) { //call SAP webservice with ID and PIN } } // Orders