Package com.ibm.fhir.bucket.persistence
Class AddResourceBundle
- java.lang.Object
-
- com.ibm.fhir.bucket.persistence.AddResourceBundle
-
- All Implemented Interfaces:
IDatabaseSupplier<ResourceBundleData>
public class AddResourceBundle extends java.lang.Object implements IDatabaseSupplier<ResourceBundleData>
DAO to encapsulate all the SQL/DML used to retrieve and persist data in the schema
-
-
Constructor Summary
Constructors Constructor Description AddResourceBundle(java.lang.String schemaName, long bucketPathId, java.lang.String objectName, long objectSize, FileType fileType, java.lang.String eTag, java.util.Date lastModified)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceBundleData
run(IDatabaseTranslator translator, java.sql.Connection c)
Execute the statement using the connection and return the value
-
-
-
Constructor Detail
-
AddResourceBundle
public AddResourceBundle(java.lang.String schemaName, long bucketPathId, java.lang.String objectName, long objectSize, FileType fileType, java.lang.String eTag, java.util.Date lastModified)
Public constructor- Parameters:
schemaName
-bucketId
-objectName
-
-
-
Method Detail
-
run
public ResourceBundleData run(IDatabaseTranslator translator, java.sql.Connection c)
Description copied from interface:IDatabaseSupplier
Execute the statement using the connection and return the value- Specified by:
run
in interfaceIDatabaseSupplier<ResourceBundleData>
- Parameters:
translator
- to translate any exceptions
-
-