1 |
5a845253
|
Andreas Kohlbecker
|
// $Id$
|
2 |
|
|
/**
|
3 |
|
|
* Copyright (C) 2014 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.model.common;
|
11 |
|
|
|
12 |
|
|
/**
|
13 |
|
|
* @author a.kohlbecker
|
14 |
|
|
* @date Jan 31, 2014
|
15 |
|
|
*
|
16 |
|
|
*/
|
17 |
|
|
public interface IPublishable {
|
18 |
|
|
|
19 |
|
|
/**
|
20 |
|
|
* Returns the boolean value indicating if this entity should be withheld (<code>publish=false</code>) or not
|
21 |
|
|
* (<code>publish=true</code>) during any publication process to the general public.
|
22 |
|
|
* This publish flag implementation is preliminary and may be replaced by a more general
|
23 |
|
|
* implementation of READ rights in future.<BR>
|
24 |
|
|
* The default value is <code>true</code>.
|
25 |
|
|
*/
|
26 |
|
|
public boolean isPublish();
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
public void setPublish(boolean isPublish);
|
30 |
|
|
|
31 |
|
|
}
|