Interface CalendarResourcePersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CalendarResource calendarResource)
    Caches the calendar resource in the entity cache if it is enabled.
    void
    cacheResult(List<CalendarResource> calendarResources)
    Caches the calendar resources in the entity cache if it is enabled.
    int
    Returns the number of calendar resources.
    int
    countByActive(boolean active)
    Returns the number of calendar resources where active = ?.
    int
    countByC_C(long classNameId, long classPK)
    Returns the number of calendar resources where classNameId = ? and classPK = ?.
    int
    countByC_LikeC_A(long companyId, String code, boolean active)
    Returns the number of calendar resources where companyId = ? and code LIKE ? and active = ?.
    int
    countByG_A(long groupId, boolean active)
    Returns the number of calendar resources where groupId = ? and active = ?.
    int
    countByG_C(long[] groupIds, String code)
    Returns the number of calendar resources where groupId = any ? and code = ?.
    int
    countByG_C(long groupId, String code)
    Returns the number of calendar resources where groupId = ? and code = ?.
    int
    countByGroupId(long groupId)
    Returns the number of calendar resources where groupId = ?.
    int
    Returns the number of calendar resources where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of calendar resources where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of calendar resources where uuid = ? and groupId = ?.
    create(long calendarResourceId)
    Creates a new calendar resource with the primary key.
    fetchByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the first calendar resource in the ordered set where active = ?.
    fetchByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the last calendar resource in the ordered set where active = ?.
    fetchByC_C(long classNameId, long classPK)
    Returns the calendar resource where classNameId = ? and classPK = ? or returns null if it could not be found.
    fetchByC_C(long classNameId, long classPK, boolean useFinderCache)
    Returns the calendar resource where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_LikeC_A_First(long companyId, String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the first calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
    fetchByC_LikeC_A_Last(long companyId, String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the last calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
    fetchByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the first calendar resource in the ordered set where groupId = ? and active = ?.
    fetchByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the last calendar resource in the ordered set where groupId = ? and active = ?.
    fetchByG_C_First(long groupId, String code, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the first calendar resource in the ordered set where groupId = ? and code = ?.
    fetchByG_C_Last(long groupId, String code, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the last calendar resource in the ordered set where groupId = ? and code = ?.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the first calendar resource in the ordered set where groupId = ?.
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the last calendar resource in the ordered set where groupId = ?.
    fetchByPrimaryKey(long calendarResourceId)
    Returns the calendar resource 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<CalendarResource> orderByComparator)
    Returns the first calendar resource in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the last calendar resource in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the first calendar resource in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the calendar resource where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the calendar resource 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<CalendarResource> orderByComparator)
    Returns the last calendar resource in the ordered set where uuid = ?.
    int
    filterCountByG_A(long groupId, boolean active)
    Returns the number of calendar resources that the user has permission to view where groupId = ? and active = ?.
    int
    filterCountByG_C(long[] groupIds, String code)
    Returns the number of calendar resources that the user has permission to view where groupId = any ? and code = ?.
    int
    filterCountByG_C(long groupId, String code)
    Returns the number of calendar resources that the user has permission to view where groupId = ? and code = ?.
    int
    filterCountByGroupId(long groupId)
    Returns the number of calendar resources that the user has permission to view where groupId = ?.
    filterFindByG_A(long groupId, boolean active)
    Returns all the calendar resources that the user has permission to view where groupId = ? and active = ?.
    filterFindByG_A(long groupId, boolean active, int start, int end)
    Returns a range of all the calendar resources that the user has permission to view where groupId = ? and active = ?.
    filterFindByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns an ordered range of all the calendar resources that the user has permissions to view where groupId = ? and active = ?.
    filterFindByG_A_PrevAndNext(long calendarResourceId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the calendar resources before and after the current calendar resource in the ordered set of calendar resources that the user has permission to view where groupId = ? and active = ?.
    filterFindByG_C(long[] groupIds, String code)
    Returns all the calendar resources that the user has permission to view where groupId = any ? and code = ?.
    filterFindByG_C(long[] groupIds, String code, int start, int end)
    Returns a range of all the calendar resources that the user has permission to view where groupId = any ? and code = ?.
    filterFindByG_C(long[] groupIds, String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns an ordered range of all the calendar resources that the user has permission to view where groupId = any ? and code = ?.
    filterFindByG_C(long groupId, String code)
    Returns all the calendar resources that the user has permission to view where groupId = ? and code = ?.
    filterFindByG_C(long groupId, String code, int start, int end)
    Returns a range of all the calendar resources that the user has permission to view where groupId = ? and code = ?.
    filterFindByG_C(long groupId, String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns an ordered range of all the calendar resources that the user has permissions to view where groupId = ? and code = ?.
    filterFindByG_C_PrevAndNext(long calendarResourceId, long groupId, String code, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the calendar resources before and after the current calendar resource in the ordered set of calendar resources that the user has permission to view where groupId = ? and code = ?.
    filterFindByGroupId(long groupId)
    Returns all the calendar resources that the user has permission to view where groupId = ?.
    filterFindByGroupId(long groupId, int start, int end)
    Returns a range of all the calendar resources that the user has permission to view where groupId = ?.
    filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns an ordered range of all the calendar resources that the user has permissions to view where groupId = ?.
    filterFindByGroupId_PrevAndNext(long calendarResourceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the calendar resources before and after the current calendar resource in the ordered set of calendar resources that the user has permission to view where groupId = ?.
    Returns all the calendar resources.
    findAll(int start, int end)
    Returns a range of all the calendar resources.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns an ordered range of all the calendar resources.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendar resources.
    findByActive(boolean active)
    Returns all the calendar resources where active = ?.
    findByActive(boolean active, int start, int end)
    Returns a range of all the calendar resources where active = ?.
    findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns an ordered range of all the calendar resources where active = ?.
    findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendar resources where active = ?.
    findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the first calendar resource in the ordered set where active = ?.
    findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the last calendar resource in the ordered set where active = ?.
    findByActive_PrevAndNext(long calendarResourceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the calendar resources before and after the current calendar resource in the ordered set where active = ?.
    findByC_C(long classNameId, long classPK)
    Returns the calendar resource where classNameId = ? and classPK = ? or throws a NoSuchResourceException if it could not be found.
    findByC_LikeC_A(long companyId, String code, boolean active)
    Returns all the calendar resources where companyId = ? and code LIKE ? and active = ?.
    findByC_LikeC_A(long companyId, String code, boolean active, int start, int end)
    Returns a range of all the calendar resources where companyId = ? and code LIKE ? and active = ?.
    findByC_LikeC_A(long companyId, String code, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns an ordered range of all the calendar resources where companyId = ? and code LIKE ? and active = ?.
    findByC_LikeC_A(long companyId, String code, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendar resources where companyId = ? and code LIKE ? and active = ?.
    findByC_LikeC_A_First(long companyId, String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the first calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
    findByC_LikeC_A_Last(long companyId, String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the last calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
    findByC_LikeC_A_PrevAndNext(long calendarResourceId, long companyId, String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the calendar resources before and after the current calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
    findByG_A(long groupId, boolean active)
    Returns all the calendar resources where groupId = ? and active = ?.
    findByG_A(long groupId, boolean active, int start, int end)
    Returns a range of all the calendar resources where groupId = ? and active = ?.
    findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns an ordered range of all the calendar resources where groupId = ? and active = ?.
    findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendar resources where groupId = ? and active = ?.
    findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the first calendar resource in the ordered set where groupId = ? and active = ?.
    findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the last calendar resource in the ordered set where groupId = ? and active = ?.
    findByG_A_PrevAndNext(long calendarResourceId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the calendar resources before and after the current calendar resource in the ordered set where groupId = ? and active = ?.
    findByG_C(long[] groupIds, String code)
    Returns all the calendar resources where groupId = any ? and code = ?.
    findByG_C(long[] groupIds, String code, int start, int end)
    Returns a range of all the calendar resources where groupId = any ? and code = ?.
    findByG_C(long[] groupIds, String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns an ordered range of all the calendar resources where groupId = any ? and code = ?.
    findByG_C(long[] groupIds, String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendar resources where groupId = ? and code = ?, optionally using the finder cache.
    findByG_C(long groupId, String code)
    Returns all the calendar resources where groupId = ? and code = ?.
    findByG_C(long groupId, String code, int start, int end)
    Returns a range of all the calendar resources where groupId = ? and code = ?.
    findByG_C(long groupId, String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns an ordered range of all the calendar resources where groupId = ? and code = ?.
    findByG_C(long groupId, String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendar resources where groupId = ? and code = ?.
    findByG_C_First(long groupId, String code, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the first calendar resource in the ordered set where groupId = ? and code = ?.
    findByG_C_Last(long groupId, String code, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the last calendar resource in the ordered set where groupId = ? and code = ?.
    findByG_C_PrevAndNext(long calendarResourceId, long groupId, String code, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the calendar resources before and after the current calendar resource in the ordered set where groupId = ? and code = ?.
    findByGroupId(long groupId)
    Returns all the calendar resources where groupId = ?.
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the calendar resources where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns an ordered range of all the calendar resources where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendar resources where groupId = ?.
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the first calendar resource in the ordered set where groupId = ?.
    findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the last calendar resource in the ordered set where groupId = ?.
    findByGroupId_PrevAndNext(long calendarResourceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the calendar resources before and after the current calendar resource in the ordered set where groupId = ?.
    findByPrimaryKey(long calendarResourceId)
    Returns the calendar resource with the primary key or throws a NoSuchResourceException if it could not be found.
    Returns all the calendar resources where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the calendar resources where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns an ordered range of all the calendar resources where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendar resources where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the calendar resources where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the calendar resources where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns an ordered range of all the calendar resources where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the calendar resources where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the first calendar resource in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the last calendar resource in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long calendarResourceId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the calendar resources before and after the current calendar resource in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the first calendar resource in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the calendar resource where uuid = ? and groupId = ? or throws a NoSuchResourceException if it could not be found.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the last calendar resource in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long calendarResourceId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
    Returns the calendar resources before and after the current calendar resource in the ordered set where uuid = ?.
    remove(long calendarResourceId)
    Removes the calendar resource with the primary key from the database.
    void
    Removes all the calendar resources from the database.
    void
    removeByActive(boolean active)
    Removes all the calendar resources where active = ? from the database.
    removeByC_C(long classNameId, long classPK)
    Removes the calendar resource where classNameId = ? and classPK = ? from the database.
    void
    removeByC_LikeC_A(long companyId, String code, boolean active)
    Removes all the calendar resources where companyId = ? and code LIKE ? and active = ? from the database.
    void
    removeByG_A(long groupId, boolean active)
    Removes all the calendar resources where groupId = ? and active = ? from the database.
    void
    removeByG_C(long groupId, String code)
    Removes all the calendar resources where groupId = ? and code = ? from the database.
    void
    removeByGroupId(long groupId)
    Removes all the calendar resources where groupId = ? from the database.
    void
    Removes all the calendar resources where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the calendar resources where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the calendar resource where uuid = ? and groupId = ? from the database.
    updateImpl(CalendarResource calendarResource)
     

    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<CalendarResource> findByUuid(String uuid)
      Returns all the calendar resources where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching calendar resources
    • findByUuid

      List<CalendarResource> findByUuid(String uuid, int start, int end)
      Returns a range of all the calendar resources 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 CalendarResourceModelImpl.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      List<CalendarResource> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the calendar resources 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 CalendarResourceModelImpl.

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

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

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

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

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

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

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

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

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

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

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

      List<CalendarResource> findByGroupId(long groupId)
      Returns all the calendar resources where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching calendar resources
    • findByGroupId

      List<CalendarResource> findByGroupId(long groupId, int start, int end)
      Returns a range of all the calendar resources where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (not inclusive)
      Returns:
      the range of matching calendar resources
    • findByGroupId

      List<CalendarResource> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
      Returns an ordered range of all the calendar resources where groupId = ?.

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

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

      List<CalendarResource> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the calendar resources where groupId = ?.

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

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

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

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

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

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

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

      List<CalendarResource> filterFindByGroupId(long groupId)
      Returns all the calendar resources that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching calendar resources that the user has permission to view
    • filterFindByGroupId

      List<CalendarResource> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the calendar resources that the user has permission to view where groupId = ?.

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

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

      List<CalendarResource> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
      Returns an ordered range of all the calendar resources that the user has permissions to view where groupId = ?.

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

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

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

      void removeByGroupId(long groupId)
      Removes all the calendar resources where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      int countByGroupId(long groupId)
      Returns the number of calendar resources where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching calendar resources
    • filterCountByGroupId

      int filterCountByGroupId(long groupId)
      Returns the number of calendar resources that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching calendar resources that the user has permission to view
    • findByActive

      List<CalendarResource> findByActive(boolean active)
      Returns all the calendar resources where active = ?.
      Parameters:
      active - the active
      Returns:
      the matching calendar resources
    • findByActive

      List<CalendarResource> findByActive(boolean active, int start, int end)
      Returns a range of all the calendar resources where active = ?.

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

      Parameters:
      active - the active
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (not inclusive)
      Returns:
      the range of matching calendar resources
    • findByActive

      List<CalendarResource> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
      Returns an ordered range of all the calendar resources where active = ?.

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

      Parameters:
      active - the active
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching calendar resources
    • findByActive

      List<CalendarResource> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the calendar resources where active = ?.

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

      Parameters:
      active - the active
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (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 resources
    • findByActive_First

      CalendarResource findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
      Returns the first calendar resource in the ordered set where active = ?.
      Parameters:
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar resource
      Throws:
      NoSuchResourceException - if a matching calendar resource could not be found
    • fetchByActive_First

      CalendarResource fetchByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
      Returns the first calendar resource in the ordered set where active = ?.
      Parameters:
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar resource, or null if a matching calendar resource could not be found
    • findByActive_Last

      CalendarResource findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
      Returns the last calendar resource in the ordered set where active = ?.
      Parameters:
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar resource
      Throws:
      NoSuchResourceException - if a matching calendar resource could not be found
    • fetchByActive_Last

      CalendarResource fetchByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
      Returns the last calendar resource in the ordered set where active = ?.
      Parameters:
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar resource, or null if a matching calendar resource could not be found
    • findByActive_PrevAndNext

      CalendarResource[] findByActive_PrevAndNext(long calendarResourceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
      Returns the calendar resources before and after the current calendar resource in the ordered set where active = ?.
      Parameters:
      calendarResourceId - the primary key of the current calendar resource
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar resource
      Throws:
      NoSuchResourceException - if a calendar resource with the primary key could not be found
    • removeByActive

      void removeByActive(boolean active)
      Removes all the calendar resources where active = ? from the database.
      Parameters:
      active - the active
    • countByActive

      int countByActive(boolean active)
      Returns the number of calendar resources where active = ?.
      Parameters:
      active - the active
      Returns:
      the number of matching calendar resources
    • findByG_C

      List<CalendarResource> findByG_C(long groupId, String code)
      Returns all the calendar resources where groupId = ? and code = ?.
      Parameters:
      groupId - the group ID
      code - the code
      Returns:
      the matching calendar resources
    • findByG_C

      List<CalendarResource> findByG_C(long groupId, String code, int start, int end)
      Returns a range of all the calendar resources where groupId = ? and code = ?.

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

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

      List<CalendarResource> findByG_C(long groupId, String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
      Returns an ordered range of all the calendar resources where groupId = ? and code = ?.

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

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

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

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

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

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

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

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

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

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

      List<CalendarResource> filterFindByG_C(long groupId, String code)
      Returns all the calendar resources that the user has permission to view where groupId = ? and code = ?.
      Parameters:
      groupId - the group ID
      code - the code
      Returns:
      the matching calendar resources that the user has permission to view
    • filterFindByG_C

      List<CalendarResource> filterFindByG_C(long groupId, String code, int start, int end)
      Returns a range of all the calendar resources that the user has permission to view where groupId = ? and code = ?.

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

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

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

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

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

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

      List<CalendarResource> filterFindByG_C(long[] groupIds, String code)
      Returns all the calendar resources that the user has permission to view where groupId = any ? and code = ?.
      Parameters:
      groupIds - the group IDs
      code - the code
      Returns:
      the matching calendar resources that the user has permission to view
    • filterFindByG_C

      List<CalendarResource> filterFindByG_C(long[] groupIds, String code, int start, int end)
      Returns a range of all the calendar resources that the user has permission to view where groupId = any ? and code = ?.

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

      Parameters:
      groupIds - the group IDs
      code - the code
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (not inclusive)
      Returns:
      the range of matching calendar resources that the user has permission to view
    • filterFindByG_C

      List<CalendarResource> filterFindByG_C(long[] groupIds, String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
      Returns an ordered range of all the calendar resources that the user has permission to view where groupId = any ? and code = ?.

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

      Parameters:
      groupIds - the group IDs
      code - the code
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching calendar resources that the user has permission to view
    • findByG_C

      List<CalendarResource> findByG_C(long[] groupIds, String code)
      Returns all the calendar resources where groupId = any ? and code = ?.

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

      Parameters:
      groupIds - the group IDs
      code - the code
      Returns:
      the matching calendar resources
    • findByG_C

      List<CalendarResource> findByG_C(long[] groupIds, String code, int start, int end)
      Returns a range of all the calendar resources where groupId = any ? and code = ?.

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

      Parameters:
      groupIds - the group IDs
      code - the code
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (not inclusive)
      Returns:
      the range of matching calendar resources
    • findByG_C

      List<CalendarResource> findByG_C(long[] groupIds, String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
      Returns an ordered range of all the calendar resources where groupId = any ? and code = ?.

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

      Parameters:
      groupIds - the group IDs
      code - the code
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching calendar resources
    • findByG_C

      List<CalendarResource> findByG_C(long[] groupIds, String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the calendar resources where groupId = ? and code = ?, optionally using the finder cache.

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

      Parameters:
      groupIds - the group IDs
      code - the code
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (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 resources
    • removeByG_C

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

      int countByG_C(long groupId, String code)
      Returns the number of calendar resources where groupId = ? and code = ?.
      Parameters:
      groupId - the group ID
      code - the code
      Returns:
      the number of matching calendar resources
    • countByG_C

      int countByG_C(long[] groupIds, String code)
      Returns the number of calendar resources where groupId = any ? and code = ?.
      Parameters:
      groupIds - the group IDs
      code - the code
      Returns:
      the number of matching calendar resources
    • filterCountByG_C

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

      int filterCountByG_C(long[] groupIds, String code)
      Returns the number of calendar resources that the user has permission to view where groupId = any ? and code = ?.
      Parameters:
      groupIds - the group IDs
      code - the code
      Returns:
      the number of matching calendar resources that the user has permission to view
    • findByG_A

      List<CalendarResource> findByG_A(long groupId, boolean active)
      Returns all the calendar resources where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      Returns:
      the matching calendar resources
    • findByG_A

      List<CalendarResource> findByG_A(long groupId, boolean active, int start, int end)
      Returns a range of all the calendar resources where groupId = ? and active = ?.

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

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (not inclusive)
      Returns:
      the range of matching calendar resources
    • findByG_A

      List<CalendarResource> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
      Returns an ordered range of all the calendar resources where groupId = ? and active = ?.

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

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

      List<CalendarResource> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the calendar resources where groupId = ? and active = ?.

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

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (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 resources
    • findByG_A_First

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

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

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

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

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

      List<CalendarResource> filterFindByG_A(long groupId, boolean active)
      Returns all the calendar resources that the user has permission to view where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      Returns:
      the matching calendar resources that the user has permission to view
    • filterFindByG_A

      List<CalendarResource> filterFindByG_A(long groupId, boolean active, int start, int end)
      Returns a range of all the calendar resources that the user has permission to view where groupId = ? and active = ?.

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

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

      List<CalendarResource> filterFindByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
      Returns an ordered range of all the calendar resources that the user has permissions to view where groupId = ? and active = ?.

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

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

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

      void removeByG_A(long groupId, boolean active)
      Removes all the calendar resources where groupId = ? and active = ? from the database.
      Parameters:
      groupId - the group ID
      active - the active
    • countByG_A

      int countByG_A(long groupId, boolean active)
      Returns the number of calendar resources where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      Returns:
      the number of matching calendar resources
    • filterCountByG_A

      int filterCountByG_A(long groupId, boolean active)
      Returns the number of calendar resources that the user has permission to view where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      Returns:
      the number of matching calendar resources that the user has permission to view
    • findByC_C

      CalendarResource findByC_C(long classNameId, long classPK) throws NoSuchResourceException
      Returns the calendar resource where classNameId = ? and classPK = ? or throws a NoSuchResourceException if it could not be found.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching calendar resource
      Throws:
      NoSuchResourceException - if a matching calendar resource could not be found
    • fetchByC_C

      CalendarResource fetchByC_C(long classNameId, long classPK)
      Returns the calendar resource where classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching calendar resource, or null if a matching calendar resource could not be found
    • fetchByC_C

      CalendarResource fetchByC_C(long classNameId, long classPK, boolean useFinderCache)
      Returns the calendar resource where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching calendar resource, or null if a matching calendar resource could not be found
    • removeByC_C

      CalendarResource removeByC_C(long classNameId, long classPK) throws NoSuchResourceException
      Removes the calendar resource where classNameId = ? and classPK = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the calendar resource that was removed
      Throws:
      NoSuchResourceException
    • countByC_C

      int countByC_C(long classNameId, long classPK)
      Returns the number of calendar resources where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching calendar resources
    • findByC_LikeC_A

      List<CalendarResource> findByC_LikeC_A(long companyId, String code, boolean active)
      Returns all the calendar resources where companyId = ? and code LIKE ? and active = ?.
      Parameters:
      companyId - the company ID
      code - the code
      active - the active
      Returns:
      the matching calendar resources
    • findByC_LikeC_A

      List<CalendarResource> findByC_LikeC_A(long companyId, String code, boolean active, int start, int end)
      Returns a range of all the calendar resources where companyId = ? and code LIKE ? and active = ?.

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

      Parameters:
      companyId - the company ID
      code - the code
      active - the active
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (not inclusive)
      Returns:
      the range of matching calendar resources
    • findByC_LikeC_A

      List<CalendarResource> findByC_LikeC_A(long companyId, String code, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
      Returns an ordered range of all the calendar resources where companyId = ? and code LIKE ? and active = ?.

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

      Parameters:
      companyId - the company ID
      code - the code
      active - the active
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching calendar resources
    • findByC_LikeC_A

      List<CalendarResource> findByC_LikeC_A(long companyId, String code, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the calendar resources where companyId = ? and code LIKE ? and active = ?.

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

      Parameters:
      companyId - the company ID
      code - the code
      active - the active
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (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 resources
    • findByC_LikeC_A_First

      CalendarResource findByC_LikeC_A_First(long companyId, String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
      Returns the first calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
      Parameters:
      companyId - the company ID
      code - the code
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar resource
      Throws:
      NoSuchResourceException - if a matching calendar resource could not be found
    • fetchByC_LikeC_A_First

      CalendarResource fetchByC_LikeC_A_First(long companyId, String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
      Returns the first calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
      Parameters:
      companyId - the company ID
      code - the code
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching calendar resource, or null if a matching calendar resource could not be found
    • findByC_LikeC_A_Last

      CalendarResource findByC_LikeC_A_Last(long companyId, String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
      Returns the last calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
      Parameters:
      companyId - the company ID
      code - the code
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar resource
      Throws:
      NoSuchResourceException - if a matching calendar resource could not be found
    • fetchByC_LikeC_A_Last

      CalendarResource fetchByC_LikeC_A_Last(long companyId, String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
      Returns the last calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
      Parameters:
      companyId - the company ID
      code - the code
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching calendar resource, or null if a matching calendar resource could not be found
    • findByC_LikeC_A_PrevAndNext

      CalendarResource[] findByC_LikeC_A_PrevAndNext(long calendarResourceId, long companyId, String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
      Returns the calendar resources before and after the current calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
      Parameters:
      calendarResourceId - the primary key of the current calendar resource
      companyId - the company ID
      code - the code
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next calendar resource
      Throws:
      NoSuchResourceException - if a calendar resource with the primary key could not be found
    • removeByC_LikeC_A

      void removeByC_LikeC_A(long companyId, String code, boolean active)
      Removes all the calendar resources where companyId = ? and code LIKE ? and active = ? from the database.
      Parameters:
      companyId - the company ID
      code - the code
      active - the active
    • countByC_LikeC_A

      int countByC_LikeC_A(long companyId, String code, boolean active)
      Returns the number of calendar resources where companyId = ? and code LIKE ? and active = ?.
      Parameters:
      companyId - the company ID
      code - the code
      active - the active
      Returns:
      the number of matching calendar resources
    • cacheResult

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

      void cacheResult(List<CalendarResource> calendarResources)
      Caches the calendar resources in the entity cache if it is enabled.
      Parameters:
      calendarResources - the calendar resources
    • create

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

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

      CalendarResource updateImpl(CalendarResource calendarResource)
    • findByPrimaryKey

      CalendarResource findByPrimaryKey(long calendarResourceId) throws NoSuchResourceException
      Returns the calendar resource with the primary key or throws a NoSuchResourceException if it could not be found.
      Parameters:
      calendarResourceId - the primary key of the calendar resource
      Returns:
      the calendar resource
      Throws:
      NoSuchResourceException - if a calendar resource with the primary key could not be found
    • fetchByPrimaryKey

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

      Returns all the calendar resources.
      Returns:
      the calendar resources
    • findAll

      List<CalendarResource> findAll(int start, int end)
      Returns a range of all the calendar resources.

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

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

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

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

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

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

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

      Parameters:
      start - the lower bound of the range of calendar resources
      end - the upper bound of the range of calendar resources (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 resources
    • removeAll

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

      int countAll()
      Returns the number of calendar resources.
      Returns:
      the number of calendar resources