Revision a1439def
Added by Andreas Müller over 8 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/IDescriptionService.java | ||
---|---|---|
160 | 160 |
* instead |
161 | 161 |
*/ |
162 | 162 |
@Deprecated |
163 |
public Pager<DescriptionElementBase> getDescriptionElements(DescriptionBase description,Set<Feature> features, Class<? extends DescriptionElementBase> type, Integer pageSize, Integer pageNumber, List<String> propertyPaths);
|
|
163 |
public <T extends DescriptionElementBase> Pager<T> getDescriptionElements(DescriptionBase description,Set<Feature> features, Class<T> type, Integer pageSize, Integer pageNumber, List<String> propertyPaths);
|
|
164 | 164 |
|
165 | 165 |
|
166 | 166 |
/** |
... | ... | |
191 | 191 |
* |
192 | 192 |
* @return a Pager containing DescriptionElementBase instances |
193 | 193 |
*/ |
194 |
public Pager<DescriptionElementBase> pageDescriptionElements(DescriptionBase description, Class<? extends DescriptionBase> descriptionType, Set<Feature> features, Class<? extends DescriptionElementBase> type, Integer pageSize, Integer pageNumber, List<String> propertyPaths);
|
|
194 |
public <T extends DescriptionElementBase> Pager<T> pageDescriptionElements(DescriptionBase description, Class<? extends DescriptionBase> descriptionType, Set<Feature> features, Class<T> type, Integer pageSize, Integer pageNumber, List<String> propertyPaths);
|
|
195 | 195 |
|
196 | 196 |
/** |
197 | 197 |
* Returns description elements of type <TYPE>, belonging to a given |
... | ... | |
219 | 219 |
* @deprecated use {@link #listDescriptionElements(DescriptionBase, Class, Set, Class, Integer, Integer, List)} instead |
220 | 220 |
*/ |
221 | 221 |
@Deprecated |
222 |
public List<DescriptionElementBase> listDescriptionElements(DescriptionBase description,Set<Feature> features, Class<? extends DescriptionElementBase> type, Integer pageSize, Integer pageNumber, List<String> propertyPaths);
|
|
222 |
public <T extends DescriptionElementBase> List<T> listDescriptionElements(DescriptionBase description,Set<Feature> features, Class<T> type, Integer pageSize, Integer pageNumber, List<String> propertyPaths);
|
|
223 | 223 |
|
224 | 224 |
/** |
225 | 225 |
* Returns description elements of type <TYPE>, belonging to a given |
... | ... | |
245 | 245 |
* {@link IBeanInitializer#initialize(Object, List)} |
246 | 246 |
* @return a List of DescriptionElementBase instances |
247 | 247 |
*/ |
248 |
public List<DescriptionElementBase> listDescriptionElements(DescriptionBase description, Class<? extends DescriptionBase> descriptionType, Set<Feature> features, Class<? extends DescriptionElementBase> type, Integer pageSize, Integer pageNumber, List<String> propertyPaths);
|
|
248 |
public <T extends DescriptionElementBase> List<T> listDescriptionElements(DescriptionBase description, Class<? extends DescriptionBase> descriptionType, Set<Feature> features, Class<T> type, Integer pageSize, Integer pageNumber, List<String> propertyPaths);
|
|
249 | 249 |
|
250 | 250 |
/** |
251 | 251 |
* Return a Pager containing Annotation entities belonging to the DescriptionElementBase instance supplied, optionally filtered by MarkerType |
Also available in: Unified diff
Cleanup description generics (related to #5357)