Project

General

Profile

Revision 9fde8b52

ID9fde8b52f752320427b49d724d1d9cb024bfbfdb
Parent 0021fedd
Child c2c4af3c

Added by Patrick Plitzner about 4 years ago

ref #5458 refactor API method

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/presenter/dbstatus/DistributionTablePresenter.java
195 195
	}
196 196

  
197 197
	@Override
198
	public List<TaxonNode> getAllNodes(int start, int end){
198
	public List<TaxonNode> getAllNodes(){
199 199
		TaxonNode taxonNode = getChosenTaxonNode();
200 200
		List<TaxonNode> nodes = new ArrayList<TaxonNode>();
201 201
		if(taxonNode.getTaxon()!=null){
......
224 224
	@Override
225 225
	public CdmSQLContainer getSQLContainer() throws SQLException{
226 226
		List<Integer> nodeIds = new ArrayList<Integer>();
227
		for (TaxonNode taxonNode : getAllNodes(0, 0)) {
227
		for (TaxonNode taxonNode : getAllNodes()) {
228 228
			nodeIds.add(taxonNode.getId());
229 229
		}
230 230
		List<String> termList = getTermList();
src/main/java/eu/etaxonomy/cdm/vaadin/view/dbstatus/IDistributionTableComponent.java
55 55

  
56 56
		TaxonNode getChosenTaxonNode();
57 57

  
58
		List<TaxonNode> getAllNodes(int start, int end);
58
		List<TaxonNode> getAllNodes();
59 59

  
60 60
		CdmSQLContainer getSQLContainer() throws SQLException;
61 61

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)