cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/view/INewTaxonBaseComponentListener.java @ 33a5d14e
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 |
|
26 |
|
27 |
/**
|
28 |
* @param scientificName
|
29 |
* @param secRefItemId
|
30 |
* @param classificationUuid
|
31 |
* @return
|
32 |
*/
|
33 |
public IdUuidName newTaxon(String scientificName, Object secRefItemId, UUID classificationUuid); |
34 |
|
35 |
|
36 |
/**
|
37 |
* @param scientificName
|
38 |
* @param synSecRefItemId
|
39 |
* @param accTaxonSecRefItemId
|
40 |
* @param accTaxonUuid
|
41 |
* @return
|
42 |
*/
|
43 |
public IdUuidName newSynonym(String scientificName, Object synSecRefItemId, Object accTaxonSecRefItemId, 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 |
* @return
|
62 |
*/
|
63 |
public CdmSQLContainer getAccTaxonSecRefContainer(); |
64 |
|
65 |
|
66 |
/**
|
67 |
* @return
|
68 |
*/
|
69 |
public CdmSQLContainer getSynSecRefContainer(); |
70 |
|
71 |
|
72 |
|
73 |
|
74 |
|
75 |
|
76 |
|
77 |
|
78 |
|
79 |
}
|