Revision 65b68496
Added by Andreas Müller over 7 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ITaxonService.java | ||
---|---|---|
25 | 25 |
import eu.etaxonomy.cdm.api.service.config.SynonymDeletionConfigurator; |
26 | 26 |
import eu.etaxonomy.cdm.api.service.config.TaxonDeletionConfigurator; |
27 | 27 |
import eu.etaxonomy.cdm.api.service.dto.FindByIdentifierDTO; |
28 |
import eu.etaxonomy.cdm.api.service.dto.FindByMarkerDTO; |
|
28 | 29 |
import eu.etaxonomy.cdm.api.service.dto.IncludedTaxaDTO; |
29 | 30 |
import eu.etaxonomy.cdm.api.service.exception.DataChangeNoRollbackException; |
30 | 31 |
import eu.etaxonomy.cdm.api.service.exception.HomotypicalGroupChangeException; |
... | ... | |
35 | 36 |
import eu.etaxonomy.cdm.model.common.DefinedTerm; |
36 | 37 |
import eu.etaxonomy.cdm.model.common.IdentifiableEntity; |
37 | 38 |
import eu.etaxonomy.cdm.model.common.Language; |
39 |
import eu.etaxonomy.cdm.model.common.MarkerType; |
|
38 | 40 |
import eu.etaxonomy.cdm.model.common.RelationshipBase; |
39 | 41 |
import eu.etaxonomy.cdm.model.common.RelationshipBase.Direction; |
40 | 42 |
import eu.etaxonomy.cdm.model.description.DescriptionElementBase; |
... | ... | |
894 | 896 |
public List<TaxonBase> findTaxaByName(MatchingTaxonConfigurator config); |
895 | 897 |
|
896 | 898 |
|
899 |
/** |
|
900 |
* @param clazz the optional {@link TaxonBase} subclass |
|
901 |
* @param identifier the identifier string |
|
902 |
* @param identifierType the identifier type |
|
903 |
* @param subtreeFilter filter on a classification subtree (TaxonNode) |
|
904 |
* @param matchmode the match mode for the identifier string |
|
905 |
* @param includeEntity should the taxon as an object be included in the result |
|
906 |
* @param pageSize page size |
|
907 |
* @param pageNumber page number |
|
908 |
* @param propertyPaths property path for initializing the returned taxon object (requires includeEntity=true) |
|
909 |
* @return the resulting {@link FindByIdentifierDTO} pager |
|
910 |
* @see IIdentifiableEntityService#findByIdentifier(Class, String, DefinedTerm, MatchMode, boolean, Integer, Integer, List) |
|
911 |
*/ |
|
897 | 912 |
public <S extends TaxonBase> Pager<FindByIdentifierDTO<S>> findByIdentifier( |
898 | 913 |
Class<S> clazz, String identifier, DefinedTerm identifierType, TaxonNode subtreeFilter, |
899 | 914 |
MatchMode matchmode, boolean includeEntity, Integer pageSize, |
900 | 915 |
Integer pageNumber, List<String> propertyPaths); |
901 | 916 |
|
917 |
/** |
|
918 |
* Returns a pager for {@link FindByMarkerDTO DTOs} that hold the marker including type, title and uuid |
|
919 |
* and the according {@link TaxonBase} information (uuid, title and the taxon object itself (optional)). |
|
920 |
* |
|
921 |
* @param clazz The optional {@link TaxonBase} subclass |
|
922 |
* @param markerType the obligatory marker type, if not given, the results will always be empty |
|
923 |
* @param markerValue the optional |
|
924 |
* @param subtreeFilter filter on a classification subtree (TaxonNode) |
|
925 |
* @param includeEntity should the taxon as an object be included in the result |
|
926 |
* @param pageSize page size |
|
927 |
* @param pageNumber page number |
|
928 |
* @param propertyPaths property path for initializing the returned taxon object (requires includeEntity=true) |
|
929 |
* @return the resulting {@link FindByMarkerDTO} pager |
|
930 |
* @see IIdentifiableEntityService#findByMarker(Class, MarkerType, Boolean, boolean, Integer, Integer, List) |
|
931 |
*/ |
|
932 |
public <S extends TaxonBase> Pager<FindByMarkerDTO<S>> findByMarker( |
|
933 |
Class<S> clazz, MarkerType markerType, Boolean markerValue, |
|
934 |
TaxonNode subtreeFilter, boolean includeEntity, Integer pageSize, |
|
935 |
Integer pageNumber, List<String> propertyPaths); |
|
902 | 936 |
|
903 | 937 |
/** |
904 | 938 |
* @param synonymUuid |
Also available in: Unified diff
fix #6072 Implement findIdentifiableEntityByMarkers