public class UserNotificationEventLocalServiceImpl extends UserNotificationEventLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, userNotificationEventLocalService, userNotificationEventPersistence
Constructor and Description |
---|
UserNotificationEventLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.UserNotificationEvent |
addUserNotificationEvent(long userId,
boolean delivered,
boolean actionRequired,
com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) |
com.liferay.portal.kernel.model.UserNotificationEvent |
addUserNotificationEvent(long userId,
com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) |
com.liferay.portal.kernel.model.UserNotificationEvent |
addUserNotificationEvent(long userId,
String type,
long timestamp,
int deliveryType,
long deliverBy,
boolean delivered,
String payload,
boolean actionRequired,
boolean archived,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.model.UserNotificationEvent |
addUserNotificationEvent(long userId,
String type,
long timestamp,
int deliveryType,
long deliverBy,
String payload,
boolean archived,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
addUserNotificationEvents(long userId,
Collection<com.liferay.portal.kernel.notifications.NotificationEvent> notificationEvents) |
void |
archiveUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired) |
void |
deleteUserNotificationEvent(String uuid,
long companyId) |
void |
deleteUserNotificationEvents(Collection<String> uuids,
long companyId) |
void |
deleteUserNotificationEvents(long userId) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
boolean archived) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
boolean actionRequired,
boolean archived) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
boolean actionRequired,
boolean archived,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
boolean archived,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean archived) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired,
boolean archived) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
boolean archived,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
boolean archived,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean archived,
int start,
int end) |
int |
getArchivedUserNotificationEventsCount(long userId,
boolean archived) |
int |
getArchivedUserNotificationEventsCount(long userId,
boolean actionRequired,
boolean archived) |
int |
getArchivedUserNotificationEventsCount(long userId,
int deliveryType,
boolean archived) |
int |
getArchivedUserNotificationEventsCount(long userId,
int deliveryType,
boolean actionRequired,
boolean archived) |
int |
getArchivedUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
boolean archived) |
int |
getDeliveredArchivedUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered,
boolean archived) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
boolean delivered) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
boolean delivered,
boolean actionRequired) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
boolean delivered,
boolean actionRequired,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
boolean delivered,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
int deliveryType,
boolean delivered) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
int start,
int end) |
int |
getDeliveredUserNotificationEventsCount(long userId,
boolean delivered) |
int |
getDeliveredUserNotificationEventsCount(long userId,
boolean delivered,
boolean actionRequired) |
int |
getDeliveredUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered) |
int |
getDeliveredUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getTypeNotificationEvents(String type) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getUserNotificationEvents(long userId) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getUserNotificationEvents(long userId,
int deliveryType) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getUserNotificationEvents(long userId,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getUserNotificationEvents(long userId,
int deliveryType,
int start,
int end) |
int |
getUserNotificationEventsCount(long userId) |
int |
getUserNotificationEventsCount(long userId,
int deliveryType) |
int |
getUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered,
boolean archived) |
int |
getUserNotificationEventsCount(long userId,
String type,
int deliveryType,
boolean delivered) |
int |
getUserNotificationEventsCount(long userId,
String type,
int deliveryType,
boolean delivered,
boolean archived) |
int |
getUserNotificationEventsCount(long userId,
String type,
Map<String,String> payloadParameters) |
protected void |
sendPushNotification(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) |
com.liferay.portal.kernel.model.UserNotificationEvent |
sendUserNotificationEvents(long userId,
String portletId,
int deliveryType,
boolean delivered,
boolean actionRequired,
com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) |
com.liferay.portal.kernel.model.UserNotificationEvent |
sendUserNotificationEvents(long userId,
String portletId,
int deliveryType,
boolean actionRequired,
com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) |
com.liferay.portal.kernel.model.UserNotificationEvent |
sendUserNotificationEvents(long userId,
String portletId,
int deliveryType,
com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) |
com.liferay.portal.kernel.model.UserNotificationEvent |
updateUserNotificationEvent(String uuid,
long companyId,
boolean archive) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
updateUserNotificationEvents(Collection<String> uuids,
long companyId,
boolean archive) |
addUserNotificationEvent, afterPropertiesSet, createPersistedModel, createUserNotificationEvent, deletePersistedModel, deleteUserNotificationEvent, deleteUserNotificationEvent, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchUserNotificationEvent, fetchUserNotificationEventByUuidAndCompanyId, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getUserNotificationEvent, getUserNotificationEventByUuidAndCompanyId, getUserNotificationEventLocalService, getUserNotificationEventPersistence, getUserNotificationEvents, getUserNotificationEventsCount, initActionableDynamicQuery, runSQL, setCounterLocalService, setUserNotificationEventLocalService, setUserNotificationEventPersistence, updateUserNotificationEvent
public UserNotificationEventLocalServiceImpl()
public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(long userId, com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, int deliveryType, long deliverBy, boolean delivered, String payload, boolean actionRequired, boolean archived, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, int deliveryType, long deliverBy, String payload, boolean archived, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.UserNotificationEvent> addUserNotificationEvents(long userId, Collection<com.liferay.portal.kernel.notifications.NotificationEvent> notificationEvents) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void archiveUserNotificationEvents(long userId, int deliveryType, boolean actionRequired) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteUserNotificationEvent(String uuid, long companyId)
public void deleteUserNotificationEvents(Collection<String> uuids, long companyId)
public void deleteUserNotificationEvents(long userId)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean actionRequired, boolean archived)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean actionRequired, boolean archived, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean archived)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean archived, int start, int end)
public int getArchivedUserNotificationEventsCount(long userId, boolean archived)
public int getArchivedUserNotificationEventsCount(long userId, boolean actionRequired, boolean archived)
public int getArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean archived)
public int getArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean actionRequired, boolean archived)
public int getArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived)
public int getDeliveredArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean archived)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, boolean actionRequired)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, boolean actionRequired, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, int start, int end)
public int getDeliveredUserNotificationEventsCount(long userId, boolean delivered)
public int getDeliveredUserNotificationEventsCount(long userId, boolean delivered, boolean actionRequired)
public int getDeliveredUserNotificationEventsCount(long userId, int deliveryType, boolean delivered)
public int getDeliveredUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean actionRequired)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getTypeNotificationEvents(String type)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, int deliveryType)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, int deliveryType, int start, int end)
public int getUserNotificationEventsCount(long userId)
public int getUserNotificationEventsCount(long userId, int deliveryType)
public int getUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean archived)
public int getUserNotificationEventsCount(long userId, String type, int deliveryType, boolean delivered)
public int getUserNotificationEventsCount(long userId, String type, int deliveryType, boolean delivered, boolean archived)
public int getUserNotificationEventsCount(long userId, String type, Map<String,String> payloadParameters)
public com.liferay.portal.kernel.model.UserNotificationEvent sendUserNotificationEvents(long userId, String portletId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.UserNotificationEvent sendUserNotificationEvents(long userId, String portletId, int deliveryType, boolean actionRequired, com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.UserNotificationEvent sendUserNotificationEvents(long userId, String portletId, int deliveryType, com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.UserNotificationEvent updateUserNotificationEvent(String uuid, long companyId, boolean archive)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> updateUserNotificationEvents(Collection<String> uuids, long companyId, boolean archive)
protected void sendPushNotification(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent)