Subversion Repositories SmartDukaan

Rev

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

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