Class NotificationStatusManager

All Implemented Interfaces:
Serializable

public class NotificationStatusManager extends BaseNotificationStatusManager
This class manages NotificationStatus objects. This class was autogenerated by Torque on: [Sun Nov 14 17:45:54 KST 2021] You should not use this class directly. It should not even be extended; all references should be to NotificationStatusBean
See Also:
  • Constructor Details

    • NotificationStatusManager

      public NotificationStatusManager() throws TorqueException
      Creates a new NotificationStatusManager instance.
      Throws:
      TorqueException - if an error occurs
  • Method Details

    • getSendNotificationsGroupByActivitySet

      public static PaginatedList<NotificationStatus> getSendNotificationsGroupByActivitySet(EasyDeskUser user, Module module, AttributeOption option, int totalCount, int pageNum, int resultsPerPage) throws TorqueException
      Get the list of all notifications currently stored in the notification status table which user generated. Notification Status 가 WAIT, SCHEDULED, DEFERRED, FAIL, NOT_WANT_RECEIVE 만 구한다.
      Parameters:
      user -
      module -
      option -
      totalCount -
      pageNum -
      resultsPerPage - if resultsPerPage is negative all show , zero none show, positive act as resultsPerPage
      Returns:
      PaginatedList
      Throws:
      TorqueException
    • getSendNotifications

      public static PaginatedList<NotificationStatus> getSendNotifications(EasyDeskUser user, Module module, AttributeOption option, int totalCount, int pageNum, int resultsPerPage) throws TorqueException
      Get the list of all notifications currently stored in the notification status table which user generated.
      Parameters:
      user -
      module -
      option -
      totalCount -
      pageNum -
      resultsPerPage - if resultsPerPage is negative all show , zero none show, positive act as resultsPerPage
      Returns:
      PaginatedList
      Throws:
      TorqueException
    • getNotifications

      public static PaginatedList<NotificationStatus> getNotifications(EasyDeskUser user, Module module, int totalCount, int pageNum, int resultsPerPage) throws TorqueException
      Get the list of OnLine delevered notifications currently stored in the notification status
      Parameters:
      user -
      module -
      totalCount -
      pageNum -
      resultsPerPage - if resultsPerPage is negative all show , zero none show, positive act as resultsPerPage
      Returns:
      PaginatedList
      Throws:
      TorqueException
    • getNotifications

      public static List<NotificationStatus> getNotifications(EasyDeskUser user, Module module, List activitySetIds) throws TorqueException
      Get the list of OnLine delevered notifications currently stored in the notification status
      Parameters:
      user -
      module -
      activitySetIds -
      Returns:
      List
      Throws:
      TorqueException
    • getActivitySetsForNotification

      public static PaginatedList<ActivitySet> getActivitySetsForNotification(EasyDeskUser user, Module module, int totalCount, int pageNum, int resultsPerPage) throws TorqueException
      Get the list of OnLine delevered notifications currently stored in the notification status
      Parameters:
      user -
      module -
      totalCount -
      pageNum -
      resultsPerPage - if resultsPerPage is negative all show , zero none show, positive act as resultsPerPage
      Returns:
      PaginatedList
      Throws:
      TorqueException
    • getActivitySetsForNotification

      public static PaginatedList<ActivitySet> getActivitySetsForNotification(EasyDeskUser user, Module module, int totalCount, int pageNum, int resultsPerPage, boolean desc) throws TorqueException
      Get the list of OnLine delevered notifications currently stored in the notification status
      Parameters:
      user -
      module -
      totalCount -
      pageNum -
      resultsPerPage - if resultsPerPage is negative all show , zero none show, positive act as resultsPerPage
      Returns:
      PaginatedList
      Throws:
      TorqueException
    • getActivitySetsForPendingNotifications

      public static PaginatedList<ActivitySet> getActivitySetsForPendingNotifications(AttributeOption manager, Date date, NotificationType type, int totalCount, int pageNum, int resultsPerPage, Connection con) throws TorqueException
      Get the list of pending notifications currently stored in the notification status ( State=SCHEDULED )
      Parameters:
      manager -
      date -
      type -
      totalCount -
      pageNum -
      resultsPerPage - if resultsPerPage is negative all show , zero none show, positive act as resultsPerPage
      con -
      Returns:
      PaginatedList
      Throws:
      TorqueException