@ProviderType public interface KaleoNotificationPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoNotification>
Caching information and settings can be found in portal.properties
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoNotificationPersistenceImpl
,
KaleoNotificationUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(KaleoNotification kaleoNotification)
Caches the kaleo notification in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<KaleoNotification> kaleoNotifications)
Caches the kaleo notifications in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of kaleo notifications.
|
int |
countByCompanyId(long companyId)
Returns the number of kaleo notifications where companyId = ?.
|
int |
countByKaleoDefinitionId(long kaleoDefinitionId)
Returns the number of kaleo notifications where kaleoDefinitionId = ?.
|
int |
countByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType)
Returns the number of kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
int |
countByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Returns the number of kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.
|
KaleoNotification |
create(long kaleoNotificationId)
Creates a new kaleo notification with the primary key.
|
KaleoNotification |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the first kaleo notification in the ordered set where companyId = ?.
|
KaleoNotification |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the last kaleo notification in the ordered set where companyId = ?.
|
KaleoNotification |
fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the first kaleo notification in the ordered set where kaleoDefinitionId = ?.
|
KaleoNotification |
fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the last kaleo notification in the ordered set where kaleoDefinitionId = ?.
|
KaleoNotification |
fetchByKCN_KCPK_ET_First(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.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 = ?.
|
KaleoNotification |
fetchByKCN_KCPK_ET_Last(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.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 = ?.
|
KaleoNotification |
fetchByKCN_KCPK_First(java.lang.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 = ?.
|
KaleoNotification |
fetchByKCN_KCPK_Last(java.lang.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 = ?.
|
KaleoNotification |
fetchByPrimaryKey(long kaleoNotificationId)
Returns the kaleo notification with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,KaleoNotification> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
java.util.List<KaleoNotification> |
findAll()
Returns all the kaleo notifications.
|
java.util.List<KaleoNotification> |
findAll(int start,
int end)
Returns a range of all the kaleo notifications.
|
java.util.List<KaleoNotification> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns an ordered range of all the kaleo notifications.
|
java.util.List<KaleoNotification> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo notifications.
|
KaleoNotification |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the first kaleo notification in the ordered set where companyId = ?.
|
KaleoNotification |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the last kaleo notification in the ordered set where companyId = ?.
|
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 = ?.
|
java.util.List<KaleoNotification> |
findByCompanyId(long companyId)
Returns all the kaleo notifications where companyId = ?.
|
java.util.List<KaleoNotification> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo notifications where companyId = ?.
|
java.util.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 = ?.
|
java.util.List<KaleoNotification> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo notifications where companyId = ?.
|
KaleoNotification |
findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the first kaleo notification in the ordered set where kaleoDefinitionId = ?.
|
KaleoNotification |
findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the last kaleo notification in the ordered set where kaleoDefinitionId = ?.
|
KaleoNotification[] |
findByKaleoDefinitionId_PrevAndNext(long kaleoNotificationId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the kaleo notifications before and after the current kaleo notification in the ordered set where kaleoDefinitionId = ?.
|
java.util.List<KaleoNotification> |
findByKaleoDefinitionId(long kaleoDefinitionId)
Returns all the kaleo notifications where kaleoDefinitionId = ?.
|
java.util.List<KaleoNotification> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo notifications where kaleoDefinitionId = ?.
|
java.util.List<KaleoNotification> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns an ordered range of all the kaleo notifications where kaleoDefinitionId = ?.
|
java.util.List<KaleoNotification> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo notifications where kaleoDefinitionId = ?.
|
KaleoNotification |
findByKCN_KCPK_ET_First(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.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 = ?.
|
KaleoNotification |
findByKCN_KCPK_ET_Last(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.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 = ?.
|
KaleoNotification[] |
findByKCN_KCPK_ET_PrevAndNext(long kaleoNotificationId,
java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.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 = ?.
|
java.util.List<KaleoNotification> |
findByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType)
Returns all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
java.util.List<KaleoNotification> |
findByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
int start,
int end)
Returns a range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
java.util.List<KaleoNotification> |
findByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.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 = ?.
|
java.util.List<KaleoNotification> |
findByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
KaleoNotification |
findByKCN_KCPK_First(java.lang.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 = ?.
|
KaleoNotification |
findByKCN_KCPK_Last(java.lang.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 = ?.
|
KaleoNotification[] |
findByKCN_KCPK_PrevAndNext(long kaleoNotificationId,
java.lang.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 = ?.
|
java.util.List<KaleoNotification> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Returns all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.
|
java.util.List<KaleoNotification> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK,
int start,
int end)
Returns a range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.
|
java.util.List<KaleoNotification> |
findByKCN_KCPK(java.lang.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 = ?.
|
java.util.List<KaleoNotification> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.
|
KaleoNotification |
findByPrimaryKey(long kaleoNotificationId)
Returns the kaleo notification with the primary key or throws a
NoSuchNotificationException if it could not be found. |
KaleoNotification |
remove(long kaleoNotificationId)
Removes the kaleo notification with the primary key from the database.
|
void |
removeAll()
Removes all the kaleo notifications from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the kaleo notifications where companyId = ? from the database.
|
void |
removeByKaleoDefinitionId(long kaleoDefinitionId)
Removes all the kaleo notifications where kaleoDefinitionId = ? from the database.
|
void |
removeByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType)
Removes all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ? from the database.
|
void |
removeByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Removes all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? from the database.
|
KaleoNotification |
updateImpl(KaleoNotification kaleoNotification) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<KaleoNotification> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KaleoNotification> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)java.util.List<KaleoNotification> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<KaleoNotification> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoNotification findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundKaleoNotification fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification could not be foundKaleoNotification findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundKaleoNotification fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification could not be foundKaleoNotification[] findByCompanyId_PrevAndNext(long kaleoNotificationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoNotificationId
- the primary key of the current kaleo notificationcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a kaleo notification with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KaleoNotification> findByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDjava.util.List<KaleoNotification> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition IDstart
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)java.util.List<KaleoNotification> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition 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 (optionally null
)java.util.List<KaleoNotification> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition 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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoNotification findByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundKaleoNotification fetchByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification could not be foundKaleoNotification findByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundKaleoNotification fetchByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification could not be foundKaleoNotification[] findByKaleoDefinitionId_PrevAndNext(long kaleoNotificationId, long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoNotificationId
- the primary key of the current kaleo notificationkaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a kaleo notification with the primary key could not be foundvoid removeByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDint countByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDjava.util.List<KaleoNotification> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkjava.util.List<KaleoNotification> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<KaleoNotification> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<KaleoNotification> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoNotification findByKCN_KCPK_First(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundKaleoNotification fetchByKCN_KCPK_First(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification could not be foundKaleoNotification findByKCN_KCPK_Last(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundKaleoNotification fetchByKCN_KCPK_Last(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification could not be foundKaleoNotification[] findByKCN_KCPK_PrevAndNext(long kaleoNotificationId, java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoNotificationId
- the primary key of the current kaleo notificationkaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a kaleo notification with the primary key could not be foundvoid removeByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkint countByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkjava.util.List<KaleoNotification> findByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typejava.util.List<KaleoNotification> findByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<KaleoNotification> findByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<KaleoNotification> findByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoNotification findByKCN_KCPK_ET_First(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundKaleoNotification fetchByKCN_KCPK_ET_First(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification could not be foundKaleoNotification findByKCN_KCPK_ET_Last(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundKaleoNotification fetchByKCN_KCPK_ET_Last(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification could not be foundKaleoNotification[] findByKCN_KCPK_ET_PrevAndNext(long kaleoNotificationId, java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
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 (optionally null
)NoSuchNotificationException
- if a kaleo notification with the primary key could not be foundvoid removeByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeint countByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typevoid cacheResult(KaleoNotification kaleoNotification)
kaleoNotification
- the kaleo notificationvoid cacheResult(java.util.List<KaleoNotification> kaleoNotifications)
kaleoNotifications
- the kaleo notificationsKaleoNotification create(long kaleoNotificationId)
kaleoNotificationId
- the primary key for the new kaleo notificationKaleoNotification remove(long kaleoNotificationId) throws NoSuchNotificationException
kaleoNotificationId
- the primary key of the kaleo notificationNoSuchNotificationException
- if a kaleo notification with the primary key could not be foundKaleoNotification updateImpl(KaleoNotification kaleoNotification)
KaleoNotification findByPrimaryKey(long kaleoNotificationId) throws NoSuchNotificationException
NoSuchNotificationException
if it could not be found.kaleoNotificationId
- the primary key of the kaleo notificationNoSuchNotificationException
- if a kaleo notification with the primary key could not be foundKaleoNotification fetchByPrimaryKey(long kaleoNotificationId)
null
if it could not be found.kaleoNotificationId
- the primary key of the kaleo notificationnull
if a kaleo notification with the primary key could not be foundjava.util.Map<java.io.Serializable,KaleoNotification> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoNotification>
java.util.List<KaleoNotification> findAll()
java.util.List<KaleoNotification> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of kaleo notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)java.util.List<KaleoNotification> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<KaleoNotification> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()