Subversion Repositories SmartDukaan

Rev

Rev 33239 | Rev 33384 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
28493 tejbeer 1
package com.spice.profitmandi.service.warehouse;
2
 
33247 ranu 3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
4
import com.spice.profitmandi.common.model.ItemDescriptionModel;
33239 amit.gupta 5
import com.spice.profitmandi.common.model.ItemQtyModel;
33247 ranu 6
import com.spice.profitmandi.dao.entity.transaction.WarehouseAddressMaster;
33239 amit.gupta 7
import com.spice.profitmandi.dao.entity.warehouse.WarehouseInventoryItem;
8
import com.spice.profitmandi.dao.entity.warehouse.WarehousePurchaseOrder;
33247 ranu 9
import com.spice.profitmandi.dao.enumuration.inventory.InventoryType;
10
import com.spice.profitmandi.dao.enumuration.inventory.WarehouseType;
33239 amit.gupta 11
import com.spice.profitmandi.dao.model.transaction.OrderBillingModel;
12
import org.springframework.beans.factory.annotation.Autowired;
32194 tejbeer 13
import org.springframework.stereotype.Service;
14
 
33247 ranu 15
import java.util.List;
28493 tejbeer 16
 
17
@Service
18
public interface WarehouseService {
19
 
32194 tejbeer 20
    public List<Integer> getAuthWarehouses(String email) throws ProfitMandiBusinessException;
28493 tejbeer 21
 
32194 tejbeer 22
    public void createVendorWarehouse(WarehouseType warehouseType, InventoryType inventoryType, String label, int warehouseId, WarehouseAddressMaster wam, int vendorId);
30826 amit.gupta 23
 
32194 tejbeer 24
    public List<ItemDescriptionModel> getAllPartnerItemStringDescription(int vendorId);
33239 amit.gupta 25
 
26
    @Autowired
33247 ranu 27
    void billing(List<OrderBillingModel> orderBillingModels) throws ProfitMandiBusinessException;
33239 amit.gupta 28
 
29
    //TODO - NEED TO Implement
30
    WarehouseInventoryItem addInventoryItem(int purchaseId, WarehousePurchaseOrder warehousePurchaseOrder, ItemQtyModel itemQtyModel) throws ProfitMandiBusinessException;
28493 tejbeer 31
}