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 voidcacheResult(CommercePaymentEntry commercePaymentEntry) Caches the commerce payment entry in the entity cache if it is enabled.static voidcacheResult(List<CommercePaymentEntry> commercePaymentEntries) Caches the commerce payment entries in the entity cache if it is enabled.static voidstatic voidclearCache(CommercePaymentEntry commercePaymentEntry) static intcountAll()Returns the number of commerce payment entries.static intcountByC_C_C(long companyId, long classNameId, long classPK) Returns the number of commerce payment entries where companyId = ? and classNameId = ? and classPK = ?.static intcountByC_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 intcountByC_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 intcountByCompanyId(long companyId) Returns the number of commerce payment entries where companyId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of commerce payment entries where externalReferenceCode = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommercePaymentEntrycreate(long commercePaymentEntryId) Creates a new commerce payment entry with the primary key.static CommercePaymentEntryfetchByC_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 CommercePaymentEntryfetchByC_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 CommercePaymentEntryfetchByC_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 CommercePaymentEntryfetchByC_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 CommercePaymentEntryfetchByC_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 CommercePaymentEntryfetchByC_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 CommercePaymentEntryfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) Returns the first commerce payment entry in the ordered set where companyId = ?.static CommercePaymentEntryfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) Returns the last commerce payment entry in the ordered set where companyId = ?.static CommercePaymentEntryfetchByERC_C(String externalReferenceCode, long companyId) Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static CommercePaymentEntryfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static CommercePaymentEntryfetchByPrimaryKey(long commercePaymentEntryId) Returns the commerce payment entry with the primary key or returnsnullif it could not be found.static Map<Serializable, CommercePaymentEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static intfilterCountByC_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 intfilterCountByC_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 intfilterCountByC_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 intfilterCountByCompanyId(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 CommercePaymentEntryfindByC_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 CommercePaymentEntryfindByC_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 CommercePaymentEntryfindByC_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 CommercePaymentEntryfindByC_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 CommercePaymentEntryfindByC_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 CommercePaymentEntryfindByC_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 CommercePaymentEntryfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) Returns the first commerce payment entry in the ordered set where companyId = ?.static CommercePaymentEntryfindByCompanyId_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 CommercePaymentEntryfindByERC_C(String externalReferenceCode, long companyId) Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchPaymentEntryExceptionif it could not be found.static CommercePaymentEntryfindByPrimaryKey(long commercePaymentEntryId) Returns the commerce payment entry with the primary key or throws aNoSuchPaymentEntryExceptionif 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 CommercePaymentEntryremove(long commercePaymentEntryId) Removes the commerce payment entry with the primary key from the database.static voidRemoves all the commerce payment entries from the database.static voidremoveByC_C_C(long companyId, long classNameId, long classPK) Removes all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? from the database.static voidremoveByC_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 voidremoveByC_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 voidremoveByCompanyId(long companyId) Removes all the commerce payment entries where companyId = ? from the database.static CommercePaymentEntryremoveByERC_C(String externalReferenceCode, long companyId) Removes the commerce payment entry where externalReferenceCode = ? and companyId = ? from the database.static voidsetPersistence(CommercePaymentEntryPersistence persistence) static CommercePaymentEntryupdate(CommercePaymentEntry commercePaymentEntry) static CommercePaymentEntryupdate(CommercePaymentEntry commercePaymentEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommercePaymentEntryupdateImpl(CommercePaymentEntry commercePaymentEntry)
-
Constructor Details
-
CommercePaymentEntryUtil
public CommercePaymentEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,CommercePaymentEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<CommercePaymentEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CommercePaymentEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
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:
-
update
- See Also:
-
update
public static CommercePaymentEntry update(CommercePaymentEntry commercePaymentEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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
nullif 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
-
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
nullif 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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
nullif 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
-
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
nullif 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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
nullif 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
-
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
nullif 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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
nullif 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
-
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
nullif 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-
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 aNoSuchPaymentEntryExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching commerce payment entry
-
fetchByERC_C
Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or returnsnullif 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
nullif 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 returnsnullif 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
nullif 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
-
updateImpl
-
findByPrimaryKey
public static CommercePaymentEntry findByPrimaryKey(long commercePaymentEntryId) throws NoSuchPaymentEntryException Returns the commerce payment entry with the primary key or throws aNoSuchPaymentEntryExceptionif it could not be found.- Parameters:
commercePaymentEntryId- the primary key of the commerce payment entry- Returns:
- the commerce payment entry
-
fetchByPrimaryKey
Returns the commerce payment entry with the primary key or returnsnullif it could not be found.- Parameters:
commercePaymentEntryId- the primary key of the commerce payment entry- Returns:
- the commerce payment entry, or
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
-