Class KaleoNotificationRecipientUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(KaleoNotificationRecipient kaleoNotificationRecipient) Caches the kaleo notification recipient in the entity cache if it is enabled.static void
cacheResult
(List<KaleoNotificationRecipient> kaleoNotificationRecipients) Caches the kaleo notification recipients in the entity cache if it is enabled.static void
static void
clearCache
(KaleoNotificationRecipient kaleoNotificationRecipient) static int
countAll()
Returns the number of kaleo notification recipients.static int
countByCompanyId
(long companyId) Returns the number of kaleo notification recipients where companyId = ?.static int
countByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns the number of kaleo notification recipients where kaleoDefinitionVersionId = ?.static int
countByKaleoNotificationId
(long kaleoNotificationId) Returns the number of kaleo notification recipients where kaleoNotificationId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoNotificationRecipient
create
(long kaleoNotificationRecipientId) Creates a new kaleo notification recipient with the primary key.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static KaleoNotificationRecipient
fetchByPrimaryKey
(long kaleoNotificationRecipientId) Returns the kaleo notification recipient with the primary key or returnsnull
if it could not be found.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static List<KaleoNotificationRecipient>
findAll()
Returns all the kaleo notification recipients.static List<KaleoNotificationRecipient>
findAll
(int start, int end) Returns a range of all the kaleo notification recipients.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.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.static List<KaleoNotificationRecipient>
findByCompanyId
(long companyId) Returns all the kaleo notification recipients where companyId = ?.static List<KaleoNotificationRecipient>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the kaleo notification recipients where companyId = ?.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 = ?.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 = ?.static KaleoNotificationRecipient
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where companyId = ?.static KaleoNotificationRecipient
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the last kaleo notification recipient in the ordered set where companyId = ?.static KaleoNotificationRecipient[]
findByCompanyId_PrevAndNext
(long kaleoNotificationRecipientId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the kaleo notification recipients before and after the current kaleo notification recipient in the ordered set where companyId = ?.static List<KaleoNotificationRecipient>
findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns all the kaleo notification recipients where kaleoDefinitionVersionId = ?.static List<KaleoNotificationRecipient>
findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.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 = ?.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 = ?.static KaleoNotificationRecipient
findByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.static KaleoNotificationRecipient
findByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the last kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.static KaleoNotificationRecipient[]
findByKaleoDefinitionVersionId_PrevAndNext
(long kaleoNotificationRecipientId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the kaleo notification recipients before and after the current kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.static List<KaleoNotificationRecipient>
findByKaleoNotificationId
(long kaleoNotificationId) Returns all the kaleo notification recipients where kaleoNotificationId = ?.static List<KaleoNotificationRecipient>
findByKaleoNotificationId
(long kaleoNotificationId, int start, int end) Returns a range of all the kaleo notification recipients where kaleoNotificationId = ?.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 = ?.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 = ?.static KaleoNotificationRecipient
findByKaleoNotificationId_First
(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where kaleoNotificationId = ?.static KaleoNotificationRecipient
findByKaleoNotificationId_Last
(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the last kaleo notification recipient in the ordered set where kaleoNotificationId = ?.static KaleoNotificationRecipient[]
findByKaleoNotificationId_PrevAndNext
(long kaleoNotificationRecipientId, long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the kaleo notification recipients before and after the current kaleo notification recipient in the ordered set where kaleoNotificationId = ?.static KaleoNotificationRecipient
findByPrimaryKey
(long kaleoNotificationRecipientId) Returns the kaleo notification recipient with the primary key or throws aNoSuchNotificationRecipientException
if it could not be found.static List<KaleoNotificationRecipient>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<KaleoNotificationRecipient>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<KaleoNotificationRecipient>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) static KaleoNotificationRecipient
remove
(long kaleoNotificationRecipientId) Removes the kaleo notification recipient with the primary key from the database.static void
Removes all the kaleo notification recipients from the database.static void
removeByCompanyId
(long companyId) Removes all the kaleo notification recipients where companyId = ? from the database.static void
removeByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Removes all the kaleo notification recipients where kaleoDefinitionVersionId = ? from the database.static void
removeByKaleoNotificationId
(long kaleoNotificationId) Removes all the kaleo notification recipients where kaleoNotificationId = ? from the database.static void
setPersistence
(KaleoNotificationRecipientPersistence persistence) static KaleoNotificationRecipient
update
(KaleoNotificationRecipient kaleoNotificationRecipient) static KaleoNotificationRecipient
update
(KaleoNotificationRecipient kaleoNotificationRecipient, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoNotificationRecipient
updateImpl
(KaleoNotificationRecipient kaleoNotificationRecipient)
-
Constructor Details
-
KaleoNotificationRecipientUtil
public KaleoNotificationRecipientUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
Returns all the kaleo notification recipients where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching kaleo notification recipients
-
findByCompanyId
Returns a range of all the kaleo notification recipients where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo notification recipientsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be foundNoSuchNotificationRecipientException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be foundNoSuchNotificationRecipientException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 recipientcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a kaleo notification recipient with the primary key could not be foundNoSuchNotificationRecipientException
-
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo notification recipientsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be foundNoSuchNotificationRecipientException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be foundNoSuchNotificationRecipientException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 recipientkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a kaleo notification recipient with the primary key could not be foundNoSuchNotificationRecipientException
-
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
kaleoNotificationId
- the kaleo notification IDstart
- the lower bound of the range of kaleo notification recipientsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
kaleoNotificationId
- the kaleo notification IDstart
- the lower bound of the range of kaleo notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
kaleoNotificationId
- the kaleo notification IDstart
- the lower bound of the range of kaleo notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be foundNoSuchNotificationRecipientException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be foundNoSuchNotificationRecipientException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 recipientkaleoNotificationId
- the kaleo notification IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a kaleo notification recipient with the primary key could not be foundNoSuchNotificationRecipientException
-
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
Caches the kaleo notification recipient in the entity cache if it is enabled.- Parameters:
kaleoNotificationRecipient
- the kaleo notification recipient
-
cacheResult
Caches the kaleo notification recipients in the entity cache if it is enabled.- Parameters:
kaleoNotificationRecipients
- the kaleo notification recipients
-
create
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 foundNoSuchNotificationRecipientException
-
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 aNoSuchNotificationRecipientException
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 foundNoSuchNotificationRecipientException
-
fetchByPrimaryKey
Returns the kaleo notification recipient with the primary key or returnsnull
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
Returns all the kaleo notification recipients.- Returns:
- the kaleo notification recipients
-
findAll
Returns a range of all the kaleo notification recipients.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo notification recipientsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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
-
setPersistence
-