Pharmacy_09_03_18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.bestray.healthcarepharmacy.service;
import com.bestray.healthcarecommonutil.exception.ProcessingException;
import com.bestray.healthcarecommonutil.vo.TInventoryMaster;
import com.bestray.healthcarecommonutil.vo.TMedicationMaster;
import com.bestray.healthcarecommonutil.vo.TPharmacyBilling;
import com.bestray.healthcarecommonutil.vo.TPharmacyPurchase;
import java.util.Date;
import java.util.List;
import org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException;
/**
*
* @author user3
*/
public interface PurchaseService {
public List<TPharmacyPurchase> savePurchaseDetails(List<TPharmacyPurchase> purchase)throws ProcessingException;
public List<TInventoryMaster> getInventoryByMedication(TMedicationMaster medication) throws ProcessingException;
public void updateInventoryMaster(List<TInventoryMaster> inventory)throws ProcessingException,HibernateOptimisticLockingFailureException;
public TPharmacyBilling savePurchaseBilling(TPharmacyBilling pharmacyBilling)throws ProcessingException, HibernateOptimisticLockingFailureException;
public void savePurchasedMedicineToInventory(TInventoryMaster inventory)throws ProcessingException, HibernateOptimisticLockingFailureException;
public List<TPharmacyPurchase> getPurchaseDetailBeforeGivenDate(TMedicationMaster medication,Date fromDate) throws ProcessingException;
public List<TPharmacyPurchase> getPurchaseDetailBetweenTwoDate(TMedicationMaster medication,Date fromDate,Date toDate) throws ProcessingException;
}
|
Revision |
Author |
Commited |
Message |
1
|
girijabapi
|
Fri 27 Jul, 2018 07:30:57 +0000 |
|