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
@Service
public class NotificationServiceImpl
extends AbstractService
implements NotificationService
-
Field Summary
Fields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
LOG, messageContext, OPTIONS_ALLOW, searchContext, uriInfo
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Executes an action on the notification job.create
(NotificationTO notificationTO) Creates a new notification.void
Deletes the notification matching the given key.getJob()
Returns details about notification job.list()
Returns a list of all notifications.Returns notification with matching key.void
update
(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:NotificationService
Creates a new notification.- Specified by:
create
in interfaceNotificationService
- Parameters:
notificationTO
- Creates a new notification.- Returns:
- Response object featuring Location header of created notification
-
read
Description copied from interface:NotificationService
Returns notification with matching key.- Specified by:
read
in interfaceNotificationService
- Parameters:
key
- key of notification to be read- Returns:
- notification with matching key
-
list
Description copied from interface:NotificationService
Returns a list of all notifications.- Specified by:
list
in interfaceNotificationService
- Returns:
- list of all notifications.
-
update
Description copied from interface:NotificationService
Updates the notification matching the given key.- Specified by:
update
in interfaceNotificationService
- Parameters:
notificationTO
- notification to be stored
-
delete
Description copied from interface:NotificationService
Deletes the notification matching the given key.- Specified by:
delete
in interfaceNotificationService
- Parameters:
key
- key for notification to be deleted
-
getJob
Description copied from interface:NotificationService
Returns details about notification job.- Specified by:
getJob
in interfaceNotificationService
- Returns:
- details about notification job
-
actionJob
Description copied from interface:NotificationService
Executes an action on the notification job.- Specified by:
actionJob
in interfaceNotificationService
- Parameters:
action
- action to execute
-