public class UserNotificationEventLocalServiceWrapper extends Object implements ServiceWrapper<UserNotificationEventLocalService>, UserNotificationEventLocalService
UserNotificationEventLocalService
.UserNotificationEventLocalService
Constructor and Description |
---|
UserNotificationEventLocalServiceWrapper() |
UserNotificationEventLocalServiceWrapper(UserNotificationEventLocalService userNotificationEventLocalService) |
Modifier and Type | Method and Description |
---|---|
UserNotificationEvent |
addUserNotificationEvent(long userId,
boolean delivered,
boolean actionRequired,
NotificationEvent notificationEvent) |
UserNotificationEvent |
addUserNotificationEvent(long userId,
boolean actionRequired,
NotificationEvent notificationEvent)
Deprecated.
As of Mueller (7.2.x)
|
UserNotificationEvent |
addUserNotificationEvent(long userId,
NotificationEvent notificationEvent) |
UserNotificationEvent |
addUserNotificationEvent(long userId,
String type,
long timestamp,
int deliveryType,
long deliverBy,
boolean delivered,
String payload,
boolean actionRequired,
boolean archived,
ServiceContext serviceContext) |
UserNotificationEvent |
addUserNotificationEvent(long userId,
String type,
long timestamp,
int deliveryType,
long deliverBy,
String payload,
boolean actionRequired,
boolean archived,
ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x)
|
UserNotificationEvent |
addUserNotificationEvent(long userId,
String type,
long timestamp,
int deliveryType,
long deliverBy,
String payload,
boolean archived,
ServiceContext serviceContext) |
UserNotificationEvent |
addUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Adds the user notification event to the database.
|
List<UserNotificationEvent> |
addUserNotificationEvents(long userId,
Collection<NotificationEvent> notificationEvents) |
void |
archiveUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired) |
PersistedModel |
createPersistedModel(Serializable primaryKeyObj) |
UserNotificationEvent |
createUserNotificationEvent(long userNotificationEventId)
Creates a new user notification event with the primary key.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
UserNotificationEvent |
deleteUserNotificationEvent(long userNotificationEventId)
Deletes the user notification event with the primary key from the database.
|
void |
deleteUserNotificationEvent(String uuid,
long companyId) |
UserNotificationEvent |
deleteUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Deletes the user notification event from the database.
|
void |
deleteUserNotificationEvents(Collection<String> uuids,
long companyId) |
void |
deleteUserNotificationEvents(long userId) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> 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 matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
UserNotificationEvent |
fetchUserNotificationEvent(long userNotificationEventId) |
UserNotificationEvent |
fetchUserNotificationEventByUuidAndCompanyId(String uuid,
long companyId)
Returns the user notification event with the matching UUID and company.
|
ActionableDynamicQuery |
getActionableDynamicQuery() |
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 delivered,
boolean actionRequired,
boolean archived,
int start,
int end) |
List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator) |
List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
int start,
int end) |
List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator) |
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) |
int |
getArchivedUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
boolean archived) |
int |
getDeliveredArchivedUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered,
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,
boolean actionRequired,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator) |
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) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
List<UserNotificationEvent> |
getTypeNotificationEvents(String type) |
UserNotificationEvent |
getUserNotificationEvent(long userNotificationEventId)
Returns the user notification event with the primary key.
|
UserNotificationEvent |
getUserNotificationEventByUuidAndCompanyId(String uuid,
long companyId)
Returns the user notification event with the matching UUID and company.
|
List<UserNotificationEvent> |
getUserNotificationEvents(int start,
int end)
Returns a range of all the user notification events.
|
List<UserNotificationEvent> |
getUserNotificationEvents(long userId) |
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()
Returns the number of user notification events.
|
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) |
UserNotificationEventLocalService |
getWrappedService() |
UserNotificationEvent |
sendUserNotificationEvents(long userId,
String portletId,
int deliveryType,
boolean delivered,
boolean actionRequired,
JSONObject notificationEventJSONObject) |
UserNotificationEvent |
sendUserNotificationEvents(long userId,
String portletId,
int deliveryType,
boolean actionRequired,
JSONObject notificationEventJSONObject) |
UserNotificationEvent |
sendUserNotificationEvents(long userId,
String portletId,
int deliveryType,
JSONObject notificationEventJSONObject) |
void |
setWrappedService(UserNotificationEventLocalService userNotificationEventLocalService) |
UserNotificationEvent |
updateUserNotificationEvent(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.
|
List<UserNotificationEvent> |
updateUserNotificationEvents(Collection<String> uuids,
long companyId,
boolean archive) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBasePersistence
public UserNotificationEventLocalServiceWrapper()
public UserNotificationEventLocalServiceWrapper(UserNotificationEventLocalService userNotificationEventLocalService)
public UserNotificationEvent addUserNotificationEvent(long userId, boolean delivered, boolean actionRequired, NotificationEvent notificationEvent) throws PortalException
addUserNotificationEvent
in interface UserNotificationEventLocalService
PortalException
@Deprecated public UserNotificationEvent addUserNotificationEvent(long userId, boolean actionRequired, NotificationEvent notificationEvent) throws PortalException
addUserNotificationEvent
in interface UserNotificationEventLocalService
PortalException
public UserNotificationEvent addUserNotificationEvent(long userId, NotificationEvent notificationEvent) throws PortalException
addUserNotificationEvent
in interface UserNotificationEventLocalService
PortalException
public UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, int deliveryType, long deliverBy, boolean delivered, String payload, boolean actionRequired, boolean archived, ServiceContext serviceContext) throws PortalException
addUserNotificationEvent
in interface UserNotificationEventLocalService
PortalException
@Deprecated public UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, int deliveryType, long deliverBy, String payload, boolean actionRequired, boolean archived, ServiceContext serviceContext) throws PortalException
addUserNotificationEvent
in interface UserNotificationEventLocalService
PortalException
public UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, int deliveryType, long deliverBy, String payload, boolean archived, ServiceContext serviceContext) throws PortalException
addUserNotificationEvent
in interface UserNotificationEventLocalService
PortalException
public UserNotificationEvent addUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Important: Inspect UserNotificationEventLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addUserNotificationEvent
in interface UserNotificationEventLocalService
userNotificationEvent
- the user notification eventpublic List<UserNotificationEvent> addUserNotificationEvents(long userId, Collection<NotificationEvent> notificationEvents) throws PortalException
addUserNotificationEvents
in interface UserNotificationEventLocalService
PortalException
public void archiveUserNotificationEvents(long userId, int deliveryType, boolean actionRequired) throws PortalException
archiveUserNotificationEvents
in interface UserNotificationEventLocalService
PortalException
public PersistedModel createPersistedModel(Serializable primaryKeyObj) throws PortalException
createPersistedModel
in interface PersistedModelLocalService
createPersistedModel
in interface UserNotificationEventLocalService
PortalException
public UserNotificationEvent createUserNotificationEvent(long userNotificationEventId)
createUserNotificationEvent
in interface UserNotificationEventLocalService
userNotificationEventId
- the primary key for the new user notification eventpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface PersistedModelLocalService
deletePersistedModel
in interface UserNotificationEventLocalService
PortalException
public UserNotificationEvent deleteUserNotificationEvent(long userNotificationEventId) throws PortalException
Important: Inspect UserNotificationEventLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteUserNotificationEvent
in interface UserNotificationEventLocalService
userNotificationEventId
- the primary key of the user notification eventPortalException
- if a user notification event with the primary key could not be foundpublic void deleteUserNotificationEvent(String uuid, long companyId)
deleteUserNotificationEvent
in interface UserNotificationEventLocalService
public UserNotificationEvent deleteUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Important: Inspect UserNotificationEventLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteUserNotificationEvent
in interface UserNotificationEventLocalService
userNotificationEvent
- the user notification eventpublic void deleteUserNotificationEvents(Collection<String> uuids, long companyId)
deleteUserNotificationEvents
in interface UserNotificationEventLocalService
public void deleteUserNotificationEvents(long userId)
deleteUserNotificationEvents
in interface UserNotificationEventLocalService
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface PersistedModelLocalService
dslQuery
in interface UserNotificationEventLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface PersistedModelLocalService
dslQueryCount
in interface UserNotificationEventLocalService
public DynamicQuery dynamicQuery()
dynamicQuery
in interface UserNotificationEventLocalService
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
in interface UserNotificationEventLocalService
dynamicQuery
- the dynamic querypublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.UserNotificationEventModelImpl
.
dynamicQuery
in interface UserNotificationEventLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.UserNotificationEventModelImpl
.
dynamicQuery
in interface UserNotificationEventLocalService
dynamicQuery
- 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
)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount
in interface UserNotificationEventLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount
in interface UserNotificationEventLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic UserNotificationEvent fetchUserNotificationEvent(long userNotificationEventId)
fetchUserNotificationEvent
in interface UserNotificationEventLocalService
public UserNotificationEvent fetchUserNotificationEventByUuidAndCompanyId(String uuid, long companyId)
fetchUserNotificationEventByUuidAndCompanyId
in interface UserNotificationEventLocalService
uuid
- the user notification event's UUIDcompanyId
- the primary key of the companynull
if a matching user notification event could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived)
getArchivedUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean actionRequired, boolean archived)
getArchivedUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean actionRequired, boolean archived, int start, int end)
getArchivedUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived, int start, int end)
getArchivedUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean archived)
getArchivedUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived)
getArchivedUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end)
getArchivedUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
getArchivedUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end)
getArchivedUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
getArchivedUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean archived, int start, int end)
getArchivedUserNotificationEvents
in interface UserNotificationEventLocalService
public int getArchivedUserNotificationEventsCount(long userId, boolean archived)
getArchivedUserNotificationEventsCount
in interface UserNotificationEventLocalService
public int getArchivedUserNotificationEventsCount(long userId, boolean actionRequired, boolean archived)
getArchivedUserNotificationEventsCount
in interface UserNotificationEventLocalService
public int getArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean archived)
getArchivedUserNotificationEventsCount
in interface UserNotificationEventLocalService
public int getArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean actionRequired, boolean archived)
getArchivedUserNotificationEventsCount
in interface UserNotificationEventLocalService
public int getArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived)
getArchivedUserNotificationEventsCount
in interface UserNotificationEventLocalService
public int getDeliveredArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean archived)
getDeliveredArchivedUserNotificationEventsCount
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered)
getDeliveredUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, boolean actionRequired)
getDeliveredUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, boolean actionRequired, int start, int end)
getDeliveredUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, int start, int end)
getDeliveredUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered)
getDeliveredUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired)
getDeliveredUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end)
getDeliveredUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
getDeliveredUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, int start, int end)
getDeliveredUserNotificationEvents
in interface UserNotificationEventLocalService
public int getDeliveredUserNotificationEventsCount(long userId, boolean delivered)
getDeliveredUserNotificationEventsCount
in interface UserNotificationEventLocalService
public int getDeliveredUserNotificationEventsCount(long userId, boolean delivered, boolean actionRequired)
getDeliveredUserNotificationEventsCount
in interface UserNotificationEventLocalService
public int getDeliveredUserNotificationEventsCount(long userId, int deliveryType, boolean delivered)
getDeliveredUserNotificationEventsCount
in interface UserNotificationEventLocalService
public int getDeliveredUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean actionRequired)
getDeliveredUserNotificationEventsCount
in interface UserNotificationEventLocalService
public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface UserNotificationEventLocalService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface UserNotificationEventLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface UserNotificationEventLocalService
PortalException
public List<UserNotificationEvent> getTypeNotificationEvents(String type)
getTypeNotificationEvents
in interface UserNotificationEventLocalService
public UserNotificationEvent getUserNotificationEvent(long userNotificationEventId) throws PortalException
getUserNotificationEvent
in interface UserNotificationEventLocalService
userNotificationEventId
- the primary key of the user notification eventPortalException
- if a user notification event with the primary key could not be foundpublic UserNotificationEvent getUserNotificationEventByUuidAndCompanyId(String uuid, long companyId) throws PortalException
getUserNotificationEventByUuidAndCompanyId
in interface UserNotificationEventLocalService
uuid
- the user notification event's UUIDcompanyId
- the primary key of the companyPortalException
- if a matching user notification event could not be foundpublic List<UserNotificationEvent> getUserNotificationEvents(int start, int end)
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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.UserNotificationEventModelImpl
.
getUserNotificationEvents
in interface UserNotificationEventLocalService
start
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)public List<UserNotificationEvent> getUserNotificationEvents(long userId)
getUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getUserNotificationEvents(long userId, int deliveryType)
getUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getUserNotificationEvents(long userId, int start, int end)
getUserNotificationEvents
in interface UserNotificationEventLocalService
public List<UserNotificationEvent> getUserNotificationEvents(long userId, int deliveryType, int start, int end)
getUserNotificationEvents
in interface UserNotificationEventLocalService
public int getUserNotificationEventsCount()
getUserNotificationEventsCount
in interface UserNotificationEventLocalService
public int getUserNotificationEventsCount(long userId)
getUserNotificationEventsCount
in interface UserNotificationEventLocalService
public int getUserNotificationEventsCount(long userId, int deliveryType)
getUserNotificationEventsCount
in interface UserNotificationEventLocalService
public int getUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean archived)
getUserNotificationEventsCount
in interface UserNotificationEventLocalService
public int getUserNotificationEventsCount(long userId, String type, int deliveryType, boolean delivered)
getUserNotificationEventsCount
in interface UserNotificationEventLocalService
public int getUserNotificationEventsCount(long userId, String type, int deliveryType, boolean delivered, boolean archived)
getUserNotificationEventsCount
in interface UserNotificationEventLocalService
public int getUserNotificationEventsCount(long userId, String type, Map<String,String> payloadParameters)
getUserNotificationEventsCount
in interface UserNotificationEventLocalService
public UserNotificationEvent sendUserNotificationEvents(long userId, String portletId, int deliveryType, boolean delivered, boolean actionRequired, JSONObject notificationEventJSONObject) throws PortalException
sendUserNotificationEvents
in interface UserNotificationEventLocalService
PortalException
public UserNotificationEvent sendUserNotificationEvents(long userId, String portletId, int deliveryType, boolean actionRequired, JSONObject notificationEventJSONObject) throws PortalException
sendUserNotificationEvents
in interface UserNotificationEventLocalService
PortalException
public UserNotificationEvent sendUserNotificationEvents(long userId, String portletId, int deliveryType, JSONObject notificationEventJSONObject) throws PortalException
sendUserNotificationEvents
in interface UserNotificationEventLocalService
PortalException
public UserNotificationEvent updateUserNotificationEvent(String uuid, long companyId, boolean archive)
updateUserNotificationEvent
in interface UserNotificationEventLocalService
public UserNotificationEvent updateUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Important: Inspect UserNotificationEventLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateUserNotificationEvent
in interface UserNotificationEventLocalService
userNotificationEvent
- the user notification eventpublic List<UserNotificationEvent> updateUserNotificationEvents(Collection<String> uuids, long companyId, boolean archive)
updateUserNotificationEvents
in interface UserNotificationEventLocalService
public UserNotificationEventLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<UserNotificationEventLocalService>
public void setWrappedService(UserNotificationEventLocalService userNotificationEventLocalService)
setWrappedService
in interface ServiceWrapper<UserNotificationEventLocalService>