public interface IAgentDao extends IIdentifiableDao<AgentBase>
Modifier and Type | Method and Description |
---|---|
long |
countAddresses(AgentBase agent)
Return a count of addresses of a given agent
|
long |
countInstitutionalMemberships(Person person)
Return a count of institutional memberships held by a person
|
long |
countMembers(Team team)
Return a count of members of a given team
|
java.util.List<AgentBase> |
findByTitleAndAbbrevTitle(java.lang.Class clazz,
java.lang.String queryString,
MatchMode matchmode,
java.util.List<org.hibernate.criterion.Criterion> criterion,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths) |
java.util.List<Address> |
getAddresses(AgentBase agent,
java.lang.Integer pageSize,
java.lang.Integer pageNumber)
Return a List of addresses of a given agent
|
java.util.List<InstitutionalMembership> |
getInstitutionalMemberships(Person person,
java.lang.Integer pageSize,
java.lang.Integer pageNumber)
Return a List of the institutional memberships of a given person
|
java.util.List<Institution> |
getInstitutionByCode(java.lang.String code) |
java.util.List<UuidAndTitleCache<Institution>> |
getInstitutionUuidAndTitleCache(java.lang.Integer limit,
java.lang.String pattern) |
java.util.List<Person> |
getMembers(Team team,
java.lang.Integer pageSize,
java.lang.Integer pageNumber)
Return a List of members of a given team
|
java.util.List<UuidAndTitleCache<Person>> |
getPersonUuidAndTitleCache()
Returns a list of
UuidAndTitleCache containing all Person s |
java.util.List<UuidAndTitleCache<Team>> |
getTeamUuidAndNomenclaturalTitle()
Returns a list of
UuidAndTitleCache containing all TeamOrPersonBase obejcts
with their respective nomenclaturalTitle instead of regular titleCache |
java.util.List<UuidAndTitleCache<Team>> |
getTeamUuidAndTitleCache()
Returns a list of
UuidAndTitleCache containing all TeamOrPersonBase obejcts
with their respective titleCache |
java.util.List<UuidAndTitleCache<AgentBase>> |
getUuidAndAbbrevTitleCache(java.lang.Class clazz,
java.lang.Integer limit,
java.lang.String pattern) |
countByIdentifier, countByMarker, countByReferenceTitle, countByReferenceTitleWithRestrictions, countByTitle, countByTitleWithRestrictions, countRights, countSources, countTitleCache, find, findByIdentifier, findByMarker, findByReferenceTitle, findByReferenceTitleWithRestrictions, findByTitle, findByTitleWithRestrictions, findOriginalSourceByIdInSource, findTitleCache, getRights, getSources, getTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, getUuidAndTitleCacheByMarker
countAnnotations, countMarkers, countMarkers, getAnnotations, getMarkers, groupMarkers
countAuditEvents, countAuditEvents, getAuditEvents, getAuditEvents, getNextAuditEvent, getPreviousAuditEvent
clear, count, count, count, count, countByParam, countByParamWithRestrictions, delete, exists, findById, findByParam, findByParam, findByParamWithRestrictions, findByUuid, findByUuidWithoutFlush, flush, getSession, getType, group, list, list, list, list, list, list, list, list, list, load, load, load, loadList, lock, merge, merge, refresh, refresh, replace, save, saveAll, saveOrUpdate, saveOrUpdateAll, update
countByTitle, countByTitle, countByTitle, findByTitle, findByTitle, findByTitle
count, optimizeIndex, purgeIndex, rebuildIndex, search, suggestQuery
java.util.List<Institution> getInstitutionByCode(java.lang.String code)
java.util.List<InstitutionalMembership> getInstitutionalMemberships(Person person, java.lang.Integer pageSize, java.lang.Integer pageNumber)
person
- the personpageSize
- The maximum number of institutional memberships returned (can be null for all memberships)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based)long countInstitutionalMemberships(Person person)
person
- the personjava.util.List<Person> getMembers(Team team, java.lang.Integer pageSize, java.lang.Integer pageNumber)
team
- the teampageSize
- The maximum number of people returned (can be null for all members)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based)long countMembers(Team team)
team
- the teamlong countAddresses(AgentBase agent)
agent
- the agentjava.util.List<Address> getAddresses(AgentBase agent, java.lang.Integer pageSize, java.lang.Integer pageNumber)
agent
- the agentpageSize
- The maximum number of addresses returned (can be null for all addresses)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based)java.util.List<UuidAndTitleCache<Person>> getPersonUuidAndTitleCache()
UuidAndTitleCache
containing all Person
sUuidAndTitleCache
instancesjava.util.List<UuidAndTitleCache<Team>> getTeamUuidAndNomenclaturalTitle()
UuidAndTitleCache
containing all TeamOrPersonBase
obejcts
with their respective nomenclaturalTitle instead of regular titleCacheUuidAndTitleCache
instancesjava.util.List<UuidAndTitleCache<Team>> getTeamUuidAndTitleCache()
UuidAndTitleCache
containing all TeamOrPersonBase
obejcts
with their respective titleCacheUuidAndTitleCache
instancesjava.util.List<UuidAndTitleCache<Institution>> getInstitutionUuidAndTitleCache(java.lang.Integer limit, java.lang.String pattern)
java.util.List<UuidAndTitleCache<AgentBase>> getUuidAndAbbrevTitleCache(java.lang.Class clazz, java.lang.Integer limit, java.lang.String pattern)
clazz
- limit
- pattern
- java.util.List<AgentBase> findByTitleAndAbbrevTitle(java.lang.Class clazz, java.lang.String queryString, MatchMode matchmode, java.util.List<org.hibernate.criterion.Criterion> criterion, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
clazz
- queryString
- matchmode
- criterion
- pageSize
- pageNumber
- orderHints
- propertyPaths
- Copyright © 2007-2020 EDIT. All Rights Reserved.