Пример #1
0
 /**
  * Fetches all of the entities of this type paged
  *
  * @param startAt The start index
  * @param maxResults The max number of results to return
  * @return The entities on the page
  */
 public EntityResponse<PagedEntity<T>> getAll(int startAt, int maxResults, SortParam sort) {
   return createEntityResponse(manager.getAll(startAt, maxResults, sort));
 }
Пример #2
0
 /**
  * Fetches all of the entities of this type
  *
  * @return All of the entities of this type
  */
 public EntityResponse<List<T>> getAll() {
   return createEntityResponse(manager.getAll());
 }