Class TemplateStoreRepository

java.lang.Object
org.ehrbase.repository.TemplateStoreRepository

@Repository public class TemplateStoreRepository extends Object
  • Constructor Details

    • TemplateStoreRepository

      public TemplateStoreRepository(org.jooq.DSLContext context, TimeProvider timeProvider)
  • Method Details

    • store

      public void store(org.openehr.schemas.v1.OPERATIONALTEMPLATE operationaltemplate)
    • update

      public void update(org.openehr.schemas.v1.OPERATIONALTEMPLATE operationaltemplate)
    • findAll

      public List<TemplateMetaData> findAll()
    • findAllTemplateIds

      public List<String> findAllTemplateIds()
    • delete

      public void delete(String templateId)
    • findByTemplateId

      public Optional<org.openehr.schemas.v1.OPERATIONALTEMPLATE> findByTemplateId(String templateId)
    • findTemplateIdByUuid

      public Optional<String> findTemplateIdByUuid(UUID uuid)
    • findUuidByTemplateId

      public Optional<UUID> findUuidByTemplateId(String templateId)