Interface CalendarNotificationTemplatePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CalendarNotificationTemplate>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CalendarNotificationTemplate>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByC_NT_NTT(long calendarId, String notificationType, String notificationTemplateType) Returns the number of calendar notification templates where calendarId = ? and notificationType = ? and notificationTemplateType = ?.intcountByCalendarId(long calendarId) Returns the number of calendar notification templates where calendarId = ?.intcountByUuid(String uuid) Returns the number of calendar notification templates where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of calendar notification templates where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of calendar notification templates where uuid = ? and groupId = ?.create(long calendarNotificationTemplateId) Creates a new calendar notification template with the primary key.default CalendarNotificationTemplatefetchByC_NT_NTT(long calendarId, String notificationType, String notificationTemplateType) Returns the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? or returnsnullif it could not be found.fetchByC_NT_NTT(long calendarId, String notificationType, String notificationTemplateType, boolean useFinderCache) Returns the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the first calendar notification template in the ordered set where calendarId = ?.fetchByPrimaryKey(long calendarNotificationTemplateId) Returns the calendar notification template with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the first calendar notification template in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the first calendar notification template in the ordered set where uuid = ?.default CalendarNotificationTemplatefetchByUUID_G(String uuid, long groupId) Returns the calendar notification template where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the calendar notification template where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.findByC_NT_NTT(long calendarId, String notificationType, String notificationTemplateType) Returns the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? or throws aNoSuchNotificationTemplateExceptionif it could not be found.default List<CalendarNotificationTemplate> findByCalendarId(long calendarId) Returns all the calendar notification templates where calendarId = ?.default List<CalendarNotificationTemplate> findByCalendarId(long calendarId, int start, int end) Returns a range of all the calendar notification templates where calendarId = ?.default List<CalendarNotificationTemplate> findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns an ordered range of all the calendar notification templates where calendarId = ?.findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar notification templates where calendarId = ?.findByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the first calendar notification template in the ordered set where calendarId = ?.findByPrimaryKey(long calendarNotificationTemplateId) Returns the calendar notification template with the primary key or throws aNoSuchNotificationTemplateExceptionif it could not be found.default List<CalendarNotificationTemplate> findByUuid(String uuid) Returns all the calendar notification templates where uuid = ?.default List<CalendarNotificationTemplate> findByUuid(String uuid, int start, int end) Returns a range of all the calendar notification templates where uuid = ?.default List<CalendarNotificationTemplate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns an ordered range of all the calendar notification templates where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar notification templates where uuid = ?.default List<CalendarNotificationTemplate> findByUuid_C(String uuid, long companyId) Returns all the calendar notification templates where uuid = ? and companyId = ?.default List<CalendarNotificationTemplate> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the calendar notification templates where uuid = ? and companyId = ?.default List<CalendarNotificationTemplate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns an ordered range of all the calendar notification templates where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar notification templates where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the first calendar notification template in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the first calendar notification template in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the calendar notification template where uuid = ? and groupId = ? or throws aNoSuchNotificationTemplateExceptionif it could not be found.remove(long calendarNotificationTemplateId) Removes the calendar notification template with the primary key from the database.removeByC_NT_NTT(long calendarId, String notificationType, String notificationTemplateType) Removes the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? from the database.voidremoveByCalendarId(long calendarId) Removes all the calendar notification templates where calendarId = ? from the database.voidremoveByUuid(String uuid) Removes all the calendar notification templates where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the calendar notification templates where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the calendar notification template where uuid = ? and groupId = ? from the database.updateImpl(CalendarNotificationTemplate calendarNotificationTemplate) 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
-
findByUuid
List<CalendarNotificationTemplate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar notification templates where uuid = ?.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.calendar.model.impl.CalendarNotificationTemplateModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of calendar notification templatesend- the upper bound of the range of calendar notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar notification templates
-
findByUuid_First
CalendarNotificationTemplate findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException Returns the first calendar notification template in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar notification template
- Throws:
NoSuchNotificationTemplateException- if a matching calendar notification template could not be found
-
fetchByUuid_First
CalendarNotificationTemplate fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the first calendar notification template in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar notification template, or
nullif a matching calendar notification template could not be found
-
removeByUuid
Removes all the calendar notification templates where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of calendar notification templates where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching calendar notification templates
-
findByUUID_G
CalendarNotificationTemplate findByUUID_G(String uuid, long groupId) throws NoSuchNotificationTemplateException Returns the calendar notification template where uuid = ? and groupId = ? or throws aNoSuchNotificationTemplateExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching calendar notification template
- Throws:
NoSuchNotificationTemplateException- if a matching calendar notification template could not be found
-
fetchByUUID_G
Returns the calendar notification template where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching calendar notification template, or
nullif a matching calendar notification template could not be found
-
removeByUUID_G
CalendarNotificationTemplate removeByUUID_G(String uuid, long groupId) throws NoSuchNotificationTemplateException Removes the calendar notification template where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the calendar notification template that was removed
- Throws:
NoSuchNotificationTemplateException
-
countByUUID_G
Returns the number of calendar notification templates where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching calendar notification templates
-
findByUuid_C
List<CalendarNotificationTemplate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar notification templates where uuid = ? and 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.calendar.model.impl.CalendarNotificationTemplateModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of calendar notification templatesend- the upper bound of the range of calendar notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar notification templates
-
findByUuid_C_First
CalendarNotificationTemplate findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException Returns the first calendar notification template in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar notification template
- Throws:
NoSuchNotificationTemplateException- if a matching calendar notification template could not be found
-
fetchByUuid_C_First
CalendarNotificationTemplate fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the first calendar notification template in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar notification template, or
nullif a matching calendar notification template could not be found
-
removeByUuid_C
Removes all the calendar notification templates where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of calendar notification templates where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching calendar notification templates
-
findByCalendarId
List<CalendarNotificationTemplate> findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar notification templates where calendarId = ?.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.calendar.model.impl.CalendarNotificationTemplateModelImpl.- Parameters:
calendarId- the calendar IDstart- the lower bound of the range of calendar notification templatesend- the upper bound of the range of calendar notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching calendar notification templates
-
findByCalendarId_First
CalendarNotificationTemplate findByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException Returns the first calendar notification template in the ordered set where calendarId = ?.- Parameters:
calendarId- the calendar IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar notification template
- Throws:
NoSuchNotificationTemplateException- if a matching calendar notification template could not be found
-
fetchByCalendarId_First
CalendarNotificationTemplate fetchByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the first calendar notification template in the ordered set where calendarId = ?.- Parameters:
calendarId- the calendar IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching calendar notification template, or
nullif a matching calendar notification template could not be found
-
removeByCalendarId
void removeByCalendarId(long calendarId) Removes all the calendar notification templates where calendarId = ? from the database.- Parameters:
calendarId- the calendar ID
-
countByCalendarId
int countByCalendarId(long calendarId) Returns the number of calendar notification templates where calendarId = ?.- Parameters:
calendarId- the calendar ID- Returns:
- the number of matching calendar notification templates
-
findByC_NT_NTT
CalendarNotificationTemplate findByC_NT_NTT(long calendarId, String notificationType, String notificationTemplateType) throws NoSuchNotificationTemplateException Returns the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? or throws aNoSuchNotificationTemplateExceptionif it could not be found.- Parameters:
calendarId- the calendar IDnotificationType- the notification typenotificationTemplateType- the notification template type- Returns:
- the matching calendar notification template
- Throws:
NoSuchNotificationTemplateException- if a matching calendar notification template could not be found
-
fetchByC_NT_NTT
CalendarNotificationTemplate fetchByC_NT_NTT(long calendarId, String notificationType, String notificationTemplateType, boolean useFinderCache) Returns the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
calendarId- the calendar IDnotificationType- the notification typenotificationTemplateType- the notification template typeuseFinderCache- whether to use the finder cache- Returns:
- the matching calendar notification template, or
nullif a matching calendar notification template could not be found
-
removeByC_NT_NTT
CalendarNotificationTemplate removeByC_NT_NTT(long calendarId, String notificationType, String notificationTemplateType) throws NoSuchNotificationTemplateException Removes the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? from the database.- Parameters:
calendarId- the calendar IDnotificationType- the notification typenotificationTemplateType- the notification template type- Returns:
- the calendar notification template that was removed
- Throws:
NoSuchNotificationTemplateException
-
countByC_NT_NTT
Returns the number of calendar notification templates where calendarId = ? and notificationType = ? and notificationTemplateType = ?.- Parameters:
calendarId- the calendar IDnotificationType- the notification typenotificationTemplateType- the notification template type- Returns:
- the number of matching calendar notification templates
-
create
Creates a new calendar notification template with the primary key. Does not add the calendar notification template to the database.- Parameters:
calendarNotificationTemplateId- the primary key for the new calendar notification template- Returns:
- the new calendar notification template
-
remove
CalendarNotificationTemplate remove(long calendarNotificationTemplateId) throws NoSuchNotificationTemplateException Removes the calendar notification template with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
calendarNotificationTemplateId- the primary key of the calendar notification template- Returns:
- the calendar notification template that was removed
- Throws:
NoSuchNotificationTemplateException- if a calendar notification template with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CalendarNotificationTemplate findByPrimaryKey(long calendarNotificationTemplateId) throws NoSuchNotificationTemplateException Returns the calendar notification template with the primary key or throws aNoSuchNotificationTemplateExceptionif it could not be found.- Parameters:
calendarNotificationTemplateId- the primary key of the calendar notification template- Returns:
- the calendar notification template
- Throws:
NoSuchNotificationTemplateException- if a calendar notification template with the primary key could not be found
-
fetchByPrimaryKey
Returns the calendar notification template with the primary key or returnsnullif it could not be found.- Parameters:
calendarNotificationTemplateId- the primary key of the calendar notification template- Returns:
- the calendar notification template, or
nullif a calendar notification template with the primary key could not be found
-
fetchByUUID_G
Returns the calendar notification template where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching calendar notification template, or
nullif a matching calendar notification template could not be found
-
fetchByC_NT_NTT
default CalendarNotificationTemplate fetchByC_NT_NTT(long calendarId, String notificationType, String notificationTemplateType) Returns the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
calendarId- the calendar IDnotificationType- the notification typenotificationTemplateType- the notification template type- Returns:
- the matching calendar notification template, or
nullif a matching calendar notification template could not be found
-
findByUuid
Returns all the calendar notification templates where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching calendar notification templates
-
findByUuid
Returns a range of all the calendar notification templates where uuid = ?.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.calendar.model.impl.CalendarNotificationTemplateModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of calendar notification templatesend- the upper bound of the range of calendar notification templates (not inclusive)- Returns:
- the range of matching calendar notification templates
-
findByUuid
default List<CalendarNotificationTemplate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns an ordered range of all the calendar notification templates where uuid = ?.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.calendar.model.impl.CalendarNotificationTemplateModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of calendar notification templatesend- the upper bound of the range of calendar notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching calendar notification templates
-
findByUuid_C
Returns all the calendar notification templates where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching calendar notification templates
-
findByUuid_C
default List<CalendarNotificationTemplate> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the calendar notification templates where uuid = ? and 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.calendar.model.impl.CalendarNotificationTemplateModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of calendar notification templatesend- the upper bound of the range of calendar notification templates (not inclusive)- Returns:
- the range of matching calendar notification templates
-
findByUuid_C
default List<CalendarNotificationTemplate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns an ordered range of all the calendar notification templates where uuid = ? and 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.calendar.model.impl.CalendarNotificationTemplateModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of calendar notification templatesend- the upper bound of the range of calendar notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching calendar notification templates
-
findByCalendarId
Returns all the calendar notification templates where calendarId = ?.- Parameters:
calendarId- the calendar ID- Returns:
- the matching calendar notification templates
-
findByCalendarId
Returns a range of all the calendar notification templates where calendarId = ?.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.calendar.model.impl.CalendarNotificationTemplateModelImpl.- Parameters:
calendarId- the calendar IDstart- the lower bound of the range of calendar notification templatesend- the upper bound of the range of calendar notification templates (not inclusive)- Returns:
- the range of matching calendar notification templates
-
findByCalendarId
default List<CalendarNotificationTemplate> findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns an ordered range of all the calendar notification templates where calendarId = ?.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.calendar.model.impl.CalendarNotificationTemplateModelImpl.- Parameters:
calendarId- the calendar IDstart- the lower bound of the range of calendar notification templatesend- the upper bound of the range of calendar notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching calendar notification templates
-