1
|
/**
|
2
|
* Copyright (C) 2018 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;
|
10
|
|
11
|
import java.util.List;
|
12
|
import java.util.UUID;
|
13
|
|
14
|
import eu.etaxonomy.cdm.model.common.CdmBase;
|
15
|
|
16
|
/**
|
17
|
* @author a.mueller
|
18
|
* @since 04.06.2018
|
19
|
*
|
20
|
*/
|
21
|
public interface IPublishableService<T extends CdmBase> {
|
22
|
/**
|
23
|
* Like {@link #load(int, List)} but allows loading unpublished taxa
|
24
|
* @param uuid
|
25
|
* @param includeUnpublished
|
26
|
* @param propertyPaths
|
27
|
* @see #load(UUID, List)
|
28
|
*/
|
29
|
public T load(UUID uuid, boolean includeUnpublished, List<String> propertyPaths);
|
30
|
}
|