public interface CrudReadService
CrudReadService.SORTORDER,
Param| Modifier and Type | Interface and Description |
|---|---|
static class |
CrudReadService.SORTORDER |
| Modifier and Type | Method and Description |
|---|---|
int |
count(String namedQuery,
List<Param> params)
|
int |
countDynamic(List<Param> params,
Class type) |
<T extends Serializable> |
find(Serializable id,
Class<T> type) |
<T extends Serializable> |
find(String namedQuery,
List<Param> params,
Integer first,
Integer max,
Class<T> type) |
<T extends Serializable> |
findAll(Class<T> type) |
<T extends Serializable> |
findDynamic(Integer first,
Integer pageSize,
Map<String,CrudReadService.SORTORDER> sort,
List<Param> params,
Class<T> type) |
<T extends Serializable> |
findNative(String namedNativeQuery,
List<Param> params,
Integer first,
Integer max,
Class<T> type) |
<T extends Serializable> |
findOne(String namedQuery,
List<Param> params,
Class<T> type)
return one result or null, multiple results throws an exception
|
<T extends Serializable> T find(Serializable id, Class<T> type)
<T extends Serializable> List<T> findAll(Class<T> type)
<T extends Serializable> List<T> findDynamic(Integer first, Integer pageSize, Map<String,CrudReadService.SORTORDER> sort, List<Param> params, Class<T> type)
<T extends Serializable> List<T> find(String namedQuery, List<Param> params, Integer first, Integer max, Class<T> type)
<T extends Serializable> List<T> findNative(String namedNativeQuery, List<Param> params, Integer first, Integer max, Class<T> type)
int count(String namedQuery, List<Param> params)
find(java.lang.String, java.util.List, java.lang.Integer, java.lang.Integer, java.lang.Class) or
findNative(java.lang.String, java.util.List, java.lang.Integer, java.lang.Integer, java.lang.Class).namedQuery - params - <T extends Serializable> T findOne(String namedQuery, List<Param> params, Class<T> type)
T - namedQuery - params - type - Copyright © 2018 Fryske Akademy. All rights reserved.