Subversion Repositories SmartDukaan

Rev

Rev 1962 | Rev 2066 | 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 {
    boolean updateItem(Item item);
    List<Item> getAllItems();
    List<Item> getBestDeals();
    List<Item> getBestSellers();
    List<Item> getLatestArrivals();
    Item getItem(long itemId);
    void reduceReservationCount(long itemId, long warehouseId, double quantity);
}