Package com.tetsuwantech.atom.database
Interface GenericService<E extends GenericEntity,K>
-
- All Known Subinterfaces:
AuditService,SubjectService
- All Known Implementing Classes:
AuditServiceImpl,GenericServiceImpl,SecureServiceImpl,SubjectServiceImpl
public interface GenericService<E extends GenericEntity,K>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Longcount(K where)Longcount(K where, String column)voidcreate(E object)List<E>findAll()List<E>findAll(K where)List<E>findAll(K where, String column)List<E>findAll(K where, String column, String orderBy)EfindFirst(K where)EfindFirst(K where, String column)Eget(Long id)voidremove(Long id)Esave(E object)List<E>search(K where, String column, String text, String[] fields)
-