Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1961 ankur.sing 1
package in.shop2020.catalog.dashboard.client;
2
 
3
 
4
import in.shop2020.catalog.dashboard.shared.Item;
5
 
6
import java.util.List;
7
 
8
import com.google.gwt.user.client.rpc.RemoteService;
9
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
10
 
11
@RemoteServiceRelativePath("catalog")
12
public interface CatalogService extends RemoteService {
13
    void updatePrice(long itemId, double sellingPrice);
14
    List<Item> getAllItems();
15
    List<Item> getBestDeals();
16
    List<Item> getBestSellers();
17
    List<Item> getLatestArrivals();
18
    Item getItem(long itemId);
19
    void reduceReservationCount(long itemId, long warehouseId, double quantity);
20
}