Project

General

Profile

« Previous | Next » 

Revision 79c29018

Added by Patrick Plitzner almost 6 years ago

ref #7095 Add dao method for listing UuidAndTitleCache object

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/occurrence/IOccurrenceDao.java
133 133
            TaxonName associatedTaxonName, MatchMode matchmode, Integer limit, Integer start,
134 134
            List<OrderHint> orderHints, List<String> propertyPaths);
135 135

  
136
    /**
137
     * @see IOccurrenceDao#findOccurrences(Class, String, String, SpecimenOrObservationType, Taxon, TaxonName, MatchMode, Integer, Integer, List, List)
138
     * @param clazz
139
     * @param queryString
140
     * @param significantIdentifier
141
     * @param type
142
     * @param determinedAs
143
     * @param associatedTaxonName
144
     * @param matchmode
145
     * @param limit
146
     * @param start
147
     * @param orderHints
148
     * @param propertyPaths
149
     * @return
150
     */
151
    public <T extends SpecimenOrObservationBase> List<UuidAndTitleCache<SpecimenOrObservationBase>> findOccurrencesUuidAndTitleCache(
152
            Class<T> clazz, String queryString,
153
            String significantIdentifier, SpecimenOrObservationType type, Taxon determinedAs,
154
            TaxonName associatedTaxonName, MatchMode matchmode, Integer limit, Integer start,
155
            List<OrderHint> orderHints);
156

  
136 157
    /**
137 158
     * Returns the number of specimens that match the given parameters
138 159
     * <b>Note:</b> Specifying a taxon will already check the name of this
......
278 299
	public <T extends SpecimenOrObservationBase> List<T> listByAssociatedTaxon(Class<T> type, Taxon associatedTaxon,
279 300
			Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths);
280 301

  
302
	/**
303
	 * @see IOccurrenceDao#listByAssociatedTaxon(Class, Taxon, Integer, Integer, List, List)
304
	 * @param type
305
	 * @param associatedTaxon
306
	 * @param limit
307
	 * @param start
308
	 * @param orderHints
309
	 * @param propertyPaths
310
	 * @return
311
	 */
312
	public <T extends SpecimenOrObservationBase> List<UuidAndTitleCache<SpecimenOrObservationBase>> listUuidAndTitleCacheByAssociatedTaxon(Class<T> type, Taxon associatedTaxon,
313
	        Integer limit, Integer start, List<OrderHint> orderHints);
314

  
281 315
    /**
282 316
     * Retrieves all {@link IndividualsAssociation} with the given specimen.<br>
283 317
     * @param specimen the specimen for which the associations are retrieved

Also available in: Unified diff