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