Interface CalendarNotificationTemplatePersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CalendarNotificationTemplate>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CalendarNotificationTemplate>

@ProviderType public interface CalendarNotificationTemplatePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CalendarNotificationTemplate>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CalendarNotificationTemplate>
The persistence interface for the calendar notification template service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      Returns all the calendar notification templates where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching calendar notification templates
    • findByUuid

      List<CalendarNotificationTemplate> findByUuid(String uuid, int start, int end)
      Returns a range of all the calendar notification templates where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of calendar notification templates
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of calendar notification templates
      end - the upper bound of the range of calendar notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of calendar notification templates
      end - the upper bound of the range of calendar notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 template
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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

      void removeByUuid(String uuid)
      Removes all the calendar notification templates where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of calendar notification templates where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching calendar notification templates
    • findByUUID_G

      Returns the calendar notification template where uuid = ? and groupId = ? or throws a NoSuchNotificationTemplateException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching calendar notification template
      Throws:
      NoSuchNotificationTemplateException - if a matching calendar notification template could not be found
    • fetchByUUID_G

      CalendarNotificationTemplate fetchByUUID_G(String uuid, long groupId)
      Returns the calendar notification template where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching calendar notification template, or null if a matching calendar notification template could not be found
    • fetchByUUID_G

      CalendarNotificationTemplate fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the calendar notification template where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - 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 uuid
      groupId - the group ID
      Returns:
      the calendar notification template that was removed
      Throws:
      NoSuchNotificationTemplateException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of calendar notification templates where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching calendar notification templates
    • findByUuid_C

      List<CalendarNotificationTemplate> findByUuid_C(String uuid, long companyId)
      Returns all the calendar notification templates where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching calendar notification templates
    • findByUuid_C

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of calendar notification templates
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of calendar notification templates
      end - the upper bound of the range of calendar notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of calendar notification templates
      end - the upper bound of the range of calendar notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 template
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      void removeByUuid_C(String uuid, long companyId)
      Removes all the calendar notification templates where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of calendar notification templates where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching calendar notification templates
    • findByCalendarId

      List<CalendarNotificationTemplate> findByCalendarId(long calendarId)
      Returns all the calendar notification templates where calendarId = ?.
      Parameters:
      calendarId - the calendar ID
      Returns:
      the matching calendar notification templates
    • findByCalendarId

      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl.

      Parameters:
      calendarId - the calendar ID
      start - the lower bound of the range of calendar notification templates
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl.

      Parameters:
      calendarId - the calendar ID
      start - the lower bound of the range of calendar notification templates
      end - the upper bound of the range of calendar notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl.

      Parameters:
      calendarId - the calendar ID
      start - the lower bound of the range of calendar notification templates
      end - the upper bound of the range of calendar notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 template
      calendarId - the calendar ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 a NoSuchNotificationTemplateException if it could not be found.
      Parameters:
      calendarId - the calendar ID
      notificationType - the notification type
      notificationTemplateType - 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 returns null if it could not be found. Uses the finder cache.
      Parameters:
      calendarId - the calendar ID
      notificationType - the notification type
      notificationTemplateType - 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      calendarId - the calendar ID
      notificationType - the notification type
      notificationTemplateType - the notification template type
      useFinderCache - 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 ID
      notificationType - the notification type
      notificationTemplateType - the notification template type
      Returns:
      the calendar notification template that was removed
      Throws:
      NoSuchNotificationTemplateException
    • countByC_NT_NTT

      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 ID
      notificationType - the notification type
      notificationTemplateType - the notification template type
      Returns:
      the number of matching calendar notification templates
    • cacheResult

      void cacheResult(CalendarNotificationTemplate calendarNotificationTemplate)
      Caches the calendar notification template in the entity cache if it is enabled.
      Parameters:
      calendarNotificationTemplate - the calendar notification template
    • cacheResult

      void cacheResult(List<CalendarNotificationTemplate> calendarNotificationTemplates)
      Caches the calendar notification templates in the entity cache if it is enabled.
      Parameters:
      calendarNotificationTemplates - the calendar notification templates
    • create

      CalendarNotificationTemplate create(long calendarNotificationTemplateId)
      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

      CalendarNotificationTemplate updateImpl(CalendarNotificationTemplate calendarNotificationTemplate)
    • findByPrimaryKey

      CalendarNotificationTemplate findByPrimaryKey(long calendarNotificationTemplateId) throws NoSuchNotificationTemplateException
      Returns the calendar notification template with the primary key or throws a NoSuchNotificationTemplateException 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

      CalendarNotificationTemplate fetchByPrimaryKey(long calendarNotificationTemplateId)
      Returns the calendar notification template with the primary key or returns null 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

      Returns all the calendar notification templates.
      Returns:
      the calendar notification templates
    • findAll

      List<CalendarNotificationTemplate> findAll(int start, int end)
      Returns a range of all the calendar notification templates.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl.

      Parameters:
      start - the lower bound of the range of calendar notification templates
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl.

      Parameters:
      start - the lower bound of the range of calendar notification templates
      end - the upper bound of the range of calendar notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl.

      Parameters:
      start - the lower bound of the range of calendar notification templates
      end - the upper bound of the range of calendar notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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