Project

General

Profile

Download (2.49 KB) Statistics
| Branch: | Tag: | Revision:
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.sql.SQLException;
13

    
14
import eu.etaxonomy.cdm.vaadin.container.CdmSQLContainer;
15
import eu.etaxonomy.cdm.vaadin.container.LeafNodeTaxonContainer;
16

    
17
/**
18
 * @author cmathew
19
 * @date 10 Mar 2015
20
 *
21
 */
22
public interface IStatusComposite {
23

    
24
    public interface StatusComponentListener {
25
        public LeafNodeTaxonContainer loadTaxa(int classificationId) throws SQLException;
26

    
27
        public LeafNodeTaxonContainer getCurrentLeafNodeTaxonContainer();
28

    
29
        public CdmSQLContainer loadClassifications() throws SQLException;
30
        /**
31
         *
32
         */
33
        public void setUnplacedFilter();
34
        /**
35
         *
36
         */
37
        public void setUnpublishedFilter();
38
        /**
39
         *
40
         */
41
        public void removeUnplacedFilter();
42
        /**
43
         *
44
         */
45
        public void removeUnpublishedFilter();
46

    
47
        /**
48
         * @param filterString
49
         */
50
        public void setNameFilter(String filterString);
51
        /**
52
         *
53
         */
54
        public void removeNameFilter();
55

    
56
        /**
57
         * @return
58
         */
59
        public int getCurrentNoOfTaxa();
60

    
61
        /**
62
         * @return
63
         */
64
        public int getTotalNoOfTaxa();
65
        /**
66
         *
67
         */
68
        public void refresh();
69
        /**
70
         *
71
         */
72
        public void removeFilters();
73

    
74
        /**
75
         * @param pb
76
         * @param itemId
77
         */
78
        public void updatePublished(boolean pb, Object itemId);
79
        /**
80
         * @param itemId
81
         * @return
82
         */
83
        public boolean isSynonym(Object itemId);
84

    
85
        /**
86
         * @return
87
         */
88
        public CdmSQLContainer getClassificationContainer();
89

    
90
        /**
91
         *
92
         */
93
        public void removeDynamicFilters();
94

    
95
        /**
96
         * @param itemId
97
         */
98
        public void setIdFilter(Object itemId);
99

    
100
        /**
101
         *
102
         */
103
        public void removeIdFilter();
104

    
105
        /**
106
         *
107
         */
108
        public void refreshSynonymCache();
109

    
110
        /**
111
         * @param classification
112
         * @return
113
         */
114
        public Object getClassificationId(String classification);
115
    }
116

    
117
    public void setListener(StatusComponentListener listener);
118

    
119
}
(7-7/7)