Class CommerceTermEntryRelUtil

java.lang.Object
com.liferay.commerce.term.service.persistence.CommerceTermEntryRelUtil

public class CommerceTermEntryRelUtil extends Object
The persistence utility for the commerce term entry rel service. This utility wraps com.liferay.commerce.term.service.persistence.impl.CommerceTermEntryRelPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • CommerceTermEntryRelUtil

      public CommerceTermEntryRelUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(CommerceTermEntryRel commerceTermEntryRel)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,CommerceTermEntryRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<CommerceTermEntryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<CommerceTermEntryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<CommerceTermEntryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTermEntryRel> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static CommerceTermEntryRel update(CommerceTermEntryRel commerceTermEntryRel)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static CommerceTermEntryRel update(CommerceTermEntryRel commerceTermEntryRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCommerceTermEntryId

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchTermEntryRelException
    • fetchByCommerceTermEntryId_First

      public static 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

      public static 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
      NoSuchTermEntryRelException
    • fetchByCommerceTermEntryId_Last

      public static 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

      public static 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
      NoSuchTermEntryRelException
    • removeByCommerceTermEntryId

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchTermEntryRelException
    • fetchByC_C_First

      public static 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

      public static 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
      NoSuchTermEntryRelException
    • fetchByC_C_Last

      public static 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

      public static 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
      NoSuchTermEntryRelException
    • removeByC_C

      public static 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

      public static 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

      public static 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
      NoSuchTermEntryRelException
    • fetchByC_C_C

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchTermEntryRelException
    • updateImpl

      public static CommerceTermEntryRel updateImpl(CommerceTermEntryRel commerceTermEntryRel)
    • findByPrimaryKey

      public static 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
      NoSuchTermEntryRelException
    • fetchByPrimaryKey

      public static 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

      public static List<CommerceTermEntryRel> findAll()
      Returns all the commerce term entry rels.
      Returns:
      the commerce term entry rels
    • findAll

      public static 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

      public static 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

      public static 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

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

      public static int countAll()
      Returns the number of commerce term entry rels.
      Returns:
      the number of commerce term entry rels
    • getPersistence

      public static CommerceTermEntryRelPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CommerceTermEntryRelPersistence persistence)