1 package eu
.etaxonomy
.cdm
.api
.service
;
7 import eu
.etaxonomy
.cdm
.model
.description
.DescriptionBase
;
8 import eu
.etaxonomy
.cdm
.model
.description
.DescriptionElementBase
;
9 import eu
.etaxonomy
.cdm
.model
.description
.Feature
;
10 import eu
.etaxonomy
.cdm
.model
.description
.WorkingSet
;
11 import eu
.etaxonomy
.cdm
.persistence
.query
.OrderHint
;
13 public interface IWorkingSetService
extends IAnnotatableService
<WorkingSet
> {
15 * Returns a Map of descriptions each with the descriptionelements that match the supplied features (or all description elements if no features are supplied)
17 * @param workingSet the working set which the descriptions belong to
18 * @param features restrict the returned description elements to those which have features in this set
19 * @param pageSize The maximum number of descriptions returned (can be null for all descriptions that belong to the working set)
20 * @param pageNumber The offset (in pageSize chunks) from the start of the result set (0 - based,
21 * can be null, equivalent of starting at the beginning of the recordset). Descriptions are sorted by titleCache
22 * @param propertyPaths properties to be initialized (applied to the descriptionElements)
25 public Map
<DescriptionBase
, Set
<DescriptionElementBase
>> getDescriptionElements(WorkingSet workingSet
, Set
<Feature
> features
, Integer pageSize
, Integer pageNumber
, List
<String
> propertyPaths
);