public class NotificationQueueEntryLocalServiceWrapper extends java.lang.Object implements NotificationQueueEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<NotificationQueueEntryLocalService>
NotificationQueueEntryLocalService.NotificationQueueEntryLocalService| Constructor and Description |
|---|
NotificationQueueEntryLocalServiceWrapper() |
NotificationQueueEntryLocalServiceWrapper(NotificationQueueEntryLocalService notificationQueueEntryLocalService) |
| Modifier and Type | Method and Description |
|---|---|
NotificationQueueEntry |
addNotificationQueueEntry(long userId,
long notificationTemplateId,
java.lang.String bcc,
java.lang.String body,
java.lang.String cc,
java.lang.String className,
long classPK,
java.lang.String from,
java.lang.String fromName,
double priority,
java.lang.String subject,
java.lang.String to,
java.lang.String toName,
java.util.List<java.lang.Long> fileEntryIds) |
NotificationQueueEntry |
addNotificationQueueEntry(NotificationQueueEntry notificationQueueEntry)
Adds the notification queue entry to the database.
|
NotificationQueueEntry |
createNotificationQueueEntry(long notificationQueueEntryId)
Creates a new notification queue entry with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
void |
deleteNotificationQueueEntries(java.util.Date sentDate) |
NotificationQueueEntry |
deleteNotificationQueueEntry(long notificationQueueEntryId)
Deletes the notification queue entry with the primary key from the database.
|
NotificationQueueEntry |
deleteNotificationQueueEntry(NotificationQueueEntry notificationQueueEntry)
Deletes the notification queue entry from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
NotificationQueueEntry |
fetchNotificationQueueEntry(long notificationQueueEntryId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.util.List<NotificationQueueEntry> |
getNotificationQueueEntries(int start,
int end)
Returns a range of all the notification queue entries.
|
int |
getNotificationQueueEntriesCount()
Returns the number of notification queue entries.
|
NotificationQueueEntry |
getNotificationQueueEntry(long notificationQueueEntryId)
Returns the notification queue entry with the primary key.
|
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
NotificationQueueEntryLocalService |
getWrappedService() |
NotificationQueueEntry |
resendNotificationQueueEntry(long notificationQueueEntryId) |
void |
sendNotificationQueueEntries() |
void |
setWrappedService(NotificationQueueEntryLocalService notificationQueueEntryLocalService) |
NotificationQueueEntry |
updateNotificationQueueEntry(NotificationQueueEntry notificationQueueEntry)
Updates the notification queue entry in the database or adds it if it does not yet exist.
|
NotificationQueueEntry |
updateSent(long notificationQueueEntryId,
boolean sent) |
public NotificationQueueEntryLocalServiceWrapper()
public NotificationQueueEntryLocalServiceWrapper(NotificationQueueEntryLocalService notificationQueueEntryLocalService)
public NotificationQueueEntry addNotificationQueueEntry(long userId, long notificationTemplateId, java.lang.String bcc, java.lang.String body, java.lang.String cc, java.lang.String className, long classPK, java.lang.String from, java.lang.String fromName, double priority, java.lang.String subject, java.lang.String to, java.lang.String toName, java.util.List<java.lang.Long> fileEntryIds) throws com.liferay.portal.kernel.exception.PortalException
addNotificationQueueEntry in interface NotificationQueueEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic NotificationQueueEntry addNotificationQueueEntry(NotificationQueueEntry notificationQueueEntry)
Important: Inspect NotificationQueueEntryLocalServiceImpl 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.
addNotificationQueueEntry in interface NotificationQueueEntryLocalServicenotificationQueueEntry - the notification queue entrypublic NotificationQueueEntry createNotificationQueueEntry(long notificationQueueEntryId)
createNotificationQueueEntry in interface NotificationQueueEntryLocalServicenotificationQueueEntryId - the primary key for the new notification queue entrypublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface NotificationQueueEntryLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic void deleteNotificationQueueEntries(java.util.Date sentDate)
throws com.liferay.portal.kernel.exception.PortalException
deleteNotificationQueueEntries in interface NotificationQueueEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic NotificationQueueEntry deleteNotificationQueueEntry(long notificationQueueEntryId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect NotificationQueueEntryLocalServiceImpl 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.
deleteNotificationQueueEntry in interface NotificationQueueEntryLocalServicenotificationQueueEntryId - the primary key of the notification queue entryPortalException - if a notification queue entry with the primary key could not be foundpublic NotificationQueueEntry deleteNotificationQueueEntry(NotificationQueueEntry notificationQueueEntry) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect NotificationQueueEntryLocalServiceImpl 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.
deleteNotificationQueueEntry in interface NotificationQueueEntryLocalServicenotificationQueueEntry - the notification queue entryPortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface NotificationQueueEntryLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface NotificationQueueEntryLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface NotificationQueueEntryLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface NotificationQueueEntryLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface NotificationQueueEntryLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.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.notification.model.impl.NotificationQueueEntryModelImpl.
dynamicQuery in interface NotificationQueueEntryLocalServicedynamicQuery - 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> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.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.notification.model.impl.NotificationQueueEntryModelImpl.
dynamicQuery in interface NotificationQueueEntryLocalServicedynamicQuery - 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface NotificationQueueEntryLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface NotificationQueueEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic NotificationQueueEntry fetchNotificationQueueEntry(long notificationQueueEntryId)
fetchNotificationQueueEntry in interface NotificationQueueEntryLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface NotificationQueueEntryLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface NotificationQueueEntryLocalServicepublic java.util.List<NotificationQueueEntry> getNotificationQueueEntries(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.notification.model.impl.NotificationQueueEntryModelImpl.
getNotificationQueueEntries in interface NotificationQueueEntryLocalServicestart - the lower bound of the range of notification queue entriesend - the upper bound of the range of notification queue entries (not inclusive)public int getNotificationQueueEntriesCount()
getNotificationQueueEntriesCount in interface NotificationQueueEntryLocalServicepublic NotificationQueueEntry getNotificationQueueEntry(long notificationQueueEntryId) throws com.liferay.portal.kernel.exception.PortalException
getNotificationQueueEntry in interface NotificationQueueEntryLocalServicenotificationQueueEntryId - the primary key of the notification queue entryPortalException - if a notification queue entry with the primary key could not be foundpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface NotificationQueueEntryLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface NotificationQueueEntryLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic NotificationQueueEntry resendNotificationQueueEntry(long notificationQueueEntryId) throws com.liferay.portal.kernel.exception.PortalException
resendNotificationQueueEntry in interface NotificationQueueEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void sendNotificationQueueEntries()
sendNotificationQueueEntries in interface NotificationQueueEntryLocalServicepublic NotificationQueueEntry updateNotificationQueueEntry(NotificationQueueEntry notificationQueueEntry)
Important: Inspect NotificationQueueEntryLocalServiceImpl 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.
updateNotificationQueueEntry in interface NotificationQueueEntryLocalServicenotificationQueueEntry - the notification queue entrypublic NotificationQueueEntry updateSent(long notificationQueueEntryId, boolean sent) throws com.liferay.portal.kernel.exception.PortalException
updateSent in interface NotificationQueueEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic NotificationQueueEntryLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<NotificationQueueEntryLocalService>public void setWrappedService(NotificationQueueEntryLocalService notificationQueueEntryLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<NotificationQueueEntryLocalService>