Liferay 7.0-ce-b4

com.liferay.portal.service.impl
Class UserNotificationEventLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portal.service.base.UserNotificationEventLocalServiceBaseImpl
          extended by com.liferay.portal.service.impl.UserNotificationEventLocalServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, UserNotificationEventLocalService

public class UserNotificationEventLocalServiceImpl
extends UserNotificationEventLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portal.service.base.UserNotificationEventLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, userFinder, userLocalService, userNotificationEventLocalService, userNotificationEventPersistence, userPersistence
 
Constructor Summary
UserNotificationEventLocalServiceImpl()
           
 
Method Summary
 UserNotificationEvent addUserNotificationEvent(long userId, boolean actionRequired, NotificationEvent notificationEvent)
           
 UserNotificationEvent addUserNotificationEvent(long userId, NotificationEvent notificationEvent)
           
 UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, int deliveryType, long deliverBy, String payload, boolean actionRequired, boolean archived, ServiceContext serviceContext)
           
 UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, int deliveryType, long deliverBy, String payload, boolean archived, ServiceContext serviceContext)
           
 UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, long deliverBy, String payload, boolean archived, ServiceContext serviceContext)
          Deprecated. As of 7.0.0 addUserNotificationEvent(long, String, long, int, long, String, boolean, ServiceContext)
 List<UserNotificationEvent> addUserNotificationEvents(long userId, Collection<NotificationEvent> notificationEvents)
           
 void deleteUserNotificationEvent(String uuid, long companyId)
           
 void deleteUserNotificationEvents(Collection<String> uuids, long companyId)
           
 List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived)
           
 List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean actionRequired, boolean archived)
           
 List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean actionRequired, boolean archived, int start, int end)
           
 List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived, int start, int end)
           
 List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean archived)
           
 List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived)
           
 List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end)
           
 List<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)
           
 List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered)
           
 List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, boolean actionRequired)
           
 List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, boolean actionRequired, int start, int end)
           
 List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, int start, int end)
           
 List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered)
           
 List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired)
           
 List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end)
           
 List<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<UserNotificationEvent> getTypeNotificationEvents(String type)
           
 List<UserNotificationEvent> getUserNotificationEvents(long userId)
           
 List<UserNotificationEvent> getUserNotificationEvents(long userId, boolean archived)
          Deprecated. As of 6.2.0 getArchivedUserNotificationEvents(long, boolean)
 List<UserNotificationEvent> getUserNotificationEvents(long userId, boolean archived, int start, int end)
          Deprecated. As of 6.2.0 getArchivedUserNotificationEvents(long, boolean, int, int)
 List<UserNotificationEvent> getUserNotificationEvents(long userId, int deliveryType)
           
 List<UserNotificationEvent> getUserNotificationEvents(long userId, int start, int end)
           
 List<UserNotificationEvent> getUserNotificationEvents(long userId, int deliveryType, int start, int end)
           
 int getUserNotificationEventsCount(long userId)
           
 int getUserNotificationEventsCount(long userId, boolean archived)
          Deprecated. As of 6.2.0 getArchivedUserNotificationEventsCount(long, boolean)
 int getUserNotificationEventsCount(long userId, int deliveryType)
           
 int getUserNotificationEventsCount(long userId, String type, int deliveryType, boolean archived)
           
protected  void sendPushNotification(NotificationEvent notificationEvent)
           
 UserNotificationEvent sendUserNotificationEvents(long userId, String portletId, int deliveryType, boolean actionRequired, JSONObject notificationEventJSONObject)
           
 UserNotificationEvent sendUserNotificationEvents(long userId, String portletId, int deliveryType, JSONObject notificationEventJSONObject)
           
 UserNotificationEvent updateUserNotificationEvent(String uuid, long companyId, boolean archive)
           
 List<UserNotificationEvent> updateUserNotificationEvents(Collection<String> uuids, long companyId, boolean archive)
           
 
