Rev 1961 | Rev 1992 | 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 com.google.gwt.user.client.rpc.RemoteService;import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;@RemoteServiceRelativePath("catalog")public interface CatalogService extends RemoteService {void updatePrice(long itemId, double sellingPrice);List<Item> getAllItems();List<Item> getBestDeals();List<Item> getBestSellers();List<Item> getLatestArrivals();Item getItem(long itemId);void reduceReservationCount(long itemId, long warehouseId, double quantity);}