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.RemoteService;import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;@RemoteServiceRelativePath("catalog")public interface CatalogService extends RemoteService {boolean updateItem(Item item);boolean updateItemOnProduction(Item item);List<Item> getAllItems();List<Item> getAllPhasedOutItems();List<Item> getAllPausedItems();List<Item> getAllActiveItems();List<Item> getAllInProcessItems();List<Item> getAllContentCompleteItems();List<Item> getBestDeals();List<Item> getBestSellers();List<Item> getLatestArrivals();List<Item> getRiskyItems();Item getItem(long itemId);Map<Long,String> getAllVendors();Map<Long,String> getAllWarehouses();void phaseoutItem(long itemId);void activateItem(long itemId);void pauseItem(long itemId);void markInProcess(long itemId);long addItem(Item item);long checkSimilarItem(String productGroup, String brand, String modelNumber, String color);//void uploadItems(String filename, long vendorId, String category, boolean fullUpdate, boolean dryRun, String suppliedProductGroup);boolean changeItemRiskyFlag(long itemId, boolean risky);}