1
|
/**
|
2
|
* Copyright (C) 2015 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.cdm.vaadin.component.taxon;
|
10
|
|
11
|
import java.util.UUID;
|
12
|
|
13
|
import eu.etaxonomy.cdm.vaadin.container.CdmSQLContainer;
|
14
|
import eu.etaxonomy.cdm.vaadin.container.IdUuidName;
|
15
|
|
16
|
/**
|
17
|
* @author cmathew
|
18
|
* @since 2 Apr 2015
|
19
|
*
|
20
|
*/
|
21
|
public interface INewTaxonBaseComponentListener {
|
22
|
|
23
|
|
24
|
|
25
|
|
26
|
/**
|
27
|
* @param scientificName
|
28
|
* @param secRefItemId
|
29
|
* @param classificationUuid
|
30
|
* @return
|
31
|
*/
|
32
|
public IdUuidName newTaxon(String scientificName, Object secRefItemId, UUID classificationUuid);
|
33
|
|
34
|
|
35
|
/**
|
36
|
* @param scientificName
|
37
|
* @param synSecRefItemId
|
38
|
* @param accTaxonSecRefItemId
|
39
|
* @param accTaxonUuid
|
40
|
* @return
|
41
|
*/
|
42
|
public IdUuidName newSynonym(String scientificName, Object synSecRefItemId, Object accTaxonSecRefItemId, UUID accTaxonUuid);
|
43
|
|
44
|
|
45
|
/**
|
46
|
* @param accTaxonUuid
|
47
|
* @return
|
48
|
*/
|
49
|
public Object getAcceptedTaxonRefId(UUID accTaxonUuid);
|
50
|
|
51
|
|
52
|
/**
|
53
|
* @param classificationUuid
|
54
|
* @return
|
55
|
*/
|
56
|
public Object getClassificationRefId(UUID classificationUuid);
|
57
|
|
58
|
|
59
|
/**
|
60
|
* @return
|
61
|
*/
|
62
|
public CdmSQLContainer getAccTaxonSecRefContainer();
|
63
|
|
64
|
|
65
|
/**
|
66
|
* @return
|
67
|
*/
|
68
|
public CdmSQLContainer getSynSecRefContainer();
|
69
|
|
70
|
|
71
|
|
72
|
|
73
|
|
74
|
|
75
|
|
76
|
|
77
|
|
78
|
}
|