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(NotificationContext notificationContext) |
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.service.persistence.BasePersistence<?> |
getBasePersistence() |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.util.List<NotificationQueueEntry> |
getNotificationEntries(java.lang.String type,
int status) |
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 |
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 |
updateStatus(long notificationQueueEntryId,
int status) |
public NotificationQueueEntryLocalServiceWrapper()
public NotificationQueueEntryLocalServiceWrapper(NotificationQueueEntryLocalService notificationQueueEntryLocalService)
public NotificationQueueEntry addNotificationQueueEntry(NotificationContext notificationContext) throws com.liferay.portal.kernel.exception.PortalException
addNotificationQueueEntry
in interface NotificationQueueEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 NotificationQueueEntryLocalService
notificationQueueEntry
- the notification queue entrypublic NotificationQueueEntry createNotificationQueueEntry(long notificationQueueEntryId)
createNotificationQueueEntry
in interface NotificationQueueEntryLocalService
notificationQueueEntryId
- 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 NotificationQueueEntryLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public void deleteNotificationQueueEntries(java.util.Date sentDate) throws com.liferay.portal.kernel.exception.PortalException
deleteNotificationQueueEntries
in interface NotificationQueueEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 NotificationQueueEntryLocalService
notificationQueueEntryId
- 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 NotificationQueueEntryLocalService
notificationQueueEntry
- the notification queue entryPortalException
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface NotificationQueueEntryLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface NotificationQueueEntryLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface NotificationQueueEntryLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface NotificationQueueEntryLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface NotificationQueueEntryLocalService
dynamicQuery
- 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 NotificationQueueEntryLocalService
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> 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 NotificationQueueEntryLocalService
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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface NotificationQueueEntryLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface NotificationQueueEntryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic NotificationQueueEntry fetchNotificationQueueEntry(long notificationQueueEntryId)
fetchNotificationQueueEntry
in interface NotificationQueueEntryLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface NotificationQueueEntryLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface NotificationQueueEntryLocalService
public java.util.List<NotificationQueueEntry> getNotificationEntries(java.lang.String type, int status)
getNotificationEntries
in interface NotificationQueueEntryLocalService
public 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 NotificationQueueEntryLocalService
start
- 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 NotificationQueueEntryLocalService
public NotificationQueueEntry getNotificationQueueEntry(long notificationQueueEntryId) throws com.liferay.portal.kernel.exception.PortalException
getNotificationQueueEntry
in interface NotificationQueueEntryLocalService
notificationQueueEntryId
- 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 NotificationQueueEntryLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface NotificationQueueEntryLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public NotificationQueueEntry resendNotificationQueueEntry(long notificationQueueEntryId) throws com.liferay.portal.kernel.exception.PortalException
resendNotificationQueueEntry
in interface NotificationQueueEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 NotificationQueueEntryLocalService
notificationQueueEntry
- the notification queue entrypublic NotificationQueueEntry updateStatus(long notificationQueueEntryId, int status) throws com.liferay.portal.kernel.exception.PortalException
updateStatus
in interface NotificationQueueEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public 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>