Revision fad21775
Added by Patrick Plitzner about 6 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/IWorkingSetService.java | ||
---|---|---|
1 | 1 |
package eu.etaxonomy.cdm.api.service; |
2 | 2 |
|
3 |
import java.util.Collection; |
|
3 | 4 |
import java.util.List; |
4 | 5 |
import java.util.Map; |
5 | 6 |
import java.util.Set; |
6 | 7 |
import java.util.UUID; |
7 | 8 |
|
9 |
import eu.etaxonomy.cdm.api.service.dto.RowWrapperDTO; |
|
8 | 10 |
import eu.etaxonomy.cdm.model.description.DescriptionBase; |
9 | 11 |
import eu.etaxonomy.cdm.model.description.DescriptionElementBase; |
10 | 12 |
import eu.etaxonomy.cdm.model.description.DescriptiveSystemRole; |
... | ... | |
34 | 36 |
* @param pattern |
35 | 37 |
* @return |
36 | 38 |
*/ |
37 |
List<UuidAndTitleCache<WorkingSet>> getWorkingSetUuidAndTitleCache(Integer limitOfInitialElements, String pattern); |
|
39 |
public List<UuidAndTitleCache<WorkingSet>> getWorkingSetUuidAndTitleCache(Integer limitOfInitialElements, String pattern);
|
|
38 | 40 |
|
41 |
/** |
|
42 |
* Returns a collection of {@link RowWrapperDTO} objects for the given {@link WorkingSet}.<br> |
|
43 |
* A RowWrapper represents on row in the character matrix. |
|
44 |
* @param workingSet the working set for which the row wrapper objects should be fetched |
|
45 |
* @return a collection of row wrapper objects |
|
46 |
*/ |
|
47 |
public Collection<RowWrapperDTO> getRowWrapper(WorkingSet workingSet); |
|
48 |
|
|
49 |
/** |
|
50 |
* Loads all avaliable specimens wrapped in a {@link RowWrapperDTO} object for |
|
51 |
* a given {@link WorkingSet} according to the filters set in the working set |
|
52 |
* @param workingSet the working set for which the specimens should be fetched |
|
53 |
* @return a collection of wrapper objects containing the specimen |
|
54 |
*/ |
|
55 |
public Collection<RowWrapperDTO> loadSpecimens(WorkingSet workingSet); |
|
39 | 56 |
|
40 | 57 |
|
41 | 58 |
} |
Also available in: Unified diff
ref #7095 Move specimen and description loading to service layer