Subversion Repositories SmartDukaan

Rev

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

Rev 2359 Rev 2427
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
    void updateItemOnProduction(Item item, AsyncCallback<Boolean> callback);
16
    void updateItemOnProduction(Item item, AsyncCallback<String> callback);
17
 
17
 
18
    void getAllItems(AsyncCallback<List<Item>> callback);
18
    void getAllItems(AsyncCallback<List<Item>> callback);
19
    void getAllPhasedOutItems(AsyncCallback<List<Item>> callback);
19
    void getAllPhasedOutItems(AsyncCallback<List<Item>> callback);
20
    void getAllPausedItems(AsyncCallback<List<Item>> callback);
20
    void getAllPausedItems(AsyncCallback<List<Item>> callback);
21
    void getAllActiveItems(AsyncCallback<List<Item>> callback);
21
    void getAllActiveItems(AsyncCallback<List<Item>> callback);
Line 38... Line 38...
38
    void markInProcess(long itemId, AsyncCallback<Void> callback);
38
    void markInProcess(long itemId, AsyncCallback<Void> callback);
39
    void addItem(Item item, AsyncCallback<Long> callback);
39
    void addItem(Item item, AsyncCallback<Long> callback);
40
    
40
    
41
    void checkSimilarItem(String productGroup, String brand, String modelNumber, String color, AsyncCallback<Long> callback);
41
    void checkSimilarItem(String productGroup, String brand, String modelNumber, String color, AsyncCallback<Long> callback);
42
    
42
    
43
    //void uploadItems(String filename, long vendorId, String category, boolean fullUpdate, boolean dryRun, String suppliedProductGroup, AsyncCallback<Void> callback);
-
 
44
    
-
 
45
    void changeItemRiskyFlag(long itemId, boolean risky, AsyncCallback<Boolean> callback);
43
    void changeItemRiskyFlag(long itemId, boolean risky, AsyncCallback<Boolean> callback);
46
}
44
}