public interface CrudService<S extends EntityWithId<T>,T>
| Modifier and Type | Method and Description |
|---|---|
void |
delete(S entity) |
java.util.List<S> |
getAll() |
S |
getById(T id) |
java.util.List<S> |
query(java.lang.String name,
QueryParameter... params) |
S |
save(S entity) |
void delete(S entity) throws CrudException
CrudExceptionS save(S entity) throws CrudException
CrudExceptionjava.util.List<S> getAll() throws CrudException
CrudExceptionS getById(T id) throws CrudException
CrudExceptionjava.util.List<S> query(java.lang.String name, QueryParameter... params) throws CrudException
CrudException