Package org.apache.syncope.core.logic
Class NotificationLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<NotificationTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<NotificationTO>
org.apache.syncope.core.logic.NotificationLogic
-
Field Summary
Modifier and TypeFieldDescriptionprotected final NotificationDataBinder
protected final JobManager
protected final JobStatusDAO
protected final NotificationDAO
protected final SyncopeTaskScheduler
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
ConstructorDescriptionNotificationLogic
(JobManager jobManager, SyncopeTaskScheduler scheduler, JobStatusDAO jobStatusDAO, NotificationDAO notificationDAO, NotificationDataBinder binder) -
Method Summary
Modifier and TypeMethodDescriptionvoid
create
(NotificationTO notificationTO) protected void
doActionJob
(String jobName, JobAction action) doListJobs
(boolean includeCustom) getJob()
getReference
(String jobName) list()
protected NotificationTO
resolveReference
(Method method, Object... args) update
(NotificationTO notificationTO) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
notificationDAO
-
binder
-
jobManager
-
scheduler
-
jobStatusDAO
-
-
Constructor Details
-
NotificationLogic
public NotificationLogic(JobManager jobManager, SyncopeTaskScheduler scheduler, JobStatusDAO jobStatusDAO, NotificationDAO notificationDAO, NotificationDataBinder binder)
-
-
Method Details
-
read
@PreAuthorize("hasRole(\'NOTIFICATION_READ\')") @Transactional(readOnly=true) public NotificationTO read(String key) -
list
@PreAuthorize("hasRole(\'NOTIFICATION_LIST\')") @Transactional(readOnly=true) public List<NotificationTO> list() -
create
@PreAuthorize("hasRole(\'NOTIFICATION_CREATE\')") public NotificationTO create(NotificationTO notificationTO) -
update
@PreAuthorize("hasRole(\'NOTIFICATION_UPDATE\')") public NotificationTO update(NotificationTO notificationTO) -
delete
-
getReference
-
getJob
-
actionJob
-
resolveReference
protected NotificationTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Specified by:
resolveReference
in classAbstractLogic<NotificationTO>
- Throws:
UnresolvedReferenceException
-
getJobTO
-
doListJobs
-
doActionJob
-