org.syncope.console.rest
Class NotificationRestClient

java.lang.Object
  extended by org.syncope.console.rest.AbstractBaseRestClient
      extended by org.syncope.console.rest.NotificationRestClient

@Component
public class NotificationRestClient
extends AbstractBaseRestClient


Field Summary
 
Fields inherited from class org.syncope.console.rest.AbstractBaseRestClient
baseURL, LOG, restTemplate
 
Constructor Summary
NotificationRestClient()
           
 
Method Summary
 void createNotification(NotificationTO notificationTO)
           
 void deleteNotification(Long id)
           
 List<NotificationTO> getAllNotifications()
           
 List<String> getEvents()
           
 List<String> getMailTemplates()
           
 NotificationTO readNotification(Long id)
           
 void updateNotification(NotificationTO notificationTO)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationRestClient

public NotificationRestClient()
Method Detail

getAllNotifications

public List<NotificationTO> getAllNotifications()
                                         throws SyncopeClientCompositeErrorException
Throws:
SyncopeClientCompositeErrorException

readNotification

public NotificationTO readNotification(Long id)
                                throws SyncopeClientCompositeErrorException
Throws:
SyncopeClientCompositeErrorException

createNotification

public void createNotification(NotificationTO notificationTO)
                        throws SyncopeClientCompositeErrorException
Throws:
SyncopeClientCompositeErrorException

updateNotification

public void updateNotification(NotificationTO notificationTO)
                        throws SyncopeClientCompositeErrorException
Throws:
SyncopeClientCompositeErrorException

deleteNotification

public void deleteNotification(Long id)
                        throws SyncopeClientCompositeErrorException
Throws:
SyncopeClientCompositeErrorException

getMailTemplates

public List<String> getMailTemplates()
                              throws SyncopeClientCompositeErrorException
Throws:
SyncopeClientCompositeErrorException

getEvents

public List<String> getEvents()
                       throws SyncopeClientCompositeErrorException
Throws:
SyncopeClientCompositeErrorException


Copyright © 2011. All Rights Reserved.