Package com.easydesk.om.manager
Class NotificationStatusManager
java.lang.Object
org.apache.torque.manager.AbstractBaseManager<NotificationStatus>
com.easydesk.om.manager.base.BaseNotificationStatusManager
com.easydesk.om.manager.NotificationStatusManager
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields inherited from class com.easydesk.om.manager.base.BaseNotificationStatusManager
DEFAULT_MANAGER_CLASS, MANAGED_CLASSFields inherited from class org.apache.torque.manager.AbstractBaseManager
cache, groupCache, log, mrCache -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newNotificationStatusManagerinstance. -
Method Summary
Modifier and TypeMethodDescriptionstatic PaginatedList<ActivitySet> getActivitySetsForNotification(EasyDeskUser user, Module module, int totalCount, int pageNum, int resultsPerPage) Get the list of OnLine delevered notifications currently stored in the notification statusstatic PaginatedList<ActivitySet> getActivitySetsForNotification(EasyDeskUser user, Module module, int totalCount, int pageNum, int resultsPerPage, boolean desc) Get the list of OnLine delevered notifications currently stored in the notification statusstatic PaginatedList<ActivitySet> getActivitySetsForPendingNotifications(AttributeOption manager, Date date, NotificationType type, int totalCount, int pageNum, int resultsPerPage, Connection con) Get the list of pending notifications currently stored in the notification status ( State=SCHEDULED )static PaginatedList<NotificationStatus> getNotifications(EasyDeskUser user, Module module, int totalCount, int pageNum, int resultsPerPage) Get the list of OnLine delevered notifications currently stored in the notification statusstatic List<NotificationStatus> getNotifications(EasyDeskUser user, Module module, List activitySetIds) Get the list of OnLine delevered notifications currently stored in the notification statusstatic PaginatedList<NotificationStatus> getSendNotifications(EasyDeskUser user, Module module, AttributeOption option, int totalCount, int pageNum, int resultsPerPage) Get the list of all notifications currently stored in the notification status table which user generated.static PaginatedList<NotificationStatus> getSendNotificationsGroupByActivitySet(EasyDeskUser user, Module module, AttributeOption option, int totalCount, int pageNum, int resultsPerPage) Get the list of all notifications currently stored in the notification status table which user generated.Methods inherited from class com.easydesk.om.manager.base.BaseNotificationStatusManager
addCacheListener, clear, exists, existsImpl, getCachedInstance, getInstance, getInstance, getInstance, getInstances, getInstances, getManager, getMethodResult, putInstance, retrieveStoredOM, retrieveStoredOMsMethods inherited from class org.apache.torque.manager.AbstractBaseManager
addCacheListenerImpl, addValidField, cacheGet, clearImpl, dispose, getClassName, getMethodResultCache, getOMClass, getOMInstance, getOMInstance, getOMInstance, getOMs, getOMs, getOMs, getRegion, notifyListeners, putInstanceImpl, putInstanceImpl, registerAsListener, removeInstanceImpl, setClassName, setOMClass, setRegion
-
Constructor Details
-
NotificationStatusManager
Creates a newNotificationStatusManagerinstance.- 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 resultsPerPagecon-- Returns:
- PaginatedList
- Throws:
TorqueException
-