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
FieldsModifier and TypeFieldDescriptionprotected final NotificationDataBinderprotected final JobManagerprotected final JobStatusDAOprotected final NotificationDAOprotected final SyncopeTaskSchedulerFields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG -
Constructor Summary
ConstructorsConstructorDescriptionNotificationLogic(JobManager jobManager, SyncopeTaskScheduler scheduler, JobStatusDAO jobStatusDAO, NotificationDAO notificationDAO, NotificationDataBinder binder) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(NotificationTO notificationTO) protected voiddoActionJob(String jobName, JobAction action) doListJobs(boolean includeCustom) getJob()getReference(String jobName) list()protected NotificationTOresolveReference(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:
resolveReferencein classAbstractLogic<NotificationTO>- Throws:
UnresolvedReferenceException
-
getJobTO
-
doListJobs
-
doActionJob
-