public interface GenericService<T extends BaseEntity>
| Modifier and Type | Method and Description |
|---|---|
Collection<T> |
addAll(Collection<T> tList) |
T |
addNew(T t) |
int |
countByCriteria(Map<String,Object> criteriaMap,
Filter filter,
boolean strict) |
void |
delete(T t) |
List<T> |
findByCriteria(Map<String,Object> criterias,
Filter filter,
boolean strict,
int firstResult,
int maxResults,
org.hibernate.criterion.Order order) |
T |
findById(Serializable id) |
GenericDAO<T> |
getDAO() |
void |
setDAO(GenericDAO<T> dao) |
void |
update(T t) |
List<T> findByCriteria(Map<String,Object> criterias, Filter filter, boolean strict, int firstResult, int maxResults, org.hibernate.criterion.Order order)
T findById(Serializable id)
Collection<T> addAll(Collection<T> tList)
void delete(T t)
void update(T t)
void setDAO(GenericDAO<T> dao)
GenericDAO<T> getDAO()
Copyright © 2015 Jamax Software. All rights reserved.