Class ResourceExistsDAO
- java.lang.Object
-
- com.ibm.fhir.persistence.jdbc.dao.impl.ResourceExistsDAO
-
public class ResourceExistsDAO extends java.lang.Object
DAO to check if the configured resource exists
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
logicalId
(package private) java.lang.String
resourcePayloadKey
(package private) int
resourceTypeId
(package private) IResourceTypeMaps
resourceTypeMaps
(package private) int
versionId
-
Constructor Summary
Constructors Constructor Description ResourceExistsDAO(IResourceTypeMaps resourceTypeMaps, int resourceTypeId, java.lang.String logicalId, int versionId, java.lang.String resourcePayloadKey)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
run(java.sql.Connection c)
Run the query to see if the resource version currently exists.
-
-
-
Field Detail
-
resourceTypeId
final int resourceTypeId
-
logicalId
final java.lang.String logicalId
-
versionId
final int versionId
-
resourcePayloadKey
final java.lang.String resourcePayloadKey
-
resourceTypeMaps
final IResourceTypeMaps resourceTypeMaps
-
-
Constructor Detail
-
ResourceExistsDAO
public ResourceExistsDAO(IResourceTypeMaps resourceTypeMaps, int resourceTypeId, java.lang.String logicalId, int versionId, java.lang.String resourcePayloadKey)
Public constructor- Parameters:
resourceTypeMap
-resourceTypeId
-logicalId
-versionId
-resourcePayloadKey
-
-
-