Subversion Repositories SmartDukaan

Rev

Rev 1992 | Rev 2105 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1992 Rev 2066
Line 2... Line 2...
2
 
2
 
3
 
3
 
4
import in.shop2020.catalog.dashboard.shared.Item;
4
import in.shop2020.catalog.dashboard.shared.Item;
5
 
5
 
6
import java.util.List;
6
import java.util.List;
-
 
7
import java.util.Map;
7
 
8
 
8
import com.google.gwt.user.client.rpc.RemoteService;
9
import com.google.gwt.user.client.rpc.RemoteService;
9
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
10
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
10
 
11
 
11
@RemoteServiceRelativePath("catalog")
12
@RemoteServiceRelativePath("catalog")
Line 15... Line 16...
15
    List<Item> getBestDeals();
16
    List<Item> getBestDeals();
16
    List<Item> getBestSellers();
17
    List<Item> getBestSellers();
17
    List<Item> getLatestArrivals();
18
    List<Item> getLatestArrivals();
18
    Item getItem(long itemId);
19
    Item getItem(long itemId);
19
    void reduceReservationCount(long itemId, long warehouseId, double quantity);
20
    void reduceReservationCount(long itemId, long warehouseId, double quantity);
-
 
21
    
-
 
22
    Map<Long,String> getAllVendors();
-
 
23
    Map<Long,String> getAllWarehouses();
20
}
24
}