Subversion Repositories SmartDukaan

Rev

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

Rev 2208 Rev 2359
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
    boolean updateItemOnProduction(Item item);
15
 
16
 
16
    List<Item> getAllItems();
17
    List<Item> getAllItems();
17
    List<Item> getAllPhasedOutItems();
18
    List<Item> getAllPhasedOutItems();
18
    List<Item> getAllPausedItems();
19
    List<Item> getAllPausedItems();
19
    List<Item> getAllActiveItems();
20
    List<Item> getAllActiveItems();
-
 
21
    List<Item> getAllInProcessItems();
-
 
22
    List<Item> getAllContentCompleteItems();
-
 
23
    
20
    List<Item> getBestDeals();
24
    List<Item> getBestDeals();
21
    List<Item> getBestSellers();
25
    List<Item> getBestSellers();
22
    List<Item> getLatestArrivals();
26
    List<Item> getLatestArrivals();
-
 
27
    List<Item> getRiskyItems();
23
    
28
    
24
    Item getItem(long itemId);
29
    Item getItem(long itemId);
25
    
30
    
26
    Map<Long,String> getAllVendors();
31
    Map<Long,String> getAllVendors();
27
    Map<Long,String> getAllWarehouses();
32
    Map<Long,String> getAllWarehouses();
Line 31... Line 36...
31
    void pauseItem(long itemId);
36
    void pauseItem(long itemId);
32
    void markInProcess(long itemId);
37
    void markInProcess(long itemId);
33
    long addItem(Item item);
38
    long addItem(Item item);
34
    
39
    
35
    long checkSimilarItem(String productGroup, String brand, String modelNumber, String color);
40
    long checkSimilarItem(String productGroup, String brand, String modelNumber, String color);
-
 
41
    
-
 
42
    //void uploadItems(String filename, long vendorId, String category, boolean fullUpdate, boolean dryRun, String suppliedProductGroup);
-
 
43
    
-
 
44
    boolean changeItemRiskyFlag(long itemId, boolean risky);
-
 
45
 
36
}
46
}