Interface CalendarPersistence

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

@ProviderType public interface CalendarPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<Calendar>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<Calendar>
The persistence interface for the calendar service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Caches the calendar in the entity cache if it is enabled.
    void
    Caches the calendars in the entity cache if it is enabled.
    int
    Returns the number of calendars.
    int
    countByG_C(long groupId, long calendarResourceId)
    Returns the number of calendars where groupId = ? and calendarResourceId = ?.
    int
    countByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
    Returns the number of calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    int
    Returns the number of calendars where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of calendars where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of calendars where uuid = ? and groupId = ?.
    create(long calendarId)
    Creates a new calendar with the primary key.
    fetchByG_C_D_First(long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the first calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    fetchByG_C_D_Last(long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the last calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    fetchByG_C_First(long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the first calendar in the ordered set where groupId = ? and calendarResourceId = ?.
    fetchByG_C_Last(long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the last calendar in the ordered set where groupId = ? and calendarResourceId = ?.
    fetchByPrimaryKey(long calendarId)
    Returns the calendar with the primary key or returns null if it could not be found.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the first calendar in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the last calendar in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the first calendar in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the calendar where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the calendar where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the last calendar in the ordered set where uuid = ?.
    int
    filterCountByG_C(long groupId, long calendarResourceId)
    Returns the number of calendars that the user has permission to view where groupId = ? and calendarResourceId = ?.
    int
    filterCountByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
    Returns the number of calendars that the user has permission to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    filterFindByG_C(long groupId, long calendarResourceId)
    Returns all the calendars that the user has permission to view where groupId = ? and calendarResourceId = ?.
    filterFindByG_C(long groupId, long calendarResourceId, int start, int end)
    Returns a range of all the calendars that the user has permission to view where groupId = ? and calendarResourceId = ?.
    filterFindByG_C(long groupId, long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns an ordered range of all the calendars that the user has permissions to view where groupId = ? and calendarResourceId = ?.
    filterFindByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
    Returns all the calendars that the user has permission to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    filterFindByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, int start, int end)
    Returns a range of all the calendars that the user has permission to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    filterFindByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns an ordered range of all the calendars that the user has permissions to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    filterFindByG_C_D_PrevAndNext(long calendarId, long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the calendars before and after the current calendar in the ordered set of calendars that the user has permission to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    filterFindByG_C_PrevAndNext(long calendarId, long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the calendars before and after the current calendar in the ordered set of calendars that the user has permission to view where groupId = ? and calendarResourceId = ?.
    Returns all the calendars.
    findAll(int start, int end)
    Returns a range of all the calendars.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns an ordered range of all the calendars.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendars.
    findByG_C(long groupId, long calendarResourceId)
    Returns all the calendars where groupId = ? and calendarResourceId = ?.
    findByG_C(long groupId, long calendarResourceId, int start, int end)
    Returns a range of all the calendars where groupId = ? and calendarResourceId = ?.
    findByG_C(long groupId, long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns an ordered range of all the calendars where groupId = ? and calendarResourceId = ?.
    findByG_C(long groupId, long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendars where groupId = ? and calendarResourceId = ?.
    findByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
    Returns all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    findByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, int start, int end)
    Returns a range of all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    findByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns an ordered range of all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    findByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    findByG_C_D_First(long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the first calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    findByG_C_D_Last(long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the last calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    findByG_C_D_PrevAndNext(long calendarId, long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the calendars before and after the current calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
    findByG_C_First(long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the first calendar in the ordered set where groupId = ? and calendarResourceId = ?.
    findByG_C_Last(long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the last calendar in the ordered set where groupId = ? and calendarResourceId = ?.
    findByG_C_PrevAndNext(long calendarId, long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the calendars before and after the current calendar in the ordered set where groupId = ? and calendarResourceId = ?.
    findByPrimaryKey(long calendarId)
    Returns the calendar with the primary key or throws a NoSuchCalendarException if it could not be found.
    Returns all the calendars where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the calendars where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns an ordered range of all the calendars where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendars where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the calendars where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the calendars where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns an ordered range of all the calendars where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendars where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the first calendar in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the last calendar in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long calendarId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the calendars before and after the current calendar in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the first calendar in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the calendar where uuid = ? and groupId = ? or throws a NoSuchCalendarException if it could not be found.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the last calendar in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long calendarId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
    Returns the calendars before and after the current calendar in the ordered set where uuid = ?.
    remove(long calendarId)
    Removes the calendar with the primary key from the database.
    void
    Removes all the calendars from the database.
    void
    removeByG_C(long groupId, long calendarResourceId)
    Removes all the calendars where groupId = ? and calendarResourceId = ? from the database.
    void
    removeByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
    Removes all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ? from the database.
    void
    Removes all the calendars where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the calendars where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the calendar where uuid = ? and groupId = ? from the database.
    updateImpl(Calendar calendar)
     

    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

      List<Calendar> findByUuid(String uuid)
      Returns all the calendars where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching calendars
    • findByUuid

      List<Calendar> findByUuid(String uuid, int start, int end)
      Returns a range of all the calendars 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 CalendarModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      Returns:
      the range of matching calendars
    • findByUuid

      List<Calendar> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns an ordered range of all the calendars 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 CalendarModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching calendars
    • findByUuid

      List<Calendar> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the calendars 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 CalendarModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (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 calendars
    • findByUuid_First

      Calendar findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
      Returns the first calendar 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
      Throws:
      NoSuchCalendarException - if a matching calendar could not be found
    • fetchByUuid_First

      Calendar fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns the first calendar 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, or null if a matching calendar could not be found
    • findByUuid_Last

      Calendar findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
      Returns the last calendar 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
      Throws:
      NoSuchCalendarException - if a matching calendar could not be found
    • fetchByUuid_Last

      Calendar fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns the last calendar 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, or null if a matching calendar could not be found
    • findByUuid_PrevAndNext

      Calendar[] findByUuid_PrevAndNext(long calendarId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
      Returns the calendars before and after the current calendar in the ordered set where uuid = ?.
      Parameters:
      calendarId - the primary key of the current calendar
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar
      Throws:
      NoSuchCalendarException - if a calendar with the primary key could not be found
    • removeByUuid

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

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

      Calendar findByUUID_G(String uuid, long groupId) throws NoSuchCalendarException
      Returns the calendar where uuid = ? and groupId = ? or throws a NoSuchCalendarException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching calendar
      Throws:
      NoSuchCalendarException - if a matching calendar could not be found
    • fetchByUUID_G

      Calendar fetchByUUID_G(String uuid, long groupId)
      Returns the calendar 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, or null if a matching calendar could not be found
    • fetchByUUID_G

      Calendar fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the calendar 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, or null if a matching calendar could not be found
    • removeByUUID_G

      Calendar removeByUUID_G(String uuid, long groupId) throws NoSuchCalendarException
      Removes the calendar where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the calendar that was removed
      Throws:
      NoSuchCalendarException
    • countByUUID_G

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

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

      List<Calendar> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the calendars 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 CalendarModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      Returns:
      the range of matching calendars
    • findByUuid_C

      List<Calendar> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns an ordered range of all the calendars 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 CalendarModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching calendars
    • findByUuid_C

      List<Calendar> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the calendars 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 CalendarModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (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 calendars
    • findByUuid_C_First

      Calendar findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
      Returns the first calendar 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
      Throws:
      NoSuchCalendarException - if a matching calendar could not be found
    • fetchByUuid_C_First

      Calendar fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns the first calendar 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, or null if a matching calendar could not be found
    • findByUuid_C_Last

      Calendar findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
      Returns the last calendar 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
      Throws:
      NoSuchCalendarException - if a matching calendar could not be found
    • fetchByUuid_C_Last

      Calendar fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns the last calendar 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, or null if a matching calendar could not be found
    • findByUuid_C_PrevAndNext

      Calendar[] findByUuid_C_PrevAndNext(long calendarId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
      Returns the calendars before and after the current calendar in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      calendarId - the primary key of the current calendar
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar
      Throws:
      NoSuchCalendarException - if a calendar with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the calendars 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 calendars where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching calendars
    • findByG_C

      List<Calendar> findByG_C(long groupId, long calendarResourceId)
      Returns all the calendars where groupId = ? and calendarResourceId = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      Returns:
      the matching calendars
    • findByG_C

      List<Calendar> findByG_C(long groupId, long calendarResourceId, int start, int end)
      Returns a range of all the calendars where groupId = ? and calendarResourceId = ?.

      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 CalendarModelImpl.

      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      Returns:
      the range of matching calendars
    • findByG_C

      List<Calendar> findByG_C(long groupId, long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns an ordered range of all the calendars where groupId = ? and calendarResourceId = ?.

      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 CalendarModelImpl.

      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching calendars
    • findByG_C

      List<Calendar> findByG_C(long groupId, long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the calendars where groupId = ? and calendarResourceId = ?.

      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 CalendarModelImpl.

      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (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 calendars
    • findByG_C_First

      Calendar findByG_C_First(long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
      Returns the first calendar in the ordered set where groupId = ? and calendarResourceId = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar
      Throws:
      NoSuchCalendarException - if a matching calendar could not be found
    • fetchByG_C_First

      Calendar fetchByG_C_First(long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns the first calendar in the ordered set where groupId = ? and calendarResourceId = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar, or null if a matching calendar could not be found
    • findByG_C_Last

      Calendar findByG_C_Last(long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
      Returns the last calendar in the ordered set where groupId = ? and calendarResourceId = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar
      Throws:
      NoSuchCalendarException - if a matching calendar could not be found
    • fetchByG_C_Last

      Calendar fetchByG_C_Last(long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns the last calendar in the ordered set where groupId = ? and calendarResourceId = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar, or null if a matching calendar could not be found
    • findByG_C_PrevAndNext

      Calendar[] findByG_C_PrevAndNext(long calendarId, long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
      Returns the calendars before and after the current calendar in the ordered set where groupId = ? and calendarResourceId = ?.
      Parameters:
      calendarId - the primary key of the current calendar
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar
      Throws:
      NoSuchCalendarException - if a calendar with the primary key could not be found
    • filterFindByG_C

      List<Calendar> filterFindByG_C(long groupId, long calendarResourceId)
      Returns all the calendars that the user has permission to view where groupId = ? and calendarResourceId = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      Returns:
      the matching calendars that the user has permission to view
    • filterFindByG_C

      List<Calendar> filterFindByG_C(long groupId, long calendarResourceId, int start, int end)
      Returns a range of all the calendars that the user has permission to view where groupId = ? and calendarResourceId = ?.

      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 CalendarModelImpl.

      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      Returns:
      the range of matching calendars that the user has permission to view
    • filterFindByG_C

      List<Calendar> filterFindByG_C(long groupId, long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns an ordered range of all the calendars that the user has permissions to view where groupId = ? and calendarResourceId = ?.

      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 CalendarModelImpl.

      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching calendars that the user has permission to view
    • filterFindByG_C_PrevAndNext

      Calendar[] filterFindByG_C_PrevAndNext(long calendarId, long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
      Returns the calendars before and after the current calendar in the ordered set of calendars that the user has permission to view where groupId = ? and calendarResourceId = ?.
      Parameters:
      calendarId - the primary key of the current calendar
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar
      Throws:
      NoSuchCalendarException - if a calendar with the primary key could not be found
    • removeByG_C

      void removeByG_C(long groupId, long calendarResourceId)
      Removes all the calendars where groupId = ? and calendarResourceId = ? from the database.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
    • countByG_C

      int countByG_C(long groupId, long calendarResourceId)
      Returns the number of calendars where groupId = ? and calendarResourceId = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      Returns:
      the number of matching calendars
    • filterCountByG_C

      int filterCountByG_C(long groupId, long calendarResourceId)
      Returns the number of calendars that the user has permission to view where groupId = ? and calendarResourceId = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      Returns:
      the number of matching calendars that the user has permission to view
    • findByG_C_D

      List<Calendar> findByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
      Returns all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      Returns:
      the matching calendars
    • findByG_C_D

      List<Calendar> findByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, int start, int end)
      Returns a range of all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.

      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 CalendarModelImpl.

      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      Returns:
      the range of matching calendars
    • findByG_C_D

      List<Calendar> findByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns an ordered range of all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.

      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 CalendarModelImpl.

      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching calendars
    • findByG_C_D

      List<Calendar> findByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.

      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 CalendarModelImpl.

      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (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 calendars
    • findByG_C_D_First

      Calendar findByG_C_D_First(long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
      Returns the first calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar
      Throws:
      NoSuchCalendarException - if a matching calendar could not be found
    • fetchByG_C_D_First

      Calendar fetchByG_C_D_First(long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns the first calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar, or null if a matching calendar could not be found
    • findByG_C_D_Last

      Calendar findByG_C_D_Last(long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
      Returns the last calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar
      Throws:
      NoSuchCalendarException - if a matching calendar could not be found
    • fetchByG_C_D_Last

      Calendar fetchByG_C_D_Last(long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns the last calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar, or null if a matching calendar could not be found
    • findByG_C_D_PrevAndNext

      Calendar[] findByG_C_D_PrevAndNext(long calendarId, long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
      Returns the calendars before and after the current calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
      Parameters:
      calendarId - the primary key of the current calendar
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar
      Throws:
      NoSuchCalendarException - if a calendar with the primary key could not be found
    • filterFindByG_C_D

      List<Calendar> filterFindByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
      Returns all the calendars that the user has permission to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      Returns:
      the matching calendars that the user has permission to view
    • filterFindByG_C_D

      List<Calendar> filterFindByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, int start, int end)
      Returns a range of all the calendars that the user has permission to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.

      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 CalendarModelImpl.

      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      Returns:
      the range of matching calendars that the user has permission to view
    • filterFindByG_C_D

      List<Calendar> filterFindByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns an ordered range of all the calendars that the user has permissions to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.

      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 CalendarModelImpl.

      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching calendars that the user has permission to view
    • filterFindByG_C_D_PrevAndNext

      Calendar[] filterFindByG_C_D_PrevAndNext(long calendarId, long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
      Returns the calendars before and after the current calendar in the ordered set of calendars that the user has permission to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
      Parameters:
      calendarId - the primary key of the current calendar
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar
      Throws:
      NoSuchCalendarException - if a calendar with the primary key could not be found
    • removeByG_C_D

      void removeByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
      Removes all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ? from the database.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
    • countByG_C_D

      int countByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
      Returns the number of calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      Returns:
      the number of matching calendars
    • filterCountByG_C_D

      int filterCountByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
      Returns the number of calendars that the user has permission to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
      Parameters:
      groupId - the group ID
      calendarResourceId - the calendar resource ID
      defaultCalendar - the default calendar
      Returns:
      the number of matching calendars that the user has permission to view
    • cacheResult

      void cacheResult(Calendar calendar)
      Caches the calendar in the entity cache if it is enabled.
      Parameters:
      calendar - the calendar
    • cacheResult

      void cacheResult(List<Calendar> calendars)
      Caches the calendars in the entity cache if it is enabled.
      Parameters:
      calendars - the calendars
    • create

      Calendar create(long calendarId)
      Creates a new calendar with the primary key. Does not add the calendar to the database.
      Parameters:
      calendarId - the primary key for the new calendar
      Returns:
      the new calendar
    • remove

      Calendar remove(long calendarId) throws NoSuchCalendarException
      Removes the calendar with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      calendarId - the primary key of the calendar
      Returns:
      the calendar that was removed
      Throws:
      NoSuchCalendarException - if a calendar with the primary key could not be found
    • updateImpl

      Calendar updateImpl(Calendar calendar)
    • findByPrimaryKey

      Calendar findByPrimaryKey(long calendarId) throws NoSuchCalendarException
      Returns the calendar with the primary key or throws a NoSuchCalendarException if it could not be found.
      Parameters:
      calendarId - the primary key of the calendar
      Returns:
      the calendar
      Throws:
      NoSuchCalendarException - if a calendar with the primary key could not be found
    • fetchByPrimaryKey

      Calendar fetchByPrimaryKey(long calendarId)
      Returns the calendar with the primary key or returns null if it could not be found.
      Parameters:
      calendarId - the primary key of the calendar
      Returns:
      the calendar, or null if a calendar with the primary key could not be found
    • findAll

      List<Calendar> findAll()
      Returns all the calendars.
      Returns:
      the calendars
    • findAll

      List<Calendar> findAll(int start, int end)
      Returns a range of all the calendars.

      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 CalendarModelImpl.

      Parameters:
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      Returns:
      the range of calendars
    • findAll

      List<Calendar> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
      Returns an ordered range of all the calendars.

      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 CalendarModelImpl.

      Parameters:
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of calendars
    • findAll

      List<Calendar> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the calendars.

      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 CalendarModelImpl.

      Parameters:
      start - the lower bound of the range of calendars
      end - the upper bound of the range of calendars (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of calendars
    • removeAll

      void removeAll()
      Removes all the calendars from the database.
    • countAll

      int countAll()
      Returns the number of calendars.
      Returns:
      the number of calendars