Interface CommerceTermEntryRelPersistence

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

@ProviderType public interface CommerceTermEntryRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceTermEntryRel>
The persistence interface for the commerce term 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(CommerceTermEntryRel commerceTermEntryRel)
    Caches the commerce term entry rel in the entity cache if it is enabled.
    void
    cacheResult(List<CommerceTermEntryRel> commerceTermEntryRels)
    Caches the commerce term entry rels in the entity cache if it is enabled.
    int
    Returns the number of commerce term entry rels.
    int
    countByC_C(long classNameId, long commerceTermEntryId)
    Returns the number of commerce term entry rels where classNameId = ? and commerceTermEntryId = ?.
    int
    countByC_C_C(long classNameId, long classPK, long commerceTermEntryId)
    Returns the number of commerce term entry rels where classNameId = ? and classPK = ? and commerceTermEntryId = ?.
    int
    countByCommerceTermEntryId(long commerceTermEntryId)
    Returns the number of commerce term entry rels where commerceTermEntryId = ?.
    create(long commerceTermEntryRelId)
    Creates a new commerce term entry rel with the primary key.
    fetchByC_C_C(long classNameId, long classPK, long commerceTermEntryId)
    Returns the commerce term entry rel where classNameId = ? and classPK = ? and commerceTermEntryId = ? or returns null if it could not be found.
    fetchByC_C_C(long classNameId, long classPK, long commerceTermEntryId, boolean useFinderCache)
    Returns the commerce term entry rel where classNameId = ? and classPK = ? and commerceTermEntryId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_C_First(long classNameId, long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
    Returns the first commerce term entry rel in the ordered set where classNameId = ? and commerceTermEntryId = ?.
    fetchByC_C_Last(long classNameId, long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
    Returns the last commerce term entry rel in the ordered set where classNameId = ? and commerceTermEntryId = ?.
    fetchByCommerceTermEntryId_First(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
    Returns the first commerce term entry rel in the ordered set where commerceTermEntryId = ?.
    fetchByCommerceTermEntryId_Last(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
    Returns the last commerce term entry rel in the ordered set where commerceTermEntryId = ?.
    fetchByPrimaryKey(long commerceTermEntryRelId)
    Returns the commerce term entry rel with the primary key or returns null if it could not be found.
    Returns all the commerce term entry rels.
    findAll(int start, int end)
    Returns a range of all the commerce term entry rels.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
    Returns an ordered range of all the commerce term entry rels.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce term entry rels.
    findByC_C(long classNameId, long commerceTermEntryId)
    Returns all the commerce term entry rels where classNameId = ? and commerceTermEntryId = ?.
    findByC_C(long classNameId, long commerceTermEntryId, int start, int end)
    Returns a range of all the commerce term entry rels where classNameId = ? and commerceTermEntryId = ?.
    findByC_C(long classNameId, long commerceTermEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
    Returns an ordered range of all the commerce term entry rels where classNameId = ? and commerceTermEntryId = ?.
    findByC_C(long classNameId, long commerceTermEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce term entry rels where classNameId = ? and commerceTermEntryId = ?.
    findByC_C_C(long classNameId, long classPK, long commerceTermEntryId)
    Returns the commerce term entry rel where classNameId = ? and classPK = ? and commerceTermEntryId = ? or throws a NoSuchTermEntryRelException if it could not be found.
    findByC_C_First(long classNameId, long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
    Returns the first commerce term entry rel in the ordered set where classNameId = ? and commerceTermEntryId = ?.
    findByC_C_Last(long classNameId, long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
    Returns the last commerce term entry rel in the ordered set where classNameId = ? and commerceTermEntryId = ?.
    findByC_C_PrevAndNext(long commerceTermEntryRelId, long classNameId, long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
    Returns the commerce term entry rels before and after the current commerce term entry rel in the ordered set where classNameId = ? and commerceTermEntryId = ?.
    findByCommerceTermEntryId(long commerceTermEntryId)
    Returns all the commerce term entry rels where commerceTermEntryId = ?.
    findByCommerceTermEntryId(long commerceTermEntryId, int start, int end)
    Returns a range of all the commerce term entry rels where commerceTermEntryId = ?.
    findByCommerceTermEntryId(long commerceTermEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
    Returns an ordered range of all the commerce term entry rels where commerceTermEntryId = ?.
    findByCommerceTermEntryId(long commerceTermEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce term entry rels where commerceTermEntryId = ?.
    findByCommerceTermEntryId_First(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
    Returns the first commerce term entry rel in the ordered set where commerceTermEntryId = ?.
    findByCommerceTermEntryId_Last(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
    Returns the last commerce term entry rel in the ordered set where commerceTermEntryId = ?.
    findByCommerceTermEntryId_PrevAndNext(long commerceTermEntryRelId, long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
    Returns the commerce term entry rels before and after the current commerce term entry rel in the ordered set where commerceTermEntryId = ?.
    findByPrimaryKey(long commerceTermEntryRelId)
    Returns the commerce term entry rel with the primary key or throws a NoSuchTermEntryRelException if it could not be found.
    remove(long commerceTermEntryRelId)
    Removes the commerce term entry rel with the primary key from the database.
    void
    Removes all the commerce term entry rels from the database.
    void
    removeByC_C(long classNameId, long commerceTermEntryId)
    Removes all the commerce term entry rels where classNameId = ? and commerceTermEntryId = ? from the database.
    removeByC_C_C(long classNameId, long classPK, long commerceTermEntryId)
    Removes the commerce term entry rel where classNameId = ? and classPK = ? and commerceTermEntryId = ? from the database.
    void
    removeByCommerceTermEntryId(long commerceTermEntryId)
    Removes all the commerce term entry rels where commerceTermEntryId = ? from the database.
    updateImpl(CommerceTermEntryRel commerceTermEntryRel)
     

    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

    • findByCommerceTermEntryId

      List<CommerceTermEntryRel> findByCommerceTermEntryId(long commerceTermEntryId)
      Returns all the commerce term entry rels where commerceTermEntryId = ?.
      Parameters:
      commerceTermEntryId - the commerce term entry ID
      Returns:
      the matching commerce term entry rels
    • findByCommerceTermEntryId

      List<CommerceTermEntryRel> findByCommerceTermEntryId(long commerceTermEntryId, int start, int end)
      Returns a range of all the commerce term entry rels where commerceTermEntryId = ?.

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

      Parameters:
      commerceTermEntryId - the commerce term entry ID
      start - the lower bound of the range of commerce term entry rels
      end - the upper bound of the range of commerce term entry rels (not inclusive)
      Returns:
      the range of matching commerce term entry rels
    • findByCommerceTermEntryId

      List<CommerceTermEntryRel> findByCommerceTermEntryId(long commerceTermEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
      Returns an ordered range of all the commerce term entry rels where commerceTermEntryId = ?.

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

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

      List<CommerceTermEntryRel> findByCommerceTermEntryId(long commerceTermEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce term entry rels where commerceTermEntryId = ?.

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

      Parameters:
      commerceTermEntryId - the commerce term entry ID
      start - the lower bound of the range of commerce term entry rels
      end - the upper bound of the range of commerce term 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 commerce term entry rels
    • findByCommerceTermEntryId_First

      CommerceTermEntryRel findByCommerceTermEntryId_First(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator) throws NoSuchTermEntryRelException
      Returns the first commerce term entry rel in the ordered set where commerceTermEntryId = ?.
      Parameters:
      commerceTermEntryId - the commerce term entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce term entry rel
      Throws:
      NoSuchTermEntryRelException - if a matching commerce term entry rel could not be found
    • fetchByCommerceTermEntryId_First

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

      CommerceTermEntryRel findByCommerceTermEntryId_Last(long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator) throws NoSuchTermEntryRelException
      Returns the last commerce term entry rel in the ordered set where commerceTermEntryId = ?.
      Parameters:
      commerceTermEntryId - the commerce term entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce term entry rel
      Throws:
      NoSuchTermEntryRelException - if a matching commerce term entry rel could not be found
    • fetchByCommerceTermEntryId_Last

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

      CommerceTermEntryRel[] findByCommerceTermEntryId_PrevAndNext(long commerceTermEntryRelId, long commerceTermEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator) throws NoSuchTermEntryRelException
      Returns the commerce term entry rels before and after the current commerce term entry rel in the ordered set where commerceTermEntryId = ?.
      Parameters:
      commerceTermEntryRelId - the primary key of the current commerce term entry rel
      commerceTermEntryId - the commerce term entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce term entry rel
      Throws:
      NoSuchTermEntryRelException - if a commerce term entry rel with the primary key could not be found
    • removeByCommerceTermEntryId

      void removeByCommerceTermEntryId(long commerceTermEntryId)
      Removes all the commerce term entry rels where commerceTermEntryId = ? from the database.
      Parameters:
      commerceTermEntryId - the commerce term entry ID
    • countByCommerceTermEntryId

      int countByCommerceTermEntryId(long commerceTermEntryId)
      Returns the number of commerce term entry rels where commerceTermEntryId = ?.
      Parameters:
      commerceTermEntryId - the commerce term entry ID
      Returns:
      the number of matching commerce term entry rels
    • findByC_C

      List<CommerceTermEntryRel> findByC_C(long classNameId, long commerceTermEntryId)
      Returns all the commerce term entry rels where classNameId = ? and commerceTermEntryId = ?.
      Parameters:
      classNameId - the class name ID
      commerceTermEntryId - the commerce term entry ID
      Returns:
      the matching commerce term entry rels
    • findByC_C

      List<CommerceTermEntryRel> findByC_C(long classNameId, long commerceTermEntryId, int start, int end)
      Returns a range of all the commerce term entry rels where classNameId = ? and commerceTermEntryId = ?.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      CommerceTermEntryRel removeByC_C_C(long classNameId, long classPK, long commerceTermEntryId) throws NoSuchTermEntryRelException
      Removes the commerce term entry rel where classNameId = ? and classPK = ? and commerceTermEntryId = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceTermEntryId - the commerce term entry ID
      Returns:
      the commerce term entry rel that was removed
      Throws:
      NoSuchTermEntryRelException
    • countByC_C_C

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

      void cacheResult(CommerceTermEntryRel commerceTermEntryRel)
      Caches the commerce term entry rel in the entity cache if it is enabled.
      Parameters:
      commerceTermEntryRel - the commerce term entry rel
    • cacheResult

      void cacheResult(List<CommerceTermEntryRel> commerceTermEntryRels)
      Caches the commerce term entry rels in the entity cache if it is enabled.
      Parameters:
      commerceTermEntryRels - the commerce term entry rels
    • create

      CommerceTermEntryRel create(long commerceTermEntryRelId)
      Creates a new commerce term entry rel with the primary key. Does not add the commerce term entry rel to the database.
      Parameters:
      commerceTermEntryRelId - the primary key for the new commerce term entry rel
      Returns:
      the new commerce term entry rel
    • remove

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

      CommerceTermEntryRel updateImpl(CommerceTermEntryRel commerceTermEntryRel)
    • findByPrimaryKey

      CommerceTermEntryRel findByPrimaryKey(long commerceTermEntryRelId) throws NoSuchTermEntryRelException
      Returns the commerce term entry rel with the primary key or throws a NoSuchTermEntryRelException if it could not be found.
      Parameters:
      commerceTermEntryRelId - the primary key of the commerce term entry rel
      Returns:
      the commerce term entry rel
      Throws:
      NoSuchTermEntryRelException - if a commerce term entry rel with the primary key could not be found
    • fetchByPrimaryKey

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

      Returns all the commerce term entry rels.
      Returns:
      the commerce term entry rels
    • findAll

      List<CommerceTermEntryRel> findAll(int start, int end)
      Returns a range of all the commerce term 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 CommerceTermEntryRelModelImpl.

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

      List<CommerceTermEntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
      Returns an ordered range of all the commerce term 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 CommerceTermEntryRelModelImpl.

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

      List<CommerceTermEntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce term 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 CommerceTermEntryRelModelImpl.

      Parameters:
      start - the lower bound of the range of commerce term entry rels
      end - the upper bound of the range of commerce term 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 commerce term entry rels
    • removeAll

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

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