1 |
6f9a8598
|
Andreas Müller
|
/**
|
2 |
|
|
* Copyright (C) 2009 EDIT
|
3 |
3db5c325
|
Katja Luther
|
* European Distributed Institute of Taxonomy
|
4 |
6f9a8598
|
Andreas Müller
|
* http://www.e-taxonomy.eu
|
5 |
3db5c325
|
Katja Luther
|
*
|
6 |
6f9a8598
|
Andreas Müller
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7 |
|
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8 |
|
|
*/
|
9 |
|
|
package eu.etaxonomy.cdm.api.service.config;
|
10 |
|
|
|
11 |
|
|
import org.apache.log4j.Logger;
|
12 |
|
|
|
13 |
|
|
import eu.etaxonomy.cdm.api.service.ITaxonNodeService;
|
14 |
|
|
|
15 |
|
|
/**
|
16 |
|
|
* This class is used to configure taxon node deletion.
|
17 |
3db5c325
|
Katja Luther
|
*
|
18 |
6f9a8598
|
Andreas Müller
|
* @see ITaxonNodeService#delete(eu.etaxonomy.cdm.model.taxon.TaxonNode)
|
19 |
3db5c325
|
Katja Luther
|
*
|
20 |
6f9a8598
|
Andreas Müller
|
* @author a.mueller
|
21 |
53db84af
|
Andreas Müller
|
* @since 09.11.2011
|
22 |
6f9a8598
|
Andreas Müller
|
*
|
23 |
|
|
*/
|
24 |
3db5c325
|
Katja Luther
|
public class TaxonNodeDeletionConfigurator extends NodeDeletionConfigurator {
|
25 |
ef165fe2
|
Andreas Müller
|
|
26 |
|
|
private static final long serialVersionUID = 1187266117499706532L;
|
27 |
|
|
@SuppressWarnings("unused")
|
28 |
6f9a8598
|
Andreas Müller
|
private static final Logger logger = Logger.getLogger(TaxonNodeDeletionConfigurator.class);
|
29 |
|
|
|
30 |
3db5c325
|
Katja Luther
|
public boolean isDeleteTaxon() {
|
31 |
|
|
return isDeleteElement();
|
32 |
6f9a8598
|
Andreas Müller
|
}
|
33 |
3db5c325
|
Katja Luther
|
public void setDeleteTaxon(boolean deleteTaxon) {
|
34 |
|
|
this.deleteElement = deleteTaxon;
|
35 |
6f9a8598
|
Andreas Müller
|
}
|
36 |
ef165fe2
|
Andreas Müller
|
}
|