Пример #1
0
 @Override
 public PagerModel<T> findPaginated(
     Map<String, Object> params,
     String methodName,
     String methodNameForNumOfItems,
     Class<T> typeObject) {
   return dao.findPaginated(params, methodName, methodNameForNumOfItems, typeObject);
 }
Пример #2
0
 @Override
 public List<T> findAll(Class<T> typeObject) {
   return dao.findAll(typeObject);
 }
Пример #3
0
 @Override
 public PagerModel<T> findPaginated(T paramsValueObject, Class<T> typeObject) {
   return dao.findPaginated(paramsValueObject, typeObject);
 }
Пример #4
0
 @Override
 public T findByID(int oid, Class<T> typeObject) {
   return dao.findByID(oid, typeObject);
 }
Пример #5
0
 @Override
 public void deleteAll(Class<T> typeObject) {
   dao.deleteAll(typeObject);
 }
Пример #6
0
 @Override
 public void deleteByID(int oid, Class<T> typeObject) {
   dao.deleteByID(oid, typeObject);
 }
Пример #7
0
 @Override
 public int update(T entity, Class<T> typeObject) {
   return dao.update(entity, typeObject);
 }
Пример #8
0
 @Override
 public int save(T entity, Class<T> typeObject) {
   return dao.save(entity, typeObject);
 }