Interface CommercePriceListCommerceAccountGroupRelPersistence

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

@ProviderType public interface CommercePriceListCommerceAccountGroupRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePriceListCommerceAccountGroupRel>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceListCommerceAccountGroupRel>
The persistence interface for the commerce price list commerce account group rel service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      Returns all the commerce price list commerce account group rels where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce price list commerce account group rels
    • findByUuid

      List<CommercePriceListCommerceAccountGroupRel> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce price list commerce account group rels where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce price list commerce account group rels
      end - the upper bound of the range of commerce price list commerce account group rels (not inclusive)
      Returns:
      the range of matching commerce price list commerce account group rels
    • findByUuid

      List<CommercePriceListCommerceAccountGroupRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
      Returns an ordered range of all the commerce price list commerce account group rels where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl.

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

      List<CommercePriceListCommerceAccountGroupRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price list commerce account group rels where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce price list commerce account group rels
      end - the upper bound of the range of commerce price list 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 price list commerce account group rels
    • findByUuid_First

      CommercePriceListCommerceAccountGroupRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
      Returns the first commerce price list commerce account group rel in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price list commerce account group rel
      Throws:
      NoSuchPriceListCommerceAccountGroupRelException - if a matching commerce price list commerce account group rel could not be found
    • fetchByUuid_First

      CommercePriceListCommerceAccountGroupRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
      Returns the first commerce price list commerce account group rel in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price list commerce account group rel, or null if a matching commerce price list commerce account group rel could not be found
    • findByUuid_Last

      CommercePriceListCommerceAccountGroupRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
      Returns the last commerce price list commerce account group rel in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce price list commerce account group rel
      Throws:
      NoSuchPriceListCommerceAccountGroupRelException - if a matching commerce price list commerce account group rel could not be found
    • fetchByUuid_Last

      CommercePriceListCommerceAccountGroupRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
      Returns the last commerce price list commerce account group rel in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce price list commerce account group rel, or null if a matching commerce price list commerce account group rel could not be found
    • findByUuid_PrevAndNext

      CommercePriceListCommerceAccountGroupRel[] findByUuid_PrevAndNext(long commercePriceListCommerceAccountGroupRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
      Returns the commerce price list commerce account group rels before and after the current commerce price list commerce account group rel in the ordered set where uuid = ?.
      Parameters:
      commercePriceListCommerceAccountGroupRelId - the primary key of the current commerce price list commerce account group rel
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce price list commerce account group rel
      Throws:
      NoSuchPriceListCommerceAccountGroupRelException - if a commerce price list commerce account group rel with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the commerce price list commerce account group rels where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of commerce price list commerce account group rels where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce price list commerce account group rels
    • findByUuid_C

      List<CommercePriceListCommerceAccountGroupRel> findByUuid_C(String uuid, long companyId)
      Returns all the commerce price list commerce account group rels where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce price list commerce account group rels
    • findByUuid_C

      List<CommercePriceListCommerceAccountGroupRel> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce price list commerce account group rels where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce price list commerce account group rels
      end - the upper bound of the range of commerce price list commerce account group rels (not inclusive)
      Returns:
      the range of matching commerce price list commerce account group rels
    • findByUuid_C

      List<CommercePriceListCommerceAccountGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
      Returns an ordered range of all the commerce price list commerce account group rels where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl.

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

      List<CommercePriceListCommerceAccountGroupRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price list commerce account group rels where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommercePriceListCommerceAccountGroupRelModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce price list commerce account group rels
      end - the upper bound of the range of commerce price list 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 price list commerce account group rels
    • findByUuid_C_First

      CommercePriceListCommerceAccountGroupRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
      Returns the first commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price list commerce account group rel
      Throws:
      NoSuchPriceListCommerceAccountGroupRelException - if a matching commerce price list commerce account group rel could not be found
    • fetchByUuid_C_First

      CommercePriceListCommerceAccountGroupRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
      Returns the first commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price list commerce account group rel, or null if a matching commerce price list commerce account group rel could not be found
    • findByUuid_C_Last

      CommercePriceListCommerceAccountGroupRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
      Returns the last commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce price list commerce account group rel
      Throws:
      NoSuchPriceListCommerceAccountGroupRelException - if a matching commerce price list commerce account group rel could not be found
    • fetchByUuid_C_Last

      CommercePriceListCommerceAccountGroupRel fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
      Returns the last commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce price list commerce account group rel, or null if a matching commerce price list commerce account group rel could not be found
    • findByUuid_C_PrevAndNext

      CommercePriceListCommerceAccountGroupRel[] findByUuid_C_PrevAndNext(long commercePriceListCommerceAccountGroupRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
      Returns the commerce price list commerce account group rels before and after the current commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      commercePriceListCommerceAccountGroupRelId - the primary key of the current commerce price list commerce account group rel
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce price list commerce account group rel
      Throws:
      NoSuchPriceListCommerceAccountGroupRelException - if a commerce price list commerce account group rel with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the commerce price list commerce account group rels where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of commerce price list commerce account group rels where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce price list commerce account group rels
    • findByCommercePriceListId

      List<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId)
      Returns all the commerce price list commerce account group rels where commercePriceListId = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      Returns:
      the matching commerce price list commerce account group rels
    • findByCommercePriceListId

      List<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId, int start, int end)
      Returns a range of all the commerce price list commerce account group rels where commercePriceListId = ?.

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

      Parameters:
      commercePriceListId - the commerce price list ID
      start - the lower bound of the range of commerce price list commerce account group rels
      end - the upper bound of the range of commerce price list commerce account group rels (not inclusive)
      Returns:
      the range of matching commerce price list commerce account group rels
    • findByCommercePriceListId

      List<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
      Returns an ordered range of all the commerce price list commerce account group rels where commercePriceListId = ?.

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

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

      List<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price list commerce account group rels where commercePriceListId = ?.

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

      Parameters:
      commercePriceListId - the commerce price list ID
      start - the lower bound of the range of commerce price list commerce account group rels
      end - the upper bound of the range of commerce price list 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 price list commerce account group rels
    • findByCommercePriceListId_First

      CommercePriceListCommerceAccountGroupRel findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
      Returns the first commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price list commerce account group rel
      Throws:
      NoSuchPriceListCommerceAccountGroupRelException - if a matching commerce price list commerce account group rel could not be found
    • fetchByCommercePriceListId_First

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

      CommercePriceListCommerceAccountGroupRel findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
      Returns the last commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce price list commerce account group rel
      Throws:
      NoSuchPriceListCommerceAccountGroupRelException - if a matching commerce price list commerce account group rel could not be found
    • fetchByCommercePriceListId_Last

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

      CommercePriceListCommerceAccountGroupRel[] findByCommercePriceListId_PrevAndNext(long commercePriceListCommerceAccountGroupRelId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
      Returns the commerce price list commerce account group rels before and after the current commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.
      Parameters:
      commercePriceListCommerceAccountGroupRelId - the primary key of the current commerce price list commerce account group rel
      commercePriceListId - the commerce price list ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce price list commerce account group rel
      Throws:
      NoSuchPriceListCommerceAccountGroupRelException - if a commerce price list commerce account group rel with the primary key could not be found
    • removeByCommercePriceListId

      void removeByCommercePriceListId(long commercePriceListId)
      Removes all the commerce price list commerce account group rels where commercePriceListId = ? from the database.
      Parameters:
      commercePriceListId - the commerce price list ID
    • countByCommercePriceListId

      int countByCommercePriceListId(long commercePriceListId)
      Returns the number of commerce price list commerce account group rels where commercePriceListId = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      Returns:
      the number of matching commerce price list commerce account group rels
    • findByCAGI_CPI

      CommercePriceListCommerceAccountGroupRel findByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId) throws NoSuchPriceListCommerceAccountGroupRelException
      Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or throws a NoSuchPriceListCommerceAccountGroupRelException if it could not be found.
      Parameters:
      commercePriceListId - the commerce price list ID
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the matching commerce price list commerce account group rel
      Throws:
      NoSuchPriceListCommerceAccountGroupRelException - if a matching commerce price list commerce account group rel could not be found
    • fetchByCAGI_CPI

      CommercePriceListCommerceAccountGroupRel fetchByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId)
      Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      commercePriceListId - the commerce price list ID
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the matching commerce price list commerce account group rel, or null if a matching commerce price list commerce account group rel could not be found
    • fetchByCAGI_CPI

      CommercePriceListCommerceAccountGroupRel fetchByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId, boolean useFinderCache)
      Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      commercePriceListId - the commerce price list ID
      commerceAccountGroupId - the commerce account group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce price list commerce account group rel, or null if a matching commerce price list commerce account group rel could not be found
    • removeByCAGI_CPI

      CommercePriceListCommerceAccountGroupRel removeByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId) throws NoSuchPriceListCommerceAccountGroupRelException
      Removes the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? from the database.
      Parameters:
      commercePriceListId - the commerce price list ID
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the commerce price list commerce account group rel that was removed
      Throws:
      NoSuchPriceListCommerceAccountGroupRelException
    • countByCAGI_CPI

      int countByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId)
      Returns the number of commerce price list commerce account group rels where commercePriceListId = ? and commerceAccountGroupId = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the number of matching commerce price list commerce account group rels
    • cacheResult

      void cacheResult(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel)
      Caches the commerce price list commerce account group rel in the entity cache if it is enabled.
      Parameters:
      commercePriceListCommerceAccountGroupRel - the commerce price list commerce account group rel
    • cacheResult

      void cacheResult(List<CommercePriceListCommerceAccountGroupRel> commercePriceListCommerceAccountGroupRels)
      Caches the commerce price list commerce account group rels in the entity cache if it is enabled.
      Parameters:
      commercePriceListCommerceAccountGroupRels - the commerce price list commerce account group rels
    • create

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

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

      CommercePriceListCommerceAccountGroupRel updateImpl(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel)
    • findByPrimaryKey

      CommercePriceListCommerceAccountGroupRel findByPrimaryKey(long commercePriceListCommerceAccountGroupRelId) throws NoSuchPriceListCommerceAccountGroupRelException
      Returns the commerce price list commerce account group rel with the primary key or throws a NoSuchPriceListCommerceAccountGroupRelException if it could not be found.
      Parameters:
      commercePriceListCommerceAccountGroupRelId - the primary key of the commerce price list commerce account group rel
      Returns:
      the commerce price list commerce account group rel
      Throws:
      NoSuchPriceListCommerceAccountGroupRelException - if a commerce price list commerce account group rel with the primary key could not be found
    • fetchByPrimaryKey

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

      Returns all the commerce price list commerce account group rels.
      Returns:
      the commerce price list commerce account group rels
    • findAll

      List<CommercePriceListCommerceAccountGroupRel> findAll(int start, int end)
      Returns a range of all the commerce price list 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 CommercePriceListCommerceAccountGroupRelModelImpl.

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

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

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

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

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

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

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