Class NotificationRestClient
- java.lang.Object
-
- org.apache.syncope.client.console.rest.BaseRestClient
-
- org.apache.syncope.client.console.rest.NotificationRestClient
-
- All Implemented Interfaces:
Serializable
,RestClient
public class NotificationRestClient extends BaseRestClient
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.client.console.rest.BaseRestClient
LOG
-
-
Constructor Summary
Constructors Constructor Description NotificationRestClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.apache.syncope.client.console.rest.BaseRestClient
getObject, getService, getService, getStatus, getSyncopeService, resetClient, toOrderBy
-
-
-
-
Method Detail
-
list
public List<NotificationTO> list()
-
getJob
public JobTO getJob()
-
actionJob
public void actionJob(JobAction jobAction)
-
read
public NotificationTO read(String key)
-
create
public void create(NotificationTO notificationTO)
-
update
public void update(NotificationTO notificationTO)
-
delete
public void delete(String key)
-
listTemplates
public List<MailTemplateTO> listTemplates()
-
createTemplate
public void createTemplate(MailTemplateTO mailTemplateTO)
-
deleteTemplate
public void deleteTemplate(String key)
-
readTemplate
public MailTemplateTO readTemplate(String key)
-
readTemplateFormat
public String readTemplateFormat(String key, MailTemplateFormat format)
-
updateTemplateFormat
public void updateTemplateFormat(String key, String content, MailTemplateFormat format)
-
-