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