Project

General

Profile

« Previous | Next » 

Revision 42d4306a

Added by Katja Luther over 6 years ago

adapt uuidAndTitleCache services and dao methods to search for a pattern

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/agent/AgentDaoImpl.java
159 159
	}
160 160

  
161 161
	@Override
162
	public List<UuidAndTitleCache<Institution>> getInstitutionUuidAndTitleCache() {
162
	public List<UuidAndTitleCache<Institution>> getInstitutionUuidAndTitleCache(Integer limit, String pattern) {
163 163
		Query query = getSession().createQuery("select uuid, id, titleCache from " + type.getSimpleName() + " where dtype = 'Institution'");
164 164
		return getUuidAndTitleCache(query);
165 165
	}

Also available in: Unified diff