Package step.plugins.notification
Class NotificationSubscriptionServices
- java.lang.Object
-
- step.framework.server.AbstractServices<step.core.access.User>
-
- step.core.deployment.AbstractStepServices
-
- 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.Loggerloggerprotected NotificationEnginenotificationEngine
-
Constructor Summary
Constructors Constructor Description NotificationSubscriptionServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NotificationSubscriptionbeforeSave(NotificationSubscription subscription)java.util.List<NotificationSubscription>getNotificationSubscriptionsByPlanRef(step.core.repositories.RepositoryObjectReference planRef)voidinit()-
Methods inherited from class step.controller.services.entities.AbstractEntityServices
bulkDelete, clone, cloneEntities, cloneEntity, delete, findManyByAttributes, get, getSession, getVersions, request, restoreVersion, save, scheduleAsyncTaskWithinSessionContext, setCurrentSession
-
Methods inherited from class step.core.deployment.AbstractStepServices
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:
initin classstep.controller.services.entities.AbstractEntityServices<NotificationSubscription>- Throws:
java.lang.Exception
-
beforeSave
protected NotificationSubscription beforeSave(NotificationSubscription subscription)
- Overrides:
beforeSavein classstep.controller.services.entities.AbstractEntityServices<NotificationSubscription>
-
getNotificationSubscriptionsByPlanRef
@POST @Consumes("application/json") @Path("/byplan") public java.util.List<NotificationSubscription> getNotificationSubscriptionsByPlanRef(step.core.repositories.RepositoryObjectReference planRef)
-
-