@Override public List<ValidationRuleGroup> getValidationRuleGroupsBetween( int first, int max ) { return validationRuleGroupStore.getAllOrderedName( first, max ); }
@Override public List<Report> getReportsBetween( int first, int max ) { return reportStore.getAllOrderedName( first, max ); }
@Override public List<UserGroup> getUserGroupsBetween( int first, int max ) { return userGroupStore.getAllOrderedName( first, max ); }
@Override public List<Constant> getConstantsBetween( int first, int max ) { return constantStore.getAllOrderedName( first, max ); }
@Override @SuppressWarnings( "unchecked" ) public <T extends IdentifiableObject> List<T> getAllSorted( Class<T> clazz ) { IdentifiableObjectStore<IdentifiableObject> store = getIdentifiableObjectStore( clazz ); if ( store == null ) { return new ArrayList<>(); } return (List<T>) store.getAllOrderedName(); }
@Override @SuppressWarnings( "unchecked" ) public <T extends IdentifiableObject> List<T> getBetweenSorted( Class<T> clazz, int first, int max ) { IdentifiableObjectStore<IdentifiableObject> store = getIdentifiableObjectStore( clazz ); if ( store == null ) { return new ArrayList<>(); } return (List<T>) store.getAllOrderedName( first, max ); }