Class DefaultRestTemplateEndpoint

    • Constructor Detail

      • DefaultRestTemplateEndpoint

        public DefaultRestTemplateEndpoint​(DefaultRestClient defaultRestClient)
    • Method Detail

      • findAllTemplates

        public org.ehrbase.response.openehr.TemplatesResponseData findAllTemplates()
        Description copied from interface: TemplateEndpoint
        Retrieves a list of templates
        Specified by:
        findAllTemplates in interface TemplateEndpoint
        Returns:
      • ensureExistence

        public void ensureExistence​(String templateId)
        Description copied from interface: TemplateEndpoint
        Ensure that the Template with templateId exists in the remote system.
        Specified by:
        ensureExistence in interface TemplateEndpoint
        Parameters:
        templateId - Id of the template to check