public final class PersistedJpaBundleProvider extends Object implements IBundleProvider
| Constructor and Description |
|---|
PersistedJpaBundleProvider(String theSearchUuid,
IDao theDao) |
| Modifier and Type | Method and Description |
|---|---|
protected List<IBaseResource> |
doHistoryInTransaction(int theFromIndex,
int theToIndex) |
protected List<IBaseResource> |
doSearchOrEverythingInTransaction(int theFromIndex,
int theToIndex) |
boolean |
ensureSearchEntityLoaded()
Returns false if the entity can't be found
|
InstantDt |
getPublished() |
List<IBaseResource> |
getResources(int theFromIndex,
int theToIndex) |
String |
getUuid() |
Integer |
preferredPageSize() |
void |
setContext(FhirContext theContext) |
void |
setEntityManager(EntityManager theEntityManager) |
void |
setPlatformTransactionManager(org.springframework.transaction.PlatformTransactionManager thePlatformTransactionManager) |
void |
setSearchDao(ISearchDao theSearchDao) |
void |
setSearchResultDao(ISearchResultDao theSearchResultDao) |
int |
size() |
static org.springframework.data.domain.Pageable |
toPage(int theFromIndex,
int theToIndex) |
protected List<IBaseResource> doHistoryInTransaction(int theFromIndex, int theToIndex)
protected List<IBaseResource> doSearchOrEverythingInTransaction(int theFromIndex, int theToIndex)
public boolean ensureSearchEntityLoaded()
public InstantDt getPublished()
getPublished in interface IBundleProviderpublic List<IBaseResource> getResources(int theFromIndex, int theToIndex)
getResources in interface IBundleProviderpublic String getUuid()
getUuid in interface IBundleProviderpublic Integer preferredPageSize()
preferredPageSize in interface IBundleProviderpublic void setContext(FhirContext theContext)
public void setEntityManager(EntityManager theEntityManager)
public void setPlatformTransactionManager(org.springframework.transaction.PlatformTransactionManager thePlatformTransactionManager)
public void setSearchDao(ISearchDao theSearchDao)
public void setSearchResultDao(ISearchResultDao theSearchResultDao)
public int size()
size in interface IBundleProviderpublic static org.springframework.data.domain.Pageable toPage(int theFromIndex,
int theToIndex)
Copyright © 2014–2017 University Health Network. All rights reserved.