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 TypeMethodDescriptionvoid
cacheResult
(CalendarNotificationTemplate calendarNotificationTemplate) Caches the calendar notification template in the entity cache if it is enabled.void
cacheResult
(List<CalendarNotificationTemplate> calendarNotificationTemplates) Caches the calendar notification templates in the entity cache if it is enabled.int
countAll()
Returns the number of calendar notification templates.int
countByC_NT_NTT
(long calendarId, String notificationType, String notificationTemplateType) Returns the number of calendar notification templates where calendarId = ? and notificationType = ? and notificationTemplateType = ?.int
countByCalendarId
(long calendarId) Returns the number of calendar notification templates where calendarId = ?.int
countByUuid
(String uuid) Returns the number of calendar notification templates where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of calendar notification templates where uuid = ? and companyId = ?.int
countByUUID_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.fetchByC_NT_NTT
(long calendarId, String notificationType, String notificationTemplateType) Returns the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? or returnsnull
if 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 returnsnull
if 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 = ?.fetchByCalendarId_Last
(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the last calendar notification template in the ordered set where calendarId = ?.fetchByPrimaryKey
(long calendarNotificationTemplateId) Returns the calendar notification template with the primary key or returnsnull
if 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_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the last 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 = ?.fetchByUUID_G
(String uuid, long groupId) Returns the calendar notification template where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the calendar notification template where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the last calendar notification template in the ordered set where uuid = ?.findAll()
Returns all the calendar notification templates.findAll
(int start, int end) Returns a range of all the calendar notification templates.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns an ordered range of all the calendar notification templates.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar notification templates.findByC_NT_NTT
(long calendarId, String notificationType, String notificationTemplateType) Returns the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? or throws aNoSuchNotificationTemplateException
if it could not be found.findByCalendarId
(long calendarId) Returns all the calendar notification templates where calendarId = ?.findByCalendarId
(long calendarId, int start, int end) Returns a range of all the calendar notification templates where calendarId = ?.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 = ?.findByCalendarId_Last
(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the last calendar notification template in the ordered set where calendarId = ?.findByCalendarId_PrevAndNext
(long calendarNotificationTemplateId, long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the calendar notification templates before and after the current calendar notification template in the ordered set where calendarId = ?.findByPrimaryKey
(long calendarNotificationTemplateId) Returns the calendar notification template with the primary key or throws aNoSuchNotificationTemplateException
if it could not be found.findByUuid
(String uuid) Returns all the calendar notification templates where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the calendar notification templates where uuid = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the calendar notification templates where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a 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) 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_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the last calendar notification template in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long calendarNotificationTemplateId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the calendar notification templates before and after the current 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 aNoSuchNotificationTemplateException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the last calendar notification template in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long calendarNotificationTemplateId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the calendar notification templates before and after the current calendar notification template in the ordered set where uuid = ?.remove
(long calendarNotificationTemplateId) Removes the calendar notification template with the primary key from the database.void
Removes all the calendar notification templates 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.void
removeByCalendarId
(long calendarId) Removes all the calendar notification templates where calendarId = ? from the database.void
removeByUuid
(String uuid) Removes all the calendar notification templates where uuid = ? from the database.void
removeByUuid_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
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCalendarNotificationTemplateModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCalendarNotificationTemplateModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCalendarNotificationTemplateModelImpl
.- 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
null
if a matching calendar notification template could not be found
-
findByUuid_Last
CalendarNotificationTemplate findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException Returns the last calendar notification template in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching calendar notification template
- Throws:
NoSuchNotificationTemplateException
- if a matching calendar notification template could not be found
-
fetchByUuid_Last
CalendarNotificationTemplate fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the last calendar notification template in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching calendar notification template, or
null
if a matching calendar notification template could not be found
-
findByUuid_PrevAndNext
CalendarNotificationTemplate[] findByUuid_PrevAndNext(long calendarNotificationTemplateId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException Returns the calendar notification templates before and after the current calendar notification template in the ordered set where uuid = ?.- Parameters:
calendarNotificationTemplateId
- the primary key of the current calendar notification templateuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next calendar notification template
- Throws:
NoSuchNotificationTemplateException
- if a calendar notification template with the primary key 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 aNoSuchNotificationTemplateException
if 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 returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching calendar notification template, or
null
if a matching calendar notification template could not be found
-
fetchByUUID_G
Returns the calendar notification template where uuid = ? and groupId = ? or returnsnull
if 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
null
if 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
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
Returns a range of all the calendar notification templates where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCalendarNotificationTemplateModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCalendarNotificationTemplateModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCalendarNotificationTemplateModelImpl
.- 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
null
if a matching calendar notification template could not be found
-
findByUuid_C_Last
CalendarNotificationTemplate findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException Returns the last 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 last matching calendar notification template
- Throws:
NoSuchNotificationTemplateException
- if a matching calendar notification template could not be found
-
fetchByUuid_C_Last
CalendarNotificationTemplate fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the last 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 last matching calendar notification template, or
null
if a matching calendar notification template could not be found
-
findByUuid_C_PrevAndNext
CalendarNotificationTemplate[] findByUuid_C_PrevAndNext(long calendarNotificationTemplateId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException Returns the calendar notification templates before and after the current calendar notification template in the ordered set where uuid = ? and companyId = ?.- Parameters:
calendarNotificationTemplateId
- the primary key of the current calendar notification templateuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next calendar notification template
- Throws:
NoSuchNotificationTemplateException
- if a calendar notification template with the primary key 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCalendarNotificationTemplateModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCalendarNotificationTemplateModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCalendarNotificationTemplateModelImpl
.- 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
null
if a matching calendar notification template could not be found
-
findByCalendarId_Last
CalendarNotificationTemplate findByCalendarId_Last(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException Returns the last calendar notification template in the ordered set where calendarId = ?.- Parameters:
calendarId
- the calendar IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching calendar notification template
- Throws:
NoSuchNotificationTemplateException
- if a matching calendar notification template could not be found
-
fetchByCalendarId_Last
CalendarNotificationTemplate fetchByCalendarId_Last(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns the last calendar notification template in the ordered set where calendarId = ?.- Parameters:
calendarId
- the calendar IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching calendar notification template, or
null
if a matching calendar notification template could not be found
-
findByCalendarId_PrevAndNext
CalendarNotificationTemplate[] findByCalendarId_PrevAndNext(long calendarNotificationTemplateId, long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException Returns the calendar notification templates before and after the current calendar notification template in the ordered set where calendarId = ?.- Parameters:
calendarNotificationTemplateId
- the primary key of the current calendar notification templatecalendarId
- the calendar IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next calendar notification template
- Throws:
NoSuchNotificationTemplateException
- if a calendar notification template with the primary key 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 aNoSuchNotificationTemplateException
if 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) Returns the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? or returnsnull
if 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
null
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 returnsnull
if 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
null
if 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
-
cacheResult
Caches the calendar notification template in the entity cache if it is enabled.- Parameters:
calendarNotificationTemplate
- the calendar notification template
-
cacheResult
Caches the calendar notification templates in the entity cache if it is enabled.- Parameters:
calendarNotificationTemplates
- the 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 aNoSuchNotificationTemplateException
if 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 returnsnull
if it could not be found.- Parameters:
calendarNotificationTemplateId
- the primary key of the calendar notification template- Returns:
- the calendar notification template, or
null
if a calendar notification template with the primary key could not be found
-
findAll
List<CalendarNotificationTemplate> findAll()Returns all the calendar notification templates.- Returns:
- the calendar notification templates
-
findAll
Returns a range of all the calendar notification templates.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCalendarNotificationTemplateModelImpl
.- Parameters:
start
- 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 calendar notification templates
-
findAll
List<CalendarNotificationTemplate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) Returns an ordered range of all the calendar notification templates.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCalendarNotificationTemplateModelImpl
.- Parameters:
start
- 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 calendar notification templates
-
findAll
List<CalendarNotificationTemplate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the calendar notification templates.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCalendarNotificationTemplateModelImpl
.- Parameters:
start
- 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 calendar notification templates
-
removeAll
void removeAll()Removes all the calendar notification templates from the database. -
countAll
int countAll()Returns the number of calendar notification templates.- Returns:
- the number of calendar notification templates
-