public CollectionOptions(RequestItem request) { this.sortBy = request.getSortBy(); this.sortOrder = request.getSortOrder(); this.setFilter(request.getFilterBy()); this.setFilterOperation(request.getFilterOperation()); this.setFilterValue(request.getFilterValue()); this.setFirst(request.getStartIndex()); this.setMax(request.getCount() ?? RequestItem.DEFAULT_COUNT); this.setUpdatedSince(request.getUpdatedSince()); }
public void setSortOrder(IPersonService.SortOrder sortOrder) { this.sortOrder = sortOrder; }