Class DefaultRestTemplateEndpoint
java.lang.Object
org.ehrbase.openehr.sdk.client.openehrclient.defaultrestclient.DefaultRestTemplateEndpoint
- All Implemented Interfaces:
TemplateEndpoint
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidensureExistence(String templateId) Ensure that the Template withtemplateIdexists in the remote system.Retrieves a list of templatesfindTemplate(String templateId) Find a template by templateId
-
Field Details
-
DEFINITION_TEMPLATE_ADL_1_4_PATH
- See Also:
-
-
Constructor Details
-
DefaultRestTemplateEndpoint
-
-
Method Details
-
findTemplate
Description copied from interface:TemplateEndpointFind a template by templateId- Specified by:
findTemplatein interfaceTemplateEndpoint- Returns:
OPERATIONALTEMPLATE
-
findAllTemplates
Description copied from interface:TemplateEndpointRetrieves a list of templates- Specified by:
findAllTemplatesin interfaceTemplateEndpoint- Returns:
-
ensureExistence
Description copied from interface:TemplateEndpointEnsure that the Template withtemplateIdexists in the remote system.- Specified by:
ensureExistencein interfaceTemplateEndpoint- Parameters:
templateId- Id of the template to check
-