Class NotificationSubscriptionServices


  • @Singleton
    @Path("notifications/subscription")
    public class NotificationSubscriptionServices
    extends step.controller.services.entities.AbstractEntityServices<NotificationSubscription>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class step.controller.services.entities.AbstractEntityServices

        step.controller.services.entities.AbstractEntityServices.History
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger logger  
      protected NotificationEngine notificationEngine  
      • Fields inherited from class step.core.deployment.AbstractStepServices

        configuration, SESSION
    • 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
      • Methods inherited from class step.framework.server.AbstractServices

        getAbstractContext, getHttpSession, getSession, invalidateSession, setHttpServletRequest, setSession
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        public static final org.slf4j.Logger logger
    • Constructor Detail

      • NotificationSubscriptionServices

        public NotificationSubscriptionServices()
    • Method Detail

      • init

        @PostConstruct
        public void init()
                  throws java.lang.Exception
        Overrides:
        init in class step.controller.services.entities.AbstractEntityServices<NotificationSubscription>
        Throws:
        java.lang.Exception
      • getNotificationSubscriptionsByPlanRef

        @POST
        @Consumes("application/json")
        @Path("/byplan")
        public java.util.List<NotificationSubscription> getNotificationSubscriptionsByPlanRef​(step.core.repositories.RepositoryObjectReference planRef)