Package step.plugins.notification
Class NotificationSubscriptionServices
- java.lang.Object
-
- step.framework.server.AbstractServices<step.core.access.User>
-
- step.core.deployment.AbstractStepServices
-
- step.core.deployment.AbstractStepAsyncServices
-
- step.controller.services.entities.AbstractEntityServices<NotificationSubscription>
-
- step.plugins.notification.NotificationSubscriptionServices
-
@Singleton @Path("notifications/subscription") public class NotificationSubscriptionServices extends step.controller.services.entities.AbstractEntityServices<NotificationSubscription>
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
logger
protected NotificationEngine
notificationEngine
-
Constructor Summary
Constructors Constructor Description NotificationSubscriptionServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NotificationSubscription
beforeSave(NotificationSubscription subscription)
java.util.List<NotificationSubscription>
getNotificationSubscriptionsByPlanRef(step.core.repositories.RepositoryObjectReference planRef)
void
init()
-
Methods inherited from class step.controller.services.entities.AbstractEntityServices
bulkDelete, clone, cloneEntities, cloneEntity, delete, findManyByAttributes, get, getVersions, request, restoreVersion, save
-
Methods inherited from class step.core.deployment.AbstractStepAsyncServices
getSession, scheduleAsyncTaskWithinSessionContext, setCurrentSession
-
Methods inherited from class step.core.deployment.AbstractStepServices
checkRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
-
-
-
-
Field Detail
-
notificationEngine
protected NotificationEngine notificationEngine
-
logger
public static final org.slf4j.Logger logger
-
-
Method Detail
-
init
@PostConstruct public void init() throws java.lang.Exception
- Overrides:
init
in classstep.controller.services.entities.AbstractEntityServices<NotificationSubscription>
- Throws:
java.lang.Exception
-
beforeSave
protected NotificationSubscription beforeSave(NotificationSubscription subscription)
- Overrides:
beforeSave
in classstep.controller.services.entities.AbstractEntityServices<NotificationSubscription>
-
getNotificationSubscriptionsByPlanRef
@POST @Consumes("application/json") @Path("/byplan") public java.util.List<NotificationSubscription> getNotificationSubscriptionsByPlanRef(step.core.repositories.RepositoryObjectReference planRef)
-
-