Subversion Repositories SmartDukaan

Rev

Rev 2126 | Rev 2359 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2126 Rev 2208
Line 11... Line 11...
11
/**
11
/**
12
 * The async counterpart of <code>CatalogService</code>.
12
 * The async counterpart of <code>CatalogService</code>.
13
 */
13
 */
14
public interface CatalogServiceAsync {
14
public interface CatalogServiceAsync {
15
    void updateItem(Item item, AsyncCallback<Boolean> callback);
15
    void updateItem(Item item, AsyncCallback<Boolean> callback);
-
 
16
 
16
    void getAllItems(AsyncCallback<List<Item>> callback);
17
    void getAllItems(AsyncCallback<List<Item>> callback);
-
 
18
    void getAllPhasedOutItems(AsyncCallback<List<Item>> callback);
-
 
19
    void getAllPausedItems(AsyncCallback<List<Item>> callback);
17
    void getAllActiveItems(AsyncCallback<List<Item>> callback);
20
    void getAllActiveItems(AsyncCallback<List<Item>> callback);
18
    void getBestDeals(AsyncCallback<List<Item>> callback);
21
    void getBestDeals(AsyncCallback<List<Item>> callback);
19
    void getBestSellers(AsyncCallback<List<Item>> callback);
22
    void getBestSellers(AsyncCallback<List<Item>> callback);
20
    void getLatestArrivals(AsyncCallback<List<Item>> callback);
23
    void getLatestArrivals(AsyncCallback<List<Item>> callback);
-
 
24
    
21
    void getItem(long itemId, AsyncCallback<Item> callback);
25
    void getItem(long itemId, AsyncCallback<Item> callback);
22
    
26
    
23
    void getAllVendors(AsyncCallback<Map<Long,String>> callback);
27
    void getAllVendors(AsyncCallback<Map<Long,String>> callback);
24
    void getAllWarehouses(AsyncCallback<Map<Long,String>> callback);
28
    void getAllWarehouses(AsyncCallback<Map<Long,String>> callback);
25
    
29