Interface COREntryRelPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<COREntryRel>

@ProviderType public interface COREntryRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<COREntryRel>
The persistence interface for the cor entry rel service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(COREntryRel corEntryRel)
    Caches the cor entry rel in the entity cache if it is enabled.
    void
    cacheResult(List<COREntryRel> corEntryRels)
    Caches the cor entry rels in the entity cache if it is enabled.
    int
    Returns the number of cor entry rels.
    int
    countByC_C(long classNameId, long COREntryId)
    Returns the number of cor entry rels where classNameId = ? and COREntryId = ?.
    int
    countByC_C_C(long classNameId, long classPK, long COREntryId)
    Returns the number of cor entry rels where classNameId = ? and classPK = ? and COREntryId = ?.
    int
    countByCOREntryId(long COREntryId)
    Returns the number of cor entry rels where COREntryId = ?.
    create(long COREntryRelId)
    Creates a new cor entry rel with the primary key.
    fetchByC_C_C(long classNameId, long classPK, long COREntryId)
    Returns the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? or returns null if it could not be found.
    fetchByC_C_C(long classNameId, long classPK, long COREntryId, boolean useFinderCache)
    Returns the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_C_First(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the first cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
    fetchByC_C_Last(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the last cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
    fetchByCOREntryId_First(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the first cor entry rel in the ordered set where COREntryId = ?.
    fetchByCOREntryId_Last(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the last cor entry rel in the ordered set where COREntryId = ?.
    fetchByPrimaryKey(long COREntryRelId)
    Returns the cor entry rel with the primary key or returns null if it could not be found.
    Returns all the cor entry rels.
    findAll(int start, int end)
    Returns a range of all the cor entry rels.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns an ordered range of all the cor entry rels.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cor entry rels.
    findByC_C(long classNameId, long COREntryId)
    Returns all the cor entry rels where classNameId = ? and COREntryId = ?.
    findByC_C(long classNameId, long COREntryId, int start, int end)
    Returns a range of all the cor entry rels where classNameId = ? and COREntryId = ?.
    findByC_C(long classNameId, long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns an ordered range of all the cor entry rels where classNameId = ? and COREntryId = ?.
    findByC_C(long classNameId, long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cor entry rels where classNameId = ? and COREntryId = ?.
    findByC_C_C(long classNameId, long classPK, long COREntryId)
    Returns the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? or throws a NoSuchCOREntryRelException if it could not be found.
    findByC_C_First(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the first cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
    findByC_C_Last(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the last cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
    findByC_C_PrevAndNext(long COREntryRelId, long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the cor entry rels before and after the current cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
    findByCOREntryId(long COREntryId)
    Returns all the cor entry rels where COREntryId = ?.
    findByCOREntryId(long COREntryId, int start, int end)
    Returns a range of all the cor entry rels where COREntryId = ?.
    findByCOREntryId(long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns an ordered range of all the cor entry rels where COREntryId = ?.
    findByCOREntryId(long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cor entry rels where COREntryId = ?.
    findByCOREntryId_First(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the first cor entry rel in the ordered set where COREntryId = ?.
    findByCOREntryId_Last(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the last cor entry rel in the ordered set where COREntryId = ?.
    findByCOREntryId_PrevAndNext(long COREntryRelId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the cor entry rels before and after the current cor entry rel in the ordered set where COREntryId = ?.
    findByPrimaryKey(long COREntryRelId)
    Returns the cor entry rel with the primary key or throws a NoSuchCOREntryRelException if it could not be found.
    remove(long COREntryRelId)
    Removes the cor entry rel with the primary key from the database.
    void
    Removes all the cor entry rels from the database.
    void
    removeByC_C(long classNameId, long COREntryId)
    Removes all the cor entry rels where classNameId = ? and COREntryId = ? from the database.
    removeByC_C_C(long classNameId, long classPK, long COREntryId)
    Removes the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? from the database.
    void
    removeByCOREntryId(long COREntryId)
    Removes all the cor entry rels where COREntryId = ? from the database.
    updateImpl(COREntryRel corEntryRel)
     

    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
  • Method Details

    • findByCOREntryId

      List<COREntryRel> findByCOREntryId(long COREntryId)
      Returns all the cor entry rels where COREntryId = ?.
      Parameters:
      COREntryId - the cor entry ID
      Returns:
      the matching cor entry rels
    • findByCOREntryId

      List<COREntryRel> findByCOREntryId(long COREntryId, int start, int end)
      Returns a range of all the cor entry rels where COREntryId = ?.

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

      Parameters:
      COREntryId - the cor entry ID
      start - the lower bound of the range of cor entry rels
      end - the upper bound of the range of cor entry rels (not inclusive)
      Returns:
      the range of matching cor entry rels
    • findByCOREntryId

      List<COREntryRel> findByCOREntryId(long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
      Returns an ordered range of all the cor entry rels where COREntryId = ?.

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

      Parameters:
      COREntryId - the cor entry ID
      start - the lower bound of the range of cor entry rels
      end - the upper bound of the range of cor entry rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cor entry rels
    • findByCOREntryId

      List<COREntryRel> findByCOREntryId(long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cor entry rels where COREntryId = ?.

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

      Parameters:
      COREntryId - the cor entry ID
      start - the lower bound of the range of cor entry rels
      end - the upper bound of the range of cor entry rels (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 cor entry rels
    • findByCOREntryId_First

      COREntryRel findByCOREntryId_First(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
      Returns the first cor entry rel in the ordered set where COREntryId = ?.
      Parameters:
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cor entry rel
      Throws:
      NoSuchCOREntryRelException - if a matching cor entry rel could not be found
    • fetchByCOREntryId_First

      COREntryRel fetchByCOREntryId_First(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
      Returns the first cor entry rel in the ordered set where COREntryId = ?.
      Parameters:
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cor entry rel, or null if a matching cor entry rel could not be found
    • findByCOREntryId_Last

      COREntryRel findByCOREntryId_Last(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
      Returns the last cor entry rel in the ordered set where COREntryId = ?.
      Parameters:
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cor entry rel
      Throws:
      NoSuchCOREntryRelException - if a matching cor entry rel could not be found
    • fetchByCOREntryId_Last

      COREntryRel fetchByCOREntryId_Last(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
      Returns the last cor entry rel in the ordered set where COREntryId = ?.
      Parameters:
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cor entry rel, or null if a matching cor entry rel could not be found
    • findByCOREntryId_PrevAndNext

      COREntryRel[] findByCOREntryId_PrevAndNext(long COREntryRelId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
      Returns the cor entry rels before and after the current cor entry rel in the ordered set where COREntryId = ?.
      Parameters:
      COREntryRelId - the primary key of the current cor entry rel
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cor entry rel
      Throws:
      NoSuchCOREntryRelException - if a cor entry rel with the primary key could not be found
    • removeByCOREntryId

      void removeByCOREntryId(long COREntryId)
      Removes all the cor entry rels where COREntryId = ? from the database.
      Parameters:
      COREntryId - the cor entry ID
    • countByCOREntryId

      int countByCOREntryId(long COREntryId)
      Returns the number of cor entry rels where COREntryId = ?.
      Parameters:
      COREntryId - the cor entry ID
      Returns:
      the number of matching cor entry rels
    • findByC_C

      List<COREntryRel> findByC_C(long classNameId, long COREntryId)
      Returns all the cor entry rels where classNameId = ? and COREntryId = ?.
      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
      Returns:
      the matching cor entry rels
    • findByC_C

      List<COREntryRel> findByC_C(long classNameId, long COREntryId, int start, int end)
      Returns a range of all the cor entry rels where classNameId = ? and COREntryId = ?.

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

      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
      start - the lower bound of the range of cor entry rels
      end - the upper bound of the range of cor entry rels (not inclusive)
      Returns:
      the range of matching cor entry rels
    • findByC_C

      List<COREntryRel> findByC_C(long classNameId, long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
      Returns an ordered range of all the cor entry rels where classNameId = ? and COREntryId = ?.

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

      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
      start - the lower bound of the range of cor entry rels
      end - the upper bound of the range of cor entry rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cor entry rels
    • findByC_C

      List<COREntryRel> findByC_C(long classNameId, long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cor entry rels where classNameId = ? and COREntryId = ?.

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

      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
      start - the lower bound of the range of cor entry rels
      end - the upper bound of the range of cor entry rels (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 cor entry rels
    • findByC_C_First

      COREntryRel findByC_C_First(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
      Returns the first cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cor entry rel
      Throws:
      NoSuchCOREntryRelException - if a matching cor entry rel could not be found
    • fetchByC_C_First

      COREntryRel fetchByC_C_First(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
      Returns the first cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cor entry rel, or null if a matching cor entry rel could not be found
    • findByC_C_Last

      COREntryRel findByC_C_Last(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
      Returns the last cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cor entry rel
      Throws:
      NoSuchCOREntryRelException - if a matching cor entry rel could not be found
    • fetchByC_C_Last

      COREntryRel fetchByC_C_Last(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
      Returns the last cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cor entry rel, or null if a matching cor entry rel could not be found
    • findByC_C_PrevAndNext

      COREntryRel[] findByC_C_PrevAndNext(long COREntryRelId, long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
      Returns the cor entry rels before and after the current cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
      Parameters:
      COREntryRelId - the primary key of the current cor entry rel
      classNameId - the class name ID
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cor entry rel
      Throws:
      NoSuchCOREntryRelException - if a cor entry rel with the primary key could not be found
    • removeByC_C

      void removeByC_C(long classNameId, long COREntryId)
      Removes all the cor entry rels where classNameId = ? and COREntryId = ? from the database.
      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
    • countByC_C

      int countByC_C(long classNameId, long COREntryId)
      Returns the number of cor entry rels where classNameId = ? and COREntryId = ?.
      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
      Returns:
      the number of matching cor entry rels
    • findByC_C_C

      COREntryRel findByC_C_C(long classNameId, long classPK, long COREntryId) throws NoSuchCOREntryRelException
      Returns the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? or throws a NoSuchCOREntryRelException if it could not be found.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      COREntryId - the cor entry ID
      Returns:
      the matching cor entry rel
      Throws:
      NoSuchCOREntryRelException - if a matching cor entry rel could not be found
    • fetchByC_C_C

      COREntryRel fetchByC_C_C(long classNameId, long classPK, long COREntryId)
      Returns the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      COREntryId - the cor entry ID
      Returns:
      the matching cor entry rel, or null if a matching cor entry rel could not be found
    • fetchByC_C_C

      COREntryRel fetchByC_C_C(long classNameId, long classPK, long COREntryId, boolean useFinderCache)
      Returns the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      COREntryId - the cor entry ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cor entry rel, or null if a matching cor entry rel could not be found
    • removeByC_C_C

      COREntryRel removeByC_C_C(long classNameId, long classPK, long COREntryId) throws NoSuchCOREntryRelException
      Removes the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      COREntryId - the cor entry ID
      Returns:
      the cor entry rel that was removed
      Throws:
      NoSuchCOREntryRelException
    • countByC_C_C

      int countByC_C_C(long classNameId, long classPK, long COREntryId)
      Returns the number of cor entry rels where classNameId = ? and classPK = ? and COREntryId = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      COREntryId - the cor entry ID
      Returns:
      the number of matching cor entry rels
    • cacheResult

      void cacheResult(COREntryRel corEntryRel)
      Caches the cor entry rel in the entity cache if it is enabled.
      Parameters:
      corEntryRel - the cor entry rel
    • cacheResult

      void cacheResult(List<COREntryRel> corEntryRels)
      Caches the cor entry rels in the entity cache if it is enabled.
      Parameters:
      corEntryRels - the cor entry rels
    • create

      COREntryRel create(long COREntryRelId)
      Creates a new cor entry rel with the primary key. Does not add the cor entry rel to the database.
      Parameters:
      COREntryRelId - the primary key for the new cor entry rel
      Returns:
      the new cor entry rel
    • remove

      COREntryRel remove(long COREntryRelId) throws NoSuchCOREntryRelException
      Removes the cor entry rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      COREntryRelId - the primary key of the cor entry rel
      Returns:
      the cor entry rel that was removed
      Throws:
      NoSuchCOREntryRelException - if a cor entry rel with the primary key could not be found
    • updateImpl

      COREntryRel updateImpl(COREntryRel corEntryRel)
    • findByPrimaryKey

      COREntryRel findByPrimaryKey(long COREntryRelId) throws NoSuchCOREntryRelException
      Returns the cor entry rel with the primary key or throws a NoSuchCOREntryRelException if it could not be found.
      Parameters:
      COREntryRelId - the primary key of the cor entry rel
      Returns:
      the cor entry rel
      Throws:
      NoSuchCOREntryRelException - if a cor entry rel with the primary key could not be found
    • fetchByPrimaryKey

      COREntryRel fetchByPrimaryKey(long COREntryRelId)
      Returns the cor entry rel with the primary key or returns null if it could not be found.
      Parameters:
      COREntryRelId - the primary key of the cor entry rel
      Returns:
      the cor entry rel, or null if a cor entry rel with the primary key could not be found
    • findAll

      List<COREntryRel> findAll()
      Returns all the cor entry rels.
      Returns:
      the cor entry rels
    • findAll

      List<COREntryRel> findAll(int start, int end)
      Returns a range of all the cor entry rels.

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

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

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

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

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

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

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

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

      void removeAll()
      Removes all the cor entry rels from the database.
    • countAll

      int countAll()
      Returns the number of cor entry rels.
      Returns:
      the number of cor entry rels