Uses of Class
org.linuxforhealth.fhir.persistence.exception.FHIRPersistenceDataAccessException
-
-
Uses of FHIRPersistenceDataAccessException in org.linuxforhealth.fhir.persistence.exception
Methods in org.linuxforhealth.fhir.persistence.exception that return FHIRPersistenceDataAccessException Modifier and Type Method Description FHIRPersistenceDataAccessException
FHIRPersistenceDataAccessException. withIssue(java.util.Collection<OperationOutcome.Issue> issues)
FHIRPersistenceDataAccessException
FHIRPersistenceDataAccessException. withIssue(OperationOutcome.Issue... issues)
-
Uses of FHIRPersistenceDataAccessException in org.linuxforhealth.fhir.persistence.jdbc.citus
Methods in org.linuxforhealth.fhir.persistence.jdbc.citus that throw FHIRPersistenceDataAccessException Modifier and Type Method Description Resource
CitusResourceDAO. read(java.lang.String logicalId, java.lang.String resourceType)
Resource
CitusResourceDAO. versionRead(java.lang.String logicalId, java.lang.String resourceType, int versionId)
-
Uses of FHIRPersistenceDataAccessException in org.linuxforhealth.fhir.persistence.jdbc.connection
Methods in org.linuxforhealth.fhir.persistence.jdbc.connection that return FHIRPersistenceDataAccessException Modifier and Type Method Description static FHIRPersistenceDataAccessException
FHIRDbHelper. buildExceptionWithIssue(java.lang.String msg, IssueType issueType)
Methods in org.linuxforhealth.fhir.persistence.jdbc.connection that throw FHIRPersistenceDataAccessException Modifier and Type Method Description static FHIRPersistenceDataAccessException
FHIRDbHelper. buildExceptionWithIssue(java.lang.String msg, IssueType issueType)
FHIRDbFlavor
FHIRDbConnectionStrategy. getFlavor()
Get the flavor of the database we are working with to reveal its capabilitiesFHIRDbFlavor
FHIRDbConnectionStrategyBase. getFlavor()
FHIRDbFlavor
FHIRDbTenantDatasourceConnectionStrategy. getFlavor()
FHIRDbFlavor
FHIRDbTestConnectionStrategy. getFlavor()
protected int
FHIRUserTransactionAdapter. getStatus()
Get theStatus
of the global transactionConstructors in org.linuxforhealth.fhir.persistence.jdbc.connection that throw FHIRPersistenceDataAccessException Constructor Description FHIRDbConnectionStrategyBase(javax.transaction.TransactionSynchronizationRegistry trxSyncRegistry, Action newConnectionAction)
Protected constructor -
Uses of FHIRPersistenceDataAccessException in org.linuxforhealth.fhir.persistence.jdbc.dao.api
Methods in org.linuxforhealth.fhir.persistence.jdbc.dao.api that throw FHIRPersistenceDataAccessException Modifier and Type Method Description java.util.List<Resource>
ResourceDAO. history(java.lang.String resourceType, java.lang.String logicalId, java.sql.Timestamp fromDateTime, int offset, int maxResults)
Reads and returns all versions of the Resource with the passed logicalId, ordered by descending version id.int
ResourceDAO. historyCount(java.lang.String resourceType, java.lang.String logicalId, java.sql.Timestamp fromDateTime)
Reads and returns the COUNT of all versions of the Resource with the passed logicalId.Resource
ResourceDAO. read(java.lang.String logicalId, java.lang.String resourceType)
Reads and returns the latest version of the Resource with the passed logical id and resource type.java.util.Map<java.lang.String,java.lang.Integer>
CodeSystemDAO. readAllCodeSystems()
Reads all rows in the code_systems table and returns the data as a Mapjava.util.Map<java.lang.String,java.lang.Integer>
ParameterDAO. readAllCodeSystems()
Reads all rows in the Code_Systems table and returns the data as a Mapjava.util.Map<java.lang.String,java.lang.Integer>
ResourceDAO. readAllResourceTypeNames()
Reads all rows in the resource_types table and returns the data as a Mapjava.util.Map<java.lang.String,java.lang.Integer>
ParameterDAO. readAllSearchParameterNames()
Reads all rows in the Parameter_Names table and returns the data as a Mapjava.lang.Integer
CodeSystemDAO. readCodeSystemId(java.lang.String codeSystem)
Read the code_system_id for the given code system namejava.lang.Integer
ParameterDAO. readCodeSystemId(java.lang.String systemName)
Read the id for the given code system name, but do not create a new record if it doesn't exist.java.lang.Long
ResourceDAO. readLogicalResourceId(int resourceTypeId, java.lang.String logicalId)
Look up the value of the logical_resource_id from the logical_resource_ident tablejava.util.List<java.lang.Long>
ResourceDAO. readLogicalResourceIdList(java.lang.String logicalId)
Read all the matching logical_resource_id values for the given logicalIdint
CodeSystemDAO. readOrAddCodeSystem(java.lang.String codeSystem)
Reads the id associated with the name of the passed Parameter from the code_systems table.int
ParameterDAO. readOrAddCodeSystemId(java.lang.String systemName)
Reads the id associated with the name of the passed code system name from the Code_Systems table.int
ParameterDAO. readOrAddParameterNameId(java.lang.String parameterName)
Reads the id associated with the name of the passed Parameter from the Parameter_Names table.java.lang.Integer
ParameterDAO. readParameterNameId(java.lang.String parameterName)
Read the id for the given parameter name, but do not create a new record if it doesn't exist.java.lang.Integer
ResourceDAO. readResourceTypeId(java.lang.String parameterName)
Reads the id associated with the name of the passed Resource type from the Resource_Types table.java.util.List<Resource>
ResourceDAO. search(java.lang.String sqlSelect)
Executes the passed fully-formed SQL Select statement and returns the results If no matching resources are found, an empty collection is returned.java.util.List<Resource>
ResourceDAO. search(Select select)
Executes the search contained in the passedSelect
, using its encapsulated search string and bind variables.java.util.List<Resource>
ResourceDAO. searchByIds(java.lang.String resourceType, java.util.List<java.lang.Long> resourceIds, boolean includeResourceData)
Searches for Resources that contain one of the passed ids.int
ResourceDAO. searchCount(java.lang.String sqlSelectCount)
Executes the passed fully-formed SQL Select COUNT statement and returns the integer count.int
ResourceDAO. searchCount(Select countQuery)
Executes a count query based on the data contained in the passedSelect
statement, using its encapsulated search string and bind variables.java.util.List<java.lang.Long>
ResourceDAO. searchForIds(Select dataQuery)
This method supports the execution of a specialized query designed to return Resource ids, based on the contents of the passed select statement.java.util.Map<java.lang.Integer,java.util.List<java.lang.Long>>
ResourceDAO. searchWholeSystem(Select select)
Executes the whole-system filter search contained in the passedSelect
, using its encapsulated search string and bind variables.Resource
ResourceDAO. versionRead(java.lang.String logicalId, java.lang.String resourceType, int versionId)
Reads and returns the version of the Resource with the passed logical id, resource type, and version id. -
Uses of FHIRPersistenceDataAccessException in org.linuxforhealth.fhir.persistence.jdbc.dao.impl
Methods in org.linuxforhealth.fhir.persistence.jdbc.dao.impl that return FHIRPersistenceDataAccessException Modifier and Type Method Description protected FHIRPersistenceDataAccessException
FHIRDbDAOImpl. buildExceptionWithIssue(java.lang.String msg, IssueType issueType)
Methods in org.linuxforhealth.fhir.persistence.jdbc.dao.impl that throw FHIRPersistenceDataAccessException Modifier and Type Method Description protected FHIRPersistenceDataAccessException
FHIRDbDAOImpl. buildExceptionWithIssue(java.lang.String msg, IssueType issueType)
protected Resource
FHIRDbDAOImpl. createDTO(java.sql.ResultSet resultSet, boolean hasResourceTypeId)
A method for creating a Data Transfer Object of type T from the contents of the passed ResultSet.protected Resource
ResourceDAOImpl. createDTO(java.sql.ResultSet resultSet, boolean hasResourceTypeId)
Creates and returns a Resource DTO based on the contents of the passed ResultSetprotected java.util.List<Resource>
FHIRDbDAOImpl. createDTOs(java.sql.ResultSet resultSet)
An method for creating a collection of Data Transfer Objects of type T from the contents of the passed ResultSet.java.util.List<Resource>
ResourceDAOImpl. history(java.lang.String resourceType, java.lang.String logicalId, java.sql.Timestamp fromDateTime, int offset, int maxResults)
int
ResourceDAOImpl. historyCount(java.lang.String resourceType, java.lang.String logicalId, java.sql.Timestamp fromDateTime)
Resource
ResourceDAOImpl. read(java.lang.String logicalId, java.lang.String resourceType)
java.util.Map<java.lang.String,java.lang.Integer>
CodeSystemDAOImpl. readAllCodeSystems()
java.util.Map<java.lang.String,java.lang.Integer>
ParameterDAOImpl. readAllCodeSystems()
java.util.Map<java.lang.String,java.lang.Integer>
ResourceDAOImpl. readAllResourceTypeNames()
java.util.Map<java.lang.String,java.lang.Integer>
ParameterDAOImpl. readAllSearchParameterNames()
java.lang.Integer
CodeSystemDAOImpl. readCodeSystemId(java.lang.String codeSystem)
java.lang.Integer
ParameterDAOImpl. readCodeSystemId(java.lang.String codeSystemName)
java.lang.Long
ResourceDAOImpl. readLogicalResourceId(int resourceTypeId, java.lang.String logicalId)
java.util.List<java.lang.Long>
ResourceDAOImpl. readLogicalResourceIdList(java.lang.String logicalId)
int
CodeSystemDAOImpl. readOrAddCodeSystem(java.lang.String systemName)
Calls a stored procedure to read the system contained in the passed Parameter in the Code_Systems table.int
ParameterDAOImpl. readOrAddCodeSystemId(java.lang.String codeSystemName)
Calls a stored procedure to read the system contained in the passed Parameter in the Code_Systems table.int
ParameterDAOImpl. readOrAddParameterNameId(java.lang.String parameterName)
Calls a stored procedure to read the name contained in the passed Parameter in the Parameter_Names table.java.lang.Integer
ParameterDAOImpl. readParameterNameId(java.lang.String parameterName)
java.lang.Integer
ResourceDAOImpl. readResourceTypeId(java.lang.String resourceType)
protected int
FHIRDbDAOImpl. runCountQuery(java.lang.String sql, java.lang.Object... searchArgs)
Creates and executes a PreparedStatement for the passed sql containing a 'SELECT COUNT...'.protected int
FHIRDbDAOImpl. runCountQuery(Select countQuery)
Creates and executes a PreparedStatement for the passed sql containing a 'SELECT COUNT...'.protected java.util.List<Resource>
FHIRDbDAOImpl. runQuery(java.lang.String sql, java.lang.Object... searchArgs)
Creates and executes a PreparedStatement using the passed parameters that returns a collection of FHIR Data Transfer Objects of type T.protected java.util.List<Resource>
FHIRDbDAOImpl. runQuery(Select select)
Retrieve the FHIR objects by executing the givenSelect
statementprotected java.util.List<java.lang.String>
FHIRDbDAOImpl. runQuery_STR_VALUES(java.lang.String sql, java.lang.Object... searchArgs)
Creates and executes a PreparedStatement using the passed parameters that returns a collection of String values.java.util.List<Resource>
ResourceDAOImpl. search(java.lang.String sqlSelect)
java.util.List<Resource>
ResourceDAOImpl. search(Select select)
java.util.List<Resource>
ResourceDAOImpl. searchByIds(java.lang.String resourceType, java.util.List<java.lang.Long> resourceIds, boolean includeResourceData)
int
ResourceDAOImpl. searchCount(java.lang.String sqlSelectCount)
int
ResourceDAOImpl. searchCount(Select countQuery)
java.util.List<java.lang.Long>
ResourceDAOImpl. searchForIds(Select dataQuery)
java.util.Map<java.lang.Integer,java.util.List<java.lang.Long>>
ResourceDAOImpl. searchWholeSystem(Select wholeSystemQuery)
Resource
ResourceDAOImpl. versionRead(java.lang.String logicalId, java.lang.String resourceType, int versionId)
-
Uses of FHIRPersistenceDataAccessException in org.linuxforhealth.fhir.persistence.jdbc.derby
Methods in org.linuxforhealth.fhir.persistence.jdbc.derby that throw FHIRPersistenceDataAccessException Modifier and Type Method Description protected java.lang.Integer
DerbyCodeSystemDAO. getCodeSystemId(java.lang.String codeSystem)
Read the id for the named typeint
DerbyCodeSystemDAO. readOrAddCodeSystem(java.lang.String codeSystem)
-
Uses of FHIRPersistenceDataAccessException in org.linuxforhealth.fhir.persistence.jdbc.exception
Subclasses of FHIRPersistenceDataAccessException in org.linuxforhealth.fhir.persistence.jdbc.exception Modifier and Type Class Description class
FHIRPersistenceFKVException
This exception class is thrown when Foreign Key violations are encountered while attempting to access data in the FHIR DB. -
Uses of FHIRPersistenceDataAccessException in org.linuxforhealth.fhir.persistence.jdbc.postgres
Methods in org.linuxforhealth.fhir.persistence.jdbc.postgres that throw FHIRPersistenceDataAccessException Modifier and Type Method Description Resource
PostgresResourceDAO. read(java.lang.String logicalId, java.lang.String resourceType)
int
PostgresCodeSystemDAO. readOrAddCodeSystem(java.lang.String systemName)
int
PostgresParameterNamesDAO. readOrAddParameterNameId(java.lang.String parameterName)
Calls a stored procedure to read the name contained in the passed Parameter in the Parameter_Names table.java.lang.Integer
PostgresResourceDAO. readResourceTypeId(java.lang.String resourceType)
java.lang.Integer
PostgresResourceNoProcDAO. readResourceTypeId(java.lang.String resourceType)
Resource
PostgresResourceDAO. versionRead(java.lang.String logicalId, java.lang.String resourceType, int versionId)
-
Uses of FHIRPersistenceDataAccessException in org.linuxforhealth.fhir.persistence.params.api
Methods in org.linuxforhealth.fhir.persistence.params.api that throw FHIRPersistenceDataAccessException Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Integer>
ParameterNameDAO. readAllSearchParameterNames()
Reads all rows in the Parameter_Names table and returns the data as a Mapint
ParameterNameDAO. readOrAddParameterNameId(java.lang.String parameterName)
Reads the id associated with the name of the passed Parameter from the Parameter_Names table.java.lang.Integer
ParameterNameDAO. readParameterNameId(java.lang.String parameterName)
Read the parameter_name_id for the given parameterName -
Uses of FHIRPersistenceDataAccessException in org.linuxforhealth.fhir.persistence.params.database
Methods in org.linuxforhealth.fhir.persistence.params.database that throw FHIRPersistenceDataAccessException Modifier and Type Method Description protected java.lang.Integer
DerbyParameterNamesDAO. getParameterId(java.lang.String parameterName)
Read the id for the named typejava.util.Map<java.lang.String,java.lang.Integer>
ParameterNameDAOImpl. readAllSearchParameterNames()
int
DerbyParameterNamesDAO. readOrAddParameterNameId(java.lang.String parameterName)
int
ParameterNameDAOImpl. readOrAddParameterNameId(java.lang.String parameterName)
Calls a stored procedure to read the name contained in the passed Parameter in the Parameter_Names table.java.lang.Integer
ParameterNameDAOImpl. readParameterNameId(java.lang.String parameterName)
-