public Organization getModel(Integer parentid) {
   return (Organization) superDao.select(Organization.class, parentid);
 }
 public Organization check(String hql, Object[] objects) {
   return (Organization) superDao.check(hql, objects);
 }
 public List<Organization> getAllOrganizations(Class<Organization> clazz, String hql) {
   return ConvertObject(superDao.getAllObjects(clazz, hql));
 }
 public List<Organization> getPageOrganizations(int index, Class<Organization> clazz, String hql) {
   return ConvertObject(superDao.getPage(index, clazz, hql));
 }
 public Organization select(Class<Organization> clazz, Integer id) {
   return (Organization) superDao.select(clazz, id);
 }
 public void update(Object model) {
   superDao.update(model);
 }
 public void delete(Object model) {
   superDao.delete(model);
 }
Exemple #8
0
 public List<OrderProductRecord> findByConditionOPR(String hql) {
   return convertToOPR(superDao.find(hql));
 }
 public Serializable add(Object model) {
   return superDao.add(model);
 }
Exemple #10
0
 public List<ContractProductRecord> findByConditions(String hql) {
   return convertToListCPR(superDao.find(hql));
 }
Exemple #11
0
 public List<PaymentPlan> findByConditionsPP(String hql) {
   return convertToListPP(superDao.find(hql));
 }
Exemple #12
0
 public List<Product> findByCondition(String hql) {
   return convertToListProduct(superDao.find(hql));
 }
Exemple #13
0
 public List findByCondition(int i, String name, String hql) {
   return superDao.getPage(i, name, hql);
 }
Exemple #14
0
 public List findByCondition(Integer id) {
   return superDao.find("from Person p where p.id = " + id);
 }
Exemple #15
0
 public List getAllContents(String className, String hql) {
   return superDao.getAllObjects(className, hql);
 }
Exemple #16
0
 public List findByCondition(
     int i, String clazz, String findCondition, String textfield, String hql) {
   return superDao.getPage(i, clazz, findCondition, textfield, hql);
 }