Interface CommerceDiscountCommerceAccountGroupRelPersistence

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

@ProviderType public interface CommerceDiscountCommerceAccountGroupRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceDiscountCommerceAccountGroupRel>
The persistence interface for the commerce discount commerce account group rel service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByCommerceDiscountId

      List<CommerceDiscountCommerceAccountGroupRel> findByCommerceDiscountId(long commerceDiscountId)
      Returns all the commerce discount commerce account group rels where commerceDiscountId = ?.
      Parameters:
      commerceDiscountId - the commerce discount ID
      Returns:
      the matching commerce discount commerce account group rels
    • findByCommerceDiscountId

      List<CommerceDiscountCommerceAccountGroupRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end)
      Returns a range of all the commerce discount commerce account group rels where commerceDiscountId = ?.

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

      Parameters:
      commerceDiscountId - the commerce discount ID
      start - the lower bound of the range of commerce discount commerce account group rels
      end - the upper bound of the range of commerce discount commerce account group rels (not inclusive)
      Returns:
      the range of matching commerce discount commerce account group rels
    • findByCommerceDiscountId

      List<CommerceDiscountCommerceAccountGroupRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
      Returns an ordered range of all the commerce discount commerce account group rels where commerceDiscountId = ?.

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

      Parameters:
      commerceDiscountId - the commerce discount ID
      start - the lower bound of the range of commerce discount commerce account group rels
      end - the upper bound of the range of commerce discount commerce account group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce discount commerce account group rels
    • findByCommerceDiscountId

      List<CommerceDiscountCommerceAccountGroupRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce discount commerce account group rels where commerceDiscountId = ?.

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

      Parameters:
      commerceDiscountId - the commerce discount ID
      start - the lower bound of the range of commerce discount commerce account group rels
      end - the upper bound of the range of commerce discount commerce account group 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 discount commerce account group rels
    • findByCommerceDiscountId_First

      CommerceDiscountCommerceAccountGroupRel findByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) throws NoSuchDiscountCommerceAccountGroupRelException
      Returns the first commerce discount commerce account group rel in the ordered set where commerceDiscountId = ?.
      Parameters:
      commerceDiscountId - the commerce discount ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce discount commerce account group rel
      Throws:
      NoSuchDiscountCommerceAccountGroupRelException - if a matching commerce discount commerce account group rel could not be found
    • fetchByCommerceDiscountId_First

      CommerceDiscountCommerceAccountGroupRel fetchByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
      Returns the first commerce discount commerce account group rel in the ordered set where commerceDiscountId = ?.
      Parameters:
      commerceDiscountId - the commerce discount ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce discount commerce account group rel, or null if a matching commerce discount commerce account group rel could not be found
    • findByCommerceDiscountId_Last

      CommerceDiscountCommerceAccountGroupRel findByCommerceDiscountId_Last(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) throws NoSuchDiscountCommerceAccountGroupRelException
      Returns the last commerce discount commerce account group rel in the ordered set where commerceDiscountId = ?.
      Parameters:
      commerceDiscountId - the commerce discount ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce discount commerce account group rel
      Throws:
      NoSuchDiscountCommerceAccountGroupRelException - if a matching commerce discount commerce account group rel could not be found
    • fetchByCommerceDiscountId_Last

      CommerceDiscountCommerceAccountGroupRel fetchByCommerceDiscountId_Last(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
      Returns the last commerce discount commerce account group rel in the ordered set where commerceDiscountId = ?.
      Parameters:
      commerceDiscountId - the commerce discount ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce discount commerce account group rel, or null if a matching commerce discount commerce account group rel could not be found
    • findByCommerceDiscountId_PrevAndNext

      CommerceDiscountCommerceAccountGroupRel[] findByCommerceDiscountId_PrevAndNext(long commerceDiscountCommerceAccountGroupRelId, long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) throws NoSuchDiscountCommerceAccountGroupRelException
      Returns the commerce discount commerce account group rels before and after the current commerce discount commerce account group rel in the ordered set where commerceDiscountId = ?.
      Parameters:
      commerceDiscountCommerceAccountGroupRelId - the primary key of the current commerce discount commerce account group rel
      commerceDiscountId - the commerce discount ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce discount commerce account group rel
      Throws:
      NoSuchDiscountCommerceAccountGroupRelException - if a commerce discount commerce account group rel with the primary key could not be found
    • removeByCommerceDiscountId

      void removeByCommerceDiscountId(long commerceDiscountId)
      Removes all the commerce discount commerce account group rels where commerceDiscountId = ? from the database.
      Parameters:
      commerceDiscountId - the commerce discount ID
    • countByCommerceDiscountId

      int countByCommerceDiscountId(long commerceDiscountId)
      Returns the number of commerce discount commerce account group rels where commerceDiscountId = ?.
      Parameters:
      commerceDiscountId - the commerce discount ID
      Returns:
      the number of matching commerce discount commerce account group rels
    • findByCommerceAccountGroupId

      List<CommerceDiscountCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId)
      Returns all the commerce discount commerce account group rels where commerceAccountGroupId = ?.
      Parameters:
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the matching commerce discount commerce account group rels
    • findByCommerceAccountGroupId

      List<CommerceDiscountCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end)
      Returns a range of all the commerce discount commerce account group rels where commerceAccountGroupId = ?.

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

      Parameters:
      commerceAccountGroupId - the commerce account group ID
      start - the lower bound of the range of commerce discount commerce account group rels
      end - the upper bound of the range of commerce discount commerce account group rels (not inclusive)
      Returns:
      the range of matching commerce discount commerce account group rels
    • findByCommerceAccountGroupId

      List<CommerceDiscountCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
      Returns an ordered range of all the commerce discount commerce account group rels where commerceAccountGroupId = ?.

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

      Parameters:
      commerceAccountGroupId - the commerce account group ID
      start - the lower bound of the range of commerce discount commerce account group rels
      end - the upper bound of the range of commerce discount commerce account group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce discount commerce account group rels
    • findByCommerceAccountGroupId

      List<CommerceDiscountCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce discount commerce account group rels where commerceAccountGroupId = ?.

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

      Parameters:
      commerceAccountGroupId - the commerce account group ID
      start - the lower bound of the range of commerce discount commerce account group rels
      end - the upper bound of the range of commerce discount commerce account group 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 discount commerce account group rels
    • findByCommerceAccountGroupId_First

      CommerceDiscountCommerceAccountGroupRel findByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) throws NoSuchDiscountCommerceAccountGroupRelException
      Returns the first commerce discount commerce account group rel in the ordered set where commerceAccountGroupId = ?.
      Parameters:
      commerceAccountGroupId - the commerce account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce discount commerce account group rel
      Throws:
      NoSuchDiscountCommerceAccountGroupRelException - if a matching commerce discount commerce account group rel could not be found
    • fetchByCommerceAccountGroupId_First

      CommerceDiscountCommerceAccountGroupRel fetchByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
      Returns the first commerce discount commerce account group rel in the ordered set where commerceAccountGroupId = ?.
      Parameters:
      commerceAccountGroupId - the commerce account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce discount commerce account group rel, or null if a matching commerce discount commerce account group rel could not be found
    • findByCommerceAccountGroupId_Last

      CommerceDiscountCommerceAccountGroupRel findByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) throws NoSuchDiscountCommerceAccountGroupRelException
      Returns the last commerce discount commerce account group rel in the ordered set where commerceAccountGroupId = ?.
      Parameters:
      commerceAccountGroupId - the commerce account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce discount commerce account group rel
      Throws:
      NoSuchDiscountCommerceAccountGroupRelException - if a matching commerce discount commerce account group rel could not be found
    • fetchByCommerceAccountGroupId_Last

      CommerceDiscountCommerceAccountGroupRel fetchByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
      Returns the last commerce discount commerce account group rel in the ordered set where commerceAccountGroupId = ?.
      Parameters:
      commerceAccountGroupId - the commerce account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce discount commerce account group rel, or null if a matching commerce discount commerce account group rel could not be found
    • findByCommerceAccountGroupId_PrevAndNext

      CommerceDiscountCommerceAccountGroupRel[] findByCommerceAccountGroupId_PrevAndNext(long commerceDiscountCommerceAccountGroupRelId, long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) throws NoSuchDiscountCommerceAccountGroupRelException
      Returns the commerce discount commerce account group rels before and after the current commerce discount commerce account group rel in the ordered set where commerceAccountGroupId = ?.
      Parameters:
      commerceDiscountCommerceAccountGroupRelId - the primary key of the current commerce discount commerce account group rel
      commerceAccountGroupId - the commerce account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce discount commerce account group rel
      Throws:
      NoSuchDiscountCommerceAccountGroupRelException - if a commerce discount commerce account group rel with the primary key could not be found
    • removeByCommerceAccountGroupId

      void removeByCommerceAccountGroupId(long commerceAccountGroupId)
      Removes all the commerce discount commerce account group rels where commerceAccountGroupId = ? from the database.
      Parameters:
      commerceAccountGroupId - the commerce account group ID
    • countByCommerceAccountGroupId

      int countByCommerceAccountGroupId(long commerceAccountGroupId)
      Returns the number of commerce discount commerce account group rels where commerceAccountGroupId = ?.
      Parameters:
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the number of matching commerce discount commerce account group rels
    • findByCDI_CAGI

      CommerceDiscountCommerceAccountGroupRel findByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId) throws NoSuchDiscountCommerceAccountGroupRelException
      Returns the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? or throws a NoSuchDiscountCommerceAccountGroupRelException if it could not be found.
      Parameters:
      commerceDiscountId - the commerce discount ID
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the matching commerce discount commerce account group rel
      Throws:
      NoSuchDiscountCommerceAccountGroupRelException - if a matching commerce discount commerce account group rel could not be found
    • fetchByCDI_CAGI

      CommerceDiscountCommerceAccountGroupRel fetchByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId)
      Returns the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      commerceDiscountId - the commerce discount ID
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the matching commerce discount commerce account group rel, or null if a matching commerce discount commerce account group rel could not be found
    • fetchByCDI_CAGI

      CommerceDiscountCommerceAccountGroupRel fetchByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId, boolean useFinderCache)
      Returns the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      commerceDiscountId - the commerce discount ID
      commerceAccountGroupId - the commerce account group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce discount commerce account group rel, or null if a matching commerce discount commerce account group rel could not be found
    • removeByCDI_CAGI

      CommerceDiscountCommerceAccountGroupRel removeByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId) throws NoSuchDiscountCommerceAccountGroupRelException
      Removes the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? from the database.
      Parameters:
      commerceDiscountId - the commerce discount ID
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the commerce discount commerce account group rel that was removed
      Throws:
      NoSuchDiscountCommerceAccountGroupRelException
    • countByCDI_CAGI

      int countByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId)
      Returns the number of commerce discount commerce account group rels where commerceDiscountId = ? and commerceAccountGroupId = ?.
      Parameters:
      commerceDiscountId - the commerce discount ID
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the number of matching commerce discount commerce account group rels
    • cacheResult

      void cacheResult(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel)
      Caches the commerce discount commerce account group rel in the entity cache if it is enabled.
      Parameters:
      commerceDiscountCommerceAccountGroupRel - the commerce discount commerce account group rel
    • cacheResult

      void cacheResult(List<CommerceDiscountCommerceAccountGroupRel> commerceDiscountCommerceAccountGroupRels)
      Caches the commerce discount commerce account group rels in the entity cache if it is enabled.
      Parameters:
      commerceDiscountCommerceAccountGroupRels - the commerce discount commerce account group rels
    • create

      CommerceDiscountCommerceAccountGroupRel create(long commerceDiscountCommerceAccountGroupRelId)
      Creates a new commerce discount commerce account group rel with the primary key. Does not add the commerce discount commerce account group rel to the database.
      Parameters:
      commerceDiscountCommerceAccountGroupRelId - the primary key for the new commerce discount commerce account group rel
      Returns:
      the new commerce discount commerce account group rel
    • remove

      CommerceDiscountCommerceAccountGroupRel remove(long commerceDiscountCommerceAccountGroupRelId) throws NoSuchDiscountCommerceAccountGroupRelException
      Removes the commerce discount commerce account group rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceDiscountCommerceAccountGroupRelId - the primary key of the commerce discount commerce account group rel
      Returns:
      the commerce discount commerce account group rel that was removed
      Throws:
      NoSuchDiscountCommerceAccountGroupRelException - if a commerce discount commerce account group rel with the primary key could not be found
    • updateImpl

      CommerceDiscountCommerceAccountGroupRel updateImpl(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel)
    • findByPrimaryKey

      CommerceDiscountCommerceAccountGroupRel findByPrimaryKey(long commerceDiscountCommerceAccountGroupRelId) throws NoSuchDiscountCommerceAccountGroupRelException
      Returns the commerce discount commerce account group rel with the primary key or throws a NoSuchDiscountCommerceAccountGroupRelException if it could not be found.
      Parameters:
      commerceDiscountCommerceAccountGroupRelId - the primary key of the commerce discount commerce account group rel
      Returns:
      the commerce discount commerce account group rel
      Throws:
      NoSuchDiscountCommerceAccountGroupRelException - if a commerce discount commerce account group rel with the primary key could not be found
    • fetchByPrimaryKey

      CommerceDiscountCommerceAccountGroupRel fetchByPrimaryKey(long commerceDiscountCommerceAccountGroupRelId)
      Returns the commerce discount commerce account group rel with the primary key or returns null if it could not be found.
      Parameters:
      commerceDiscountCommerceAccountGroupRelId - the primary key of the commerce discount commerce account group rel
      Returns:
      the commerce discount commerce account group rel, or null if a commerce discount commerce account group rel with the primary key could not be found
    • findAll

      Returns all the commerce discount commerce account group rels.
      Returns:
      the commerce discount commerce account group rels
    • findAll

      List<CommerceDiscountCommerceAccountGroupRel> findAll(int start, int end)
      Returns a range of all the commerce discount commerce account group 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 CommerceDiscountCommerceAccountGroupRelModelImpl.

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

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

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

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

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

      void removeAll()
      Removes all the commerce discount commerce account group rels from the database.
    • countAll

      int countAll()
      Returns the number of commerce discount commerce account group rels.
      Returns:
      the number of commerce discount commerce account group rels