Revision e1090d5d
Added by Andreas Müller over 8 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/common/ITermVocabularyDao.java | ||
---|---|---|
62 | 62 |
*/ |
63 | 63 |
public <T extends DefinedTermBase> List<T> getTerms(TermVocabulary<T> vocabulary,Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths); |
64 | 64 |
|
65 |
/** |
|
66 |
* Returns term vocabularies that contain terms of a certain class e.g. Feature, Modifier, State. |
|
67 |
* |
|
68 |
* @param <TERMCLASS> |
|
69 |
* @param clazz the term class of the terms in the vocabulary |
|
70 |
* @param includeSubclasses if <code>true</code> all subclasses of clazz will be included for computation of the result |
|
71 |
* @param includeEmptyVocs if <code>true</code> all vocabularies that do not contain any term will be included in the result |
|
72 |
* @param limit The maximum number of vocabularies returned (can be null for all vocabularies) |
|
73 |
* @param start The offset from the start of the result set (0 - based, can be null - equivalent of starting at the beginning of the recordset) |
|
74 |
* @param orderHints |
|
75 |
* Supports path like <code>orderHints.propertyNames</code> which |
|
76 |
* include *-to-one properties like createdBy.username or |
|
77 |
* authorTeam.persistentTitleCache |
|
78 |
* @param propertyPaths properties to be initialized |
|
79 |
* @return a list of term vocabularies |
|
80 |
*/ |
|
81 |
/** |
|
82 |
* @deprecated This method is deprecated as we are using {@link TermType} now. |
|
83 |
* It may be removed in a future version. |
|
84 |
*/ |
|
85 |
@Deprecated |
|
86 |
public <TERMCLASS extends DefinedTermBase> List<TermVocabulary<? extends TERMCLASS>> listByTermClass(Class<TERMCLASS> clazz, boolean includeSubclasses, boolean includeEmptyVocs, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths); |
|
87 |
|
|
88 |
|
|
89 | 65 |
/** |
90 | 66 |
* Return a List of vocabularies that belong to the term type supplied |
91 | 67 |
* |
... | ... | |
111 | 87 |
* @return a list of term vocabularies |
112 | 88 |
*/ |
113 | 89 |
public List<TermVocabulary> listByTermType(TermType termType, boolean includeSubtypes, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths); |
114 |
// |
|
115 |
// /** |
|
116 |
// * Returns all empty vocabularies. |
|
117 |
// * @param limit |
|
118 |
// * @param start |
|
119 |
// * @param orderHints |
|
120 |
// * @param propertyPaths |
|
121 |
// * @return |
|
122 |
// */ |
|
123 |
// public List<TermVocabulary> listEmpty(Integer limit, Integer start,List<OrderHint> orderHints, List<String> propertyPaths); |
|
124 | 90 |
|
125 | 91 |
/** |
126 | 92 |
* Fills the response map with those term uuids which do exist in the requested map |
Also available in: Unified diff
Fully remove old vocabulary.byClass methods #3843