Interface NotificationQueueEntryAttachmentPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<NotificationQueueEntryAttachment>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(NotificationQueueEntryAttachment notificationQueueEntryAttachment) Caches the notification queue entry attachment in the entity cache if it is enabled.voidcacheResult(List<NotificationQueueEntryAttachment> notificationQueueEntryAttachments) Caches the notification queue entry attachments in the entity cache if it is enabled.intcountAll()Returns the number of notification queue entry attachments.intcountByNotificationQueueEntryId(long notificationQueueEntryId) Returns the number of notification queue entry attachments where notificationQueueEntryId = ?.create(long notificationQueueEntryAttachmentId) Creates a new notification queue entry attachment with the primary key.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 = ?.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 = ?.fetchByPrimaryKey(long notificationQueueEntryAttachmentId) Returns the notification queue entry attachment with the primary key or returnsnullif it could not be found.findAll()Returns all the notification queue entry attachments.findAll(int start, int end) Returns a range of all the notification queue entry attachments.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator) Returns an ordered range of all the notification queue entry attachments.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.findByNotificationQueueEntryId(long notificationQueueEntryId) Returns all the notification queue entry attachments where notificationQueueEntryId = ?.findByNotificationQueueEntryId(long notificationQueueEntryId, int start, int end) Returns a range of all the notification queue entry attachments where notificationQueueEntryId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByPrimaryKey(long notificationQueueEntryAttachmentId) Returns the notification queue entry attachment with the primary key or throws aNoSuchNotificationQueueEntryAttachmentExceptionif it could not be found.remove(long notificationQueueEntryAttachmentId) Removes the notification queue entry attachment with the primary key from the database.voidRemoves all the notification queue entry attachments from the database.voidremoveByNotificationQueueEntryId(long notificationQueueEntryId) Removes all the notification queue entry attachments where notificationQueueEntryId = ? from the database.updateImpl(NotificationQueueEntryAttachment notificationQueueEntryAttachment) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
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, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByNotificationQueueEntryId
List<NotificationQueueEntryAttachment> findByNotificationQueueEntryId(long notificationQueueEntryId) Returns all the notification queue entry attachments where notificationQueueEntryId = ?.- Parameters:
notificationQueueEntryId- the notification queue entry ID- Returns:
- the matching notification queue entry attachments
-
findByNotificationQueueEntryId
List<NotificationQueueEntryAttachment> findByNotificationQueueEntryId(long notificationQueueEntryId, int start, int end) Returns a range of all the notification queue entry attachments where notificationQueueEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationQueueEntryAttachmentModelImpl.- Parameters:
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)- Returns:
- the range of matching notification queue entry attachments
-
findByNotificationQueueEntryId
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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationQueueEntryAttachmentModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching notification queue entry attachments
-
findByNotificationQueueEntryId
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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationQueueEntryAttachmentModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching notification queue entry attachments
-
findByNotificationQueueEntryId_First
NotificationQueueEntryAttachment findByNotificationQueueEntryId_First(long notificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator) throws NoSuchNotificationQueueEntryAttachmentException Returns the first notification queue entry attachment in the ordered set where notificationQueueEntryId = ?.- Parameters:
notificationQueueEntryId- the notification queue entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification queue entry attachment
- Throws:
NoSuchNotificationQueueEntryAttachmentException- if a matching notification queue entry attachment could not be found
-
fetchByNotificationQueueEntryId_First
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 = ?.- Parameters:
notificationQueueEntryId- the notification queue entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification queue entry attachment, or
nullif a matching notification queue entry attachment could not be found
-
findByNotificationQueueEntryId_Last
NotificationQueueEntryAttachment findByNotificationQueueEntryId_Last(long notificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator) throws NoSuchNotificationQueueEntryAttachmentException Returns the last notification queue entry attachment in the ordered set where notificationQueueEntryId = ?.- Parameters:
notificationQueueEntryId- the notification queue entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification queue entry attachment
- Throws:
NoSuchNotificationQueueEntryAttachmentException- if a matching notification queue entry attachment could not be found
-
fetchByNotificationQueueEntryId_Last
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 = ?.- Parameters:
notificationQueueEntryId- the notification queue entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification queue entry attachment, or
nullif a matching notification queue entry attachment could not be found
-
findByNotificationQueueEntryId_PrevAndNext
NotificationQueueEntryAttachment[] findByNotificationQueueEntryId_PrevAndNext(long notificationQueueEntryAttachmentId, long notificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntryAttachment> orderByComparator) throws NoSuchNotificationQueueEntryAttachmentException Returns the notification queue entry attachments before and after the current notification queue entry attachment in the ordered set where notificationQueueEntryId = ?.- Parameters:
notificationQueueEntryAttachmentId- the primary key of the current notification queue entry attachmentnotificationQueueEntryId- the notification queue entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next notification queue entry attachment
- Throws:
NoSuchNotificationQueueEntryAttachmentException- if a notification queue entry attachment with the primary key could not be found
-
removeByNotificationQueueEntryId
void removeByNotificationQueueEntryId(long notificationQueueEntryId) Removes all the notification queue entry attachments where notificationQueueEntryId = ? from the database.- Parameters:
notificationQueueEntryId- the notification queue entry ID
-
countByNotificationQueueEntryId
int countByNotificationQueueEntryId(long notificationQueueEntryId) Returns the number of notification queue entry attachments where notificationQueueEntryId = ?.- Parameters:
notificationQueueEntryId- the notification queue entry ID- Returns:
- the number of matching notification queue entry attachments
-
cacheResult
Caches the notification queue entry attachment in the entity cache if it is enabled.- Parameters:
notificationQueueEntryAttachment- the notification queue entry attachment
-
cacheResult
Caches the notification queue entry attachments in the entity cache if it is enabled.- Parameters:
notificationQueueEntryAttachments- the notification queue entry attachments
-
create
Creates a new notification queue entry attachment with the primary key. Does not add the notification queue entry attachment to the database.- Parameters:
notificationQueueEntryAttachmentId- the primary key for the new notification queue entry attachment- Returns:
- the new notification queue entry attachment
-
remove
NotificationQueueEntryAttachment remove(long notificationQueueEntryAttachmentId) throws NoSuchNotificationQueueEntryAttachmentException Removes the notification queue entry attachment with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
notificationQueueEntryAttachmentId- the primary key of the notification queue entry attachment- Returns:
- the notification queue entry attachment that was removed
- Throws:
NoSuchNotificationQueueEntryAttachmentException- if a notification queue entry attachment with the primary key could not be found
-
updateImpl
NotificationQueueEntryAttachment updateImpl(NotificationQueueEntryAttachment notificationQueueEntryAttachment) -
findByPrimaryKey
NotificationQueueEntryAttachment findByPrimaryKey(long notificationQueueEntryAttachmentId) throws NoSuchNotificationQueueEntryAttachmentException Returns the notification queue entry attachment with the primary key or throws aNoSuchNotificationQueueEntryAttachmentExceptionif it could not be found.- Parameters:
notificationQueueEntryAttachmentId- the primary key of the notification queue entry attachment- Returns:
- the notification queue entry attachment
- Throws:
NoSuchNotificationQueueEntryAttachmentException- if a notification queue entry attachment with the primary key could not be found
-
fetchByPrimaryKey
Returns the notification queue entry attachment with the primary key or returnsnullif it could not be found.- Parameters:
notificationQueueEntryAttachmentId- the primary key of the notification queue entry attachment- Returns:
- the notification queue entry attachment, or
nullif a notification queue entry attachment with the primary key could not be found
-
findAll
List<NotificationQueueEntryAttachment> findAll()Returns all the notification queue entry attachments.- Returns:
- the notification queue entry attachments
-
findAll
Returns a range of all the notification queue entry attachments.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationQueueEntryAttachmentModelImpl.- Parameters:
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)- Returns:
- the range of notification queue entry attachments
-
findAll
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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationQueueEntryAttachmentModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of notification queue entry attachments
-
findAll
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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationQueueEntryAttachmentModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of notification queue entry attachments
-
removeAll
void removeAll()Removes all the notification queue entry attachments from the database. -
countAll
int countAll()Returns the number of notification queue entry attachments.- Returns:
- the number of notification queue entry attachments
-