@ProviderType public interface NotificationQueueEntryAttachmentPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<NotificationQueueEntryAttachment>
Caching information and settings can be found in portal.properties
NotificationQueueEntryAttachmentUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<NotificationQueueEntryAttachment> notificationQueueEntryAttachments)
Caches the notification queue entry attachments in the entity cache if it is enabled.
|
void |
cacheResult(NotificationQueueEntryAttachment notificationQueueEntryAttachment)
Caches the notification queue entry attachment in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of notification queue entry attachments.
|
int |
countByNotificationQueueEntryId(long notificationQueueEntryId)
Returns the number of notification queue entry attachments where notificationQueueEntryId = ?.
|
NotificationQueueEntryAttachment |
create(long notificationQueueEntryAttachmentId)
Creates a new notification queue entry attachment with the primary key.
|
NotificationQueueEntryAttachment |
fetchByNotificationQueueEntryId_First(long notificationQueueEntryId,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator)
Returns the first notification queue entry attachment in the ordered set where notificationQueueEntryId = ?.
|
NotificationQueueEntryAttachment |
fetchByNotificationQueueEntryId_Last(long notificationQueueEntryId,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator)
Returns the last notification queue entry attachment in the ordered set where notificationQueueEntryId = ?.
|
NotificationQueueEntryAttachment |
fetchByPrimaryKey(long notificationQueueEntryAttachmentId)
Returns the notification queue entry attachment with the primary key or returns
null if it could not be found. |
java.util.List<NotificationQueueEntryAttachment> |
findAll()
Returns all the notification queue entry attachments.
|
java.util.List<NotificationQueueEntryAttachment> |
findAll(int start,
int end)
Returns a range of all the notification queue entry attachments.
|
java.util.List<NotificationQueueEntryAttachment> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator)
Returns an ordered range of all the notification queue entry attachments.
|
java.util.List<NotificationQueueEntryAttachment> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the notification queue entry attachments.
|
NotificationQueueEntryAttachment |
findByNotificationQueueEntryId_First(long notificationQueueEntryId,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator)
Returns the first notification queue entry attachment in the ordered set where notificationQueueEntryId = ?.
|
NotificationQueueEntryAttachment |
findByNotificationQueueEntryId_Last(long notificationQueueEntryId,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator)
Returns the last notification queue entry attachment in the ordered set where notificationQueueEntryId = ?.
|
NotificationQueueEntryAttachment[] |
findByNotificationQueueEntryId_PrevAndNext(long notificationQueueEntryAttachmentId,
long notificationQueueEntryId,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator)
Returns the notification queue entry attachments before and after the current notification queue entry attachment in the ordered set where notificationQueueEntryId = ?.
|
java.util.List<NotificationQueueEntryAttachment> |
findByNotificationQueueEntryId(long notificationQueueEntryId)
Returns all the notification queue entry attachments where notificationQueueEntryId = ?.
|
java.util.List<NotificationQueueEntryAttachment> |
findByNotificationQueueEntryId(long notificationQueueEntryId,
int start,
int end)
Returns a range of all the notification queue entry attachments where notificationQueueEntryId = ?.
|
java.util.List<NotificationQueueEntryAttachment> |
findByNotificationQueueEntryId(long notificationQueueEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator)
Returns an ordered range of all the notification queue entry attachments where notificationQueueEntryId = ?.
|
java.util.List<NotificationQueueEntryAttachment> |
findByNotificationQueueEntryId(long notificationQueueEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the notification queue entry attachments where notificationQueueEntryId = ?.
|
NotificationQueueEntryAttachment |
findByPrimaryKey(long notificationQueueEntryAttachmentId)
Returns the notification queue entry attachment with the primary key or throws a
NoSuchNotificationQueueEntryAttachmentException if it could not be found. |
NotificationQueueEntryAttachment |
remove(long notificationQueueEntryAttachmentId)
Removes the notification queue entry attachment with the primary key from the database.
|
void |
removeAll()
Removes all the notification queue entry attachments from the database.
|
void |
removeByNotificationQueueEntryId(long notificationQueueEntryId)
Removes all the notification queue entry attachments where notificationQueueEntryId = ? from the database.
|
NotificationQueueEntryAttachment |
updateImpl(NotificationQueueEntryAttachment notificationQueueEntryAttachment) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<NotificationQueueEntryAttachment> findByNotificationQueueEntryId(long notificationQueueEntryId)
notificationQueueEntryId
- the notification queue entry IDjava.util.List<NotificationQueueEntryAttachment> findByNotificationQueueEntryId(long notificationQueueEntryId, 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 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 NotificationQueueEntryAttachmentModelImpl
.
notificationQueueEntryId
- the notification queue entry IDstart
- the lower bound of the range of notification queue entry attachmentsend
- the upper bound of the range of notification queue entry attachments (not inclusive)java.util.List<NotificationQueueEntryAttachment> findByNotificationQueueEntryId(long notificationQueueEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> 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 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 NotificationQueueEntryAttachmentModelImpl
.
notificationQueueEntryId
- the notification queue entry IDstart
- the lower bound of the range of notification queue entry attachmentsend
- the upper bound of the range of notification queue entry attachments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<NotificationQueueEntryAttachment> findByNotificationQueueEntryId(long notificationQueueEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from NotificationQueueEntryAttachmentModelImpl
.
notificationQueueEntryId
- the notification queue entry IDstart
- the lower bound of the range of notification queue entry attachmentsend
- the upper bound of the range of notification queue entry attachments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheNotificationQueueEntryAttachment findByNotificationQueueEntryId_First(long notificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator) throws NoSuchNotificationQueueEntryAttachmentException
notificationQueueEntryId
- the notification queue entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryAttachmentException
- if a matching notification queue entry attachment could not be foundNotificationQueueEntryAttachment fetchByNotificationQueueEntryId_First(long notificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator)
notificationQueueEntryId
- the notification queue entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification queue entry attachment could not be foundNotificationQueueEntryAttachment findByNotificationQueueEntryId_Last(long notificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator) throws NoSuchNotificationQueueEntryAttachmentException
notificationQueueEntryId
- the notification queue entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryAttachmentException
- if a matching notification queue entry attachment could not be foundNotificationQueueEntryAttachment fetchByNotificationQueueEntryId_Last(long notificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator)
notificationQueueEntryId
- the notification queue entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification queue entry attachment could not be foundNotificationQueueEntryAttachment[] findByNotificationQueueEntryId_PrevAndNext(long notificationQueueEntryAttachmentId, long notificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator) throws NoSuchNotificationQueueEntryAttachmentException
notificationQueueEntryAttachmentId
- the primary key of the current notification queue entry attachmentnotificationQueueEntryId
- the notification queue entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryAttachmentException
- if a notification queue entry attachment with the primary key could not be foundvoid removeByNotificationQueueEntryId(long notificationQueueEntryId)
notificationQueueEntryId
- the notification queue entry IDint countByNotificationQueueEntryId(long notificationQueueEntryId)
notificationQueueEntryId
- the notification queue entry IDvoid cacheResult(NotificationQueueEntryAttachment notificationQueueEntryAttachment)
notificationQueueEntryAttachment
- the notification queue entry attachmentvoid cacheResult(java.util.List<NotificationQueueEntryAttachment> notificationQueueEntryAttachments)
notificationQueueEntryAttachments
- the notification queue entry attachmentsNotificationQueueEntryAttachment create(long notificationQueueEntryAttachmentId)
notificationQueueEntryAttachmentId
- the primary key for the new notification queue entry attachmentNotificationQueueEntryAttachment remove(long notificationQueueEntryAttachmentId) throws NoSuchNotificationQueueEntryAttachmentException
notificationQueueEntryAttachmentId
- the primary key of the notification queue entry attachmentNoSuchNotificationQueueEntryAttachmentException
- if a notification queue entry attachment with the primary key could not be foundNotificationQueueEntryAttachment updateImpl(NotificationQueueEntryAttachment notificationQueueEntryAttachment)
NotificationQueueEntryAttachment findByPrimaryKey(long notificationQueueEntryAttachmentId) throws NoSuchNotificationQueueEntryAttachmentException
NoSuchNotificationQueueEntryAttachmentException
if it could not be found.notificationQueueEntryAttachmentId
- the primary key of the notification queue entry attachmentNoSuchNotificationQueueEntryAttachmentException
- if a notification queue entry attachment with the primary key could not be foundNotificationQueueEntryAttachment fetchByPrimaryKey(long notificationQueueEntryAttachmentId)
null
if it could not be found.notificationQueueEntryAttachmentId
- the primary key of the notification queue entry attachmentnull
if a notification queue entry attachment with the primary key could not be foundjava.util.List<NotificationQueueEntryAttachment> findAll()
java.util.List<NotificationQueueEntryAttachment> findAll(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 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 NotificationQueueEntryAttachmentModelImpl
.
start
- the lower bound of the range of notification queue entry attachmentsend
- the upper bound of the range of notification queue entry attachments (not inclusive)java.util.List<NotificationQueueEntryAttachment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> 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 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 NotificationQueueEntryAttachmentModelImpl
.
start
- the lower bound of the range of notification queue entry attachmentsend
- the upper bound of the range of notification queue entry attachments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<NotificationQueueEntryAttachment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from NotificationQueueEntryAttachmentModelImpl
.
start
- the lower bound of the range of notification queue entry attachmentsend
- the upper bound of the range of notification queue entry attachments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()