Class CommercePaymentEntryUtil

java.lang.Object
com.liferay.commerce.payment.service.persistence.CommercePaymentEntryUtil

public class CommercePaymentEntryUtil extends Object
The persistence utility for the commerce payment entry service. This utility wraps com.liferay.commerce.payment.service.persistence.impl.CommercePaymentEntryPersistenceImpl 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 Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(CommercePaymentEntry commercePaymentEntry)
    Caches the commerce payment entry in the entity cache if it is enabled.
    static void
    cacheResult(List<CommercePaymentEntry> commercePaymentEntries)
    Caches the commerce payment entries in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(CommercePaymentEntry commercePaymentEntry)
     
    static int
    Returns the number of commerce payment entries.
    static int
    countByC_C_C(long companyId, long classNameId, long classPK)
    Returns the number of commerce payment entries where companyId = ? and classNameId = ? and classPK = ?.
    static int
    countByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type)
    Returns the number of commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    static int
    countByC_C_C_T(long companyId, long classNameId, long classPK, int type)
    Returns the number of commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of commerce payment entries where companyId = ?.
    static int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of commerce payment entries where externalReferenceCode = ? and companyId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    create(long commercePaymentEntryId)
    Creates a new commerce payment entry with the primary key.
    fetchByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the first commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
    fetchByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the last commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
    fetchByC_C_C_P_T_First(long companyId, long classNameId, long classPK, int paymentStatus, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the first commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    fetchByC_C_C_P_T_Last(long companyId, long classNameId, long classPK, int paymentStatus, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the last commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    fetchByC_C_C_T_First(long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the first commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    fetchByC_C_C_T_Last(long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the last commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the first commerce payment entry in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the last commerce payment entry in the ordered set where companyId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long commercePaymentEntryId)
    Returns the commerce payment entry with the primary key or returns null if it could not be found.
     
    static int
    filterCountByC_C_C(long companyId, long classNameId, long classPK)
    Returns the number of commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ?.
    static int
    filterCountByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type)
    Returns the number of commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    static int
    filterCountByC_C_C_T(long companyId, long classNameId, long classPK, int type)
    Returns the number of commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    static int
    filterCountByCompanyId(long companyId)
    Returns the number of commerce payment entries that the user has permission to view where companyId = ?.
    filterFindByC_C_C(long companyId, long classNameId, long classPK)
    Returns all the commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ?.
    filterFindByC_C_C(long companyId, long classNameId, long classPK, int start, int end)
    Returns a range of all the commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ?.
    filterFindByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns an ordered range of all the commerce payment entries that the user has permissions to view where companyId = ? and classNameId = ? and classPK = ?.
    filterFindByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type)
    Returns all the commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    filterFindByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type, int start, int end)
    Returns a range of all the commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    filterFindByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns an ordered range of all the commerce payment entries that the user has permissions to view where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    filterFindByC_C_C_P_T_PrevAndNext(long commercePaymentEntryId, long companyId, long classNameId, long classPK, int paymentStatus, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the commerce payment entries before and after the current commerce payment entry in the ordered set of commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    filterFindByC_C_C_PrevAndNext(long commercePaymentEntryId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the commerce payment entries before and after the current commerce payment entry in the ordered set of commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ?.
    filterFindByC_C_C_T(long companyId, long classNameId, long classPK, int type)
    Returns all the commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    filterFindByC_C_C_T(long companyId, long classNameId, long classPK, int type, int start, int end)
    Returns a range of all the commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    filterFindByC_C_C_T(long companyId, long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns an ordered range of all the commerce payment entries that the user has permissions to view where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    filterFindByC_C_C_T_PrevAndNext(long commercePaymentEntryId, long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the commerce payment entries before and after the current commerce payment entry in the ordered set of commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    filterFindByCompanyId(long companyId)
    Returns all the commerce payment entries that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end)
    Returns a range of all the commerce payment entries that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns an ordered range of all the commerce payment entries that the user has permissions to view where companyId = ?.
    filterFindByCompanyId_PrevAndNext(long commercePaymentEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the commerce payment entries before and after the current commerce payment entry in the ordered set of commerce payment entries that the user has permission to view where companyId = ?.
    Returns all the commerce payment entries.
    findAll(int start, int end)
    Returns a range of all the commerce payment entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns an ordered range of all the commerce payment entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce payment entries.
    findByC_C_C(long companyId, long classNameId, long classPK)
    Returns all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ?.
    findByC_C_C(long companyId, long classNameId, long classPK, int start, int end)
    Returns a range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ?.
    findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns an ordered range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ?.
    findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ?.
    findByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the first commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
    findByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the last commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
    findByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type)
    Returns all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    findByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type, int start, int end)
    Returns a range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    findByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns an ordered range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    findByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    findByC_C_C_P_T_First(long companyId, long classNameId, long classPK, int paymentStatus, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the first commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    findByC_C_C_P_T_Last(long companyId, long classNameId, long classPK, int paymentStatus, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the last commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    findByC_C_C_P_T_PrevAndNext(long commercePaymentEntryId, long companyId, long classNameId, long classPK, int paymentStatus, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the commerce payment entries before and after the current commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
    findByC_C_C_PrevAndNext(long commercePaymentEntryId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the commerce payment entries before and after the current commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
    findByC_C_C_T(long companyId, long classNameId, long classPK, int type)
    Returns all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    findByC_C_C_T(long companyId, long classNameId, long classPK, int type, int start, int end)
    Returns a range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    findByC_C_C_T(long companyId, long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns an ordered range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    findByC_C_C_T(long companyId, long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    findByC_C_C_T_First(long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the first commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    findByC_C_C_T_Last(long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the last commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    findByC_C_C_T_PrevAndNext(long commercePaymentEntryId, long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the commerce payment entries before and after the current commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
    findByCompanyId(long companyId)
    Returns all the commerce payment entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the commerce payment entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns an ordered range of all the commerce payment entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce payment entries where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the first commerce payment entry in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the last commerce payment entry in the ordered set where companyId = ?.
    findByCompanyId_PrevAndNext(long commercePaymentEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
    Returns the commerce payment entries before and after the current commerce payment entry in the ordered set where companyId = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchPaymentEntryException if it could not be found.
    findByPrimaryKey(long commercePaymentEntryId)
    Returns the commerce payment entry with the primary key or throws a NoSuchPaymentEntryException if it could not be found.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
     
     
    remove(long commercePaymentEntryId)
    Removes the commerce payment entry with the primary key from the database.
    static void
    Removes all the commerce payment entries from the database.
    static void
    removeByC_C_C(long companyId, long classNameId, long classPK)
    Removes all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? from the database.
    static void
    removeByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type)
    Removes all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ? from the database.
    static void
    removeByC_C_C_T(long companyId, long classNameId, long classPK, int type)
    Removes all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and type = ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the commerce payment entries where companyId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the commerce payment entry where externalReferenceCode = ? and companyId = ? from the database.
    static void
     
    update(CommercePaymentEntry commercePaymentEntry)
     
    update(CommercePaymentEntry commercePaymentEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(CommercePaymentEntry commercePaymentEntry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommercePaymentEntryUtil

      public CommercePaymentEntryUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

      public static CommercePaymentEntry update(CommercePaymentEntry commercePaymentEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCompanyId

      public static List<CommercePaymentEntry> findByCompanyId(long companyId)
      Returns all the commerce payment entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching commerce payment entries
    • findByCompanyId

      public static List<CommercePaymentEntry> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce payment entries where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      Returns:
      the range of matching commerce payment entries
    • findByCompanyId

      public static List<CommercePaymentEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
      Returns an ordered range of all the commerce payment entries where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce payment entries
    • findByCompanyId

      public static List<CommercePaymentEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce payment entries where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching commerce payment entries
    • findByCompanyId_First

      public static CommercePaymentEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
      Returns the first commerce payment entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce payment entry
      Throws:
      NoSuchPaymentEntryException - if a matching commerce payment entry could not be found
      NoSuchPaymentEntryException
    • fetchByCompanyId_First

      public static CommercePaymentEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
      Returns the first commerce payment entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce payment entry, or null if a matching commerce payment entry could not be found
    • findByCompanyId_Last

      public static CommercePaymentEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
      Returns the last commerce payment entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce payment entry
      Throws:
      NoSuchPaymentEntryException - if a matching commerce payment entry could not be found
      NoSuchPaymentEntryException
    • fetchByCompanyId_Last

      public static CommercePaymentEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
      Returns the last commerce payment entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce payment entry, or null if a matching commerce payment entry could not be found
    • findByCompanyId_PrevAndNext

      public static CommercePaymentEntry[] findByCompanyId_PrevAndNext(long commercePaymentEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
      Returns the commerce payment entries before and after the current commerce payment entry in the ordered set where companyId = ?.
      Parameters:
      commercePaymentEntryId - the primary key of the current commerce payment entry
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce payment entry
      Throws:
      NoSuchPaymentEntryException - if a commerce payment entry with the primary key could not be found
      NoSuchPaymentEntryException
    • filterFindByCompanyId

      public static List<CommercePaymentEntry> filterFindByCompanyId(long companyId)
      Returns all the commerce payment entries that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching commerce payment entries that the user has permission to view
    • filterFindByCompanyId

      public static List<CommercePaymentEntry> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce payment entries that the user has permission to view where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      Returns:
      the range of matching commerce payment entries that the user has permission to view
    • filterFindByCompanyId

      public static List<CommercePaymentEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
      Returns an ordered range of all the commerce payment entries that the user has permissions to view where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce payment entries that the user has permission to view
    • filterFindByCompanyId_PrevAndNext

      public static CommercePaymentEntry[] filterFindByCompanyId_PrevAndNext(long commercePaymentEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
      Returns the commerce payment entries before and after the current commerce payment entry in the ordered set of commerce payment entries that the user has permission to view where companyId = ?.
      Parameters:
      commercePaymentEntryId - the primary key of the current commerce payment entry
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce payment entry
      Throws:
      NoSuchPaymentEntryException - if a commerce payment entry with the primary key could not be found
      NoSuchPaymentEntryException
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the commerce payment entries where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of commerce payment entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching commerce payment entries
    • filterCountByCompanyId

      public static int filterCountByCompanyId(long companyId)
      Returns the number of commerce payment entries that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching commerce payment entries that the user has permission to view
    • findByC_C_C

      public static List<CommercePaymentEntry> findByC_C_C(long companyId, long classNameId, long classPK)
      Returns all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching commerce payment entries
    • findByC_C_C

      public static List<CommercePaymentEntry> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end)
      Returns a range of all the commerce payment entries where companyId = ? and 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 CommercePaymentEntryModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      Returns:
      the range of matching commerce payment entries
    • findByC_C_C

      public static List<CommercePaymentEntry> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
      Returns an ordered range of all the commerce payment entries where companyId = ? and 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 CommercePaymentEntryModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce payment entries
    • findByC_C_C

      public static List<CommercePaymentEntry> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce payment entries where companyId = ? and 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 CommercePaymentEntryModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching commerce payment entries
    • findByC_C_C_First

      public static CommercePaymentEntry findByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
      Returns the first commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce payment entry
      Throws:
      NoSuchPaymentEntryException - if a matching commerce payment entry could not be found
      NoSuchPaymentEntryException
    • fetchByC_C_C_First

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

      public static CommercePaymentEntry findByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
      Returns the last commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce payment entry
      Throws:
      NoSuchPaymentEntryException - if a matching commerce payment entry could not be found
      NoSuchPaymentEntryException
    • fetchByC_C_C_Last

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

      public static CommercePaymentEntry[] findByC_C_C_PrevAndNext(long commercePaymentEntryId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
      Returns the commerce payment entries before and after the current commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
      Parameters:
      commercePaymentEntryId - the primary key of the current commerce payment entry
      companyId - the company ID
      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 payment entry
      Throws:
      NoSuchPaymentEntryException - if a commerce payment entry with the primary key could not be found
      NoSuchPaymentEntryException
    • filterFindByC_C_C

      public static List<CommercePaymentEntry> filterFindByC_C_C(long companyId, long classNameId, long classPK)
      Returns all the commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching commerce payment entries that the user has permission to view
    • filterFindByC_C_C

      public static List<CommercePaymentEntry> filterFindByC_C_C(long companyId, long classNameId, long classPK, int start, int end)
      Returns a range of all the commerce payment entries that the user has permission to view where companyId = ? and 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 CommercePaymentEntryModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      Returns:
      the range of matching commerce payment entries that the user has permission to view
    • filterFindByC_C_C

      public static List<CommercePaymentEntry> filterFindByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
      Returns an ordered range of all the commerce payment entries that the user has permissions to view where companyId = ? and 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 CommercePaymentEntryModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce payment entries that the user has permission to view
    • filterFindByC_C_C_PrevAndNext

      public static CommercePaymentEntry[] filterFindByC_C_C_PrevAndNext(long commercePaymentEntryId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
      Returns the commerce payment entries before and after the current commerce payment entry in the ordered set of commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ?.
      Parameters:
      commercePaymentEntryId - the primary key of the current commerce payment entry
      companyId - the company ID
      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 payment entry
      Throws:
      NoSuchPaymentEntryException - if a commerce payment entry with the primary key could not be found
      NoSuchPaymentEntryException
    • removeByC_C_C

      public static void removeByC_C_C(long companyId, long classNameId, long classPK)
      Removes all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? from the database.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
    • countByC_C_C

      public static int countByC_C_C(long companyId, long classNameId, long classPK)
      Returns the number of commerce payment entries where companyId = ? and classNameId = ? and classPK = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching commerce payment entries
    • filterCountByC_C_C

      public static int filterCountByC_C_C(long companyId, long classNameId, long classPK)
      Returns the number of commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching commerce payment entries that the user has permission to view
    • findByC_C_C_T

      public static List<CommercePaymentEntry> findByC_C_C_T(long companyId, long classNameId, long classPK, int type)
      Returns all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      Returns:
      the matching commerce payment entries
    • findByC_C_C_T

      public static List<CommercePaymentEntry> findByC_C_C_T(long companyId, long classNameId, long classPK, int type, int start, int end)
      Returns a range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? 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 CommercePaymentEntryModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      Returns:
      the range of matching commerce payment entries
    • findByC_C_C_T

      public static List<CommercePaymentEntry> findByC_C_C_T(long companyId, long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
      Returns an ordered range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? 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 CommercePaymentEntryModelImpl.

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

      public static List<CommercePaymentEntry> findByC_C_C_T(long companyId, long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? 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 CommercePaymentEntryModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching commerce payment entries
    • findByC_C_C_T_First

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

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

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

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

      public static CommercePaymentEntry[] findByC_C_C_T_PrevAndNext(long commercePaymentEntryId, long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
      Returns the commerce payment entries before and after the current commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
      Parameters:
      commercePaymentEntryId - the primary key of the current commerce payment entry
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce payment entry
      Throws:
      NoSuchPaymentEntryException - if a commerce payment entry with the primary key could not be found
      NoSuchPaymentEntryException
    • filterFindByC_C_C_T

      public static List<CommercePaymentEntry> filterFindByC_C_C_T(long companyId, long classNameId, long classPK, int type)
      Returns all the commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      Returns:
      the matching commerce payment entries that the user has permission to view
    • filterFindByC_C_C_T

      public static List<CommercePaymentEntry> filterFindByC_C_C_T(long companyId, long classNameId, long classPK, int type, int start, int end)
      Returns a range of all the commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? 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 CommercePaymentEntryModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      Returns:
      the range of matching commerce payment entries that the user has permission to view
    • filterFindByC_C_C_T

      public static List<CommercePaymentEntry> filterFindByC_C_C_T(long companyId, long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
      Returns an ordered range of all the commerce payment entries that the user has permissions to view where companyId = ? and classNameId = ? and classPK = ? 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 CommercePaymentEntryModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce payment entries that the user has permission to view
    • filterFindByC_C_C_T_PrevAndNext

      public static CommercePaymentEntry[] filterFindByC_C_C_T_PrevAndNext(long commercePaymentEntryId, long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
      Returns the commerce payment entries before and after the current commerce payment entry in the ordered set of commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and type = ?.
      Parameters:
      commercePaymentEntryId - the primary key of the current commerce payment entry
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce payment entry
      Throws:
      NoSuchPaymentEntryException - if a commerce payment entry with the primary key could not be found
      NoSuchPaymentEntryException
    • removeByC_C_C_T

      public static void removeByC_C_C_T(long companyId, long classNameId, long classPK, int type)
      Removes all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and type = ? from the database.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
    • countByC_C_C_T

      public static int countByC_C_C_T(long companyId, long classNameId, long classPK, int type)
      Returns the number of commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      Returns:
      the number of matching commerce payment entries
    • filterCountByC_C_C_T

      public static int filterCountByC_C_C_T(long companyId, long classNameId, long classPK, int type)
      Returns the number of commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      type - the type
      Returns:
      the number of matching commerce payment entries that the user has permission to view
    • findByC_C_C_P_T

      public static List<CommercePaymentEntry> findByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type)
      Returns all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      Returns:
      the matching commerce payment entries
    • findByC_C_C_P_T

      public static List<CommercePaymentEntry> findByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type, int start, int end)
      Returns a range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? 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 CommercePaymentEntryModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      Returns:
      the range of matching commerce payment entries
    • findByC_C_C_P_T

      public static List<CommercePaymentEntry> findByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
      Returns an ordered range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? 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 CommercePaymentEntryModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce payment entries
    • findByC_C_C_P_T

      public static List<CommercePaymentEntry> findByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? 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 CommercePaymentEntryModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching commerce payment entries
    • findByC_C_C_P_T_First

      public static CommercePaymentEntry findByC_C_C_P_T_First(long companyId, long classNameId, long classPK, int paymentStatus, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
      Returns the first commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce payment entry
      Throws:
      NoSuchPaymentEntryException - if a matching commerce payment entry could not be found
      NoSuchPaymentEntryException
    • fetchByC_C_C_P_T_First

      public static CommercePaymentEntry fetchByC_C_C_P_T_First(long companyId, long classNameId, long classPK, int paymentStatus, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
      Returns the first commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce payment entry, or null if a matching commerce payment entry could not be found
    • findByC_C_C_P_T_Last

      public static CommercePaymentEntry findByC_C_C_P_T_Last(long companyId, long classNameId, long classPK, int paymentStatus, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
      Returns the last commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce payment entry
      Throws:
      NoSuchPaymentEntryException - if a matching commerce payment entry could not be found
      NoSuchPaymentEntryException
    • fetchByC_C_C_P_T_Last

      public static CommercePaymentEntry fetchByC_C_C_P_T_Last(long companyId, long classNameId, long classPK, int paymentStatus, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
      Returns the last commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce payment entry, or null if a matching commerce payment entry could not be found
    • findByC_C_C_P_T_PrevAndNext

      public static CommercePaymentEntry[] findByC_C_C_P_T_PrevAndNext(long commercePaymentEntryId, long companyId, long classNameId, long classPK, int paymentStatus, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
      Returns the commerce payment entries before and after the current commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
      Parameters:
      commercePaymentEntryId - the primary key of the current commerce payment entry
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce payment entry
      Throws:
      NoSuchPaymentEntryException - if a commerce payment entry with the primary key could not be found
      NoSuchPaymentEntryException
    • filterFindByC_C_C_P_T

      public static List<CommercePaymentEntry> filterFindByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type)
      Returns all the commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      Returns:
      the matching commerce payment entries that the user has permission to view
    • filterFindByC_C_C_P_T

      public static List<CommercePaymentEntry> filterFindByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type, int start, int end)
      Returns a range of all the commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? 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 CommercePaymentEntryModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      Returns:
      the range of matching commerce payment entries that the user has permission to view
    • filterFindByC_C_C_P_T

      public static List<CommercePaymentEntry> filterFindByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
      Returns an ordered range of all the commerce payment entries that the user has permissions to view where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? 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 CommercePaymentEntryModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      start - the lower bound of the range of commerce payment entries
      end - the upper bound of the range of commerce payment entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce payment entries that the user has permission to view
    • filterFindByC_C_C_P_T_PrevAndNext

      public static CommercePaymentEntry[] filterFindByC_C_C_P_T_PrevAndNext(long commercePaymentEntryId, long companyId, long classNameId, long classPK, int paymentStatus, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
      Returns the commerce payment entries before and after the current commerce payment entry in the ordered set of commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
      Parameters:
      commercePaymentEntryId - the primary key of the current commerce payment entry
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce payment entry
      Throws:
      NoSuchPaymentEntryException - if a commerce payment entry with the primary key could not be found
      NoSuchPaymentEntryException
    • removeByC_C_C_P_T

      public static void removeByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type)
      Removes all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ? from the database.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
    • countByC_C_C_P_T

      public static int countByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type)
      Returns the number of commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      Returns:
      the number of matching commerce payment entries
    • filterCountByC_C_C_P_T

      public static int filterCountByC_C_C_P_T(long companyId, long classNameId, long classPK, int paymentStatus, int type)
      Returns the number of commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      paymentStatus - the payment status
      type - the type
      Returns:
      the number of matching commerce payment entries that the user has permission to view
    • findByERC_C

      public static CommercePaymentEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchPaymentEntryException
      Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchPaymentEntryException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching commerce payment entry
      Throws:
      NoSuchPaymentEntryException - if a matching commerce payment entry could not be found
      NoSuchPaymentEntryException
    • fetchByERC_C

      public static CommercePaymentEntry fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching commerce payment entry, or null if a matching commerce payment entry could not be found
    • fetchByERC_C

      public static CommercePaymentEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce payment entry, or null if a matching commerce payment entry could not be found
    • removeByERC_C

      public static CommercePaymentEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchPaymentEntryException
      Removes the commerce payment entry where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the commerce payment entry that was removed
      Throws:
      NoSuchPaymentEntryException
    • countByERC_C

      public static int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of commerce payment entries where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching commerce payment entries
    • cacheResult

      public static void cacheResult(CommercePaymentEntry commercePaymentEntry)
      Caches the commerce payment entry in the entity cache if it is enabled.
      Parameters:
      commercePaymentEntry - the commerce payment entry
    • cacheResult

      public static void cacheResult(List<CommercePaymentEntry> commercePaymentEntries)
      Caches the commerce payment entries in the entity cache if it is enabled.
      Parameters:
      commercePaymentEntries - the commerce payment entries
    • create

      public static CommercePaymentEntry create(long commercePaymentEntryId)
      Creates a new commerce payment entry with the primary key. Does not add the commerce payment entry to the database.
      Parameters:
      commercePaymentEntryId - the primary key for the new commerce payment entry
      Returns:
      the new commerce payment entry
    • remove

      public static CommercePaymentEntry remove(long commercePaymentEntryId) throws NoSuchPaymentEntryException
      Removes the commerce payment entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commercePaymentEntryId - the primary key of the commerce payment entry
      Returns:
      the commerce payment entry that was removed
      Throws:
      NoSuchPaymentEntryException - if a commerce payment entry with the primary key could not be found
      NoSuchPaymentEntryException
    • updateImpl

      public static CommercePaymentEntry updateImpl(CommercePaymentEntry commercePaymentEntry)
    • findByPrimaryKey

      public static CommercePaymentEntry findByPrimaryKey(long commercePaymentEntryId) throws NoSuchPaymentEntryException
      Returns the commerce payment entry with the primary key or throws a NoSuchPaymentEntryException if it could not be found.
      Parameters:
      commercePaymentEntryId - the primary key of the commerce payment entry
      Returns:
      the commerce payment entry
      Throws:
      NoSuchPaymentEntryException - if a commerce payment entry with the primary key could not be found
      NoSuchPaymentEntryException
    • fetchByPrimaryKey

      public static CommercePaymentEntry fetchByPrimaryKey(long commercePaymentEntryId)
      Returns the commerce payment entry with the primary key or returns null if it could not be found.
      Parameters:
      commercePaymentEntryId - the primary key of the commerce payment entry
      Returns:
      the commerce payment entry, or null if a commerce payment entry with the primary key could not be found
    • findAll

      public static List<CommercePaymentEntry> findAll()
      Returns all the commerce payment entries.
      Returns:
      the commerce payment entries
    • findAll

      public static List<CommercePaymentEntry> findAll(int start, int end)
      Returns a range of all the commerce payment entries.

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

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

      public static List<CommercePaymentEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
      Returns an ordered range of all the commerce payment entries.

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

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

      public static List<CommercePaymentEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce payment entries.

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

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

      public static void removeAll()
      Removes all the commerce payment entries from the database.
    • countAll

      public static int countAll()
      Returns the number of commerce payment entries.
      Returns:
      the number of commerce payment entries
    • getPersistence

      public static CommercePaymentEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CommercePaymentEntryPersistence persistence)