Subversion Repositories SmartDukaan

Rev

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

Rev 32690 Rev 33189
Line 7... Line 7...
7
import com.spice.profitmandi.dao.entity.transaction.PriceDropIMEI;
7
import com.spice.profitmandi.dao.entity.transaction.PriceDropIMEI;
8
import org.springframework.stereotype.Service;
8
import org.springframework.stereotype.Service;
9
 
9
 
10
import java.time.LocalDateTime;
10
import java.time.LocalDateTime;
11
import java.util.List;
11
import java.util.List;
-
 
12
import java.util.Optional;
12
 
13
 
13
@Service
14
@Service
14
public interface PriceDropService {
15
public interface PriceDropService {
15
	List<InventoryItem> getInventoryForPriceDrop(List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop)
16
	List<InventoryItem> getInventoryForPriceDrop(List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop)
16
			throws ProfitMandiBusinessException;
17
			throws ProfitMandiBusinessException;
17
 
18
 
18
	void priceDropStatus(int priceDropId) throws Exception;
19
	void priceDropStatus(int priceDropId) throws Exception;
19
 
20
 
20
	List<ImeiDropSummaryModel> getAllSerialNumbersByAffectedDate(LocalDateTime affectedOn, Integer catalogItemId)
21
    List<ImeiDropSummaryModel> getAllSerialNumbersByAffectedDate(LocalDateTime affectedOn, Integer catalogItemId, Optional<LocalDateTime> createdOn) throws ProfitMandiBusinessException;
21
			throws ProfitMandiBusinessException;
-
 
22
 
22
 
23
	void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
23
    void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
24
 
24
 
25
	List<PriceDropIMEI> processPriceDrop(int priceDropId, boolean activeOnly) throws ProfitMandiBusinessException;
25
	List<PriceDropIMEI> processPriceDrop(int priceDropId, boolean activeOnly) throws ProfitMandiBusinessException;
26
 
26
 
27
	List<PriceDropIMEI> processPriceDrop(int priceDropId, List<String> imeis) throws ProfitMandiBusinessException;
27
	List<PriceDropIMEI> processPriceDrop(int priceDropId, List<String> imeis) throws ProfitMandiBusinessException;
28
 
28