KNH_Project
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.bestray.healthcarecommonutil.dao;
import com.bestray.healthcarecommonutil.exception.DataAccessException;
import com.bestray.healthcarecommonutil.vo.DuplicatePatient;
import com.bestray.healthcarecommonutil.vo.TPatient;
import java.util.List;
import org.hibernate.exception.ConstraintViolationException;
import org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException;
// TODO: Auto-generated Javadoc
/**
* The Interface PatientDao.
*
* @author User1
*/
public interface PatientDao {
/**
* Save patient registration.
*
* @param patient the patient
* @throws DataAccessException the data access exception
* @throws ConstraintViolationException the constraint violation exception
* @throws HibernateOptimisticLockingFailureException the hibernate optimistic locking failure exception
*/
public void savePatientRegistration(TPatient patient)throws DataAccessException,ConstraintViolationException,HibernateOptimisticLockingFailureException;
/**
* Gets the patient details.
*
* @param ID the id
* @return the patient details
* @throws DataAccessException the data access exception
*/
public TPatient getPatientDetails(Long ID)throws DataAccessException;
/**
* Find all patientrecords.
*
* @return the list
* @throws DataAccessException the data access exception
*/
public List<TPatient> findAllPatientrecords()throws DataAccessException;
/**
* Find patient wise.
*
* @param searchCriteria the search criteria
* @return the list
* @throws DataAccessException the data access exception
*/
public List<TPatient> findPatientWise(String searchCriteria)throws DataAccessException;
/**
* Gets the id to insert.
*
* @return the id to insert
* @throws DataAccessException the data access exception
*/
public String getIdToInsert() throws DataAccessException ;
//public void saveTempPatientId() throws DataAccessException;
public boolean isDuplicatePatient(TPatient patient)throws DataAccessException ;
public List<DuplicatePatient> findDuplicatePatientDetails()throws DataAccessException;
public List<TPatient> findDuplicateRecordsByPatient(DuplicatePatient patient)throws DataAccessException;
public void changePatientStatus(String patientids)throws DataAccessException;
public Long getIdAfterPatientSave(TPatient patient)throws DataAccessException;
public List<TPatient> getPatientByPatientId(String patientID)throws DataAccessException;
}
|
Revision |
Author |
Commited |
Message |
1
|
girijabapi
|
Fri 27 Jul, 2018 13:29:42 +0000 |
|