Interface KaleoNotificationPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoNotification>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoNotification>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(KaleoNotification kaleoNotification) Caches the kaleo notification in the entity cache if it is enabled.voidcacheResult(List<KaleoNotification> kaleoNotifications) Caches the kaleo notifications in the entity cache if it is enabled.intcountAll()Returns the number of kaleo notifications.intcountByCompanyId(long companyId) Returns the number of kaleo notifications where companyId = ?.intcountByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo notifications where kaleoDefinitionVersionId = ?.intcountByKCN_KCPK(String kaleoClassName, long kaleoClassPK) Returns the number of kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.intcountByKCN_KCPK_ET(String kaleoClassName, long kaleoClassPK, String executionType) Returns the number of kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.create(long kaleoNotificationId) Creates a new kaleo notification with the primary key.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification in the ordered set where companyId = ?.fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification in the ordered set where kaleoDefinitionVersionId = ?.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 = ?.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 = ?.fetchByPrimaryKey(long kaleoNotificationId) Returns the kaleo notification with the primary key or returnsnullif it could not be found.findAll()Returns all the kaleo notifications.findAll(int start, int end) Returns a range of all the kaleo notifications.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns an ordered range of all the kaleo notifications.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notifications.findByCompanyId(long companyId) Returns all the kaleo notifications where companyId = ?.findByCompanyId(long companyId, int start, int end) Returns a range of all the kaleo notifications where companyId = ?.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 = ?.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 = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification in the ordered set where companyId = ?.findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns all the kaleo notifications where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo notifications where kaleoDefinitionVersionId = ?.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 = ?.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 = ?.findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) Returns the first kaleo notification in the ordered set where kaleoDefinitionVersionId = ?.findByKCN_KCPK(String kaleoClassName, long kaleoClassPK) Returns all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end) Returns a range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.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 = ?.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 = ?.findByKCN_KCPK_ET(String kaleoClassName, long kaleoClassPK, String executionType) Returns all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByPrimaryKey(long kaleoNotificationId) Returns the kaleo notification with the primary key or throws aNoSuchNotificationExceptionif it could not be found.remove(long kaleoNotificationId) Removes the kaleo notification with the primary key from the database.voidRemoves all the kaleo notifications from the database.voidremoveByCompanyId(long companyId) Removes all the kaleo notifications where companyId = ? from the database.voidremoveByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo notifications where kaleoDefinitionVersionId = ? from the database.voidremoveByKCN_KCPK(String kaleoClassName, long kaleoClassPK) Removes all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? from the database.voidremoveByKCN_KCPK_ET(String kaleoClassName, long kaleoClassPK, String executionType) Removes all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ? from the database.updateImpl(KaleoNotification kaleoNotification) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
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 found
-
fetchByCompanyId_First
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
nullif a matching kaleo notification could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the kaleo notifications where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
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 found
-
fetchByKaleoDefinitionVersionId_First
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
nullif a matching kaleo notification could not be found
-
removeByKaleoDefinitionVersionId
void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo notifications where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
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 found
-
fetchByKCN_KCPK_First
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
nullif a matching kaleo notification could not be found
-
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
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
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 found
-
fetchByKCN_KCPK_ET_First
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
nullif a matching kaleo notification could not be found
-
removeByKCN_KCPK_ET
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
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 found
-
updateImpl
-
findByPrimaryKey
Returns the kaleo notification with the primary key or throws aNoSuchNotificationExceptionif 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 found
-
fetchByPrimaryKey
Returns the kaleo notification with the primary key or returnsnullif it could not be found.- Parameters:
kaleoNotificationId- the primary key of the kaleo notification- Returns:
- the kaleo notification, or
nullif a kaleo notification with the primary key could not be found
-
findAll
List<KaleoNotification> 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNotificationModelImpl.- 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
void removeAll()Removes all the kaleo notifications from the database. -
countAll
int countAll()Returns the number of kaleo notifications.- Returns:
- the number of kaleo notifications
-