Class PlainPostgresSystemParameterBatch
- java.lang.Object
 - 
- org.linuxforhealth.fhir.persistence.params.database.PlainPostgresSystemParameterBatch
 
 
- 
public class PlainPostgresSystemParameterBatch extends java.lang.ObjectBatch insert statements for system-level parameters 
- 
- 
Constructor Summary
Constructors Constructor Description PlainPostgresSystemParameterBatch(java.sql.Connection c)Public constructor 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDate(long logicalResourceId, int parameterNameId, java.sql.Timestamp dateStart, java.sql.Timestamp dateEnd, java.lang.Integer compositeId)Add a date parameter value to the whole-system batch statementvoidaddProfile(long logicalResourceId, long canonicalId, java.lang.String version, java.lang.String fragment)Add a profile parameter value to the whole-system batch statementvoidaddResourceTokenRef(long logicalResourceId, int parameterNameId, long commonTokenValueId)Add a token parameter value to the batch statementvoidaddSecurity(long logicalResourceId, long commonTokenValueId)Add a security parameter value to the whole-system batch statementvoidaddString(long logicalResourceId, int parameterNameId, java.lang.String strValue, java.lang.String strValueLower)Add a string parameter value to the whole-system batch statementvoidaddTag(long logicalResourceId, long commonTokenValueId)Add a tag parameter value to the whole-system batch statementvoidclose()Closes all the statements currently openvoidpushBatch()Push the current batch 
 - 
 
- 
- 
Method Detail
- 
pushBatch
public void pushBatch() throws java.sql.SQLExceptionPush the current batch- Throws:
 java.sql.SQLException
 
- 
close
public void close()
Closes all the statements currently open 
- 
addString
public void addString(long logicalResourceId, int parameterNameId, java.lang.String strValue, java.lang.String strValueLower) throws java.sql.SQLExceptionAdd a string parameter value to the whole-system batch statement- Parameters:
 logicalResourceId-parameterNameId-strValue-strValueLower-- Throws:
 java.sql.SQLException
 
- 
addDate
public void addDate(long logicalResourceId, int parameterNameId, java.sql.Timestamp dateStart, java.sql.Timestamp dateEnd, java.lang.Integer compositeId) throws java.sql.SQLExceptionAdd a date parameter value to the whole-system batch statement- Parameters:
 logicalResourceId-parameterNameId-dateStart-dateEnd-compositeId-- Throws:
 java.sql.SQLException
 
- 
addResourceTokenRef
public void addResourceTokenRef(long logicalResourceId, int parameterNameId, long commonTokenValueId) throws java.sql.SQLExceptionAdd a token parameter value to the batch statement- Parameters:
 logicalResourceId-parameterNameId-commonTokenValueId-- Throws:
 java.sql.SQLException
 
- 
addTag
public void addTag(long logicalResourceId, long commonTokenValueId) throws java.sql.SQLExceptionAdd a tag parameter value to the whole-system batch statement- Parameters:
 logicalResourceId-commonTokenValueId-- Throws:
 java.sql.SQLException
 
- 
addProfile
public void addProfile(long logicalResourceId, long canonicalId, java.lang.String version, java.lang.String fragment) throws java.sql.SQLExceptionAdd a profile parameter value to the whole-system batch statement- Parameters:
 logicalResourceId-canonicalId-version-fragment-- Throws:
 java.sql.SQLException
 
- 
addSecurity
public void addSecurity(long logicalResourceId, long commonTokenValueId) throws java.sql.SQLExceptionAdd a security parameter value to the whole-system batch statement- Parameters:
 logicalResourceId-commonTokenValueId-- Throws:
 java.sql.SQLException
 
 - 
 
 -