Package dev.dsf.fhir.dao.jdbc
Class ReadAccessDaoJdbc
java.lang.Object
dev.dsf.fhir.dao.jdbc.ReadAccessDaoJdbc
- All Implemented Interfaces:
ReadAccessDao,org.springframework.beans.factory.InitializingBean
public class ReadAccessDaoJdbc
extends Object
implements ReadAccessDao, org.springframework.beans.factory.InitializingBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetAccessTypes(Connection connection, UUID resourceId, long version, boolean localIdentity, UUID organizationId)
-
Constructor Details
-
ReadAccessDaoJdbc
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getAccessTypes
public List<String> getAccessTypes(Connection connection, UUID resourceId, long version, boolean localIdentity, UUID organizationId) throws SQLException - Specified by:
getAccessTypesin interfaceReadAccessDao- Parameters:
connection- notnullresourceId- notnullversion-> 0localIdentity-trueif query for local identityorganizationId- notnull- Returns:
- Distinct list of access types found for the given parameters, empty list means no read access
- Throws:
SQLException- if database access errors occur
-