Hi,
i've made a base class :
Code:
public class DAOHIBSupport {
protected Session getSession() {
}
protected void closeSession() {
}
public ObjetBase getStd(Class c, Long idObjet) {
}
public void saveStd(ObjetBase o) {
}
public void deleteStd(ObjetBase o) {
}
public List getListStd(String query, int nbOffreParPage, int }
public List getListStd(String query) {
}
public int getCountStd(String query) {
}
}
i need to use use query parameters from extended classes.
I would add a method like :
Code:
List getListStd(String query, QueryParameters qp){
}
Is it a good way ?
Thanks,
Fabien.