Project

General

Profile

Download (1.71 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
        public CdmSQLContainer loadClassifications() throws SQLException;
27
        /**
28
         *
29
         */
30
        public void setUnplacedFilter();
31
        /**
32
         *
33
         */
34
        public void setUnpublishedFilter();
35
        /**
36
         *
37
         */
38
        public void removeUnplacedFilter();
39
        /**
40
         *
41
         */
42
        public void removeUnpublishedFilter();
43

    
44
        /**
45
         * @param filterString
46
         */
47
        public void setNameFilter(String filterString);
48
        /**
49
         *
50
         */
51
        public void removeNameFilter();
52

    
53
        /**
54
         * @return
55
         */
56
        public int getCurrentNoOfTaxa();
57

    
58
        /**
59
         * @return
60
         */
61
        public int getTotalNoOfTaxa();
62
        /**
63
         *
64
         */
65
        public void refresh();
66
        /**
67
         *
68
         */
69
        public void removeFilters();
70
        /**
71
         * @param parentItemId
72
         */
73
        public void addChildren(Object parentItemId);
74
    }
75

    
76
    public void setListener(StatusComponentListener listener);
77

    
78
}
(3-3/4)