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 Long
count(K where)
Long
count(K where, String column)
void
create(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)
E
findFirst(K where)
E
findFirst(K where, String column)
E
get(Long id)
void
remove(Long id)
E
save(E object)
List<E>
search(K where, String column, String text, String[] fields)
-