public class SearchBuilder extends Object
| Constructor and Description |
|---|
SearchBuilder(FhirContext theFhirContext,
EntityManager theEntityManager,
org.springframework.transaction.PlatformTransactionManager thePlatformTransactionManager,
IFulltextSearchSvc theSearchDao,
ISearchResultDao theSearchResultDao,
BaseHapiFhirDao<?> theDao,
IResourceIndexedSearchParamUriDao theResourceIndexedSearchParamUriDao,
IForcedIdDao theForcedIdDao,
IHapiTerminologySvc theTerminologySvc,
ISearchParamRegistry theSearchParamRegistry) |
| Modifier and Type | Method and Description |
|---|---|
Set<Long> |
doGetPids() |
static void |
loadResourcesByPid(Collection<Long> theIncludePids,
List<IBaseResource> theResourceListToPopulate,
Set<Long> theRevIncludedPids,
boolean theForHistoryOperation,
EntityManager entityManager,
FhirContext context,
IDao theDao) |
static HashSet<Long> |
loadReverseIncludes(IDao theCallingDao,
FhirContext theContext,
EntityManager theEntityManager,
Collection<Long> theMatches,
Set<Include> theRevIncludes,
boolean theReverseMode,
DateRangeParam theLastUpdated)
THIS SHOULD RETURN HASHSET and not jsut Set because we add to it later (so it can't be Collections.emptySet())
|
IBundleProvider |
search(SearchParameterMap theParams) |
void |
setType(Class<? extends IBaseResource> theResourceType,
String theResourceName) |
public SearchBuilder(FhirContext theFhirContext, EntityManager theEntityManager, org.springframework.transaction.PlatformTransactionManager thePlatformTransactionManager, IFulltextSearchSvc theSearchDao, ISearchResultDao theSearchResultDao, BaseHapiFhirDao<?> theDao, IResourceIndexedSearchParamUriDao theResourceIndexedSearchParamUriDao, IForcedIdDao theForcedIdDao, IHapiTerminologySvc theTerminologySvc, ISearchParamRegistry theSearchParamRegistry)
public IBundleProvider search(SearchParameterMap theParams)
public void setType(Class<? extends IBaseResource> theResourceType, String theResourceName)
public static void loadResourcesByPid(Collection<Long> theIncludePids, List<IBaseResource> theResourceListToPopulate, Set<Long> theRevIncludedPids, boolean theForHistoryOperation, EntityManager entityManager, FhirContext context, IDao theDao)
public static HashSet<Long> loadReverseIncludes(IDao theCallingDao, FhirContext theContext, EntityManager theEntityManager, Collection<Long> theMatches, Set<Include> theRevIncludes, boolean theReverseMode, DateRangeParam theLastUpdated)
theLastUpdated - Copyright © 2014–2017 University Health Network. All rights reserved.