Project

General

Profile

« Previous | Next » 

Revision 4f3b7527

Added by Andreas Müller over 3 years ago

cleanup

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/taxon/TaxonNode.java
188 188
    @Cascade({CascadeType.SAVE_UPDATE, CascadeType.MERGE, CascadeType.DELETE})
189 189
    private Set<TaxonNodeAgentRelation> agentRelations = new HashSet<>();
190 190

  
191
//    private boolean unplaced = false;
192
    public boolean isUnplaced() {return hasStatus(TaxonNodeStatus.UNPLACED);}
193
//    @Deprecated
194
//    public void setUnplaced(boolean unplaced) {setStatus(TaxonNodeStatus.UNPLACED, unplaced);}
195

  
196
    //#8281 indicates a preliminary placement
197
//    private boolean doubtful = false;
198
    public boolean isDoubtful() {return hasStatus(TaxonNodeStatus.DOUBTFUL);}
199
//    @Deprecated
200
//    public void setDoubtful(boolean doubtful) {setStatus(TaxonNodeStatus.DOUBTFUL, doubtful);}
201

  
202
//    private boolean excluded = false;
203
    public boolean isExcluded() {return hasStatus(TaxonNodeStatus.EXCLUDED);}
204
//    @Deprecated
205
//    public void setExcluded(boolean excluded) {setStatus(TaxonNodeStatus.EXCLUDED, excluded);}
206

  
207 191
    /**
208 192
     * The {@link TaxonNodeStatus status} of this taxon node.
209 193
     */
......
312 296
        this.classification = classification;
313 297
    }
314 298

  
299
    public boolean isUnplaced() {return hasStatus(TaxonNodeStatus.UNPLACED);}
300

  
301
    //#8281 indicates a preliminary placement
302
    public boolean isDoubtful() {return hasStatus(TaxonNodeStatus.DOUBTFUL);}
303

  
304
    public boolean isExcluded() {return hasStatus(TaxonNodeStatus.EXCLUDED);}
305

  
315 306
//************************* SOURCE *********************/
316 307

  
317 308
    @Override
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/BaseListController.java
166 166
            @RequestParam(value = "limit", required = false) Integer limit,
167 167
            @RequestParam(value = "class", required = false) Class<T> type,
168 168
            HttpServletRequest request,
169
            HttpServletResponse response) {
169
            @SuppressWarnings("unused") HttpServletResponse response) {
170 170

  
171 171
        if (request != null)
172 172
        {
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/TaxonPortalListController.java
1
/**
2
 * Copyright (C) 2009 EDIT European Distributed Institute of Taxonomy
3
 * http://www.e-taxonomy.eu
4
 *
5
 * The contents of this file are subject to the Mozilla Public License Version
6
 * 1.1 See LICENSE.TXT at the top of this package for the full license terms.
7
 */
1 8
package eu.etaxonomy.cdm.remote.controller;
2 9

  
3 10
import java.util.Arrays;
......
8 15

  
9 16
import io.swagger.annotations.Api;
10 17

  
11
/**
12
 * Copyright (C) 2009 EDIT European Distributed Institute of Taxonomy
13
 * http://www.e-taxonomy.eu
14
 *
15
 * The contents of this file are subject to the Mozilla Public License Version
16
 * 1.1 See LICENSE.TXT at the top of this package for the full license terms.
17
 */
18

  
19 18
/**
20 19
 *
21 20
 * @author a.kohlbecker

Also available in: Unified diff