Interface NotificationRecipientPersistence

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

@ProviderType public interface NotificationRecipientPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<NotificationRecipient>
The persistence interface for the notification recipient service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      List<NotificationRecipient> findByUuid(String uuid)
      Returns all the notification recipients where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching notification recipients
    • findByUuid

      List<NotificationRecipient> findByUuid(String uuid, int start, int end)
      Returns a range of all the notification recipients where uuid = ?.

      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 NotificationRecipientModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of notification recipients
      end - the upper bound of the range of notification recipients (not inclusive)
      Returns:
      the range of matching notification recipients
    • findByUuid

      List<NotificationRecipient> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
      Returns an ordered range of all the notification recipients where uuid = ?.

      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 NotificationRecipientModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of notification recipients
      end - the upper bound of the range of notification recipients (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching notification recipients
    • findByUuid

      List<NotificationRecipient> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the notification recipients where uuid = ?.

      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 NotificationRecipientModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of notification recipients
      end - the upper bound of the range of notification recipients (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 recipients
    • findByUuid_First

      NotificationRecipient findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
      Returns the first notification recipient in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching notification recipient
      Throws:
      NoSuchNotificationRecipientException - if a matching notification recipient could not be found
    • fetchByUuid_First

      NotificationRecipient fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
      Returns the first notification recipient in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching notification recipient, or null if a matching notification recipient could not be found
    • findByUuid_Last

      NotificationRecipient findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
      Returns the last notification recipient in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching notification recipient
      Throws:
      NoSuchNotificationRecipientException - if a matching notification recipient could not be found
    • fetchByUuid_Last

      NotificationRecipient fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
      Returns the last notification recipient in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching notification recipient, or null if a matching notification recipient could not be found
    • findByUuid_PrevAndNext

      NotificationRecipient[] findByUuid_PrevAndNext(long notificationRecipientId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
      Returns the notification recipients before and after the current notification recipient in the ordered set where uuid = ?.
      Parameters:
      notificationRecipientId - the primary key of the current notification recipient
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next notification recipient
      Throws:
      NoSuchNotificationRecipientException - if a notification recipient with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the notification recipients where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of notification recipients where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching notification recipients
    • findByUuid_C

      List<NotificationRecipient> findByUuid_C(String uuid, long companyId)
      Returns all the notification recipients where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching notification recipients
    • findByUuid_C

      List<NotificationRecipient> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the notification recipients where uuid = ? and companyId = ?.

      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 NotificationRecipientModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of notification recipients
      end - the upper bound of the range of notification recipients (not inclusive)
      Returns:
      the range of matching notification recipients
    • findByUuid_C

      List<NotificationRecipient> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
      Returns an ordered range of all the notification recipients where uuid = ? and companyId = ?.

      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 NotificationRecipientModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of notification recipients
      end - the upper bound of the range of notification recipients (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching notification recipients
    • findByUuid_C

      List<NotificationRecipient> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the notification recipients where uuid = ? and companyId = ?.

      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 NotificationRecipientModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of notification recipients
      end - the upper bound of the range of notification recipients (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 recipients
    • findByUuid_C_First

      NotificationRecipient findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
      Returns the first notification recipient in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching notification recipient
      Throws:
      NoSuchNotificationRecipientException - if a matching notification recipient could not be found
    • fetchByUuid_C_First

      NotificationRecipient fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
      Returns the first notification recipient in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching notification recipient, or null if a matching notification recipient could not be found
    • findByUuid_C_Last

      NotificationRecipient findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
      Returns the last notification recipient in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching notification recipient
      Throws:
      NoSuchNotificationRecipientException - if a matching notification recipient could not be found
    • fetchByUuid_C_Last

      NotificationRecipient fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
      Returns the last notification recipient in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching notification recipient, or null if a matching notification recipient could not be found
    • findByUuid_C_PrevAndNext

      NotificationRecipient[] findByUuid_C_PrevAndNext(long notificationRecipientId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
      Returns the notification recipients before and after the current notification recipient in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      notificationRecipientId - the primary key of the current notification recipient
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next notification recipient
      Throws:
      NoSuchNotificationRecipientException - if a notification recipient with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the notification recipients where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of notification recipients where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching notification recipients
    • findByClassPK

      NotificationRecipient findByClassPK(long classPK) throws NoSuchNotificationRecipientException
      Returns the notification recipient where classPK = ? or throws a NoSuchNotificationRecipientException if it could not be found.
      Parameters:
      classPK - the class pk
      Returns:
      the matching notification recipient
      Throws:
      NoSuchNotificationRecipientException - if a matching notification recipient could not be found
    • fetchByClassPK

      NotificationRecipient fetchByClassPK(long classPK)
      Returns the notification recipient where classPK = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      classPK - the class pk
      Returns:
      the matching notification recipient, or null if a matching notification recipient could not be found
    • fetchByClassPK

      NotificationRecipient fetchByClassPK(long classPK, boolean useFinderCache)
      Returns the notification recipient where classPK = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      classPK - the class pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching notification recipient, or null if a matching notification recipient could not be found
    • removeByClassPK

      NotificationRecipient removeByClassPK(long classPK) throws NoSuchNotificationRecipientException
      Removes the notification recipient where classPK = ? from the database.
      Parameters:
      classPK - the class pk
      Returns:
      the notification recipient that was removed
      Throws:
      NoSuchNotificationRecipientException
    • countByClassPK

      int countByClassPK(long classPK)
      Returns the number of notification recipients where classPK = ?.
      Parameters:
      classPK - the class pk
      Returns:
      the number of matching notification recipients
    • cacheResult

      void cacheResult(NotificationRecipient notificationRecipient)
      Caches the notification recipient in the entity cache if it is enabled.
      Parameters:
      notificationRecipient - the notification recipient
    • cacheResult

      void cacheResult(List<NotificationRecipient> notificationRecipients)
      Caches the notification recipients in the entity cache if it is enabled.
      Parameters:
      notificationRecipients - the notification recipients
    • create

      NotificationRecipient create(long notificationRecipientId)
      Creates a new notification recipient with the primary key. Does not add the notification recipient to the database.
      Parameters:
      notificationRecipientId - the primary key for the new notification recipient
      Returns:
      the new notification recipient
    • remove

      NotificationRecipient remove(long notificationRecipientId) throws NoSuchNotificationRecipientException
      Removes the notification recipient with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      notificationRecipientId - the primary key of the notification recipient
      Returns:
      the notification recipient that was removed
      Throws:
      NoSuchNotificationRecipientException - if a notification recipient with the primary key could not be found
    • updateImpl

      NotificationRecipient updateImpl(NotificationRecipient notificationRecipient)
    • findByPrimaryKey

      NotificationRecipient findByPrimaryKey(long notificationRecipientId) throws NoSuchNotificationRecipientException
      Returns the notification recipient with the primary key or throws a NoSuchNotificationRecipientException if it could not be found.
      Parameters:
      notificationRecipientId - the primary key of the notification recipient
      Returns:
      the notification recipient
      Throws:
      NoSuchNotificationRecipientException - if a notification recipient with the primary key could not be found
    • fetchByPrimaryKey

      NotificationRecipient fetchByPrimaryKey(long notificationRecipientId)
      Returns the notification recipient with the primary key or returns null if it could not be found.
      Parameters:
      notificationRecipientId - the primary key of the notification recipient
      Returns:
      the notification recipient, or null if a notification recipient with the primary key could not be found
    • findAll

      Returns all the notification recipients.
      Returns:
      the notification recipients
    • findAll

      List<NotificationRecipient> findAll(int start, int end)
      Returns a range of all the notification recipients.

      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 NotificationRecipientModelImpl.

      Parameters:
      start - the lower bound of the range of notification recipients
      end - the upper bound of the range of notification recipients (not inclusive)
      Returns:
      the range of notification recipients
    • findAll

      List<NotificationRecipient> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
      Returns an ordered range of all the notification recipients.

      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 NotificationRecipientModelImpl.

      Parameters:
      start - the lower bound of the range of notification recipients
      end - the upper bound of the range of notification recipients (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of notification recipients
    • findAll

      List<NotificationRecipient> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the notification recipients.

      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 NotificationRecipientModelImpl.

      Parameters:
      start - the lower bound of the range of notification recipients
      end - the upper bound of the range of notification recipients (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 recipients
    • removeAll

      void removeAll()
      Removes all the notification recipients from the database.
    • countAll

      int countAll()
      Returns the number of notification recipients.
      Returns:
      the number of notification recipients