Project

General

Profile

« Previous | Next » 

Revision 0327830c

Added by Katja Luther almost 3 years ago

ref #9680: adapt agent search methods to fill teamOrPersonUuidAndTitlecache dto

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/IAgentService.java
20 20
import eu.etaxonomy.cdm.model.agent.InstitutionalMembership;
21 21
import eu.etaxonomy.cdm.model.agent.Person;
22 22
import eu.etaxonomy.cdm.model.agent.Team;
23
import eu.etaxonomy.cdm.persistence.dto.TeamOrPersonUuidAndTitleCache;
23 24
import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache;
24 25
import eu.etaxonomy.cdm.persistence.query.OrderHint;
25 26
import eu.etaxonomy.cdm.strategy.merge.MergeException;
......
113 114
     *
114 115
     * @return a list of <code>UuidAndTitleCache</code> instances
115 116
     */
116
    public <T extends AgentBase> List<UuidAndTitleCache<T>> getUuidAndAbbrevTitleCache(Class<T> clazz, Integer limit, String pattern);
117
    public <T extends AgentBase> List<TeamOrPersonUuidAndTitleCache<T>> getUuidAndAbbrevTitleCache(Class<T> clazz, Integer limit, String pattern);
118

  
119
    /**
120
     * Returns a list of <code>UuidAndTitleCache</code> containing all {@link Institution} objects
121
     * with their respectiveCollectorTitleCache
122
     *
123
     * @return a list of <code>UuidAndTitleCache</code> instances
124
     */
125
    public <T extends AgentBase> List<TeamOrPersonUuidAndTitleCache<T>> getUuidAndTitleCacheWithCollectorTitleCache(Class<T> clazz, Integer limit, String pattern);
126

  
127
    /**
128
     * Returns a list of <code>UuidAndTitleCache</code> containing all {@link Institution} objects
129
     * with their respectiveCollectorTitleCache
130
     *
131
     * @return a list of <code>UuidAndTitleCache</code> instances
132
     */
133
    public <T extends AgentBase> List<TeamOrPersonUuidAndTitleCache<T>> getTeamOrPersonUuidAndTitleCache(Class<T> clazz, Integer limit, String pattern);
134

  
117 135

  
118 136
    /**
119 137
     * @param teamUuid

Also available in: Unified diff