@ProviderType public class UserNotificationEventLocalServiceWrapper extends java.lang.Object implements UserNotificationEventLocalService, ServiceWrapper<UserNotificationEventLocalService>
UserNotificationEventLocalService.UserNotificationEventLocalService| Constructor and Description |
|---|
UserNotificationEventLocalServiceWrapper(UserNotificationEventLocalService userNotificationEventLocalService) |
| Modifier and Type | Method and Description |
|---|---|
UserNotificationEvent |
addUserNotificationEvent(long userId,
NotificationEvent notificationEvent) |
UserNotificationEvent |
addUserNotificationEvent(long userId,
java.lang.String type,
long timestamp,
long deliverBy,
java.lang.String payload,
boolean archived,
ServiceContext serviceContext) |
UserNotificationEvent |
addUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Adds the user notification event to the database.
|
java.util.List<UserNotificationEvent> |
addUserNotificationEvents(long userId,
java.util.Collection<NotificationEvent> notificationEvents) |
UserNotificationEvent |
createUserNotificationEvent(long userNotificationEventId)
Creates a new user notification event with the primary key.
|
UserNotificationEvent |
deleteUserNotificationEvent(long userNotificationEventId)
Deletes the user notification event with the primary key from the database.
|
void |
deleteUserNotificationEvent(java.lang.String uuid,
long companyId) |
UserNotificationEvent |
deleteUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Deletes the user notification event from the database.
|
void |
deleteUserNotificationEvents(java.util.Collection<java.lang.String> uuids,
long companyId) |
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
UserNotificationEvent |
fetchUserNotificationEvent(long userNotificationEventId) |
UserNotificationEvent |
fetchUserNotificationEventByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the user notification event with the matching UUID and company.
|
java.util.List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
boolean archived) |
java.util.List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
boolean archived,
int start,
int end) |
int |
getArchivedUserNotificationEventsCount(long userId,
boolean archived) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
java.util.List<UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
boolean delivered) |
java.util.List<UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
boolean delivered,
int start,
int end) |
int |
getDeliveredUserNotificationEventsCount(long userId,
boolean delivered) |
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
UserNotificationEvent |
getUserNotificationEvent(long userNotificationEventId)
Returns the user notification event with the primary key.
|
UserNotificationEvent |
getUserNotificationEventByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the user notification event with the matching UUID and company.
|
java.util.List<UserNotificationEvent> |
getUserNotificationEvents(int start,
int end)
Returns a range of all the user notification events.
|
java.util.List<UserNotificationEvent> |
getUserNotificationEvents(long userId) |
java.util.List<UserNotificationEvent> |
getUserNotificationEvents(long userId,
boolean archived)
Deprecated.
As of 6.2.0
getArchivedUserNotificationEvents(long,
boolean) |
java.util.List<UserNotificationEvent> |
getUserNotificationEvents(long userId,
boolean archived,
int start,
int end)
Deprecated.
|
java.util.List<UserNotificationEvent> |
getUserNotificationEvents(long userId,
int start,
int end) |
int |
getUserNotificationEventsCount()
Returns the number of user notification events.
|
int |
getUserNotificationEventsCount(long userId) |
int |
getUserNotificationEventsCount(long userId,
boolean archived)
Deprecated.
|
UserNotificationEventLocalService |
getWrappedService() |
UserNotificationEventLocalService |
getWrappedUserNotificationEventLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedService(UserNotificationEventLocalService userNotificationEventLocalService) |
void |
setWrappedUserNotificationEventLocalService(UserNotificationEventLocalService userNotificationEventLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portal.service.UserNotificationEventLocalService) |
UserNotificationEvent |
updateUserNotificationEvent(java.lang.String uuid,
long companyId,
boolean archive) |
UserNotificationEvent |
updateUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Updates the user notification event in the database or adds it if it does not yet exist.
|
java.util.List<UserNotificationEvent> |
updateUserNotificationEvents(java.util.Collection<java.lang.String> uuids,
long companyId,
boolean archive) |
public UserNotificationEventLocalServiceWrapper(UserNotificationEventLocalService userNotificationEventLocalService)
public UserNotificationEvent addUserNotificationEvent(UserNotificationEvent userNotificationEvent) throws SystemException
addUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEvent - the user notification eventSystemException - if a system exception occurredpublic UserNotificationEvent createUserNotificationEvent(long userNotificationEventId)
createUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEventId - the primary key for the new user notification eventpublic UserNotificationEvent deleteUserNotificationEvent(long userNotificationEventId) throws PortalException, SystemException
deleteUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEventId - the primary key of the user notification eventPortalException - if a user notification event with the primary key could not be foundSystemException - if a system exception occurredpublic UserNotificationEvent deleteUserNotificationEvent(UserNotificationEvent userNotificationEvent) throws SystemException
deleteUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEvent - the user notification eventSystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface UserNotificationEventLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface UserNotificationEventLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface UserNotificationEventLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface UserNotificationEventLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface UserNotificationEventLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface UserNotificationEventLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic UserNotificationEvent fetchUserNotificationEvent(long userNotificationEventId) throws SystemException
fetchUserNotificationEvent in interface UserNotificationEventLocalServiceSystemExceptionpublic UserNotificationEvent fetchUserNotificationEventByUuidAndCompanyId(java.lang.String uuid, long companyId) throws SystemException
fetchUserNotificationEventByUuidAndCompanyId in interface UserNotificationEventLocalServiceuuid - the user notification event's UUIDcompanyId - the primary key of the companynull if a matching user notification event could not be foundSystemException - if a system exception occurredpublic UserNotificationEvent getUserNotificationEvent(long userNotificationEventId) throws PortalException, SystemException
getUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEventId - the primary key of the user notification eventPortalException - if a user notification event with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface UserNotificationEventLocalServicePortalExceptionSystemExceptionpublic UserNotificationEvent getUserNotificationEventByUuidAndCompanyId(java.lang.String uuid, long companyId) throws PortalException, SystemException
getUserNotificationEventByUuidAndCompanyId in interface UserNotificationEventLocalServiceuuid - the user notification event's UUIDcompanyId - the primary key of the companyPortalException - if a matching user notification event could not be foundSystemException - if a system exception occurredpublic java.util.List<UserNotificationEvent> getUserNotificationEvents(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getUserNotificationEvents in interface UserNotificationEventLocalServicestart - the lower bound of the range of user notification eventsend - the upper bound of the range of user notification events (not inclusive)SystemException - if a system exception occurredpublic int getUserNotificationEventsCount()
throws SystemException
getUserNotificationEventsCount in interface UserNotificationEventLocalServiceSystemException - if a system exception occurredpublic UserNotificationEvent updateUserNotificationEvent(UserNotificationEvent userNotificationEvent) throws SystemException
updateUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEvent - the user notification eventSystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface UserNotificationEventLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface UserNotificationEventLocalServicebeanIdentifier - the Spring bean ID for this beanpublic UserNotificationEvent addUserNotificationEvent(long userId, NotificationEvent notificationEvent) throws PortalException, SystemException
addUserNotificationEvent in interface UserNotificationEventLocalServicePortalExceptionSystemExceptionpublic UserNotificationEvent addUserNotificationEvent(long userId, java.lang.String type, long timestamp, long deliverBy, java.lang.String payload, boolean archived, ServiceContext serviceContext) throws PortalException, SystemException
addUserNotificationEvent in interface UserNotificationEventLocalServicePortalExceptionSystemExceptionpublic java.util.List<UserNotificationEvent> addUserNotificationEvents(long userId, java.util.Collection<NotificationEvent> notificationEvents) throws PortalException, SystemException
addUserNotificationEvents in interface UserNotificationEventLocalServicePortalExceptionSystemExceptionpublic void deleteUserNotificationEvent(java.lang.String uuid,
long companyId)
throws SystemException
deleteUserNotificationEvent in interface UserNotificationEventLocalServiceSystemExceptionpublic void deleteUserNotificationEvents(java.util.Collection<java.lang.String> uuids,
long companyId)
throws SystemException
deleteUserNotificationEvents in interface UserNotificationEventLocalServiceSystemExceptionpublic java.util.List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived) throws SystemException
getArchivedUserNotificationEvents in interface UserNotificationEventLocalServiceSystemExceptionpublic java.util.List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived, int start, int end) throws SystemException
getArchivedUserNotificationEvents in interface UserNotificationEventLocalServiceSystemExceptionpublic int getArchivedUserNotificationEventsCount(long userId,
boolean archived)
throws SystemException
getArchivedUserNotificationEventsCount in interface UserNotificationEventLocalServiceSystemExceptionpublic java.util.List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered) throws SystemException
getDeliveredUserNotificationEvents in interface UserNotificationEventLocalServiceSystemExceptionpublic java.util.List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, int start, int end) throws SystemException
getDeliveredUserNotificationEvents in interface UserNotificationEventLocalServiceSystemExceptionpublic int getDeliveredUserNotificationEventsCount(long userId,
boolean delivered)
throws SystemException
getDeliveredUserNotificationEventsCount in interface UserNotificationEventLocalServiceSystemExceptionpublic java.util.List<UserNotificationEvent> getUserNotificationEvents(long userId) throws SystemException
getUserNotificationEvents in interface UserNotificationEventLocalServiceSystemExceptionpublic java.util.List<UserNotificationEvent> getUserNotificationEvents(long userId, boolean archived) throws SystemException
getArchivedUserNotificationEvents(long,
boolean)getUserNotificationEvents in interface UserNotificationEventLocalServiceSystemExceptionpublic java.util.List<UserNotificationEvent> getUserNotificationEvents(long userId, boolean archived, int start, int end) throws SystemException
getArchivedUserNotificationEvents(long,
boolean, int, int)getUserNotificationEvents in interface UserNotificationEventLocalServiceSystemExceptionpublic java.util.List<UserNotificationEvent> getUserNotificationEvents(long userId, int start, int end) throws SystemException
getUserNotificationEvents in interface UserNotificationEventLocalServiceSystemExceptionpublic int getUserNotificationEventsCount(long userId)
throws SystemException
getUserNotificationEventsCount in interface UserNotificationEventLocalServiceSystemExceptionpublic int getUserNotificationEventsCount(long userId,
boolean archived)
throws SystemException
getArchivedUserNotificationEventsCount(long, boolean)getUserNotificationEventsCount in interface UserNotificationEventLocalServiceSystemExceptionpublic UserNotificationEvent updateUserNotificationEvent(java.lang.String uuid, long companyId, boolean archive) throws SystemException
updateUserNotificationEvent in interface UserNotificationEventLocalServiceSystemExceptionpublic java.util.List<UserNotificationEvent> updateUserNotificationEvents(java.util.Collection<java.lang.String> uuids, long companyId, boolean archive) throws SystemException
updateUserNotificationEvents in interface UserNotificationEventLocalServiceSystemExceptionpublic UserNotificationEventLocalService getWrappedUserNotificationEventLocalService()
getWrappedService()public void setWrappedUserNotificationEventLocalService(UserNotificationEventLocalService userNotificationEventLocalService)
setWrappedService(com.liferay.portal.service.UserNotificationEventLocalService)public UserNotificationEventLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<UserNotificationEventLocalService>public void setWrappedService(UserNotificationEventLocalService userNotificationEventLocalService)
setWrappedService in interface ServiceWrapper<UserNotificationEventLocalService>