Class KaleoNotificationUtil
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoNotificationPersistenceImpl
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
(KaleoNotification kaleoNotification) Caches the kaleo notification in the entity cache if it is enabled.static void
cacheResult
(List<KaleoNotification> kaleoNotifications) Caches the kaleo notifications in the entity cache if it is enabled.static void
static void
clearCache
(KaleoNotification kaleoNotification) static int
countAll()
Returns the number of kaleo notifications.static int
countByCompanyId
(long companyId) Returns the number of kaleo notifications where companyId = ?.static int
countByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns the number of kaleo notifications where kaleoDefinitionVersionId = ?.static int
countByKCN_KCPK
(String kaleoClassName, long kaleoClassPK) Returns the number of kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.static int
countByKCN_KCPK_ET
(String kaleoClassName, long kaleoClassPK, String executionType) Returns the number of kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoNotification
create
(long kaleoNotificationId) Creates a new kaleo notification with the primary key.static KaleoNotification
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification in the ordered set where companyId = ?.static KaleoNotification
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the last kaleo notification in the ordered set where companyId = ?.static KaleoNotification
fetchByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification in the ordered set where kaleoDefinitionVersionId = ?.static KaleoNotification
fetchByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the last kaleo notification in the ordered set where kaleoDefinitionVersionId = ?.static KaleoNotification
fetchByKCN_KCPK_ET_First
(String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.static KaleoNotification
fetchByKCN_KCPK_ET_Last
(String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.static KaleoNotification
fetchByKCN_KCPK_First
(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.static KaleoNotification
fetchByKCN_KCPK_Last
(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.static KaleoNotification
fetchByPrimaryKey
(long kaleoNotificationId) Returns the kaleo notification with the primary key or returnsnull
if it could not be found.static Map<Serializable,
KaleoNotification> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static List<KaleoNotification>
findAll()
Returns all the kaleo notifications.static List<KaleoNotification>
findAll
(int start, int end) Returns a range of all the kaleo notifications.static List<KaleoNotification>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns an ordered range of all the kaleo notifications.static List<KaleoNotification>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notifications.static List<KaleoNotification>
findByCompanyId
(long companyId) Returns all the kaleo notifications where companyId = ?.static List<KaleoNotification>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the kaleo notifications where companyId = ?.static List<KaleoNotification>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns an ordered range of all the kaleo notifications where companyId = ?.static List<KaleoNotification>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notifications where companyId = ?.static KaleoNotification
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification in the ordered set where companyId = ?.static KaleoNotification
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the last kaleo notification in the ordered set where companyId = ?.static KaleoNotification[]
findByCompanyId_PrevAndNext
(long kaleoNotificationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the kaleo notifications before and after the current kaleo notification in the ordered set where companyId = ?.static List<KaleoNotification>
findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns all the kaleo notifications where kaleoDefinitionVersionId = ?.static List<KaleoNotification>
findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo notifications where kaleoDefinitionVersionId = ?.static List<KaleoNotification>
findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns an ordered range of all the kaleo notifications where kaleoDefinitionVersionId = ?.static List<KaleoNotification>
findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notifications where kaleoDefinitionVersionId = ?.static KaleoNotification
findByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification in the ordered set where kaleoDefinitionVersionId = ?.static KaleoNotification
findByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the last kaleo notification in the ordered set where kaleoDefinitionVersionId = ?.static KaleoNotification[]
findByKaleoDefinitionVersionId_PrevAndNext
(long kaleoNotificationId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the kaleo notifications before and after the current kaleo notification in the ordered set where kaleoDefinitionVersionId = ?.static List<KaleoNotification>
findByKCN_KCPK
(String kaleoClassName, long kaleoClassPK) Returns all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoNotification>
findByKCN_KCPK
(String kaleoClassName, long kaleoClassPK, int start, int end) Returns a range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoNotification>
findByKCN_KCPK
(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoNotification>
findByKCN_KCPK
(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoNotification>
findByKCN_KCPK_ET
(String kaleoClassName, long kaleoClassPK, String executionType) Returns all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.static List<KaleoNotification>
findByKCN_KCPK_ET
(String kaleoClassName, long kaleoClassPK, String executionType, int start, int end) Returns a range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.static List<KaleoNotification>
findByKCN_KCPK_ET
(String kaleoClassName, long kaleoClassPK, String executionType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.static List<KaleoNotification>
findByKCN_KCPK_ET
(String kaleoClassName, long kaleoClassPK, String executionType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.static KaleoNotification
findByKCN_KCPK_ET_First
(String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.static KaleoNotification
findByKCN_KCPK_ET_Last
(String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.static KaleoNotification[]
findByKCN_KCPK_ET_PrevAndNext
(long kaleoNotificationId, String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the kaleo notifications before and after the current kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.static KaleoNotification
findByKCN_KCPK_First
(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.static KaleoNotification
findByKCN_KCPK_Last
(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.static KaleoNotification[]
findByKCN_KCPK_PrevAndNext
(long kaleoNotificationId, String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the kaleo notifications before and after the current kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.static KaleoNotification
findByPrimaryKey
(long kaleoNotificationId) Returns the kaleo notification with the primary key or throws aNoSuchNotificationException
if it could not be found.static List<KaleoNotification>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<KaleoNotification>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<KaleoNotification>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) static KaleoNotificationPersistence
static KaleoNotification
remove
(long kaleoNotificationId) Removes the kaleo notification with the primary key from the database.static void
Removes all the kaleo notifications from the database.static void
removeByCompanyId
(long companyId) Removes all the kaleo notifications where companyId = ? from the database.static void
removeByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Removes all the kaleo notifications where kaleoDefinitionVersionId = ? from the database.static void
removeByKCN_KCPK
(String kaleoClassName, long kaleoClassPK) Removes all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? from the database.static void
removeByKCN_KCPK_ET
(String kaleoClassName, long kaleoClassPK, String executionType) Removes all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ? from the database.static void
setPersistence
(KaleoNotificationPersistence persistence) static KaleoNotification
update
(KaleoNotification kaleoNotification) static KaleoNotification
update
(KaleoNotification kaleoNotification, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoNotification
updateImpl
(KaleoNotification kaleoNotification)
-
Constructor Details
-
KaleoNotificationUtil
public KaleoNotificationUtil()
-
-
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
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<KaleoNotification> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<KaleoNotification> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<KaleoNotification> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static KaleoNotification update(KaleoNotification kaleoNotification, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByCompanyId
Returns all the kaleo notifications where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching kaleo notifications
-
findByCompanyId
Returns a range of all the kaleo notifications 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 fromKaleoNotificationModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)- Returns:
- the range of matching kaleo notifications
-
findByCompanyId
public static List<KaleoNotification> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns an ordered range of all the kaleo notifications 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 fromKaleoNotificationModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo notifications
-
findByCompanyId
public static List<KaleoNotification> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notifications 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 fromKaleoNotificationModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (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 notifications
-
findByCompanyId_First
public static KaleoNotification findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException Returns the first kaleo notification 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
- Throws:
NoSuchNotificationException
- if a matching kaleo notification could not be foundNoSuchNotificationException
-
fetchByCompanyId_First
public static KaleoNotification fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification 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, or
null
if a matching kaleo notification could not be found
-
findByCompanyId_Last
public static KaleoNotification findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException Returns the last kaleo notification 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
- Throws:
NoSuchNotificationException
- if a matching kaleo notification could not be foundNoSuchNotificationException
-
fetchByCompanyId_Last
public static KaleoNotification fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the last kaleo notification 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, or
null
if a matching kaleo notification could not be found
-
findByCompanyId_PrevAndNext
public static KaleoNotification[] findByCompanyId_PrevAndNext(long kaleoNotificationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException Returns the kaleo notifications before and after the current kaleo notification in the ordered set where companyId = ?.- Parameters:
kaleoNotificationId
- the primary key of the current kaleo notificationcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo notification
- Throws:
NoSuchNotificationException
- if a kaleo notification with the primary key could not be foundNoSuchNotificationException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the kaleo notifications where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of kaleo notifications where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching kaleo notifications
-
findByKaleoDefinitionVersionId
Returns all the kaleo notifications where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the matching kaleo notifications
-
findByKaleoDefinitionVersionId
public static List<KaleoNotification> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo notifications 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 fromKaleoNotificationModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)- Returns:
- the range of matching kaleo notifications
-
findByKaleoDefinitionVersionId
public static List<KaleoNotification> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns an ordered range of all the kaleo notifications 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 fromKaleoNotificationModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo notifications
-
findByKaleoDefinitionVersionId
public static List<KaleoNotification> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notifications 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 fromKaleoNotificationModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (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 notifications
-
findByKaleoDefinitionVersionId_First
public static KaleoNotification findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException Returns the first kaleo notification 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
- Throws:
NoSuchNotificationException
- if a matching kaleo notification could not be foundNoSuchNotificationException
-
fetchByKaleoDefinitionVersionId_First
public static KaleoNotification fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification 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, or
null
if a matching kaleo notification could not be found
-
findByKaleoDefinitionVersionId_Last
public static KaleoNotification findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException Returns the last kaleo notification 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
- Throws:
NoSuchNotificationException
- if a matching kaleo notification could not be foundNoSuchNotificationException
-
fetchByKaleoDefinitionVersionId_Last
public static KaleoNotification fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the last kaleo notification 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, or
null
if a matching kaleo notification could not be found
-
findByKaleoDefinitionVersionId_PrevAndNext
public static KaleoNotification[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoNotificationId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException Returns the kaleo notifications before and after the current kaleo notification in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoNotificationId
- the primary key of the current kaleo notificationkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo notification
- Throws:
NoSuchNotificationException
- if a kaleo notification with the primary key could not be foundNoSuchNotificationException
-
removeByKaleoDefinitionVersionId
public static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo notifications where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
public static int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo notifications where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the number of matching kaleo notifications
-
findByKCN_KCPK
Returns all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pk- Returns:
- the matching kaleo notifications
-
findByKCN_KCPK
public static List<KaleoNotification> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end) Returns a range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.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 fromKaleoNotificationModelImpl
.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkstart
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)- Returns:
- the range of matching kaleo notifications
-
findByKCN_KCPK
public static List<KaleoNotification> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.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 fromKaleoNotificationModelImpl
.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkstart
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo notifications
-
findByKCN_KCPK
public static List<KaleoNotification> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.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 fromKaleoNotificationModelImpl
.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkstart
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (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 notifications
-
findByKCN_KCPK_First
public static KaleoNotification findByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo notification
- Throws:
NoSuchNotificationException
- if a matching kaleo notification could not be foundNoSuchNotificationException
-
fetchByKCN_KCPK_First
public static KaleoNotification fetchByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo notification, or
null
if a matching kaleo notification could not be found
-
findByKCN_KCPK_Last
public static KaleoNotification findByKCN_KCPK_Last(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo notification
- Throws:
NoSuchNotificationException
- if a matching kaleo notification could not be foundNoSuchNotificationException
-
fetchByKCN_KCPK_Last
public static KaleoNotification fetchByKCN_KCPK_Last(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo notification, or
null
if a matching kaleo notification could not be found
-
findByKCN_KCPK_PrevAndNext
public static KaleoNotification[] findByKCN_KCPK_PrevAndNext(long kaleoNotificationId, String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException Returns the kaleo notifications before and after the current kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoNotificationId
- the primary key of the current kaleo notificationkaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo notification
- Throws:
NoSuchNotificationException
- if a kaleo notification with the primary key could not be foundNoSuchNotificationException
-
removeByKCN_KCPK
Removes all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? from the database.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pk
-
countByKCN_KCPK
Returns the number of kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pk- Returns:
- the number of matching kaleo notifications
-
findByKCN_KCPK_ET
public static List<KaleoNotification> findByKCN_KCPK_ET(String kaleoClassName, long kaleoClassPK, String executionType) Returns all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution type- Returns:
- the matching kaleo notifications
-
findByKCN_KCPK_ET
public static List<KaleoNotification> findByKCN_KCPK_ET(String kaleoClassName, long kaleoClassPK, String executionType, int start, int end) Returns a range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.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 fromKaleoNotificationModelImpl
.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typestart
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)- Returns:
- the range of matching kaleo notifications
-
findByKCN_KCPK_ET
public static List<KaleoNotification> findByKCN_KCPK_ET(String kaleoClassName, long kaleoClassPK, String executionType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.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 fromKaleoNotificationModelImpl
.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typestart
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo notifications
-
findByKCN_KCPK_ET
public static List<KaleoNotification> findByKCN_KCPK_ET(String kaleoClassName, long kaleoClassPK, String executionType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.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 fromKaleoNotificationModelImpl
.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typestart
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (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 notifications
-
findByKCN_KCPK_ET_First
public static KaleoNotification findByKCN_KCPK_ET_First(String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo notification
- Throws:
NoSuchNotificationException
- if a matching kaleo notification could not be foundNoSuchNotificationException
-
fetchByKCN_KCPK_ET_First
public static KaleoNotification fetchByKCN_KCPK_ET_First(String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo notification, or
null
if a matching kaleo notification could not be found
-
findByKCN_KCPK_ET_Last
public static KaleoNotification findByKCN_KCPK_ET_Last(String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo notification
- Throws:
NoSuchNotificationException
- if a matching kaleo notification could not be foundNoSuchNotificationException
-
fetchByKCN_KCPK_ET_Last
public static KaleoNotification fetchByKCN_KCPK_ET_Last(String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo notification, or
null
if a matching kaleo notification could not be found
-
findByKCN_KCPK_ET_PrevAndNext
public static KaleoNotification[] findByKCN_KCPK_ET_PrevAndNext(long kaleoNotificationId, String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException Returns the kaleo notifications before and after the current kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.- Parameters:
kaleoNotificationId
- the primary key of the current kaleo notificationkaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo notification
- Throws:
NoSuchNotificationException
- if a kaleo notification with the primary key could not be foundNoSuchNotificationException
-
removeByKCN_KCPK_ET
public static void removeByKCN_KCPK_ET(String kaleoClassName, long kaleoClassPK, String executionType) Removes all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ? from the database.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution type
-
countByKCN_KCPK_ET
public static int countByKCN_KCPK_ET(String kaleoClassName, long kaleoClassPK, String executionType) Returns the number of kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.- Parameters:
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution type- Returns:
- the number of matching kaleo notifications
-
cacheResult
Caches the kaleo notification in the entity cache if it is enabled.- Parameters:
kaleoNotification
- the kaleo notification
-
cacheResult
Caches the kaleo notifications in the entity cache if it is enabled.- Parameters:
kaleoNotifications
- the kaleo notifications
-
create
Creates a new kaleo notification with the primary key. Does not add the kaleo notification to the database.- Parameters:
kaleoNotificationId
- the primary key for the new kaleo notification- Returns:
- the new kaleo notification
-
remove
Removes the kaleo notification with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoNotificationId
- the primary key of the kaleo notification- Returns:
- the kaleo notification that was removed
- Throws:
NoSuchNotificationException
- if a kaleo notification with the primary key could not be foundNoSuchNotificationException
-
updateImpl
-
findByPrimaryKey
public static KaleoNotification findByPrimaryKey(long kaleoNotificationId) throws NoSuchNotificationException Returns the kaleo notification with the primary key or throws aNoSuchNotificationException
if it could not be found.- Parameters:
kaleoNotificationId
- the primary key of the kaleo notification- Returns:
- the kaleo notification
- Throws:
NoSuchNotificationException
- if a kaleo notification with the primary key could not be foundNoSuchNotificationException
-
fetchByPrimaryKey
Returns the kaleo notification with the primary key or returnsnull
if it could not be found.- Parameters:
kaleoNotificationId
- the primary key of the kaleo notification- Returns:
- the kaleo notification, or
null
if a kaleo notification with the primary key could not be found
-
findAll
Returns all the kaleo notifications.- Returns:
- the kaleo notifications
-
findAll
Returns a range of all the kaleo notifications.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 fromKaleoNotificationModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)- Returns:
- the range of kaleo notifications
-
findAll
public static List<KaleoNotification> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns an ordered range of all the kaleo notifications.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 fromKaleoNotificationModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of kaleo notifications
-
findAll
public static List<KaleoNotification> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notifications.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 fromKaleoNotificationModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of kaleo notifications
-
removeAll
public static void removeAll()Removes all the kaleo notifications from the database. -
countAll
public static int countAll()Returns the number of kaleo notifications.- Returns:
- the number of kaleo notifications
-
getPersistence
-
setPersistence
-