Subversion Repositories SmartDukaan

Rev

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

Rev 3558 Rev 3850
Line 1... Line 1...
1
package in.shop2020.catalog.dashboard.client;
1
package in.shop2020.catalog.dashboard.client;
2
 
2
 
3
 
3
 
4
import in.shop2020.catalog.dashboard.shared.Item;
4
import in.shop2020.catalog.dashboard.shared.Item;
-
 
5
import in.shop2020.catalog.dashboard.shared.ItemStatus;
5
 
6
 
6
import java.util.List;
7
import java.util.List;
7
import java.util.Map;
8
import java.util.Map;
8
 
9
 
9
import com.google.gwt.user.client.rpc.RemoteService;
10
import com.google.gwt.user.client.rpc.RemoteService;
Line 27... Line 28...
27
     * @return - String. If any error occurred, then the string contains an error message to be shown to the user
28
     * @return - String. If any error occurred, then the string contains an error message to be shown to the user
28
     * otherwise it contains the success message 
29
     * otherwise it contains the success message 
29
     */
30
     */
30
    String updateItemOnProduction(Item item);
31
    String updateItemOnProduction(Item item);
31
 
32
 
32
    /**
-
 
33
     * 
-
 
34
     * @return list of all items.
33
    int getItemCountByStatus(boolean useStatus, ItemStatus itemStatus);
35
     */
34
    
36
    List<Item> getAllItems();
35
    List<Item> getAllItems(int start, int limit);
37
    
36
    
38
    /**
37
    /**
39
     * @return list of PHASED_OUT items.
38
     * @return list of PHASED_OUT items.
40
     */
39
     */
41
    List<Item> getAllPhasedOutItems();
40
    List<Item> getAllPhasedOutItems(int start, int limit);
42
    
41
    
43
    /**
42
    /**
44
     * @return list of PAUSED items.
43
     * @return list of PAUSED items.
45
     */
44
     */
46
    List<Item> getAllPausedItems();
45
    List<Item> getAllPausedItems(int start, int limit);
47
    
46
    
48
    /**
47
    /**
49
     * @return list of all ACTIVE items.
48
     * @return list of all ACTIVE items.
50
     */
49
     */
51
    List<Item> getAllActiveItems();
50
    List<Item> getAllActiveItems(int start, int limit);
52
    
51
    
53
    /**
52
    /**
54
     * @return list of items with status IN_PROCESS
53
     * @return list of items with status IN_PROCESS
55
     */
54
     */
56
    List<Item> getAllInProcessItems();
55
    List<Item> getAllInProcessItems(int start, int limit);
57
    
56
    
58
    /**
57
    /**
59
     * @return list of items with status CONTENT_COMPLETE 
58
     * @return list of items with status CONTENT_COMPLETE 
60
     */
59
     */
61
    List<Item> getAllContentCompleteItems();
60
    List<Item> getAllContentCompleteItems(int start, int limit);
62
    
61
    
63
    /**
62
    /**
64
     * @return list of items which are also best deals.
63
     * @return list of items which are also best deals.
65
     */
64
     */
66
    List<Item> getBestDeals();
65
    List<Item> getBestDeals();