Interface KaleoNotificationRecipientPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoNotificationRecipient>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoNotificationRecipient>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByCompanyId(long companyId) Returns the number of kaleo notification recipients where companyId = ?.intcountByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo notification recipients where kaleoDefinitionVersionId = ?.intcountByKaleoNotificationId(long kaleoNotificationId) Returns the number of kaleo notification recipients where kaleoNotificationId = ?.create(long kaleoNotificationRecipientId) Creates a new kaleo notification recipient with the primary key.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where companyId = ?.fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.fetchByKaleoNotificationId_First(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where kaleoNotificationId = ?.fetchByPrimaryKey(long kaleoNotificationRecipientId) Returns the kaleo notification recipient with the primary key or returnsnullif it could not be found.default List<KaleoNotificationRecipient> findByCompanyId(long companyId) Returns all the kaleo notification recipients where companyId = ?.default List<KaleoNotificationRecipient> findByCompanyId(long companyId, int start, int end) Returns a range of all the kaleo notification recipients where companyId = ?.default List<KaleoNotificationRecipient> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns an ordered range of all the kaleo notification recipients where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notification recipients where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where companyId = ?.default List<KaleoNotificationRecipient> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns all the kaleo notification recipients where kaleoDefinitionVersionId = ?.default List<KaleoNotificationRecipient> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.default List<KaleoNotificationRecipient> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns an ordered range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.default List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId) Returns all the kaleo notification recipients where kaleoNotificationId = ?.default List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId, int start, int end) Returns a range of all the kaleo notification recipients where kaleoNotificationId = ?.default List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns an ordered range of all the kaleo notification recipients where kaleoNotificationId = ?.findByKaleoNotificationId(long kaleoNotificationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notification recipients where kaleoNotificationId = ?.findByKaleoNotificationId_First(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where kaleoNotificationId = ?.findByPrimaryKey(long kaleoNotificationRecipientId) Returns the kaleo notification recipient with the primary key or throws aNoSuchNotificationRecipientExceptionif it could not be found.remove(long kaleoNotificationRecipientId) Removes the kaleo notification recipient with the primary key from the database.voidremoveByCompanyId(long companyId) Removes all the kaleo notification recipients where companyId = ? from the database.voidremoveByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo notification recipients where kaleoDefinitionVersionId = ? from the database.voidremoveByKaleoNotificationId(long kaleoNotificationId) Removes all the kaleo notification recipients where kaleoNotificationId = ? from the database.updateImpl(KaleoNotificationRecipient kaleoNotificationRecipient) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, 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
List<KaleoNotificationRecipient> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notification recipients where companyId = ?.Useful when paginating results. Returns a maximum of
end - 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.KaleoNotificationRecipientModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo notification recipientsend- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching kaleo notification recipients
-
findByCompanyId_First
KaleoNotificationRecipient findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException Returns the first kaleo notification recipient in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException- if a matching kaleo notification recipient could not be found
-
fetchByCompanyId_First
KaleoNotificationRecipient fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo notification recipient, or
nullif a matching kaleo notification recipient could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the kaleo notification recipients where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of kaleo notification recipients where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching kaleo notification recipients
-
findByKaleoDefinitionVersionId
List<KaleoNotificationRecipient> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.Useful when paginating results. Returns a maximum of
end - 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.KaleoNotificationRecipientModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo notification recipientsend- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching kaleo notification recipients
-
findByKaleoDefinitionVersionId_First
KaleoNotificationRecipient findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException Returns the first kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException- if a matching kaleo notification recipient could not be found
-
fetchByKaleoDefinitionVersionId_First
KaleoNotificationRecipient fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo notification recipient, or
nullif a matching kaleo notification recipient could not be found
-
removeByKaleoDefinitionVersionId
void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo notification recipients where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo notification recipients where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the number of matching kaleo notification recipients
-
findByKaleoNotificationId
List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo notification recipients where kaleoNotificationId = ?.Useful when paginating results. Returns a maximum of
end - 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.KaleoNotificationRecipientModelImpl.- Parameters:
kaleoNotificationId- the kaleo notification IDstart- the lower bound of the range of kaleo notification recipientsend- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching kaleo notification recipients
-
findByKaleoNotificationId_First
KaleoNotificationRecipient findByKaleoNotificationId_First(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException Returns the first kaleo notification recipient in the ordered set where kaleoNotificationId = ?.- Parameters:
kaleoNotificationId- the kaleo notification IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException- if a matching kaleo notification recipient could not be found
-
fetchByKaleoNotificationId_First
KaleoNotificationRecipient fetchByKaleoNotificationId_First(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where kaleoNotificationId = ?.- Parameters:
kaleoNotificationId- the kaleo notification IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo notification recipient, or
nullif a matching kaleo notification recipient could not be found
-
removeByKaleoNotificationId
void removeByKaleoNotificationId(long kaleoNotificationId) Removes all the kaleo notification recipients where kaleoNotificationId = ? from the database.- Parameters:
kaleoNotificationId- the kaleo notification ID
-
countByKaleoNotificationId
int countByKaleoNotificationId(long kaleoNotificationId) Returns the number of kaleo notification recipients where kaleoNotificationId = ?.- Parameters:
kaleoNotificationId- the kaleo notification ID- Returns:
- the number of matching kaleo notification recipients
-
create
Creates a new kaleo notification recipient with the primary key. Does not add the kaleo notification recipient to the database.- Parameters:
kaleoNotificationRecipientId- the primary key for the new kaleo notification recipient- Returns:
- the new kaleo notification recipient
-
remove
KaleoNotificationRecipient remove(long kaleoNotificationRecipientId) throws NoSuchNotificationRecipientException Removes the kaleo notification recipient with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoNotificationRecipientId- the primary key of the kaleo notification recipient- Returns:
- the kaleo notification recipient that was removed
- Throws:
NoSuchNotificationRecipientException- if a kaleo notification recipient with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
KaleoNotificationRecipient findByPrimaryKey(long kaleoNotificationRecipientId) throws NoSuchNotificationRecipientException Returns the kaleo notification recipient with the primary key or throws aNoSuchNotificationRecipientExceptionif it could not be found.- Parameters:
kaleoNotificationRecipientId- the primary key of the kaleo notification recipient- Returns:
- the kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException- if a kaleo notification recipient with the primary key could not be found
-
fetchByPrimaryKey
Returns the kaleo notification recipient with the primary key or returnsnullif it could not be found.- Parameters:
kaleoNotificationRecipientId- the primary key of the kaleo notification recipient- Returns:
- the kaleo notification recipient, or
nullif a kaleo notification recipient with the primary key could not be found
-
findByCompanyId
Returns all the kaleo notification recipients where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching kaleo notification recipients
-
findByCompanyId
Returns a range of all the kaleo notification recipients where companyId = ?.Useful when paginating results. Returns a maximum of
end - 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.KaleoNotificationRecipientModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo notification recipientsend- the upper bound of the range of kaleo notification recipients (not inclusive)- Returns:
- the range of matching kaleo notification recipients
-
findByCompanyId
default List<KaleoNotificationRecipient> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns an ordered range of all the kaleo notification recipients where companyId = ?.Useful when paginating results. Returns a maximum of
end - 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.KaleoNotificationRecipientModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo notification recipientsend- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo notification recipients
-
findByKaleoDefinitionVersionId
default List<KaleoNotificationRecipient> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns all the kaleo notification recipients where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the matching kaleo notification recipients
-
findByKaleoDefinitionVersionId
default List<KaleoNotificationRecipient> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.Useful when paginating results. Returns a maximum of
end - 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.KaleoNotificationRecipientModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo notification recipientsend- the upper bound of the range of kaleo notification recipients (not inclusive)- Returns:
- the range of matching kaleo notification recipients
-
findByKaleoDefinitionVersionId
default List<KaleoNotificationRecipient> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns an ordered range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.Useful when paginating results. Returns a maximum of
end - 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.KaleoNotificationRecipientModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo notification recipientsend- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo notification recipients
-
findByKaleoNotificationId
Returns all the kaleo notification recipients where kaleoNotificationId = ?.- Parameters:
kaleoNotificationId- the kaleo notification ID- Returns:
- the matching kaleo notification recipients
-
findByKaleoNotificationId
default List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId, int start, int end) Returns a range of all the kaleo notification recipients where kaleoNotificationId = ?.Useful when paginating results. Returns a maximum of
end - 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.KaleoNotificationRecipientModelImpl.- Parameters:
kaleoNotificationId- the kaleo notification IDstart- the lower bound of the range of kaleo notification recipientsend- the upper bound of the range of kaleo notification recipients (not inclusive)- Returns:
- the range of matching kaleo notification recipients
-
findByKaleoNotificationId
default List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns an ordered range of all the kaleo notification recipients where kaleoNotificationId = ?.Useful when paginating results. Returns a maximum of
end - 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.KaleoNotificationRecipientModelImpl.- Parameters:
kaleoNotificationId- the kaleo notification IDstart- the lower bound of the range of kaleo notification recipientsend- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo notification recipients
-