public interface BatchFinder
Modifier and Type | Method and Description |
---|---|
<E extends Serializable> |
find(long directoryID,
Collection<String> names,
Class<E> persistentClass)
Find a set of entities by batching SQL disjunction queries.
|
<E extends Serializable> Collection<E> find(long directoryID, Collection<String> names, Class<E> persistentClass)
directoryID
- directory ID of the entities to return.names
- collection of entity names. This, along with the directoryID
should form the primary key of the entity.persistentClass
- the persistent class to lookup. This must
be a Hibernate-mapped DirectoryEntity.Copyright © 2021 Atlassian. All rights reserved.