Interface TemplateEndpoint
- All Known Implementing Classes:
DefaultRestTemplateEndpoint
public interface TemplateEndpoint
-
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
-
Method Details
-
findTemplate
Find a template by templateId- Parameters:
templateId-- Returns:
OPERATIONALTEMPLATE- Throws:
ClientExceptionWrongStatusCodeException
-
findAllTemplates
TemplatesResponseData findAllTemplates()Retrieves a list of templates- Returns:
-
ensureExistence
Ensure that the Template withtemplateIdexists in the remote system.- Parameters:
templateId- Id of the template to check- Throws:
ClientExceptionWrongStatusCodeException
-