1 4 package com.openedit.store; 5 6 import java.util.List ; 7 import java.util.Map ; 8 9 import com.openedit.WebPageRequest; 10 11 17 public interface OrderArchive 18 { 19 20 public static final String AUTHORIZATION_RESULT_STRING_KEY = "AuthorizationResultString"; 22 public static final String AUTHORIZATION_RESULT_KEY = "AuthorizationResult"; 24 25 public void archiveOrderData( Store inStore ) throws StoreException; 26 27 public void exportNewOrder( WebPageRequest inContext, Store inStore, 28 Order inOrder ) throws StoreException; 29 30 public void captureOrder( WebPageRequest inContext, Store inStore, 31 Order inOrder ) throws StoreException; 32 33 public void changeOrderStatus( OrderState inStatus, Store inStore, 34 Order inOrder ) throws StoreException; 35 36 public List listOrders(Store inStore, WebPageRequest inReq) throws StoreException; 37 38 39 public Map getOrderStates(); 40 41 } | Popular Tags |