use of org.jbei.ice.lib.entry.SampleEntries in project ice by JBEI.
the class CollectionEntries method getSampleEntries.
private Results<PartData> getSampleEntries(ColumnField field, boolean asc, int offset, int limit, String filter, List<String> fields) {
SampleEntries entries = new SampleEntries(this.userId);
final List<PartData> list = entries.get(field, asc, offset, limit, filter, fields);
final long count = entries.getCount(filter);
Results<PartData> results = new Results<>();
results.setResultCount(count);
results.setData(list);
return results;
}
Aggregations