Class CalendarNotificationTemplateUtil
com.liferay.calendar.service.persistence.impl.CalendarNotificationTemplatePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(CalendarNotificationTemplate calendarNotificationTemplate) static voidcacheResult(List<CalendarNotificationTemplate> calendarNotificationTemplates) static voidstatic voidclearCache(CalendarNotificationTemplate calendarNotificationTemplate) static intcountByC_NT_NTT(long calendarId, String notificationType, String notificationTemplateType) Returns the number of calendar notification templates where calendarId = ? and notificationType = ? and notificationTemplateType = ?.static intcountByCalendarId(long calendarId) Returns the number of calendar notification templates where calendarId = ?.static intcountByUuid(String uuid) Returns the number of calendar notification templates where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of calendar notification templates where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of calendar notification templates where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CalendarNotificationTemplatecreate(long calendarNotificationTemplateId) Creates a new calendar notification template with the primary key.static 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.static CalendarNotificationTemplatefetchByC_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.static CalendarNotificationTemplatefetchByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the first calendar notification template in the ordered set where calendarId = ?.static CalendarNotificationTemplatefetchByPrimaryKey(long calendarNotificationTemplateId) Returns the calendar notification template with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CalendarNotificationTemplatefetchByUuid_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 = ?.static CalendarNotificationTemplatefetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the first calendar notification template in the ordered set where uuid = ?.static CalendarNotificationTemplatefetchByUUID_G(String uuid, long groupId) Returns the calendar notification template where uuid = ? and groupId = ? or returnsnullif it could not be found.static CalendarNotificationTemplatefetchByUUID_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.static CalendarNotificationTemplatefindByC_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.static List<CalendarNotificationTemplate> findByCalendarId(long calendarId) Returns all the calendar notification templates where calendarId = ?.static List<CalendarNotificationTemplate> findByCalendarId(long calendarId, int start, int end) Returns a range of all the calendar notification templates where calendarId = ?.static 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 = ?.static 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 = ?.static CalendarNotificationTemplatefindByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the first calendar notification template in the ordered set where calendarId = ?.static CalendarNotificationTemplatefindByPrimaryKey(long calendarNotificationTemplateId) Returns the calendar notification template with the primary key or throws aNoSuchNotificationTemplateExceptionif it could not be found.static List<CalendarNotificationTemplate> findByUuid(String uuid) Returns all the calendar notification templates where uuid = ?.static List<CalendarNotificationTemplate> findByUuid(String uuid, int start, int end) Returns a range of all the calendar notification templates where uuid = ?.static 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 = ?.static 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 = ?.static List<CalendarNotificationTemplate> findByUuid_C(String uuid, long companyId) Returns all the calendar notification templates where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CalendarNotificationTemplatefindByUuid_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 = ?.static CalendarNotificationTemplatefindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the first calendar notification template in the ordered set where uuid = ?.static CalendarNotificationTemplatefindByUUID_G(String uuid, long groupId) Returns the calendar notification template where uuid = ? and groupId = ? or throws aNoSuchNotificationTemplateExceptionif it could not be found.static List<CalendarNotificationTemplate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CalendarNotificationTemplate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CalendarNotificationTemplate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) static CalendarNotificationTemplateremove(long calendarNotificationTemplateId) Removes the calendar notification template with the primary key from the database.static CalendarNotificationTemplateremoveByC_NT_NTT(long calendarId, String notificationType, String notificationTemplateType) Removes the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? from the database.static voidremoveByCalendarId(long calendarId) Removes all the calendar notification templates where calendarId = ? from the database.static voidremoveByUuid(String uuid) Removes all the calendar notification templates where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the calendar notification templates where uuid = ? and companyId = ? from the database.static CalendarNotificationTemplateremoveByUUID_G(String uuid, long groupId) Removes the calendar notification template where uuid = ? and groupId = ? from the database.static voidsetPersistence(CalendarNotificationTemplatePersistence persistence) static CalendarNotificationTemplateupdate(CalendarNotificationTemplate calendarNotificationTemplate) static CalendarNotificationTemplateupdate(CalendarNotificationTemplate calendarNotificationTemplate, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CalendarNotificationTemplateupdateImpl(CalendarNotificationTemplate calendarNotificationTemplate)
-
Constructor Details
-
CalendarNotificationTemplateUtil
public CalendarNotificationTemplateUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,CalendarNotificationTemplate> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<CalendarNotificationTemplate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CalendarNotificationTemplate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<CalendarNotificationTemplate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) - See Also:
-
update
public static CalendarNotificationTemplate update(CalendarNotificationTemplate calendarNotificationTemplate) - See Also:
-
update
public static CalendarNotificationTemplate update(CalendarNotificationTemplate calendarNotificationTemplate, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
public static 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
public static 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
-
fetchByUuid_First
public static 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
public static 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
-
fetchByUUID_G
public static CalendarNotificationTemplate 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.- 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
public static 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
public static 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
public static 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
-
fetchByUuid_C_First
public static 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
public static 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
public static 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
-
fetchByCalendarId_First
public static 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
public static void removeByCalendarId(long calendarId) Removes all the calendar notification templates where calendarId = ? from the database.- Parameters:
calendarId- the calendar ID
-
countByCalendarId
public static 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
public static 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
-
fetchByC_NT_NTT
public static 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
public static 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
public static int countByC_NT_NTT(long calendarId, String notificationType, String notificationTemplateType) 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
public static 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
-
updateImpl
public static CalendarNotificationTemplate updateImpl(CalendarNotificationTemplate calendarNotificationTemplate) -
findByPrimaryKey
public static 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
-
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
public static 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
public static 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
public static 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
public static 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
public static List<CalendarNotificationTemplate> findByCalendarId(long calendarId, int start, int end) 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
public static 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
-
getPersistence
-
setPersistence
-