Interface NotificationQueueEntryAttachmentPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<NotificationQueueEntryAttachment>

@ProviderType public interface NotificationQueueEntryAttachmentPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<NotificationQueueEntryAttachment>
The persistence interface for the notification queue entry attachment service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • 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 - 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.

      Parameters:
      notificationQueueEntryId - the notification queue entry ID
      start - the lower bound of the range of notification queue entry attachments
      end - 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 - 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.

      Parameters:
      notificationQueueEntryId - the notification queue entry ID
      start - the lower bound of the range of notification queue entry attachments
      end - the upper bound of the range of notification queue entry attachments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - 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.

      Parameters:
      notificationQueueEntryId - the notification queue entry ID
      start - the lower bound of the range of notification queue entry attachments
      end - 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 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching notification queue entry attachment, or null if 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching notification queue entry attachment, or null if 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 attachment
      notificationQueueEntryId - the notification queue entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      void cacheResult(NotificationQueueEntryAttachment notificationQueueEntryAttachment)
      Caches the notification queue entry attachment in the entity cache if it is enabled.
      Parameters:
      notificationQueueEntryAttachment - the notification queue entry attachment
    • cacheResult

      void cacheResult(List<NotificationQueueEntryAttachment> notificationQueueEntryAttachments)
      Caches the notification queue entry attachments in the entity cache if it is enabled.
      Parameters:
      notificationQueueEntryAttachments - the notification queue entry attachments
    • create

      NotificationQueueEntryAttachment create(long notificationQueueEntryAttachmentId)
      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 a NoSuchNotificationQueueEntryAttachmentException if 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

      NotificationQueueEntryAttachment fetchByPrimaryKey(long notificationQueueEntryAttachmentId)
      Returns the notification queue entry attachment with the primary key or returns null if it could not be found.
      Parameters:
      notificationQueueEntryAttachmentId - the primary key of the notification queue entry attachment
      Returns:
      the notification queue entry attachment, or null if a notification queue entry attachment with the primary key could not be found
    • findAll

      Returns all the notification queue entry attachments.
      Returns:
      the notification queue entry attachments
    • findAll

      List<NotificationQueueEntryAttachment> findAll(int start, int end)
      Returns a range of all the notification queue entry attachments.

      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.

      Parameters:
      start - the lower bound of the range of notification queue entry attachments
      end - 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 - 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.

      Parameters:
      start - the lower bound of the range of notification queue entry attachments
      end - the upper bound of the range of notification queue entry attachments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - 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.

      Parameters:
      start - the lower bound of the range of notification queue entry attachments
      end - 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 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