Subversion Repositories SmartDukaan

Rev

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

Rev 2126 Rev 2208
Line 10... Line 10...
10
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
10
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
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
 
15
    List<Item> getAllItems();
16
    List<Item> getAllItems();
-
 
17
    List<Item> getAllPhasedOutItems();
-
 
18
    List<Item> getAllPausedItems();
16
    List<Item> getAllActiveItems();
19
    List<Item> getAllActiveItems();
17
    List<Item> getBestDeals();
20
    List<Item> getBestDeals();
18
    List<Item> getBestSellers();
21
    List<Item> getBestSellers();
19
    List<Item> getLatestArrivals();
22
    List<Item> getLatestArrivals();
-
 
23
    
20
    Item getItem(long itemId);
24
    Item getItem(long itemId);
21
    
25
    
22
    Map<Long,String> getAllVendors();
26
    Map<Long,String> getAllVendors();
23
    Map<Long,String> getAllWarehouses();
27
    Map<Long,String> getAllWarehouses();
24
    
28