Package org.ehrbase.repository
Class SystemRepository
java.lang.Object
org.ehrbase.repository.SystemRepository
Handles DB-Access to
System- Author:
- Stefan Spiska
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcommit(SystemRecord systemRecord) Creates a new System in the DBfindSystemId(String system) Find the uuid of the system in the DB corresponding tosystem
-
Constructor Details
-
SystemRepository
public SystemRepository(org.jooq.DSLContext context)
-
-
Method Details
-
commit
Creates a new System in the DB- Parameters:
systemRecord-
-
findSystemId
Find the uuid of the system in the DB corresponding tosystem- Parameters:
system-- Returns:
-
toRecord
-