Class NotificationServiceImpl
java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.NotificationServiceImpl
- All Implemented Interfaces:
JAXRSService,NotificationService
-
Field Summary
FieldsFields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
LOG, messageContext, OPTIONS_ALLOW, searchContext, uriInfoFields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidExecutes an action on the notification job.create(NotificationTO notificationTO) Creates a new notification.voidDeletes the notification matching the given key.getJob()Returns details about notification job.list()Returns a list of all notifications.Returns notification with matching key.voidupdate(NotificationTO notificationTO) Updates the notification matching the given key.Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
applyPreference, buildPagedResult, checkETag, createResponse, findActualKey, getPreference, isNullPriorityAsync, modificationResponse, pageable, pageable, sort
-
Field Details
-
logic
-
-
Constructor Details
-
NotificationServiceImpl
-
-
Method Details
-
create
Description copied from interface:NotificationServiceCreates a new notification.- Specified by:
createin interfaceNotificationService- Parameters:
notificationTO- Creates a new notification.- Returns:
- Response object featuring Location header of created notification
-
read
Description copied from interface:NotificationServiceReturns notification with matching key.- Specified by:
readin interfaceNotificationService- Parameters:
key- key of notification to be read- Returns:
- notification with matching key
-
list
Description copied from interface:NotificationServiceReturns a list of all notifications.- Specified by:
listin interfaceNotificationService- Returns:
- list of all notifications.
-
update
Description copied from interface:NotificationServiceUpdates the notification matching the given key.- Specified by:
updatein interfaceNotificationService- Parameters:
notificationTO- notification to be stored
-
delete
Description copied from interface:NotificationServiceDeletes the notification matching the given key.- Specified by:
deletein interfaceNotificationService- Parameters:
key- key for notification to be deleted
-
getJob
Description copied from interface:NotificationServiceReturns details about notification job.- Specified by:
getJobin interfaceNotificationService- Returns:
- details about notification job
-
actionJob
Description copied from interface:NotificationServiceExecutes an action on the notification job.- Specified by:
actionJobin interfaceNotificationService- Parameters:
action- action to execute
-