import java.util.List;\r
import java.util.Map;\r
import java.util.Set;\r
+import java.util.UUID;\r
\r
import eu.etaxonomy.cdm.model.description.DescriptionBase;\r
import eu.etaxonomy.cdm.model.description.DescriptionElementBase;\r
+import eu.etaxonomy.cdm.model.description.DescriptiveSystemRole;\r
import eu.etaxonomy.cdm.model.description.Feature;\r
import eu.etaxonomy.cdm.model.description.WorkingSet;\r
-import eu.etaxonomy.cdm.persistence.query.OrderHint;\r
+import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache;\r
+\r
\r
public interface IWorkingSetService extends IAnnotatableService<WorkingSet> {\r
/**\r
* Returns a Map of descriptions each with the descriptionelements that match the supplied features (or all description elements if no features are supplied)\r
- * \r
+ *\r
* @param workingSet the working set which the descriptions belong to\r
* @param features restrict the returned description elements to those which have features in this set\r
* @param pageSize The maximum number of descriptions returned (can be null for all descriptions that belong to the working set)\r
- * @param pageNumber The offset (in pageSize chunks) from the start of the result set (0 - based, \r
+ * @param pageNumber The offset (in pageSize chunks) from the start of the result set (0 - based,\r
* can be null, equivalent of starting at the beginning of the recordset). Descriptions are sorted by titleCache\r
* @param propertyPaths properties to be initialized (applied to the descriptionElements)\r
* @return\r
*/\r
public Map<DescriptionBase, Set<DescriptionElementBase>> getDescriptionElements(WorkingSet workingSet, Set<Feature> features, Integer pageSize, Integer pageNumber, List<String> propertyPaths);\r
\r
+ public <T extends DescriptionElementBase> Map<UuidAndTitleCache, Map<UUID, Set<T>>> getTaxonFeatureDescriptionElementMap(Class<T> clazz, UUID workingSetUuid, DescriptiveSystemRole role);\r
+\r
+\r
+\r
}\r