Subversion Repositories SmartDukaan

Rev

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

Rev 2105 Rev 2119
Line 11... Line 11...
11
 
11
 
12
@RemoteServiceRelativePath("catalog")
12
@RemoteServiceRelativePath("catalog")
13
public interface CatalogService extends RemoteService {
13
public interface CatalogService extends RemoteService {
14
    boolean updateItem(Item item);
14
    boolean updateItem(Item item);
15
    List<Item> getAllItems();
15
    List<Item> getAllItems();
-
 
16
    List<Item> getAllActiveItems();
16
    List<Item> getBestDeals();
17
    List<Item> getBestDeals();
17
    List<Item> getBestSellers();
18
    List<Item> getBestSellers();
18
    List<Item> getLatestArrivals();
19
    List<Item> getLatestArrivals();
19
    Item getItem(long itemId);
20
    Item getItem(long itemId);
20
    void reduceReservationCount(long itemId, long warehouseId, double quantity);
-
 
21
    
21
    
22
    Map<Long,String> getAllVendors();
22
    Map<Long,String> getAllVendors();
23
    Map<Long,String> getAllWarehouses();
23
    Map<Long,String> getAllWarehouses();
24
    
24
    
25
    void phaseoutItem(long itemId);
25
    void phaseoutItem(long itemId);
26
    void activateItem(long itemId);
26
    void activateItem(long itemId);
27
    long addItem(Item item);
27
    long addItem(Item item);
-
 
28
    
-
 
29
    long checkSimilarItem(String productGroup, String brand, String modelNumber, String color);
28
}
30
}