Subversion Repositories SmartDukaan

Rev

Rev 18457 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18457 Rev 21864
Line 1... Line 1...
1
package in.shop2020.catalog.dashboard.shared;
1
package in.shop2020.catalog.dashboard.shared;
2
 
2
 
3
import in.shop2020.catalog.dashboard.client.CatalogService;
3
import in.shop2020.catalog.dashboard.client.CatalogService;
4
import in.shop2020.catalog.dashboard.client.CatalogServiceAsync;
4
import in.shop2020.catalog.dashboard.client.CatalogServiceAsync;
-
 
5
import in.shop2020.model.v1.catalog.CategoryHsnCode;
5
 
6
 
6
import java.util.Date;
7
import java.util.Date;
7
import java.util.List;
8
import java.util.List;
8
import java.util.Map;
9
import java.util.Map;
9
import java.util.Map.Entry;
10
import java.util.Map.Entry;
Line 38... Line 39...
38
    private static List<String> categories, brands;
39
    private static List<String> categories, brands;
39
    
40
    
40
    private static final CatalogServiceAsync catalogService = GWT.create(CatalogService.class);
41
    private static final CatalogServiceAsync catalogService = GWT.create(CatalogService.class);
41
    
42
    
42
    private static List<ItemWarehouse> ignoredInventoryUpdateItemsIdsWarehouseIds;
43
    private static List<ItemWarehouse> ignoredInventoryUpdateItemsIdsWarehouseIds;
-
 
44
    
-
 
45
    private static List<CategoryHsnCode> categoryHsnCodes;
-
 
46
    
43
    private static Map<Long,String> allInsurers;
47
    private static Map<Long,String> allInsurers;
44
    
48
    
45
    static {
49
    static {
46
    	catalogService.getAllInsurers(new AsyncCallback<Map<Long,String>>() {
50
    	catalogService.getAllInsurers(new AsyncCallback<Map<Long,String>>() {
47
            @Override
51
            @Override
Line 164... Line 168...
164
            @Override
168
            @Override
165
            public void onFailure(Throwable caught) {
169
            public void onFailure(Throwable caught) {
166
                caught.printStackTrace();
170
                caught.printStackTrace();
167
            }
171
            }
168
        });
172
        });
-
 
173
        
-
 
174
 
169
 
175
 
170
    }
176
    }
171
    
177
    
172
    public static void setEntityIdMandatory(boolean entityIdMandatory) {
178
    public static void setEntityIdMandatory(boolean entityIdMandatory) {
173
		Utils.entityIdMandatory = entityIdMandatory;
179
		Utils.entityIdMandatory = entityIdMandatory;