Methods inherited from class com.liferay.portal.service.base.UserNotificationEventLocalServiceBaseImpl
addUserNotificationEvent, afterPropertiesSet, createUserNotificationEvent, deletePersistedModel, deleteUserNotificationEvent, deleteUserNotificationEvent, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchUserNotificationEvent, fetchUserNotificationEventByUuidAndCompanyId, getActionableDynamicQuery, getCounterLocalService, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getUserFinder, getUserLocalService, getUserNotificationEvent, getUserNotificationEventByUuidAndCompanyId, getUserNotificationEventLocalService, getUserNotificationEventPersistence, getUserNotificationEvents, getUserNotificationEventsCount, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setUserFinder, setUserLocalService, setUserNotificationEventLocalService, setUserNotificationEventPersistence, setUserPersistence, updateUserNotificationEvent
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserNotificationEventLocalServiceImpl

public UserNotificationEventLocalServiceImpl()
Method Detail

addUserNotificationEvent

public UserNotificationEvent addUserNotificationEvent(long userId,
                                                      boolean actionRequired,
                                                      NotificationEvent notificationEvent)
                                               throws PortalException
Throws:
PortalException

addUserNotificationEvent

public UserNotificationEvent addUserNotificationEvent(long userId,
                                                      NotificationEvent notificationEvent)
                                               throws PortalException
Throws:
PortalException

addUserNotificationEvent

public UserNotificationEvent addUserNotificationEvent(long userId,
                                                      String type,
                                                      long timestamp,
                                                      int deliveryType,
                                                      long deliverBy,
                                                      String payload,
                                                      boolean actionRequired,
                                                      boolean archived,
                                                      ServiceContext serviceContext)
                                               throws PortalException
Throws:
PortalException

addUserNotificationEvent

public UserNotificationEvent addUserNotificationEvent(long userId,
                                                      String type,
                                                      long timestamp,
                                                      int deliveryType,
                                                      long deliverBy,
                                                      String payload,
                                                      boolean archived,
                                                      ServiceContext serviceContext)
                                               throws PortalException
Throws:
PortalException

addUserNotificationEvent

@Deprecated
public UserNotificationEvent addUserNotificationEvent(long userId,
                                                                 String type,
                                                                 long timestamp,
                                                                 long deliverBy,
                                                                 String payload,
                                                                 boolean archived,
                                                                 ServiceContext serviceContext)
                                               throws PortalException
Deprecated. As of 7.0.0 addUserNotificationEvent(long, String, long, int, long, String, boolean, ServiceContext)

Throws:
PortalException

addUserNotificationEvents

public List<UserNotificationEvent> addUserNotificationEvents(long userId,
                                                             Collection<NotificationEvent> notificationEvents)
                                                      throws PortalException
Throws:
PortalException

deleteUserNotificationEvent

public void deleteUserNotificationEvent(String uuid,
                                        long companyId)

deleteUserNotificationEvents

public void deleteUserNotificationEvents(Collection<String> uuids,
                                         long companyId)

getArchivedUserNotificationEvents

public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId,
                                                                     boolean archived)

getArchivedUserNotificationEvents

public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId,
                                                                     boolean actionRequired,
                                                                     boolean archived)

getArchivedUserNotificationEvents

public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId,
                                                                     boolean actionRequired,
                                                                     boolean archived,
                                                                     int start,
                                                                     int end)

getArchivedUserNotificationEvents

public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId,
                                                                     boolean archived,
                                                                     int start,
                                                                     int end)

getArchivedUserNotificationEvents

public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId,
                                                                     int deliveryType,
                                                                     boolean archived)

getArchivedUserNotificationEvents

public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId,
                                                                     int deliveryType,
                                                                     boolean actionRequired,
                                                                     boolean archived)

getArchivedUserNotificationEvents

public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId,
                                                                     int deliveryType,
                                                                     boolean actionRequired,
                                                                     boolean archived,
                                                                     int start,
                                                                     int end)

