Interface CommercePaymentMethodGroupRelPersistence

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

@ProviderType public interface CommercePaymentMethodGroupRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePaymentMethodGroupRel>
The persistence interface for the commerce payment method group rel service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByGroupId

      List<CommercePaymentMethodGroupRel> findByGroupId(long groupId)
      Returns all the commerce payment method group rels where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching commerce payment method group rels
    • findByGroupId

      List<CommercePaymentMethodGroupRel> findByGroupId(long groupId, int start, int end)
      Returns a range of all the commerce payment method group rels where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce payment method group rels
      end - the upper bound of the range of commerce payment method group rels (not inclusive)
      Returns:
      the range of matching commerce payment method group rels
    • findByGroupId

      List<CommercePaymentMethodGroupRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
      Returns an ordered range of all the commerce payment method group rels where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce payment method group rels
      end - the upper bound of the range of commerce payment method group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce payment method group rels
    • findByGroupId

      List<CommercePaymentMethodGroupRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce payment method group rels where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce payment method group rels
      end - the upper bound of the range of commerce payment method 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 payment method group rels
    • findByGroupId_First

      CommercePaymentMethodGroupRel findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
      Returns the first commerce payment method group rel in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce payment method group rel
      Throws:
      NoSuchPaymentMethodGroupRelException - if a matching commerce payment method group rel could not be found
    • fetchByGroupId_First

      CommercePaymentMethodGroupRel fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
      Returns the first commerce payment method group rel in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce payment method group rel, or null if a matching commerce payment method group rel could not be found
    • findByGroupId_Last

      CommercePaymentMethodGroupRel findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
      Returns the last commerce payment method group rel in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce payment method group rel
      Throws:
      NoSuchPaymentMethodGroupRelException - if a matching commerce payment method group rel could not be found
    • fetchByGroupId_Last

      CommercePaymentMethodGroupRel fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
      Returns the last commerce payment method group rel in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce payment method group rel, or null if a matching commerce payment method group rel could not be found
    • findByGroupId_PrevAndNext

      CommercePaymentMethodGroupRel[] findByGroupId_PrevAndNext(long commercePaymentMethodGroupRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
      Returns the commerce payment method group rels before and after the current commerce payment method group rel in the ordered set where groupId = ?.
      Parameters:
      commercePaymentMethodGroupRelId - the primary key of the current commerce payment method group rel
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce payment method group rel
      Throws:
      NoSuchPaymentMethodGroupRelException - if a commerce payment method group rel with the primary key could not be found
    • filterFindByGroupId

      List<CommercePaymentMethodGroupRel> filterFindByGroupId(long groupId)
      Returns all the commerce payment method group rels that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching commerce payment method group rels that the user has permission to view
    • filterFindByGroupId

      List<CommercePaymentMethodGroupRel> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the commerce payment method group rels that the user has permission to view where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce payment method group rels
      end - the upper bound of the range of commerce payment method group rels (not inclusive)
      Returns:
      the range of matching commerce payment method group rels that the user has permission to view
    • filterFindByGroupId

      List<CommercePaymentMethodGroupRel> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
      Returns an ordered range of all the commerce payment method group rels that the user has permissions to view where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce payment method group rels
      end - the upper bound of the range of commerce payment method group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce payment method group rels that the user has permission to view
    • filterFindByGroupId_PrevAndNext

      CommercePaymentMethodGroupRel[] filterFindByGroupId_PrevAndNext(long commercePaymentMethodGroupRelId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
      Returns the commerce payment method group rels before and after the current commerce payment method group rel in the ordered set of commerce payment method group rels that the user has permission to view where groupId = ?.
      Parameters:
      commercePaymentMethodGroupRelId - the primary key of the current commerce payment method group rel
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce payment method group rel
      Throws:
      NoSuchPaymentMethodGroupRelException - if a commerce payment method group rel with the primary key could not be found
    • removeByGroupId

      void removeByGroupId(long groupId)
      Removes all the commerce payment method group rels where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      int countByGroupId(long groupId)
      Returns the number of commerce payment method group rels where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching commerce payment method group rels
    • filterCountByGroupId

      int filterCountByGroupId(long groupId)
      Returns the number of commerce payment method group rels that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching commerce payment method group rels that the user has permission to view
    • findByG_A

      List<CommercePaymentMethodGroupRel> findByG_A(long groupId, boolean active)
      Returns all the commerce payment method group rels where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      Returns:
      the matching commerce payment method group rels
    • findByG_A

      List<CommercePaymentMethodGroupRel> findByG_A(long groupId, boolean active, int start, int end)
      Returns a range of all the commerce payment method group rels where groupId = ? and active = ?.

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

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of commerce payment method group rels
      end - the upper bound of the range of commerce payment method group rels (not inclusive)
      Returns:
      the range of matching commerce payment method group rels
    • findByG_A

      List<CommercePaymentMethodGroupRel> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
      Returns an ordered range of all the commerce payment method group rels where groupId = ? and active = ?.

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

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of commerce payment method group rels
      end - the upper bound of the range of commerce payment method group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce payment method group rels
    • findByG_A

      List<CommercePaymentMethodGroupRel> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce payment method group rels where groupId = ? and active = ?.

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

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of commerce payment method group rels
      end - the upper bound of the range of commerce payment method 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 payment method group rels
    • findByG_A_First

      CommercePaymentMethodGroupRel findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
      Returns the first commerce payment method group rel in the ordered set where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce payment method group rel
      Throws:
      NoSuchPaymentMethodGroupRelException - if a matching commerce payment method group rel could not be found
    • fetchByG_A_First

      CommercePaymentMethodGroupRel fetchByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
      Returns the first commerce payment method group rel in the ordered set where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce payment method group rel, or null if a matching commerce payment method group rel could not be found
    • findByG_A_Last

      CommercePaymentMethodGroupRel findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
      Returns the last commerce payment method group rel in the ordered set where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce payment method group rel
      Throws:
      NoSuchPaymentMethodGroupRelException - if a matching commerce payment method group rel could not be found
    • fetchByG_A_Last

      CommercePaymentMethodGroupRel fetchByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
      Returns the last commerce payment method group rel in the ordered set where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce payment method group rel, or null if a matching commerce payment method group rel could not be found
    • findByG_A_PrevAndNext

      CommercePaymentMethodGroupRel[] findByG_A_PrevAndNext(long commercePaymentMethodGroupRelId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
      Returns the commerce payment method group rels before and after the current commerce payment method group rel in the ordered set where groupId = ? and active = ?.
      Parameters:
      commercePaymentMethodGroupRelId - the primary key of the current commerce payment method group rel
      groupId - the group ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce payment method group rel
      Throws:
      NoSuchPaymentMethodGroupRelException - if a commerce payment method group rel with the primary key could not be found
    • filterFindByG_A

      List<CommercePaymentMethodGroupRel> filterFindByG_A(long groupId, boolean active)
      Returns all the commerce payment method group rels that the user has permission to view where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      Returns:
      the matching commerce payment method group rels that the user has permission to view
    • filterFindByG_A

      List<CommercePaymentMethodGroupRel> filterFindByG_A(long groupId, boolean active, int start, int end)
      Returns a range of all the commerce payment method group rels that the user has permission to view where groupId = ? and active = ?.

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

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of commerce payment method group rels
      end - the upper bound of the range of commerce payment method group rels (not inclusive)
      Returns:
      the range of matching commerce payment method group rels that the user has permission to view
    • filterFindByG_A

      List<CommercePaymentMethodGroupRel> filterFindByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator)
      Returns an ordered range of all the commerce payment method group rels that the user has permissions to view where groupId = ? and active = ?.

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

      Parameters:
      groupId - the group ID
      active - the active
      start - the lower bound of the range of commerce payment method group rels
      end - the upper bound of the range of commerce payment method group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce payment method group rels that the user has permission to view
    • filterFindByG_A_PrevAndNext

      CommercePaymentMethodGroupRel[] filterFindByG_A_PrevAndNext(long commercePaymentMethodGroupRelId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentMethodGroupRel> orderByComparator) throws NoSuchPaymentMethodGroupRelException
      Returns the commerce payment method group rels before and after the current commerce payment method group rel in the ordered set of commerce payment method group rels that the user has permission to view where groupId = ? and active = ?.
      Parameters:
      commercePaymentMethodGroupRelId - the primary key of the current commerce payment method group rel
      groupId - the group ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce payment method group rel
      Throws:
      NoSuchPaymentMethodGroupRelException - if a commerce payment method group rel with the primary key could not be found
    • removeByG_A

      void removeByG_A(long groupId, boolean active)
      Removes all the commerce payment method group rels where groupId = ? and active = ? from the database.
      Parameters:
      groupId - the group ID
      active - the active
    • countByG_A

      int countByG_A(long groupId, boolean active)
      Returns the number of commerce payment method group rels where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      Returns:
      the number of matching commerce payment method group rels
    • filterCountByG_A

      int filterCountByG_A(long groupId, boolean active)
      Returns the number of commerce payment method group rels that the user has permission to view where groupId = ? and active = ?.
      Parameters:
      groupId - the group ID
      active - the active
      Returns:
      the number of matching commerce payment method group rels that the user has permission to view
    • findByG_P

      CommercePaymentMethodGroupRel findByG_P(long groupId, String paymentIntegrationKey) throws NoSuchPaymentMethodGroupRelException
      Returns the commerce payment method group rel where groupId = ? and paymentIntegrationKey = ? or throws a NoSuchPaymentMethodGroupRelException if it could not be found.
      Parameters:
      groupId - the group ID
      paymentIntegrationKey - the payment integration key
      Returns:
      the matching commerce payment method group rel
      Throws:
      NoSuchPaymentMethodGroupRelException - if a matching commerce payment method group rel could not be found
    • fetchByG_P

      CommercePaymentMethodGroupRel fetchByG_P(long groupId, String paymentIntegrationKey)
      Returns the commerce payment method group rel where groupId = ? and paymentIntegrationKey = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      paymentIntegrationKey - the payment integration key
      Returns:
      the matching commerce payment method group rel, or null if a matching commerce payment method group rel could not be found
    • fetchByG_P

      CommercePaymentMethodGroupRel fetchByG_P(long groupId, String paymentIntegrationKey, boolean useFinderCache)
      Returns the commerce payment method group rel where groupId = ? and paymentIntegrationKey = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      paymentIntegrationKey - the payment integration key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce payment method group rel, or null if a matching commerce payment method group rel could not be found
    • removeByG_P

      CommercePaymentMethodGroupRel removeByG_P(long groupId, String paymentIntegrationKey) throws NoSuchPaymentMethodGroupRelException
      Removes the commerce payment method group rel where groupId = ? and paymentIntegrationKey = ? from the database.
      Parameters:
      groupId - the group ID
      paymentIntegrationKey - the payment integration key
      Returns:
      the commerce payment method group rel that was removed
      Throws:
      NoSuchPaymentMethodGroupRelException
    • countByG_P

      int countByG_P(long groupId, String paymentIntegrationKey)
      Returns the number of commerce payment method group rels where groupId = ? and paymentIntegrationKey = ?.
      Parameters:
      groupId - the group ID
      paymentIntegrationKey - the payment integration key
      Returns:
      the number of matching commerce payment method group rels
    • cacheResult

      void cacheResult(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel)
      Caches the commerce payment method group rel in the entity cache if it is enabled.
      Parameters:
      commercePaymentMethodGroupRel - the commerce payment method group rel
    • cacheResult

      void cacheResult(List<CommercePaymentMethodGroupRel> commercePaymentMethodGroupRels)
      Caches the commerce payment method group rels in the entity cache if it is enabled.
      Parameters:
      commercePaymentMethodGroupRels - the commerce payment method group rels
    • create

      CommercePaymentMethodGroupRel create(long commercePaymentMethodGroupRelId)
      Creates a new commerce payment method group rel with the primary key. Does not add the commerce payment method group rel to the database.
      Parameters:
      commercePaymentMethodGroupRelId - the primary key for the new commerce payment method group rel
      Returns:
      the new commerce payment method group rel
    • remove

      CommercePaymentMethodGroupRel remove(long commercePaymentMethodGroupRelId) throws NoSuchPaymentMethodGroupRelException
      Removes the commerce payment method group rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commercePaymentMethodGroupRelId - the primary key of the commerce payment method group rel
      Returns:
      the commerce payment method group rel that was removed
      Throws:
      NoSuchPaymentMethodGroupRelException - if a commerce payment method group rel with the primary key could not be found
    • updateImpl

      CommercePaymentMethodGroupRel updateImpl(CommercePaymentMethodGroupRel commercePaymentMethodGroupRel)
    • findByPrimaryKey

      CommercePaymentMethodGroupRel findByPrimaryKey(long commercePaymentMethodGroupRelId) throws NoSuchPaymentMethodGroupRelException
      Returns the commerce payment method group rel with the primary key or throws a NoSuchPaymentMethodGroupRelException if it could not be found.
      Parameters:
      commercePaymentMethodGroupRelId - the primary key of the commerce payment method group rel
      Returns:
      the commerce payment method group rel
      Throws:
      NoSuchPaymentMethodGroupRelException - if a commerce payment method group rel with the primary key could not be found
    • fetchByPrimaryKey

      CommercePaymentMethodGroupRel fetchByPrimaryKey(long commercePaymentMethodGroupRelId)
      Returns the commerce payment method group rel with the primary key or returns null if it could not be found.
      Parameters:
      commercePaymentMethodGroupRelId - the primary key of the commerce payment method group rel
      Returns:
      the commerce payment method group rel, or null if a commerce payment method group rel with the primary key could not be found
    • findAll

      Returns all the commerce payment method group rels.
      Returns:
      the commerce payment method group rels
    • findAll

      List<CommercePaymentMethodGroupRel> findAll(int start, int end)
      Returns a range of all the commerce payment method 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 CommercePaymentMethodGroupRelModelImpl.

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

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

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

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

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

      void removeAll()
      Removes all the commerce payment method group rels from the database.
    • countAll

      int countAll()
      Returns the number of commerce payment method group rels.
      Returns:
      the number of commerce payment method group rels