|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
K - the primary key of the beanE - the bean class@Transactional public interface IAbstractService<K,E>
The User interface for service
| Method Summary | |
|---|---|
void |
doDeleteBean(K bean)
Delete user in database |
void |
doSaveBean(E bean)
Create or update user in database |
List<E> |
find(AbstractFilter<K> filter,
PaginationProperties paginationProperties)
Get all the bean matching the filter from dao |
List<E> |
findAll(PaginationProperties paginationProperties)
Get all the bean from dao |
E |
findByPrimaryKey(K key)
Find an entity by its Id |
| Method Detail |
|---|
E findByPrimaryKey(K key)
key - The entity key
void doSaveBean(E bean)
bean - the bean to savevoid doDeleteBean(K bean)
bean - the bean to deleteList<E> findAll(PaginationProperties paginationProperties)
paginationProperties - the pagination properties
List<E> find(AbstractFilter<K> filter,
PaginationProperties paginationProperties)
filter - the filterpaginationProperties - the pagination properties
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||