Class CommerceShippingOptionAccountEntryRelUtil

java.lang.Object
com.liferay.commerce.service.persistence.CommerceShippingOptionAccountEntryRelUtil

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • CommerceShippingOptionAccountEntryRelUtil

      public CommerceShippingOptionAccountEntryRelUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

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

      public static CommerceShippingOptionAccountEntryRel update(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByAccountEntryId

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

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

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

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

      public static 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
      NoSuchShippingOptionAccountEntryRelException
    • fetchByAccountEntryId_First

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

      public static 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
      NoSuchShippingOptionAccountEntryRelException
    • fetchByAccountEntryId_Last

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

      public static 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
      NoSuchShippingOptionAccountEntryRelException
    • removeByAccountEntryId

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

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

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

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

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

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

      public static 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
      NoSuchShippingOptionAccountEntryRelException
    • fetchByCommerceChannelId_First

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

      public static 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
      NoSuchShippingOptionAccountEntryRelException
    • fetchByCommerceChannelId_Last

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

      public static 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
      NoSuchShippingOptionAccountEntryRelException
    • removeByCommerceChannelId

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

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

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

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

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

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

      public static 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
      NoSuchShippingOptionAccountEntryRelException
    • fetchByCommerceShippingOptionKey_First

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

      public static 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
      NoSuchShippingOptionAccountEntryRelException
    • fetchByCommerceShippingOptionKey_Last

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

      public static 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
      NoSuchShippingOptionAccountEntryRelException
    • removeByCommerceShippingOptionKey

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

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

      public static 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
      NoSuchShippingOptionAccountEntryRelException
    • fetchByA_C

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

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

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

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

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

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

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

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

      public static CommerceShippingOptionAccountEntryRel updateImpl(CommerceShippingOptionAccountEntryRel commerceShippingOptionAccountEntryRel)
    • findByPrimaryKey

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

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

      public static List<CommerceShippingOptionAccountEntryRel> findAll()
      Returns all the commerce shipping option account entry rels.
      Returns:
      the commerce shipping option account entry rels
    • findAll

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

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

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

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

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

      public static CommerceShippingOptionAccountEntryRelPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CommerceShippingOptionAccountEntryRelPersistence persistence)