Class CommerceChannelAccountEntryRelUtil

java.lang.Object
com.liferay.commerce.product.service.persistence.CommerceChannelAccountEntryRelUtil

public class CommerceChannelAccountEntryRelUtil extends Object
The persistence utility for the commerce channel account entry rel service. This utility wraps com.liferay.commerce.product.service.persistence.impl.CommerceChannelAccountEntryRelPersistenceImpl 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

    • CommerceChannelAccountEntryRelUtil

      public CommerceChannelAccountEntryRelUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(CommerceChannelAccountEntryRel commerceChannelAccountEntryRel)
      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,CommerceChannelAccountEntryRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

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

      public static List<CommerceChannelAccountEntryRel> findByAccountEntryId(long accountEntryId)
      Returns all the commerce channel account entry rels where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      Returns:
      the matching commerce channel account entry rels
    • findByAccountEntryId

      public static List<CommerceChannelAccountEntryRel> findByAccountEntryId(long accountEntryId, int start, int end)
      Returns a range of all the commerce channel 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 CommerceChannelAccountEntryRelModelImpl.

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

      public static List<CommerceChannelAccountEntryRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns an ordered range of all the commerce channel 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 CommerceChannelAccountEntryRelModelImpl.

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

      public static List<CommerceChannelAccountEntryRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce channel 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 CommerceChannelAccountEntryRelModelImpl.

      Parameters:
      accountEntryId - the account entry ID
      start - the lower bound of the range of commerce channel account entry rels
      end - the upper bound of the range of commerce channel 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 channel account entry rels
    • findByAccountEntryId_First

      public static CommerceChannelAccountEntryRel findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the first commerce channel 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 channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByAccountEntryId_First

      public static CommerceChannelAccountEntryRel fetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns the first commerce channel 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 channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • findByAccountEntryId_Last

      public static CommerceChannelAccountEntryRel findByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the last commerce channel 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 channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByAccountEntryId_Last

      public static CommerceChannelAccountEntryRel fetchByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns the last commerce channel 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 channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • findByAccountEntryId_PrevAndNext

      public static CommerceChannelAccountEntryRel[] findByAccountEntryId_PrevAndNext(long commerceChannelAccountEntryRelId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the commerce channel account entry rels before and after the current commerce channel account entry rel in the ordered set where accountEntryId = ?.
      Parameters:
      commerceChannelAccountEntryRelId - the primary key of the current commerce channel 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 channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a commerce channel account entry rel with the primary key could not be found
      NoSuchChannelAccountEntryRelException
    • removeByAccountEntryId

      public static void removeByAccountEntryId(long accountEntryId)
      Removes all the commerce channel 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 channel account entry rels where accountEntryId = ?.
      Parameters:
      accountEntryId - the account entry ID
      Returns:
      the number of matching commerce channel account entry rels
    • findByCommerceChannelId

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

      public static List<CommerceChannelAccountEntryRel> findByCommerceChannelId(long commerceChannelId, int start, int end)
      Returns a range of all the commerce channel 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 CommerceChannelAccountEntryRelModelImpl.

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

      public static List<CommerceChannelAccountEntryRel> findByCommerceChannelId(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns an ordered range of all the commerce channel 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 CommerceChannelAccountEntryRelModelImpl.

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

      public static List<CommerceChannelAccountEntryRel> findByCommerceChannelId(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce channel 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 CommerceChannelAccountEntryRelModelImpl.

      Parameters:
      commerceChannelId - the commerce channel ID
      start - the lower bound of the range of commerce channel account entry rels
      end - the upper bound of the range of commerce channel 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 channel account entry rels
    • findByCommerceChannelId_First

      public static CommerceChannelAccountEntryRel findByCommerceChannelId_First(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the first commerce channel 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 channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByCommerceChannelId_First

      public static CommerceChannelAccountEntryRel fetchByCommerceChannelId_First(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns the first commerce channel 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 channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • findByCommerceChannelId_Last

      public static CommerceChannelAccountEntryRel findByCommerceChannelId_Last(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the last commerce channel 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 channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByCommerceChannelId_Last

      public static CommerceChannelAccountEntryRel fetchByCommerceChannelId_Last(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns the last commerce channel 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 channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • findByCommerceChannelId_PrevAndNext

      public static CommerceChannelAccountEntryRel[] findByCommerceChannelId_PrevAndNext(long commerceChannelAccountEntryRelId, long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the commerce channel account entry rels before and after the current commerce channel account entry rel in the ordered set where commerceChannelId = ?.
      Parameters:
      commerceChannelAccountEntryRelId - the primary key of the current commerce channel 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 channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a commerce channel account entry rel with the primary key could not be found
      NoSuchChannelAccountEntryRelException
    • removeByCommerceChannelId

      public static void removeByCommerceChannelId(long commerceChannelId)
      Removes all the commerce channel 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 channel account entry rels where commerceChannelId = ?.
      Parameters:
      commerceChannelId - the commerce channel ID
      Returns:
      the number of matching commerce channel account entry rels
    • findByA_T

      public static List<CommerceChannelAccountEntryRel> findByA_T(long accountEntryId, int type)
      Returns all the commerce channel account entry rels where accountEntryId = ? and type = ?.
      Parameters:
      accountEntryId - the account entry ID
      type - the type
      Returns:
      the matching commerce channel account entry rels
    • findByA_T

      public static List<CommerceChannelAccountEntryRel> findByA_T(long accountEntryId, int type, int start, int end)
      Returns a range of all the commerce channel account entry rels where accountEntryId = ? and type = ?.

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

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

      public static List<CommerceChannelAccountEntryRel> findByA_T(long accountEntryId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns an ordered range of all the commerce channel account entry rels where accountEntryId = ? and type = ?.

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

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

      public static List<CommerceChannelAccountEntryRel> findByA_T(long accountEntryId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce channel account entry rels where accountEntryId = ? and type = ?.

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

      Parameters:
      accountEntryId - the account entry ID
      type - the type
      start - the lower bound of the range of commerce channel account entry rels
      end - the upper bound of the range of commerce channel 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 channel account entry rels
    • findByA_T_First

      public static CommerceChannelAccountEntryRel findByA_T_First(long accountEntryId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the first commerce channel account entry rel in the ordered set where accountEntryId = ? and type = ?.
      Parameters:
      accountEntryId - the account entry ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByA_T_First

      public static CommerceChannelAccountEntryRel fetchByA_T_First(long accountEntryId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns the first commerce channel account entry rel in the ordered set where accountEntryId = ? and type = ?.
      Parameters:
      accountEntryId - the account entry ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • findByA_T_Last

      public static CommerceChannelAccountEntryRel findByA_T_Last(long accountEntryId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the last commerce channel account entry rel in the ordered set where accountEntryId = ? and type = ?.
      Parameters:
      accountEntryId - the account entry ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByA_T_Last

      public static CommerceChannelAccountEntryRel fetchByA_T_Last(long accountEntryId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns the last commerce channel account entry rel in the ordered set where accountEntryId = ? and type = ?.
      Parameters:
      accountEntryId - the account entry ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • findByA_T_PrevAndNext

      public static CommerceChannelAccountEntryRel[] findByA_T_PrevAndNext(long commerceChannelAccountEntryRelId, long accountEntryId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the commerce channel account entry rels before and after the current commerce channel account entry rel in the ordered set where accountEntryId = ? and type = ?.
      Parameters:
      commerceChannelAccountEntryRelId - the primary key of the current commerce channel account entry rel
      accountEntryId - the account entry ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a commerce channel account entry rel with the primary key could not be found
      NoSuchChannelAccountEntryRelException
    • removeByA_T

      public static void removeByA_T(long accountEntryId, int type)
      Removes all the commerce channel account entry rels where accountEntryId = ? and type = ? from the database.
      Parameters:
      accountEntryId - the account entry ID
      type - the type
    • countByA_T

      public static int countByA_T(long accountEntryId, int type)
      Returns the number of commerce channel account entry rels where accountEntryId = ? and type = ?.
      Parameters:
      accountEntryId - the account entry ID
      type - the type
      Returns:
      the number of matching commerce channel account entry rels
    • findByC_C

      public static List<CommerceChannelAccountEntryRel> findByC_C(long classNameId, long classPK)
      Returns all the commerce channel account entry rels where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching commerce channel account entry rels
    • findByC_C

      public static List<CommerceChannelAccountEntryRel> findByC_C(long classNameId, long classPK, int start, int end)
      Returns a range of all the commerce channel account entry rels where classNameId = ? and classPK = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of commerce channel account entry rels
      end - the upper bound of the range of commerce channel account entry rels (not inclusive)
      Returns:
      the range of matching commerce channel account entry rels
    • findByC_C

      public static List<CommerceChannelAccountEntryRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns an ordered range of all the commerce channel account entry rels where classNameId = ? and classPK = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of commerce channel account entry rels
      end - the upper bound of the range of commerce channel account entry rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce channel account entry rels
    • findByC_C

      public static List<CommerceChannelAccountEntryRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce channel account entry rels where classNameId = ? and classPK = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of commerce channel account entry rels
      end - the upper bound of the range of commerce channel 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 channel account entry rels
    • findByC_C_First

      public static CommerceChannelAccountEntryRel findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the first commerce channel account entry rel in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByC_C_First

      public static CommerceChannelAccountEntryRel fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns the first commerce channel account entry rel in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • findByC_C_Last

      public static CommerceChannelAccountEntryRel findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the last commerce channel account entry rel in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByC_C_Last

      public static CommerceChannelAccountEntryRel fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns the last commerce channel account entry rel in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • findByC_C_PrevAndNext

      public static CommerceChannelAccountEntryRel[] findByC_C_PrevAndNext(long commerceChannelAccountEntryRelId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the commerce channel account entry rels before and after the current commerce channel account entry rel in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      commerceChannelAccountEntryRelId - the primary key of the current commerce channel account entry rel
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a commerce channel account entry rel with the primary key could not be found
      NoSuchChannelAccountEntryRelException
    • removeByC_C

      public static void removeByC_C(long classNameId, long classPK)
      Removes all the commerce channel account entry rels where classNameId = ? and classPK = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
    • countByC_C

      public static int countByC_C(long classNameId, long classPK)
      Returns the number of commerce channel account entry rels where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching commerce channel account entry rels
    • findByC_T

      public static List<CommerceChannelAccountEntryRel> findByC_T(long commerceChannelId, int type)
      Returns all the commerce channel account entry rels where commerceChannelId = ? and type = ?.
      Parameters:
      commerceChannelId - the commerce channel ID
      type - the type
      Returns:
      the matching commerce channel account entry rels
    • findByC_T

      public static List<CommerceChannelAccountEntryRel> findByC_T(long commerceChannelId, int type, int start, int end)
      Returns a range of all the commerce channel account entry rels where commerceChannelId = ? and type = ?.

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

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

      public static List<CommerceChannelAccountEntryRel> findByC_T(long commerceChannelId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns an ordered range of all the commerce channel account entry rels where commerceChannelId = ? and type = ?.

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

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

      public static List<CommerceChannelAccountEntryRel> findByC_T(long commerceChannelId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce channel account entry rels where commerceChannelId = ? and type = ?.

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

      Parameters:
      commerceChannelId - the commerce channel ID
      type - the type
      start - the lower bound of the range of commerce channel account entry rels
      end - the upper bound of the range of commerce channel 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 channel account entry rels
    • findByC_T_First

      public static CommerceChannelAccountEntryRel findByC_T_First(long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the first commerce channel account entry rel in the ordered set where commerceChannelId = ? and type = ?.
      Parameters:
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByC_T_First

      public static CommerceChannelAccountEntryRel fetchByC_T_First(long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns the first commerce channel account entry rel in the ordered set where commerceChannelId = ? and type = ?.
      Parameters:
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • findByC_T_Last

      public static CommerceChannelAccountEntryRel findByC_T_Last(long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the last commerce channel account entry rel in the ordered set where commerceChannelId = ? and type = ?.
      Parameters:
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByC_T_Last

      public static CommerceChannelAccountEntryRel fetchByC_T_Last(long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns the last commerce channel account entry rel in the ordered set where commerceChannelId = ? and type = ?.
      Parameters:
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • findByC_T_PrevAndNext

      public static CommerceChannelAccountEntryRel[] findByC_T_PrevAndNext(long commerceChannelAccountEntryRelId, long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the commerce channel account entry rels before and after the current commerce channel account entry rel in the ordered set where commerceChannelId = ? and type = ?.
      Parameters:
      commerceChannelAccountEntryRelId - the primary key of the current commerce channel account entry rel
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a commerce channel account entry rel with the primary key could not be found
      NoSuchChannelAccountEntryRelException
    • removeByC_T

      public static void removeByC_T(long commerceChannelId, int type)
      Removes all the commerce channel account entry rels where commerceChannelId = ? and type = ? from the database.
      Parameters:
      commerceChannelId - the commerce channel ID
      type - the type
    • countByC_T

      public static int countByC_T(long commerceChannelId, int type)
      Returns the number of commerce channel account entry rels where commerceChannelId = ? and type = ?.
      Parameters:
      commerceChannelId - the commerce channel ID
      type - the type
      Returns:
      the number of matching commerce channel account entry rels
    • findByA_C_T

      public static List<CommerceChannelAccountEntryRel> findByA_C_T(long accountEntryId, long commerceChannelId, int type)
      Returns all the commerce channel account entry rels where accountEntryId = ? and commerceChannelId = ? and type = ?.
      Parameters:
      accountEntryId - the account entry ID
      commerceChannelId - the commerce channel ID
      type - the type
      Returns:
      the matching commerce channel account entry rels
    • findByA_C_T

      public static List<CommerceChannelAccountEntryRel> findByA_C_T(long accountEntryId, long commerceChannelId, int type, int start, int end)
      Returns a range of all the commerce channel account entry rels where accountEntryId = ? and commerceChannelId = ? and type = ?.

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

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

      public static List<CommerceChannelAccountEntryRel> findByA_C_T(long accountEntryId, long commerceChannelId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns an ordered range of all the commerce channel account entry rels where accountEntryId = ? and commerceChannelId = ? and type = ?.

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

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

      public static List<CommerceChannelAccountEntryRel> findByA_C_T(long accountEntryId, long commerceChannelId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce channel account entry rels where accountEntryId = ? and commerceChannelId = ? and type = ?.

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

      Parameters:
      accountEntryId - the account entry ID
      commerceChannelId - the commerce channel ID
      type - the type
      start - the lower bound of the range of commerce channel account entry rels
      end - the upper bound of the range of commerce channel 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 channel account entry rels
    • findByA_C_T_First

      public static CommerceChannelAccountEntryRel findByA_C_T_First(long accountEntryId, long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the first commerce channel account entry rel in the ordered set where accountEntryId = ? and commerceChannelId = ? and type = ?.
      Parameters:
      accountEntryId - the account entry ID
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByA_C_T_First

      public static CommerceChannelAccountEntryRel fetchByA_C_T_First(long accountEntryId, long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns the first commerce channel account entry rel in the ordered set where accountEntryId = ? and commerceChannelId = ? and type = ?.
      Parameters:
      accountEntryId - the account entry ID
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • findByA_C_T_Last

      public static CommerceChannelAccountEntryRel findByA_C_T_Last(long accountEntryId, long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the last commerce channel account entry rel in the ordered set where accountEntryId = ? and commerceChannelId = ? and type = ?.
      Parameters:
      accountEntryId - the account entry ID
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByA_C_T_Last

      public static CommerceChannelAccountEntryRel fetchByA_C_T_Last(long accountEntryId, long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns the last commerce channel account entry rel in the ordered set where accountEntryId = ? and commerceChannelId = ? and type = ?.
      Parameters:
      accountEntryId - the account entry ID
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • findByA_C_T_PrevAndNext

      public static CommerceChannelAccountEntryRel[] findByA_C_T_PrevAndNext(long commerceChannelAccountEntryRelId, long accountEntryId, long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the commerce channel account entry rels before and after the current commerce channel account entry rel in the ordered set where accountEntryId = ? and commerceChannelId = ? and type = ?.
      Parameters:
      commerceChannelAccountEntryRelId - the primary key of the current commerce channel account entry rel
      accountEntryId - the account entry ID
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a commerce channel account entry rel with the primary key could not be found
      NoSuchChannelAccountEntryRelException
    • removeByA_C_T

      public static void removeByA_C_T(long accountEntryId, long commerceChannelId, int type)
      Removes all the commerce channel account entry rels where accountEntryId = ? and commerceChannelId = ? and type = ? from the database.
      Parameters:
      accountEntryId - the account entry ID
      commerceChannelId - the commerce channel ID
      type - the type
    • countByA_C_T

      public static int countByA_C_T(long accountEntryId, long commerceChannelId, int type)
      Returns the number of commerce channel account entry rels where accountEntryId = ? and commerceChannelId = ? and type = ?.
      Parameters:
      accountEntryId - the account entry ID
      commerceChannelId - the commerce channel ID
      type - the type
      Returns:
      the number of matching commerce channel account entry rels
    • findByC_C_C_T

      public static List<CommerceChannelAccountEntryRel> findByC_C_C_T(long classNameId, long classPK, long commerceChannelId, int type)
      Returns all the commerce channel account entry rels where classNameId = ? and classPK = ? and commerceChannelId = ? and type = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      Returns:
      the matching commerce channel account entry rels
    • findByC_C_C_T

      public static List<CommerceChannelAccountEntryRel> findByC_C_C_T(long classNameId, long classPK, long commerceChannelId, int type, int start, int end)
      Returns a range of all the commerce channel account entry rels where classNameId = ? and classPK = ? and commerceChannelId = ? and type = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      start - the lower bound of the range of commerce channel account entry rels
      end - the upper bound of the range of commerce channel account entry rels (not inclusive)
      Returns:
      the range of matching commerce channel account entry rels
    • findByC_C_C_T

      public static List<CommerceChannelAccountEntryRel> findByC_C_C_T(long classNameId, long classPK, long commerceChannelId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns an ordered range of all the commerce channel account entry rels where classNameId = ? and classPK = ? and commerceChannelId = ? and type = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      start - the lower bound of the range of commerce channel account entry rels
      end - the upper bound of the range of commerce channel account entry rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce channel account entry rels
    • findByC_C_C_T

      public static List<CommerceChannelAccountEntryRel> findByC_C_C_T(long classNameId, long classPK, long commerceChannelId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce channel account entry rels where classNameId = ? and classPK = ? and commerceChannelId = ? and type = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      start - the lower bound of the range of commerce channel account entry rels
      end - the upper bound of the range of commerce channel 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 channel account entry rels
    • findByC_C_C_T_First

      public static CommerceChannelAccountEntryRel findByC_C_C_T_First(long classNameId, long classPK, long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the first commerce channel account entry rel in the ordered set where classNameId = ? and classPK = ? and commerceChannelId = ? and type = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByC_C_C_T_First

      public static CommerceChannelAccountEntryRel fetchByC_C_C_T_First(long classNameId, long classPK, long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns the first commerce channel account entry rel in the ordered set where classNameId = ? and classPK = ? and commerceChannelId = ? and type = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • findByC_C_C_T_Last

      public static CommerceChannelAccountEntryRel findByC_C_C_T_Last(long classNameId, long classPK, long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the last commerce channel account entry rel in the ordered set where classNameId = ? and classPK = ? and commerceChannelId = ? and type = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByC_C_C_T_Last

      public static CommerceChannelAccountEntryRel fetchByC_C_C_T_Last(long classNameId, long classPK, long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns the last commerce channel account entry rel in the ordered set where classNameId = ? and classPK = ? and commerceChannelId = ? and type = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • findByC_C_C_T_PrevAndNext

      public static CommerceChannelAccountEntryRel[] findByC_C_C_T_PrevAndNext(long commerceChannelAccountEntryRelId, long classNameId, long classPK, long commerceChannelId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator) throws NoSuchChannelAccountEntryRelException
      Returns the commerce channel account entry rels before and after the current commerce channel account entry rel in the ordered set where classNameId = ? and classPK = ? and commerceChannelId = ? and type = ?.
      Parameters:
      commerceChannelAccountEntryRelId - the primary key of the current commerce channel account entry rel
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a commerce channel account entry rel with the primary key could not be found
      NoSuchChannelAccountEntryRelException
    • removeByC_C_C_T

      public static void removeByC_C_C_T(long classNameId, long classPK, long commerceChannelId, int type)
      Removes all the commerce channel account entry rels where classNameId = ? and classPK = ? and commerceChannelId = ? and type = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
    • countByC_C_C_T

      public static int countByC_C_C_T(long classNameId, long classPK, long commerceChannelId, int type)
      Returns the number of commerce channel account entry rels where classNameId = ? and classPK = ? and commerceChannelId = ? and type = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      Returns:
      the number of matching commerce channel account entry rels
    • findByA_C_C_C_T

      public static CommerceChannelAccountEntryRel findByA_C_C_C_T(long accountEntryId, long classNameId, long classPK, long commerceChannelId, int type) throws NoSuchChannelAccountEntryRelException
      Returns the commerce channel account entry rel where accountEntryId = ? and classNameId = ? and classPK = ? and commerceChannelId = ? and type = ? or throws a NoSuchChannelAccountEntryRelException if it could not be found.
      Parameters:
      accountEntryId - the account entry ID
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      Returns:
      the matching commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a matching commerce channel account entry rel could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByA_C_C_C_T

      public static CommerceChannelAccountEntryRel fetchByA_C_C_C_T(long accountEntryId, long classNameId, long classPK, long commerceChannelId, int type)
      Returns the commerce channel account entry rel where accountEntryId = ? and classNameId = ? and classPK = ? and commerceChannelId = ? and type = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      accountEntryId - the account entry ID
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      Returns:
      the matching commerce channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • fetchByA_C_C_C_T

      public static CommerceChannelAccountEntryRel fetchByA_C_C_C_T(long accountEntryId, long classNameId, long classPK, long commerceChannelId, int type, boolean useFinderCache)
      Returns the commerce channel account entry rel where accountEntryId = ? and classNameId = ? and classPK = ? and commerceChannelId = ? and type = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      accountEntryId - the account entry ID
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce channel account entry rel, or null if a matching commerce channel account entry rel could not be found
    • removeByA_C_C_C_T

      public static CommerceChannelAccountEntryRel removeByA_C_C_C_T(long accountEntryId, long classNameId, long classPK, long commerceChannelId, int type) throws NoSuchChannelAccountEntryRelException
      Removes the commerce channel account entry rel where accountEntryId = ? and classNameId = ? and classPK = ? and commerceChannelId = ? and type = ? from the database.
      Parameters:
      accountEntryId - the account entry ID
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      Returns:
      the commerce channel account entry rel that was removed
      Throws:
      NoSuchChannelAccountEntryRelException
    • countByA_C_C_C_T

      public static int countByA_C_C_C_T(long accountEntryId, long classNameId, long classPK, long commerceChannelId, int type)
      Returns the number of commerce channel account entry rels where accountEntryId = ? and classNameId = ? and classPK = ? and commerceChannelId = ? and type = ?.
      Parameters:
      accountEntryId - the account entry ID
      classNameId - the class name ID
      classPK - the class pk
      commerceChannelId - the commerce channel ID
      type - the type
      Returns:
      the number of matching commerce channel account entry rels
    • cacheResult

      public static void cacheResult(CommerceChannelAccountEntryRel commerceChannelAccountEntryRel)
      Caches the commerce channel account entry rel in the entity cache if it is enabled.
      Parameters:
      commerceChannelAccountEntryRel - the commerce channel account entry rel
    • cacheResult

      public static void cacheResult(List<CommerceChannelAccountEntryRel> commerceChannelAccountEntryRels)
      Caches the commerce channel account entry rels in the entity cache if it is enabled.
      Parameters:
      commerceChannelAccountEntryRels - the commerce channel account entry rels
    • create

      public static CommerceChannelAccountEntryRel create(long commerceChannelAccountEntryRelId)
      Creates a new commerce channel account entry rel with the primary key. Does not add the commerce channel account entry rel to the database.
      Parameters:
      commerceChannelAccountEntryRelId - the primary key for the new commerce channel account entry rel
      Returns:
      the new commerce channel account entry rel
    • remove

      public static CommerceChannelAccountEntryRel remove(long commerceChannelAccountEntryRelId) throws NoSuchChannelAccountEntryRelException
      Removes the commerce channel account entry rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceChannelAccountEntryRelId - the primary key of the commerce channel account entry rel
      Returns:
      the commerce channel account entry rel that was removed
      Throws:
      NoSuchChannelAccountEntryRelException - if a commerce channel account entry rel with the primary key could not be found
      NoSuchChannelAccountEntryRelException
    • updateImpl

      public static CommerceChannelAccountEntryRel updateImpl(CommerceChannelAccountEntryRel commerceChannelAccountEntryRel)
    • findByPrimaryKey

      public static CommerceChannelAccountEntryRel findByPrimaryKey(long commerceChannelAccountEntryRelId) throws NoSuchChannelAccountEntryRelException
      Returns the commerce channel account entry rel with the primary key or throws a NoSuchChannelAccountEntryRelException if it could not be found.
      Parameters:
      commerceChannelAccountEntryRelId - the primary key of the commerce channel account entry rel
      Returns:
      the commerce channel account entry rel
      Throws:
      NoSuchChannelAccountEntryRelException - if a commerce channel account entry rel with the primary key could not be found
      NoSuchChannelAccountEntryRelException
    • fetchByPrimaryKey

      public static CommerceChannelAccountEntryRel fetchByPrimaryKey(long commerceChannelAccountEntryRelId)
      Returns the commerce channel account entry rel with the primary key or returns null if it could not be found.
      Parameters:
      commerceChannelAccountEntryRelId - the primary key of the commerce channel account entry rel
      Returns:
      the commerce channel account entry rel, or null if a commerce channel account entry rel with the primary key could not be found
    • findAll

      public static List<CommerceChannelAccountEntryRel> findAll()
      Returns all the commerce channel account entry rels.
      Returns:
      the commerce channel account entry rels
    • findAll

      public static List<CommerceChannelAccountEntryRel> findAll(int start, int end)
      Returns a range of all the commerce channel 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 CommerceChannelAccountEntryRelModelImpl.

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

      public static List<CommerceChannelAccountEntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator)
      Returns an ordered range of all the commerce channel 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 CommerceChannelAccountEntryRelModelImpl.

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

      public static List<CommerceChannelAccountEntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelAccountEntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce channel 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 CommerceChannelAccountEntryRelModelImpl.

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

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

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

      public static CommerceChannelAccountEntryRelPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CommerceChannelAccountEntryRelPersistence persistence)