Package com.liferay.portal.service.impl
Class UserNotificationEventLocalServiceImpl
Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portal.service.base.UserNotificationEventLocalServiceBaseImpl
com.liferay.portal.service.impl.UserNotificationEventLocalServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.UserNotificationEventLocalService
@CTAware
public class UserNotificationEventLocalServiceImpl
extends UserNotificationEventLocalServiceBaseImpl
- Author:
- Edward Han, Brian Wing Shun Chan
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.UserNotificationEventLocalServiceBaseImpl
counterLocalService, userNotificationEventLocalService, userNotificationEventPersistence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.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
(long userId) void
deleteUserNotificationEvents
(Collection<String> uuids, long companyId) 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>
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) List<com.liferay.portal.kernel.model.UserNotificationEvent>
getUserNotificationEvents
(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) List<com.liferay.portal.kernel.model.UserNotificationEvent>
getUserNotificationEvents
(long userId, String type, long timestamp, boolean delivered) 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) Methods inherited from class com.liferay.portal.service.base.UserNotificationEventLocalServiceBaseImpl
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
Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
UserNotificationEventLocalServiceImpl
public UserNotificationEventLocalServiceImpl()
-
-
Method Details
-
addUserNotificationEvent
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addUserNotificationEvent
public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(long userId, com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addUserNotificationEvent
@Indexable(type=REINDEX) 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addUserNotificationEvent
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addUserNotificationEvents
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
archiveUserNotificationEvents
public void archiveUserNotificationEvents(long userId, int deliveryType, boolean actionRequired) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteUserNotificationEvent
public void deleteUserNotificationEvent(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteUserNotificationEvents
public void deleteUserNotificationEvents(Collection<String> uuids, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteUserNotificationEvents
public void deleteUserNotificationEvents(long userId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getArchivedUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived) -
getArchivedUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean actionRequired, boolean archived) -
getArchivedUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean actionRequired, boolean archived, int start, int end) -
getArchivedUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived, int start, int end) -
getArchivedUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean archived) -
getArchivedUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived) -
getArchivedUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end) -
getArchivedUserNotificationEvents
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) -
getArchivedUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end) -
getArchivedUserNotificationEvents
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) -
getArchivedUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean archived, int start, int end) -
getArchivedUserNotificationEventsCount
public int getArchivedUserNotificationEventsCount(long userId, boolean archived) -
getArchivedUserNotificationEventsCount
public int getArchivedUserNotificationEventsCount(long userId, boolean actionRequired, boolean archived) -
getArchivedUserNotificationEventsCount
public int getArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean archived) -
getArchivedUserNotificationEventsCount
public int getArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean actionRequired, boolean archived) -
getArchivedUserNotificationEventsCount
public int getArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived) -
getDeliveredArchivedUserNotificationEventsCount
public int getDeliveredArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean archived) -
getDeliveredUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered) -
getDeliveredUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, boolean actionRequired) -
getDeliveredUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, boolean actionRequired, int start, int end) -
getDeliveredUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, int start, int end) -
getDeliveredUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered) -
getDeliveredUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired) -
getDeliveredUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end) -
getDeliveredUserNotificationEvents
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) -
getDeliveredUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, int start, int end) -
getDeliveredUserNotificationEventsCount
public int getDeliveredUserNotificationEventsCount(long userId, boolean delivered) -
getDeliveredUserNotificationEventsCount
public int getDeliveredUserNotificationEventsCount(long userId, boolean delivered, boolean actionRequired) -
getDeliveredUserNotificationEventsCount
public int getDeliveredUserNotificationEventsCount(long userId, int deliveryType, boolean delivered) -
getDeliveredUserNotificationEventsCount
public int getDeliveredUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean actionRequired) -
getTypeNotificationEvents
-
getUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId) -
getUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, int deliveryType) -
getUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, int start, int end) -
getUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, int deliveryType, int start, int end) -
getUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) -
getUserNotificationEvents
-
getUserNotificationEventsCount
public int getUserNotificationEventsCount(long userId) -
getUserNotificationEventsCount
public int getUserNotificationEventsCount(long userId, int deliveryType) -
getUserNotificationEventsCount
public int getUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean archived) -
getUserNotificationEventsCount
public int getUserNotificationEventsCount(long userId, String type, int deliveryType, boolean delivered) -
getUserNotificationEventsCount
public int getUserNotificationEventsCount(long userId, String type, int deliveryType, boolean delivered, boolean archived) -
getUserNotificationEventsCount
-
sendUserNotificationEvents
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
sendUserNotificationEvents
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
sendUserNotificationEvents
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateUserNotificationEvent
@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.UserNotificationEvent updateUserNotificationEvent(String uuid, long companyId, boolean archive) -
updateUserNotificationEvents
public List<com.liferay.portal.kernel.model.UserNotificationEvent> updateUserNotificationEvents(Collection<String> uuids, long companyId, boolean archive) -
sendPushNotification
protected void sendPushNotification(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent)
-