Class CommercePaymentEntryUtil
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
countAll()
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) static CommercePaymentEntry
create
(long commercePaymentEntryId) Creates a new commerce payment entry with the primary key.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static CommercePaymentEntry
fetchByERC_C
(String externalReferenceCode, long companyId) Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.static CommercePaymentEntry
fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.static CommercePaymentEntry
fetchByPrimaryKey
(long commercePaymentEntryId) Returns the commerce payment entry with the primary key or returnsnull
if it could not be found.static Map<Serializable,
CommercePaymentEntry> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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) 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 = ?.static CommercePaymentEntry[]
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 = ?.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 = ?.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 = ?.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 = ?.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) 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 = ?.static List<CommercePaymentEntry>
filterFindByCompanyId
(long companyId) Returns all the commerce payment entries that the user has permission to view where companyId = ?.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 = ?.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 = ?.static CommercePaymentEntry[]
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 = ?.static List<CommercePaymentEntry>
findAll()
Returns all the commerce payment entries.static List<CommercePaymentEntry>
findAll
(int start, int end) Returns a range of all the commerce payment entries.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.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.static List<CommercePaymentEntry>
findByC_C_C
(long companyId, long classNameId, long classPK) Returns all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ?.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 = ?.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 = ?.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 = ?.static CommercePaymentEntry
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 = ?.static CommercePaymentEntry
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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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) Returns the first commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.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) Returns the last commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and paymentStatus = ? and type = ?.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) 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 = ?.static CommercePaymentEntry[]
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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static CommercePaymentEntry
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 = ?.static CommercePaymentEntry
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 = ?.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) 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 = ?.static List<CommercePaymentEntry>
findByCompanyId
(long companyId) Returns all the commerce payment entries where companyId = ?.static List<CommercePaymentEntry>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the commerce payment entries where companyId = ?.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 = ?.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 = ?.static CommercePaymentEntry
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) Returns the first commerce payment entry in the ordered set where companyId = ?.static CommercePaymentEntry
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) Returns the last commerce payment entry in the ordered set where companyId = ?.static CommercePaymentEntry[]
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 = ?.static CommercePaymentEntry
findByERC_C
(String externalReferenceCode, long companyId) Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchPaymentEntryException
if it could not be found.static CommercePaymentEntry
findByPrimaryKey
(long commercePaymentEntryId) Returns the commerce payment entry with the primary key or throws aNoSuchPaymentEntryException
if it could not be found.static List<CommercePaymentEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommercePaymentEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommercePaymentEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) static CommercePaymentEntry
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.static CommercePaymentEntry
removeByERC_C
(String externalReferenceCode, long companyId) Removes the commerce payment entry where externalReferenceCode = ? and companyId = ? from the database.static void
setPersistence
(CommercePaymentEntryPersistence persistence) static CommercePaymentEntry
update
(CommercePaymentEntry commercePaymentEntry) static CommercePaymentEntry
update
(CommercePaymentEntry commercePaymentEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommercePaymentEntry
updateImpl
(CommercePaymentEntry commercePaymentEntry)
-
Constructor Details
-
CommercePaymentEntryUtil
public CommercePaymentEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
- 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
Returns all the commerce payment entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching commerce payment entries
-
findByCompanyId
Returns a range of all the commerce payment entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of commerce payment entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundNoSuchPaymentEntryException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundNoSuchPaymentEntryException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundNoSuchPaymentEntryException
-
filterFindByCompanyId
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of commerce payment entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundNoSuchPaymentEntryException
-
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 IDclassNameId
- the class name IDclassPK
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of commerce payment entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundNoSuchPaymentEntryException
-
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 IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundNoSuchPaymentEntryException
-
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 IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- 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 entrycompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundNoSuchPaymentEntryException
-
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 IDclassNameId
- the class name IDclassPK
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of commerce payment entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 entrycompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundNoSuchPaymentEntryException
-
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 IDclassNameId
- the class name IDclassPK
- 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 IDclassNameId
- the class name IDclassPK
- 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 IDclassNameId
- the class name IDclassPK
- 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 IDclassNameId
- the class name IDclassPK
- the class pktype
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of commerce payment entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundNoSuchPaymentEntryException
-
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 IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundNoSuchPaymentEntryException
-
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 IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 entrycompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundNoSuchPaymentEntryException
-
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 IDclassNameId
- the class name IDclassPK
- the class pktype
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of commerce payment entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 entrycompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundNoSuchPaymentEntryException
-
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 IDclassNameId
- the class name IDclassPK
- the class pktype
- 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 IDclassNameId
- the class name IDclassPK
- the class pktype
- 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 IDclassNameId
- the class name IDclassPK
- the class pktype
- 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 IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- the typestart
- the lower bound of the range of commerce payment entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- the typestart
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- the typestart
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundNoSuchPaymentEntryException
-
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 IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundNoSuchPaymentEntryException
-
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 IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 entrycompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundNoSuchPaymentEntryException
-
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 IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- the typestart
- the lower bound of the range of commerce payment entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- the typestart
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 entrycompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundNoSuchPaymentEntryException
-
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 IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- 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 IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- 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 IDclassNameId
- the class name IDclassPK
- the class pkpaymentStatus
- the payment statustype
- 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 aNoSuchPaymentEntryException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce payment entry
- Throws:
NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundNoSuchPaymentEntryException
-
fetchByERC_C
Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- 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 codecompanyId
- the company ID- Returns:
- the commerce payment entry that was removed
- Throws:
NoSuchPaymentEntryException
-
countByERC_C
Returns the number of commerce payment entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching commerce payment entries
-
cacheResult
Caches the commerce payment entry in the entity cache if it is enabled.- Parameters:
commercePaymentEntry
- the commerce payment entry
-
cacheResult
Caches the commerce payment entries in the entity cache if it is enabled.- Parameters:
commercePaymentEntries
- the commerce payment entries
-
create
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 foundNoSuchPaymentEntryException
-
updateImpl
-
findByPrimaryKey
public static CommercePaymentEntry findByPrimaryKey(long commercePaymentEntryId) throws NoSuchPaymentEntryException Returns the commerce payment entry with the primary key or throws aNoSuchPaymentEntryException
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 foundNoSuchPaymentEntryException
-
fetchByPrimaryKey
Returns the commerce payment entry with the primary key or returnsnull
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
Returns all the commerce payment entries.- Returns:
- the commerce payment entries
-
findAll
Returns a range of all the commerce payment entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
start
- the lower bound of the range of commerce payment entriesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
start
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePaymentEntryModelImpl
.- Parameters:
start
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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
-
setPersistence
-