Interface CommerceShippingOptionAccountEntryRelPersistence

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

@ProviderType public interface CommerceShippingOptionAccountEntryRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceShippingOptionAccountEntryRel>
The persistence interface for the commerce shipping option account entry rel service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByAccountEntryId

      List<CommerceShippingOptionAccountEntryRel> findByAccountEntryId(long accountEntryId)
      Returns all the commerce shipping option account entry rels where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      Returns:
      the matching commerce shipping option account entry rels
    • findByAccountEntryId

      List<CommerceShippingOptionAccountEntryRel> findByAccountEntryId(long accountEntryId, int start, int end)
      Returns a range of all the commerce shipping option account entry rels where accountEntryId = ?.

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

      Parameters:
      accountEntryId - the account entry ID
      start - the lower bound of the range of commerce shipping option account entry rels
      end - the upper bound of the range of commerce shipping option account entry rels (not inclusive)
      Returns:
      the range of matching commerce shipping option account entry rels
    • findByAccountEntryId

      List<CommerceShippingOptionAccountEntryRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
      Returns an ordered range of all the commerce shipping option account entry rels where accountEntryId = ?.

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

      Parameters:
      accountEntryId - the account entry ID
      start - the lower bound of the range of commerce shipping option account entry rels
      end - the upper bound of the range of commerce shipping option account entry rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce shipping option account entry rels
    • findByAccountEntryId

      List<CommerceShippingOptionAccountEntryRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipping option account entry rels where accountEntryId = ?.

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

      Parameters:
      accountEntryId - the account entry ID
      start - the lower bound of the range of commerce shipping option account entry rels
      end - the upper bound of the range of commerce shipping option account entry rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching commerce shipping option account entry rels
    • findByAccountEntryId_First

      CommerceShippingOptionAccountEntryRel findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
      Returns the first commerce shipping option account entry rel in the ordered set where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipping option account entry rel
      Throws:
      NoSuchShippingOptionAccountEntryRelException - if a matching commerce shipping option account entry rel could not be found
    • fetchByAccountEntryId_First

      CommerceShippingOptionAccountEntryRel fetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
      Returns the first commerce shipping option account entry rel in the ordered set where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipping option account entry rel, or null if a matching commerce shipping option account entry rel could not be found
    • findByAccountEntryId_Last

      CommerceShippingOptionAccountEntryRel findByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
      Returns the last commerce shipping option account entry rel in the ordered set where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce shipping option account entry rel
      Throws:
      NoSuchShippingOptionAccountEntryRelException - if a matching commerce shipping option account entry rel could not be found
    • fetchByAccountEntryId_Last

      CommerceShippingOptionAccountEntryRel fetchByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
      Returns the last commerce shipping option account entry rel in the ordered set where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce shipping option account entry rel, or null if a matching commerce shipping option account entry rel could not be found
    • findByAccountEntryId_PrevAndNext

      CommerceShippingOptionAccountEntryRel[] findByAccountEntryId_PrevAndNext(long CommerceShippingOptionAccountEntryRelId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
      Returns the commerce shipping option account entry rels before and after the current commerce shipping option account entry rel in the ordered set where accountEntryId = ?.
      Parameters:
      CommerceShippingOptionAccountEntryRelId - the primary key of the current commerce shipping option account entry rel
      accountEntryId - the account entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce shipping option account entry rel
      Throws:
      NoSuchShippingOptionAccountEntryRelException - if a commerce shipping option account entry rel with the primary key could not be found
    • removeByAccountEntryId

      void removeByAccountEntryId(long accountEntryId)
      Removes all the commerce shipping option account entry rels where accountEntryId = ? from the database.
      Parameters:
      accountEntryId - the account entry ID
    • countByAccountEntryId

      int countByAccountEntryId(long accountEntryId)
      Returns the number of commerce shipping option account entry rels where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      Returns:
      the number of matching commerce shipping option account entry rels
    • findByCommerceChannelId

      List<CommerceShippingOptionAccountEntryRel> findByCommerceChannelId(long commerceChannelId)
      Returns all the commerce shipping option account entry rels where commerceChannelId = ?.
      Parameters:
      commerceChannelId - the commerce channel ID
      Returns:
      the matching commerce shipping option account entry rels
    • findByCommerceChannelId

      List<CommerceShippingOptionAccountEntryRel> findByCommerceChannelId(long commerceChannelId, int start, int end)
      Returns a range of all the commerce shipping option account entry rels where commerceChannelId = ?.

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

      Parameters:
      commerceChannelId - the commerce channel ID
      start - the lower bound of the range of commerce shipping option account entry rels
      end - the upper bound of the range of commerce shipping option account entry rels (not inclusive)
      Returns:
      the range of matching commerce shipping option account entry rels
    • findByCommerceChannelId

      List<CommerceShippingOptionAccountEntryRel> findByCommerceChannelId(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
      Returns an ordered range of all the commerce shipping option account entry rels where commerceChannelId = ?.

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

      Parameters:
      commerceChannelId - the commerce channel ID
      start - the lower bound of the range of commerce shipping option account entry rels
      end - the upper bound of the range of commerce shipping option account entry rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce shipping option account entry rels
    • findByCommerceChannelId

      List<CommerceShippingOptionAccountEntryRel> findByCommerceChannelId(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipping option account entry rels where commerceChannelId = ?.

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

      Parameters:
      commerceChannelId - the commerce channel ID
      start - the lower bound of the range of commerce shipping option account entry rels
      end - the upper bound of the range of commerce shipping option account entry rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching commerce shipping option account entry rels
    • findByCommerceChannelId_First

      CommerceShippingOptionAccountEntryRel findByCommerceChannelId_First(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
      Returns the first commerce shipping option account entry rel in the ordered set where commerceChannelId = ?.
      Parameters:
      commerceChannelId - the commerce channel ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipping option account entry rel
      Throws:
      NoSuchShippingOptionAccountEntryRelException - if a matching commerce shipping option account entry rel could not be found
    • fetchByCommerceChannelId_First

      CommerceShippingOptionAccountEntryRel fetchByCommerceChannelId_First(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
      Returns the first commerce shipping option account entry rel in the ordered set where commerceChannelId = ?.
      Parameters:
      commerceChannelId - the commerce channel ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipping option account entry rel, or null if a matching commerce shipping option account entry rel could not be found
    • findByCommerceChannelId_Last

      CommerceShippingOptionAccountEntryRel findByCommerceChannelId_Last(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
      Returns the last commerce shipping option account entry rel in the ordered set where commerceChannelId = ?.
      Parameters:
      commerceChannelId - the commerce channel ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce shipping option account entry rel
      Throws:
      NoSuchShippingOptionAccountEntryRelException - if a matching commerce shipping option account entry rel could not be found
    • fetchByCommerceChannelId_Last

      CommerceShippingOptionAccountEntryRel fetchByCommerceChannelId_Last(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
      Returns the last commerce shipping option account entry rel in the ordered set where commerceChannelId = ?.
      Parameters:
      commerceChannelId - the commerce channel ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce shipping option account entry rel, or null if a matching commerce shipping option account entry rel could not be found
    • findByCommerceChannelId_PrevAndNext

      CommerceShippingOptionAccountEntryRel[] findByCommerceChannelId_PrevAndNext(long CommerceShippingOptionAccountEntryRelId, long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
      Returns the commerce shipping option account entry rels before and after the current commerce shipping option account entry rel in the ordered set where commerceChannelId = ?.
      Parameters:
      CommerceShippingOptionAccountEntryRelId - the primary key of the current commerce shipping option account entry rel
      commerceChannelId - the commerce channel ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce shipping option account entry rel
      Throws:
      NoSuchShippingOptionAccountEntryRelException - if a commerce shipping option account entry rel with the primary key could not be found
    • removeByCommerceChannelId

      void removeByCommerceChannelId(long commerceChannelId)
      Removes all the commerce shipping option account entry rels where commerceChannelId = ? from the database.
      Parameters:
      commerceChannelId - the commerce channel ID
    • countByCommerceChannelId

      int countByCommerceChannelId(long commerceChannelId)
      Returns the number of commerce shipping option account entry rels where commerceChannelId = ?.
      Parameters:
      commerceChannelId - the commerce channel ID
      Returns:
      the number of matching commerce shipping option account entry rels
    • findByCommerceShippingOptionKey

      List<CommerceShippingOptionAccountEntryRel> findByCommerceShippingOptionKey(String commerceShippingOptionKey)
      Returns all the commerce shipping option account entry rels where commerceShippingOptionKey = ?.
      Parameters:
      commerceShippingOptionKey - the commerce shipping option key
      Returns:
      the matching commerce shipping option account entry rels
    • findByCommerceShippingOptionKey

      List<CommerceShippingOptionAccountEntryRel> findByCommerceShippingOptionKey(String commerceShippingOptionKey, int start, int end)
      Returns a range of all the commerce shipping option account entry rels where commerceShippingOptionKey = ?.

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

      Parameters:
      commerceShippingOptionKey - the commerce shipping option key
      start - the lower bound of the range of commerce shipping option account entry rels
      end - the upper bound of the range of commerce shipping option account entry rels (not inclusive)
      Returns:
      the range of matching commerce shipping option account entry rels
    • findByCommerceShippingOptionKey

      List<CommerceShippingOptionAccountEntryRel> findByCommerceShippingOptionKey(String commerceShippingOptionKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
      Returns an ordered range of all the commerce shipping option account entry rels where commerceShippingOptionKey = ?.

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

      Parameters:
      commerceShippingOptionKey - the commerce shipping option key
      start - the lower bound of the range of commerce shipping option account entry rels
      end - the upper bound of the range of commerce shipping option account entry rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce shipping option account entry rels
    • findByCommerceShippingOptionKey

      List<CommerceShippingOptionAccountEntryRel> findByCommerceShippingOptionKey(String commerceShippingOptionKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipping option account entry rels where commerceShippingOptionKey = ?.

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

      Parameters:
      commerceShippingOptionKey - the commerce shipping option key
      start - the lower bound of the range of commerce shipping option account entry rels
      end - the upper bound of the range of commerce shipping option account entry rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching commerce shipping option account entry rels
    • findByCommerceShippingOptionKey_First

      CommerceShippingOptionAccountEntryRel findByCommerceShippingOptionKey_First(String commerceShippingOptionKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
      Returns the first commerce shipping option account entry rel in the ordered set where commerceShippingOptionKey = ?.
      Parameters:
      commerceShippingOptionKey - the commerce shipping option key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipping option account entry rel
      Throws:
      NoSuchShippingOptionAccountEntryRelException - if a matching commerce shipping option account entry rel could not be found
    • fetchByCommerceShippingOptionKey_First

      CommerceShippingOptionAccountEntryRel fetchByCommerceShippingOptionKey_First(String commerceShippingOptionKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
      Returns the first commerce shipping option account entry rel in the ordered set where commerceShippingOptionKey = ?.
      Parameters:
      commerceShippingOptionKey - the commerce shipping option key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipping option account entry rel, or null if a matching commerce shipping option account entry rel could not be found
    • findByCommerceShippingOptionKey_Last

      CommerceShippingOptionAccountEntryRel findByCommerceShippingOptionKey_Last(String commerceShippingOptionKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
      Returns the last commerce shipping option account entry rel in the ordered set where commerceShippingOptionKey = ?.
      Parameters:
      commerceShippingOptionKey - the commerce shipping option key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce shipping option account entry rel
      Throws:
      NoSuchShippingOptionAccountEntryRelException - if a matching commerce shipping option account entry rel could not be found
    • fetchByCommerceShippingOptionKey_Last

      CommerceShippingOptionAccountEntryRel fetchByCommerceShippingOptionKey_Last(String commerceShippingOptionKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
      Returns the last commerce shipping option account entry rel in the ordered set where commerceShippingOptionKey = ?.
      Parameters:
      commerceShippingOptionKey - the commerce shipping option key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce shipping option account entry rel, or null if a matching commerce shipping option account entry rel could not be found
    • findByCommerceShippingOptionKey_PrevAndNext

      CommerceShippingOptionAccountEntryRel[] findByCommerceShippingOptionKey_PrevAndNext(long CommerceShippingOptionAccountEntryRelId, String commerceShippingOptionKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator) throws NoSuchShippingOptionAccountEntryRelException
      Returns the commerce shipping option account entry rels before and after the current commerce shipping option account entry rel in the ordered set where commerceShippingOptionKey = ?.
      Parameters:
      CommerceShippingOptionAccountEntryRelId - the primary key of the current commerce shipping option account entry rel
      commerceShippingOptionKey - the commerce shipping option key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce shipping option account entry rel
      Throws:
      NoSuchShippingOptionAccountEntryRelException - if a commerce shipping option account entry rel with the primary key could not be found
    • removeByCommerceShippingOptionKey

      void removeByCommerceShippingOptionKey(String commerceShippingOptionKey)
      Removes all the commerce shipping option account entry rels where commerceShippingOptionKey = ? from the database.
      Parameters:
      commerceShippingOptionKey - the commerce shipping option key
    • countByCommerceShippingOptionKey

      int countByCommerceShippingOptionKey(String commerceShippingOptionKey)
      Returns the number of commerce shipping option account entry rels where commerceShippingOptionKey = ?.
      Parameters:
      commerceShippingOptionKey - the commerce shipping option key
      Returns:
      the number of matching commerce shipping option account entry rels
    • findByA_C

      CommerceShippingOptionAccountEntryRel findByA_C(long accountEntryId, long commerceChannelId) throws NoSuchShippingOptionAccountEntryRelException
      Returns the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? or throws a NoSuchShippingOptionAccountEntryRelException if it could not be found.
      Parameters:
      accountEntryId - the account entry ID
      commerceChannelId - the commerce channel ID
      Returns:
      the matching commerce shipping option account entry rel
      Throws:
      NoSuchShippingOptionAccountEntryRelException - if a matching commerce shipping option account entry rel could not be found
    • fetchByA_C

      CommerceShippingOptionAccountEntryRel fetchByA_C(long accountEntryId, long commerceChannelId)
      Returns the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      accountEntryId - the account entry ID
      commerceChannelId - the commerce channel ID
      Returns:
      the matching commerce shipping option account entry rel, or null if a matching commerce shipping option account entry rel could not be found
    • fetchByA_C

      CommerceShippingOptionAccountEntryRel fetchByA_C(long accountEntryId, long commerceChannelId, boolean useFinderCache)
      Returns the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      accountEntryId - the account entry ID
      commerceChannelId - the commerce channel ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce shipping option account entry rel, or null if a matching commerce shipping option account entry rel could not be found
    • removeByA_C

      CommerceShippingOptionAccountEntryRel removeByA_C(long accountEntryId, long commerceChannelId) throws NoSuchShippingOptionAccountEntryRelException
      Removes the commerce shipping option account entry rel where accountEntryId = ? and commerceChannelId = ? from the database.
      Parameters:
      accountEntryId - the account entry ID
      commerceChannelId - the commerce channel ID
      Returns:
      the commerce shipping option account entry rel that was removed
      Throws:
      NoSuchShippingOptionAccountEntryRelException
    • countByA_C

      int countByA_C(long accountEntryId, long commerceChannelId)
      Returns the number of commerce shipping option account entry rels where accountEntryId = ? and commerceChannelId = ?.
      Parameters:
      accountEntryId - the account entry ID
      commerceChannelId - the commerce channel ID
      Returns:
      the number of matching commerce shipping option account entry rels
    • cacheResult

      void cacheResult(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
      Caches the commerce shipping option account entry rel in the entity cache if it is enabled.
      Parameters:
      commerceShippingOptionAccountEntryRel - the commerce shipping option account entry rel
    • cacheResult

      void cacheResult(List<CommerceShippingOptionAccountEntryRel> commerceShippingOptionAccountEntryRels)
      Caches the commerce shipping option account entry rels in the entity cache if it is enabled.
      Parameters:
      commerceShippingOptionAccountEntryRels - the commerce shipping option account entry rels
    • create

      CommerceShippingOptionAccountEntryRel create(long CommerceShippingOptionAccountEntryRelId)
      Creates a new commerce shipping option account entry rel with the primary key. Does not add the commerce shipping option account entry rel to the database.
      Parameters:
      CommerceShippingOptionAccountEntryRelId - the primary key for the new commerce shipping option account entry rel
      Returns:
      the new commerce shipping option account entry rel
    • remove

      CommerceShippingOptionAccountEntryRel remove(long CommerceShippingOptionAccountEntryRelId) throws NoSuchShippingOptionAccountEntryRelException
      Removes the commerce shipping option account entry rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      CommerceShippingOptionAccountEntryRelId - the primary key of the commerce shipping option account entry rel
      Returns:
      the commerce shipping option account entry rel that was removed
      Throws:
      NoSuchShippingOptionAccountEntryRelException - if a commerce shipping option account entry rel with the primary key could not be found
    • updateImpl

      CommerceShippingOptionAccountEntryRel updateImpl(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
    • findByPrimaryKey

      CommerceShippingOptionAccountEntryRel findByPrimaryKey(long CommerceShippingOptionAccountEntryRelId) throws NoSuchShippingOptionAccountEntryRelException
      Returns the commerce shipping option account entry rel with the primary key or throws a NoSuchShippingOptionAccountEntryRelException if it could not be found.
      Parameters:
      CommerceShippingOptionAccountEntryRelId - the primary key of the commerce shipping option account entry rel
      Returns:
      the commerce shipping option account entry rel
      Throws:
      NoSuchShippingOptionAccountEntryRelException - if a commerce shipping option account entry rel with the primary key could not be found
    • fetchByPrimaryKey

      CommerceShippingOptionAccountEntryRel fetchByPrimaryKey(long CommerceShippingOptionAccountEntryRelId)
      Returns the commerce shipping option account entry rel with the primary key or returns null if it could not be found.
      Parameters:
      CommerceShippingOptionAccountEntryRelId - the primary key of the commerce shipping option account entry rel
      Returns:
      the commerce shipping option account entry rel, or null if a commerce shipping option account entry rel with the primary key could not be found
    • findAll

      Returns all the commerce shipping option account entry rels.
      Returns:
      the commerce shipping option account entry rels
    • findAll

      List<CommerceShippingOptionAccountEntryRel> findAll(int start, int end)
      Returns a range of all the commerce shipping option account entry rels.

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

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

      List<CommerceShippingOptionAccountEntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator)
      Returns an ordered range of all the commerce shipping option account entry rels.

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

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

      List<CommerceShippingOptionAccountEntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingOptionAccountEntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipping option account entry rels.

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

      Parameters:
      start - the lower bound of the range of commerce shipping option account entry rels
      end - the upper bound of the range of commerce shipping option account entry rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of commerce shipping option account entry rels
    • removeAll

      void removeAll()
      Removes all the commerce shipping option account entry rels from the database.
    • countAll

      int countAll()
      Returns the number of commerce shipping option account entry rels.
      Returns:
      the number of commerce shipping option account entry rels