public class NotificationRestClient extends BaseRestClient implements TemplateRestClient<MailTemplateTO,MailTemplateFormat>
LOG
Constructor and Description |
---|
NotificationRestClient() |
Modifier and Type | Method and Description |
---|---|
void |
actionJob(JobAction jobAction) |
void |
create(NotificationTO notificationTO) |
void |
createTemplate(MailTemplateTO mailTemplateTO) |
void |
delete(String key) |
void |
deleteTemplate(String key) |
JobTO |
getJob() |
List<NotificationTO> |
list() |
List<MailTemplateTO> |
listTemplates() |
NotificationTO |
read(String key) |
MailTemplateTO |
readTemplate(String key) |
String |
readTemplateFormat(String key,
MailTemplateFormat format) |
void |
update(NotificationTO notificationTO) |
void |
updateTemplateFormat(String key,
String content,
MailTemplateFormat format) |
getObject, getService, getService, getStatus, getSyncopeService, resetClient, toOrderBy
public List<NotificationTO> list()
public JobTO getJob()
public void actionJob(JobAction jobAction)
public NotificationTO read(String key)
public void create(NotificationTO notificationTO)
public void update(NotificationTO notificationTO)
public void delete(String key)
public List<MailTemplateTO> listTemplates()
listTemplates
in interface TemplateRestClient<MailTemplateTO,MailTemplateFormat>
public void createTemplate(MailTemplateTO mailTemplateTO)
createTemplate
in interface TemplateRestClient<MailTemplateTO,MailTemplateFormat>
public void deleteTemplate(String key)
deleteTemplate
in interface TemplateRestClient<MailTemplateTO,MailTemplateFormat>
public MailTemplateTO readTemplate(String key)
readTemplate
in interface TemplateRestClient<MailTemplateTO,MailTemplateFormat>
public String readTemplateFormat(String key, MailTemplateFormat format)
readTemplateFormat
in interface TemplateRestClient<MailTemplateTO,MailTemplateFormat>
public void updateTemplateFormat(String key, String content, MailTemplateFormat format)
updateTemplateFormat
in interface TemplateRestClient<MailTemplateTO,MailTemplateFormat>
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.