1
|
/**
|
2
|
* Copyright (C) 2017 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* 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 java.util.UUID;
|
12
|
|
13
|
import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;
|
14
|
|
15
|
/**
|
16
|
* Configurator for the setPublishForSubtree operation.
|
17
|
*
|
18
|
* @author a.mueller
|
19
|
\* @since 13.09.2017
|
20
|
*
|
21
|
*/
|
22
|
public class PublishForSubtreeConfigurator
|
23
|
extends ForSubtreeConfiguratorBase{
|
24
|
|
25
|
private static final long serialVersionUID = 1202667588493272030L;
|
26
|
|
27
|
private boolean publish = false;
|
28
|
|
29
|
/**
|
30
|
* @param subtreeUuid
|
31
|
* @param newSecundum
|
32
|
*/
|
33
|
public PublishForSubtreeConfigurator(UUID subtreeUuid, boolean publish, IProgressMonitor monitor) {
|
34
|
super(subtreeUuid, monitor);
|
35
|
this.publish = publish;
|
36
|
}
|
37
|
|
38
|
/**
|
39
|
* @param subtreeUuid
|
40
|
* @param newSecundum
|
41
|
*/
|
42
|
public PublishForSubtreeConfigurator(UUID subtreeUuid) {
|
43
|
super(subtreeUuid);
|
44
|
// this.newSecundum = newSecundum;
|
45
|
}
|
46
|
|
47
|
public boolean isPublish() {
|
48
|
return publish;
|
49
|
}
|
50
|
public void setPublish(boolean publish) {
|
51
|
this.publish = publish;
|
52
|
}
|
53
|
|
54
|
|
55
|
|
56
|
}
|