From: Andreas Müller Date: Tue, 6 Sep 2011 11:44:34 +0000 (+0000) Subject: update javadoc X-Git-Tag: cdmlib-parent-3.0.7~15 X-Git-Url: https://dev.e-taxonomy.eu/gitweb/cdmlib.git/commitdiff_plain/236da21fa36f369a98d348b7a83eac8942b9ad17 update javadoc --- diff --git a/cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ITaxonService.java b/cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ITaxonService.java index d973a85d93..1f8090d5e4 100644 --- a/cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ITaxonService.java +++ b/cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ITaxonService.java @@ -132,7 +132,7 @@ public interface ITaxonService extends IIdentifiableEntityService{ * Changes a synonym into an accepted taxon and removes * the synonym relationship to the given accepted taxon. * Other synonyms homotypic to the synonym to change are - * are moved to the same new accepted taxon as homotypic + * moved to the same new accepted taxon as homotypic * synonyms. The new accepted taxon has the same name and * the same sec reference as the old synonym.
* If the given accepted taxon and the synonym are homotypic @@ -309,8 +309,36 @@ public interface ITaxonService extends IIdentifiableEntityService{ */ public Pager getSynonyms(Taxon taxon, SynonymRelationshipType type, Integer pageSize, Integer pageNumber, List orderHints, List propertyPaths); + /** + * Returns the list of all synonyms that share the same homotypical group with the given taxon. + * Only those homotypic synonyms are returned that do have a synonym relationship with the accepted taxon. + * @param taxon + * @param propertyPaths + * @return + */ public List getHomotypicSynonymsByHomotypicGroup(Taxon taxon, List propertyPaths); + /** + * Returns the ordered list of all {@link eu.etaxonomy.cdm.model.name.HomotypicalGroup homotypical groups} + * that contain {@link Synonym synonyms} that are heterotypic to this taxon. + * {@link eu.etaxonomy.cdm.model.name.TaxonNameBase Taxon names} of heterotypic synonyms + * belong to a homotypical group which cannot be the homotypical group to which the + * taxon name of this taxon belongs. This method returns the same + * list as the {@link #getHomotypicSynonymyGroups() getHomotypicSynonymyGroups} method + * but without the homotypical group to which the taxon name of this taxon + * belongs.
+ * The list returned is ordered according to the date of publication of the + * first published name within each homotypical group. + * + * @see #getHeterotypicSynonymyGroups() + * @see #getSynonyms() + * @see SynonymRelationshipType#HETEROTYPIC_SYNONYM_OF() + * @see eu.etaxonomy.cdm.model.name.HomotypicalGroup + + * @param taxon + * @param propertyPaths + * @return + */ public List> getHeterotypicSynonymyGroups(Taxon taxon, List propertyPaths); /**