1 package net.avcompris.commons3.api; 2 3 import javax.annotation.Nullable; 4 5 import net.avcompris.commons.query.Filtering; 6 7 public interface EntitiesQuery<T extends Filtering<U>, U extends Filtering.Field> { 8 9 @Nullable 10 T getFiltering(); 11 12 Object[] getSortBys(); 13 14 Object[] getExpands(); 15 16 @Nullable 17 Integer getStart(); 18 19 @Nullable 20 Integer getLimit(); 21 22 interface EnumSortBy { 23 24 String name(); 25 } 26 }