Subversion Repositories SmartDukaan

Rev

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

Rev 2284 Rev 2356
Line 249... Line 249...
249
	Returns true if it exists else false.
249
	Returns true if it exists else false.
250
	*/
250
	*/
251
	bool itemExists(1:string productGroup, 2:string brand, 3:string modelNumber, 4:string color, 5:i64 vendor_id, 6:string category),
251
	bool itemExists(1:string productGroup, 2:string brand, 3:string modelNumber, 4:string color, 5:i64 vendor_id, 6:string category),
252
	
252
	
253
	/**
253
	/**
254
	Adds vendor item mapping. Updates the key it the mapping already exists.  
254
	Adds VendorItemMapping. Updates VendorItemMapping if exists corresponding to the item key.  
255
	*/
255
	*/
256
	void addVendorItemMapping(1:VendorItemMapping vendorItemMapping) throws (1:InventoryServiceException cex),
256
	void addVendorItemMapping(1:string key, 2:VendorItemMapping vendorItemMapping) throws (1:InventoryServiceException cex),
257
	
257
	
258
	/**
258
	/**
259
	Returns the list of vendor item mapping corresponding to itemId passed as parameter.
259
	Returns the list of vendor item mapping corresponding to itemId passed as parameter.
260
	Raises an exception if item not found corresponding to itemId
260
	Raises an exception if item not found corresponding to itemId
261
	*/
261
	*/
Line 268... Line 268...
268
	i64 checkSimilarItem(1:string productGroup, 2:string brand, 3:string modelNumber, 4:string color),
268
	i64 checkSimilarItem(1:string productGroup, 2:string brand, 3:string modelNumber, 4:string color),
269
	
269
	
270
	/**
270
	/**
271
	Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
271
	Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
272
	*/
272
	*/
273
	void changeItemRiskyFlag(1:i64 itemId, 2:bool risky)
273
	void changeItemRiskyFlag(1:i64 itemId, 2:bool risky),
-
 
274
	
-
 
275
	/**
-
 
276
	Returns list of items marked as risky.
-
 
277
	*/
-
 
278
	list<Item> getItemsByRiskyFlag(),
-
 
279
	
-
 
280
	/**
-
 
281
	Returns list of items with any status except PHASED_OUT and filtered by vendor category.
-
 
282
	Raises exception if vendorCategory is null. 
-
 
283
	*/
-
 
284
	list<Item> getItemsByVendorCategory(1:string vendorCategory)
274
}
285
}
275
 
286