Class KaleoNotificationRecipientUtil

java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.KaleoNotificationRecipientUtil

public class KaleoNotificationRecipientUtil extends Object
The persistence utility for the kaleo notification recipient service. This utility wraps com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoNotificationRecipientPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • KaleoNotificationRecipientUtil

      public KaleoNotificationRecipientUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(KaleoNotificationRecipient kaleoNotificationRecipient)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,KaleoNotificationRecipient> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<KaleoNotificationRecipient> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<KaleoNotificationRecipient> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<KaleoNotificationRecipient> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static KaleoNotificationRecipient update(KaleoNotificationRecipient kaleoNotificationRecipient)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static KaleoNotificationRecipient update(KaleoNotificationRecipient kaleoNotificationRecipient, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCompanyId

      public static List<KaleoNotificationRecipient> findByCompanyId(long companyId)
      Returns all the kaleo notification recipients where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching kaleo notification recipients
    • findByCompanyId

      public static List<KaleoNotificationRecipient> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the kaleo notification recipients where 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 KaleoNotificationRecipientModelImpl.

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

      public static List<KaleoNotificationRecipient> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
      Returns an ordered range of all the kaleo notification recipients where 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 KaleoNotificationRecipientModelImpl.

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

      public static List<KaleoNotificationRecipient> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo notification recipients where 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 KaleoNotificationRecipientModelImpl.

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

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

      public static KaleoNotificationRecipient fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
      Returns the first kaleo notification recipient in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo notification recipient, or null if a matching kaleo notification recipient could not be found
    • findByCompanyId_Last

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

      public static KaleoNotificationRecipient fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
      Returns the last kaleo notification recipient in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo notification recipient, or null if a matching kaleo notification recipient could not be found
    • findByCompanyId_PrevAndNext

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

      public static void removeByCompanyId(long companyId)
      Removes all the kaleo notification recipients where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of kaleo notification recipients where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching kaleo notification recipients
    • findByKaleoDefinitionVersionId

      public static List<KaleoNotificationRecipient> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Returns all the kaleo notification recipients where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the matching kaleo notification recipients
    • findByKaleoDefinitionVersionId

      public static List<KaleoNotificationRecipient> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
      Returns a range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.

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

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo notification recipients
      end - the upper bound of the range of kaleo notification recipients (not inclusive)
      Returns:
      the range of matching kaleo notification recipients
    • findByKaleoDefinitionVersionId

      public static List<KaleoNotificationRecipient> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
      Returns an ordered range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.

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

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo notification recipients
      end - the upper bound of the range of kaleo notification recipients (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo notification recipients
    • findByKaleoDefinitionVersionId

      public static List<KaleoNotificationRecipient> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.

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

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo notification recipients
      end - the upper bound of the range of kaleo 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 kaleo notification recipients
    • findByKaleoDefinitionVersionId_First

      public static KaleoNotificationRecipient findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
      Returns the first kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo notification recipient
      Throws:
      NoSuchNotificationRecipientException - if a matching kaleo notification recipient could not be found
      NoSuchNotificationRecipientException
    • fetchByKaleoDefinitionVersionId_First

      public static KaleoNotificationRecipient fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
      Returns the first kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo notification recipient, or null if a matching kaleo notification recipient could not be found
    • findByKaleoDefinitionVersionId_Last

      public static KaleoNotificationRecipient findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
      Returns the last kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo notification recipient
      Throws:
      NoSuchNotificationRecipientException - if a matching kaleo notification recipient could not be found
      NoSuchNotificationRecipientException
    • fetchByKaleoDefinitionVersionId_Last

      public static KaleoNotificationRecipient fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
      Returns the last kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo notification recipient, or null if a matching kaleo notification recipient could not be found
    • findByKaleoDefinitionVersionId_PrevAndNext

      public static KaleoNotificationRecipient[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoNotificationRecipientId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
      Returns the kaleo notification recipients before and after the current kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoNotificationRecipientId - the primary key of the current kaleo notification recipient
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo notification recipient
      Throws:
      NoSuchNotificationRecipientException - if a kaleo notification recipient with the primary key could not be found
      NoSuchNotificationRecipientException
    • removeByKaleoDefinitionVersionId

      public static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Removes all the kaleo notification recipients where kaleoDefinitionVersionId = ? from the database.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
    • countByKaleoDefinitionVersionId

      public static int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Returns the number of kaleo notification recipients where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the number of matching kaleo notification recipients
    • findByKaleoNotificationId

      public static List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId)
      Returns all the kaleo notification recipients where kaleoNotificationId = ?.
      Parameters:
      kaleoNotificationId - the kaleo notification ID
      Returns:
      the matching kaleo notification recipients
    • findByKaleoNotificationId

      public static List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId, int start, int end)
      Returns a range of all the kaleo notification recipients where kaleoNotificationId = ?.

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

      Parameters:
      kaleoNotificationId - the kaleo notification ID
      start - the lower bound of the range of kaleo notification recipients
      end - the upper bound of the range of kaleo notification recipients (not inclusive)
      Returns:
      the range of matching kaleo notification recipients
    • findByKaleoNotificationId

      public static List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
      Returns an ordered range of all the kaleo notification recipients where kaleoNotificationId = ?.

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

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

      public static List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo notification recipients where kaleoNotificationId = ?.

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

      Parameters:
      kaleoNotificationId - the kaleo notification ID
      start - the lower bound of the range of kaleo notification recipients
      end - the upper bound of the range of kaleo 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 kaleo notification recipients
    • findByKaleoNotificationId_First

      public static KaleoNotificationRecipient findByKaleoNotificationId_First(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
      Returns the first kaleo notification recipient in the ordered set where kaleoNotificationId = ?.
      Parameters:
      kaleoNotificationId - the kaleo notification ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo notification recipient
      Throws:
      NoSuchNotificationRecipientException - if a matching kaleo notification recipient could not be found
      NoSuchNotificationRecipientException
    • fetchByKaleoNotificationId_First

      public static KaleoNotificationRecipient fetchByKaleoNotificationId_First(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
      Returns the first kaleo notification recipient in the ordered set where kaleoNotificationId = ?.
      Parameters:
      kaleoNotificationId - the kaleo notification ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo notification recipient, or null if a matching kaleo notification recipient could not be found
    • findByKaleoNotificationId_Last

      public static KaleoNotificationRecipient findByKaleoNotificationId_Last(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
      Returns the last kaleo notification recipient in the ordered set where kaleoNotificationId = ?.
      Parameters:
      kaleoNotificationId - the kaleo notification ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo notification recipient
      Throws:
      NoSuchNotificationRecipientException - if a matching kaleo notification recipient could not be found
      NoSuchNotificationRecipientException
    • fetchByKaleoNotificationId_Last

      public static KaleoNotificationRecipient fetchByKaleoNotificationId_Last(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
      Returns the last kaleo notification recipient in the ordered set where kaleoNotificationId = ?.
      Parameters:
      kaleoNotificationId - the kaleo notification ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo notification recipient, or null if a matching kaleo notification recipient could not be found
    • findByKaleoNotificationId_PrevAndNext

      public static KaleoNotificationRecipient[] findByKaleoNotificationId_PrevAndNext(long kaleoNotificationRecipientId, long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
      Returns the kaleo notification recipients before and after the current kaleo notification recipient in the ordered set where kaleoNotificationId = ?.
      Parameters:
      kaleoNotificationRecipientId - the primary key of the current kaleo notification recipient
      kaleoNotificationId - the kaleo notification ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo notification recipient
      Throws:
      NoSuchNotificationRecipientException - if a kaleo notification recipient with the primary key could not be found
      NoSuchNotificationRecipientException
    • removeByKaleoNotificationId

      public static void removeByKaleoNotificationId(long kaleoNotificationId)
      Removes all the kaleo notification recipients where kaleoNotificationId = ? from the database.
      Parameters:
      kaleoNotificationId - the kaleo notification ID
    • countByKaleoNotificationId

      public static int countByKaleoNotificationId(long kaleoNotificationId)
      Returns the number of kaleo notification recipients where kaleoNotificationId = ?.
      Parameters:
      kaleoNotificationId - the kaleo notification ID
      Returns:
      the number of matching kaleo notification recipients
    • cacheResult

      public static void cacheResult(KaleoNotificationRecipient kaleoNotificationRecipient)
      Caches the kaleo notification recipient in the entity cache if it is enabled.
      Parameters:
      kaleoNotificationRecipient - the kaleo notification recipient
    • cacheResult

      public static void cacheResult(List<KaleoNotificationRecipient> kaleoNotificationRecipients)
      Caches the kaleo notification recipients in the entity cache if it is enabled.
      Parameters:
      kaleoNotificationRecipients - the kaleo notification recipients
    • create

      public static KaleoNotificationRecipient create(long kaleoNotificationRecipientId)
      Creates a new kaleo notification recipient with the primary key. Does not add the kaleo notification recipient to the database.
      Parameters:
      kaleoNotificationRecipientId - the primary key for the new kaleo notification recipient
      Returns:
      the new kaleo notification recipient
    • remove

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

      public static KaleoNotificationRecipient updateImpl(KaleoNotificationRecipient kaleoNotificationRecipient)
    • findByPrimaryKey

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

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

      public static List<KaleoNotificationRecipient> findAll()
      Returns all the kaleo notification recipients.
      Returns:
      the kaleo notification recipients
    • findAll

      public static List<KaleoNotificationRecipient> findAll(int start, int end)
      Returns a range of all the kaleo 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 KaleoNotificationRecipientModelImpl.

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

      public static List<KaleoNotificationRecipient> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
      Returns an ordered range of all the kaleo 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 KaleoNotificationRecipientModelImpl.

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

      public static List<KaleoNotificationRecipient> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo 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 KaleoNotificationRecipientModelImpl.

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

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

      public static int countAll()
      Returns the number of kaleo notification recipients.
      Returns:
      the number of kaleo notification recipients
    • getPersistence

      public static KaleoNotificationRecipientPersistence getPersistence()
    • setPersistence

      public static void setPersistence(KaleoNotificationRecipientPersistence persistence)