getArchivedUserNotificationEvents

public List<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)

getDeliveredUserNotificationEvents

public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId,
                                                                      boolean delivered)

getDeliveredUserNotificationEvents

public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId,
                                                                      boolean delivered,
                                                                      boolean actionRequired)

getDeliveredUserNotificationEvents

public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId,
                                                                      boolean delivered,
                                                                      boolean actionRequired,
                                                                      int start,
                                                                      int end)

getDeliveredUserNotificationEvents

public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId,
                                                                      boolean delivered,
                                                                      int start,
                                                                      int end)

getDeliveredUserNotificationEvents

public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId,
                                                                      int deliveryType,
                                                                      boolean delivered)

getDeliveredUserNotificationEvents

public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId,
                                                                      int deliveryType,
                                                                      boolean delivered,
                                                                      boolean actionRequired)

getDeliveredUserNotificationEvents

public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId,
                                                                      int deliveryType,
                                                                      boolean delivered,
                                                                      boolean actionRequired,
                                                                      int start,
                                                                      int end)

getDeliveredUserNotificationEvents

public List<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

public List<UserNotificationEvent> getTypeNotificationEvents(String type)

getUserNotificationEvents

public List<UserNotificationEvent> getUserNotificationEvents(long userId)

getUserNotificationEvents

@Deprecated
public List<UserNotificationEvent> getUserNotificationEvents(long userId,
                                                                        boolean archived)
Deprecated. As of 6.2.0 getArchivedUserNotificationEvents(long, boolean)


getUserNotificationEvents

@Deprecated
public List<UserNotificationEvent> getUserNotificationEvents(long userId,
                                                                        boolean archived,
                                                                        int start,
                                                                        int end)
Deprecated. As of 6.2.0 getArchivedUserNotificationEvents(long, boolean, int, int)


getUserNotificationEvents

public List<UserNotificationEvent> getUserNotificationEvents(long userId,
                                                             int deliveryType)

getUserNotificationEvents

public List<UserNotificationEvent> getUserNotificationEvents(long userId,
                                                             int start,
                                                             int end)

getUserNotificationEvents

public List<UserNotificationEvent> getUserNotificationEvents(long userId,
                                                             int deliveryType,
                                                             int start,
                                                             int end)

getUserNotificationEventsCount

public int getUserNotificationEventsCount(long userId)

getUserNotificationEventsCount

@Deprecated
public int getUserNotificationEventsCount(long userId,
                                                     boolean archived)
Deprecated. As of 6.2.0 getArchivedUserNotificationEventsCount(long, boolean)


getUserNotificationEventsCount

public int getUserNotificationEventsCount(long userId,
                                          int deliveryType)

getUserNotificationEventsCount

public int getUserNotificationEventsCount(long userId,
                                          String type,
                                          int deliveryType,
                                          boolean archived)

sendUserNotificationEvents

public UserNotificationEvent sendUserNotificationEvents(long userId,
                                                        String portletId,
                                                        int deliveryType,
                                                        boolean actionRequired,
                                                        JSONObject notificationEventJSONObject)
                                                 throws PortalException
Throws:
PortalException

sendUserNotificationEvents

public UserNotificationEvent sendUserNotificationEvents(long userId,
                                                        String portletId,
                                                        int deliveryType,
                                                        JSONObject notificationEventJSONObject)
                                                 throws PortalException
Throws:
PortalException

updateUserNotificationEvent

public UserNotificationEvent updateUserNotificationEvent(String uuid,
                                                         long companyId,
                                                         boolean archive)

updateUserNotificationEvents

public List<UserNotificationEvent> updateUserNotificationEvents(Collection<String> uuids,
                                                                long companyId,
                                                                boolean archive)

sendPushNotification

protected void sendPushNotification(NotificationEvent notificationEvent)

Liferay 7.0-ce-b4