return client.get(getEndpointSegment(), params, getPaginatedResultType());
}
@Override
public List<T> listAll(Query<T> query, SortBy<T> sortBy, boolean includeDeleted) throws IOException {
ProgressMonitor monitor = new NullProgressMonitor();
currentMonitor = monitor;
try {
PaginatedResult<T> page = list(query, sortBy, null, includeDeleted);
monitor.beginTask(page.getTotal());
int total = page.getTotal();
if(total == 0)
return Collections.emptyList();