Skip to content

Commit

Permalink
JNG-1968: add getRangeOf DAO operation
Browse files Browse the repository at this point in the history
  • Loading branch information
borcsokj committed Feb 2, 2021
1 parent 3821c43 commit cea28b8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/main/java/hu/blackbelt/judo/dao/api/DAO.java
Original file line number Diff line number Diff line change
@@ -37,6 +37,18 @@ public interface DAO<ID> {
*/
Payload getDefaultsOf(EClass clazz);

/**
* Get range of a given transfer object relation.
*
* @param reference transfer objet relation
* @param payload owner data of relation
* @param filter filter expression
* @param orderByList order by clauses
* @param seek seek parameters (limit, last item, reverse pagination)
* @return list of possible item(s)
*/
Collection<Payload> getRangeOf(EReference reference, Payload payload, String filter, List<OrderBy> orderByList, Seek seek);

/**
* Get all instances of a given mapped transfer object type.
* <p>

0 comments on commit cea28b8

Please sign in to comment.