Rev 2208 | Rev 2427 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package in.shop2020.catalog.dashboard.client;import in.shop2020.catalog.dashboard.shared.Item;import java.util.List;import java.util.Map;import com.google.gwt.user.client.rpc.AsyncCallback;/*** The async counterpart of <code>CatalogService</code>.*/public interface CatalogServiceAsync {void updateItem(Item item, AsyncCallback<Boolean> callback);void updateItemOnProduction(Item item, AsyncCallback<Boolean> callback);void getAllItems(AsyncCallback<List<Item>> callback);void getAllPhasedOutItems(AsyncCallback<List<Item>> callback);void getAllPausedItems(AsyncCallback<List<Item>> callback);void getAllActiveItems(AsyncCallback<List<Item>> callback);void getAllInProcessItems(AsyncCallback<List<Item>> callback);void getAllContentCompleteItems(AsyncCallback<List<Item>> callback);void getBestDeals(AsyncCallback<List<Item>> callback);void getBestSellers(AsyncCallback<List<Item>> callback);void getLatestArrivals(AsyncCallback<List<Item>> callback);void getRiskyItems(AsyncCallback<List<Item>> callback);void getItem(long itemId, AsyncCallback<Item> callback);void getAllVendors(AsyncCallback<Map<Long,String>> callback);void getAllWarehouses(AsyncCallback<Map<Long,String>> callback);void phaseoutItem(long itemId, AsyncCallback<Void> callback);void activateItem(long itemId, AsyncCallback<Void> callback);void pauseItem(long itemId, AsyncCallback<Void> callback);void markInProcess(long itemId, AsyncCallback<Void> callback);void addItem(Item item, AsyncCallback<Long> callback);void checkSimilarItem(String productGroup, String brand, String modelNumber, String color, AsyncCallback<Long> callback);//void uploadItems(String filename, long vendorId, String category, boolean fullUpdate, boolean dryRun, String suppliedProductGroup, AsyncCallback<Void> callback);void changeItemRiskyFlag(long itemId, boolean risky, AsyncCallback<Boolean> callback);}