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.UserNotificationEventaddUserNotificationEvent(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) com.liferay.portal.kernel.model.UserNotificationEventaddUserNotificationEvent(long userId, com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) com.liferay.portal.kernel.model.UserNotificationEventaddUserNotificationEvent(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.UserNotificationEventaddUserNotificationEvent(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) voidarchiveUserNotificationEvents(long userId, int deliveryType, boolean actionRequired) voiddeleteUserNotificationEvent(String uuid, long companyId) voiddeleteUserNotificationEvents(long userId) voiddeleteUserNotificationEvents(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) intgetArchivedUserNotificationEventsCount(long userId, boolean archived) intgetArchivedUserNotificationEventsCount(long userId, boolean actionRequired, boolean archived) intgetArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean archived) intgetArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean actionRequired, boolean archived) intgetArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived) intgetDeliveredArchivedUserNotificationEventsCount(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) intgetDeliveredUserNotificationEventsCount(long userId, boolean delivered) intgetDeliveredUserNotificationEventsCount(long userId, boolean delivered, boolean actionRequired) intgetDeliveredUserNotificationEventsCount(long userId, int deliveryType, boolean delivered) intgetDeliveredUserNotificationEventsCount(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) intgetUserNotificationEventsCount(long userId) intgetUserNotificationEventsCount(long userId, int deliveryType) intgetUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean archived) intgetUserNotificationEventsCount(long userId, String type, int deliveryType, boolean delivered) intgetUserNotificationEventsCount(long userId, String type, int deliveryType, boolean delivered, boolean archived) intgetUserNotificationEventsCount(long userId, String type, Map<String, String> payloadParameters) protected voidsendPushNotification(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) com.liferay.portal.kernel.model.UserNotificationEventsendUserNotificationEvents(long userId, String portletId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) com.liferay.portal.kernel.model.UserNotificationEventsendUserNotificationEvents(long userId, String portletId, int deliveryType, boolean actionRequired, com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) com.liferay.portal.kernel.model.UserNotificationEventsendUserNotificationEvents(long userId, String portletId, int deliveryType, com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) com.liferay.portal.kernel.model.UserNotificationEventupdateUserNotificationEvent(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, updateUserNotificationEventMethods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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)
-