Subversion Repositories SmartDukaan

Rev

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

Rev 1962 Rev 1992
Line 8... Line 8...
8
import com.google.gwt.user.client.rpc.RemoteService;
8
import com.google.gwt.user.client.rpc.RemoteService;
9
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
9
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
10
 
10
 
11
@RemoteServiceRelativePath("catalog")
11
@RemoteServiceRelativePath("catalog")
12
public interface CatalogService extends RemoteService {
12
public interface CatalogService extends RemoteService {
13
    void updatePrice(long itemId, double sellingPrice);
13
    boolean updateItem(Item item);
14
    List<Item> getAllItems();
14
    List<Item> getAllItems();
15
    List<Item> getBestDeals();
15
    List<Item> getBestDeals();
16
    List<Item> getBestSellers();
16
    List<Item> getBestSellers();
17
    List<Item> getLatestArrivals();
17
    List<Item> getLatestArrivals();
18
    Item getItem(long itemId);
18
    Item getItem(long itemId);