@Repository public class AgentDaoImpl extends IdentifiableDaoBase<AgentBase> implements IAgentDao
defaultField, indexedClasses
defaultBeanInitializer, flushAfterNo, LEFTOUTER_OPS, type
INCLUDE_UNPUBLISHED, NO_UNPUBLISHED
Constructor and Description |
---|
AgentDaoImpl() |
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) |
count, countByIdentifier, countByMarker, countByReferenceTitle, countByReferenceTitleWithRestrictions, countByTitle, countByTitle, countByTitle, countByTitle, countByTitleWithRestrictions, countRights, countSources, countTitleCache, find, findByIdentifier, findByMarker, findByReferenceTitle, findByReferenceTitleWithRestrictions, findByTitle, findByTitle, findByTitle, findByTitle, findByTitleWithRestrictions, findOriginalSourceByIdInSource, findTitleCache, getCredits, getRights, getSources, getTitleCache, getUuidAndAbbrevTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, getUuidAndTitleCacheByMarker, optimizeIndex, purgeIndex, rebuildIndex, search, suggestQuery
countAnnotations, countMarkers, countMarkers, getAnnotations, getMarkers, groupMarkers
addCriteria, addOrder, checkNotInPriorView, count, count, count, countAuditEvents, countAuditEvents, countByParam, exists, findByParam, findByParamWithRestrictions, findByUuid, getAuditEventFromContext, getAuditEvents, getAuditEvents, getNextAuditEvent, getPreviousAuditEvent, list, list, list, list, load, load, load
addExample, addGroups, clear, count, countByParamWithRestrictions, countGroups, createCriteria, delete, entityType, findById, findByParam, findByUuid, findByUuidWithoutFlush, getAuditReader, getCriteria, getSession, getType, group, list, list, list, list, list, list, load, loadList, lock, makeAuditQuery, merge, merge, refresh, refresh, replace, save, saveAll, saveCdmObj, saveOrUpdate, saveOrUpdateAll, setDefaultBeanInitializer, setPagingParameter, setPagingParameter, update
addCriteria, addFieldPredicate, addLimitAndStart, addLimitAndStart, addLimitAndStart, addOrder, addOrder, addOrder, addPageSizeAndNumber, addPageSizeAndNumber, addPageSizeAndNumber, addPageSizeAndNumber, flush, getSessionFactory, orderByClause, setSessionFactory, splitCollection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public java.util.List<Institution> getInstitutionByCode(java.lang.String code)
getInstitutionByCode
in interface IAgentDao
public long countInstitutionalMemberships(Person person)
IAgentDao
countInstitutionalMemberships
in interface IAgentDao
person
- the personpublic long countMembers(Team team)
IAgentDao
countMembers
in interface IAgentDao
team
- the teampublic java.util.List<InstitutionalMembership> getInstitutionalMemberships(Person person, java.lang.Integer pageSize, java.lang.Integer pageNumber)
IAgentDao
getInstitutionalMemberships
in interface IAgentDao
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)public java.util.List<Person> getMembers(Team team, java.lang.Integer pageSize, java.lang.Integer pageNumber)
IAgentDao
getMembers
in interface IAgentDao
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)public long countAddresses(AgentBase agent)
IAgentDao
countAddresses
in interface IAgentDao
agent
- the agentpublic java.util.List<Address> getAddresses(AgentBase agent, java.lang.Integer pageSize, java.lang.Integer pageNumber)
IAgentDao
getAddresses
in interface IAgentDao
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)public java.util.List<UuidAndTitleCache<Team>> getTeamUuidAndNomenclaturalTitle()
IAgentDao
UuidAndTitleCache
containing all TeamOrPersonBase
obejcts
with their respective nomenclaturalTitle instead of regular titleCachegetTeamUuidAndNomenclaturalTitle
in interface IAgentDao
UuidAndTitleCache
instancespublic java.util.List<UuidAndTitleCache<Person>> getPersonUuidAndTitleCache()
IAgentDao
UuidAndTitleCache
containing all Person
sgetPersonUuidAndTitleCache
in interface IAgentDao
UuidAndTitleCache
instancespublic java.util.List<UuidAndTitleCache<Team>> getTeamUuidAndTitleCache()
IAgentDao
UuidAndTitleCache
containing all TeamOrPersonBase
obejcts
with their respective titleCachegetTeamUuidAndTitleCache
in interface IAgentDao
UuidAndTitleCache
instancespublic java.util.List<UuidAndTitleCache<Institution>> getInstitutionUuidAndTitleCache(java.lang.Integer limit, java.lang.String pattern)
getInstitutionUuidAndTitleCache
in interface IAgentDao
public java.util.List<UuidAndTitleCache<AgentBase>> getUuidAndAbbrevTitleCache(java.lang.Class clazz, java.lang.Integer limit, java.lang.String pattern)
getUuidAndAbbrevTitleCache
in interface IAgentDao
public 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)
findByTitleAndAbbrevTitle
in interface IAgentDao
Copyright © 2007-2020 EDIT. All Rights Reserved.