Class CommercePaymentEntryAuditUtil
com.liferay.commerce.payment.service.persistence.impl.CommercePaymentEntryAuditPersistenceImpl 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(CommercePaymentEntryAudit commercePaymentEntryAudit) Caches the commerce payment entry audit in the entity cache if it is enabled.static voidcacheResult(List<CommercePaymentEntryAudit> commercePaymentEntryAudits) Caches the commerce payment entry audits in the entity cache if it is enabled.static voidstatic voidclearCache(CommercePaymentEntryAudit commercePaymentEntryAudit) static intcountAll()Returns the number of commerce payment entry audits.static intcountByCommercePaymentEntryId(long commercePaymentEntryId) Returns the number of commerce payment entry audits where commercePaymentEntryId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommercePaymentEntryAuditcreate(long commercePaymentEntryAuditId) Creates a new commerce payment entry audit with the primary key.static CommercePaymentEntryAuditfetchByCommercePaymentEntryId_First(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) Returns the first commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.static CommercePaymentEntryAuditfetchByCommercePaymentEntryId_Last(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) Returns the last commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.static CommercePaymentEntryAuditfetchByPrimaryKey(long commercePaymentEntryAuditId) Returns the commerce payment entry audit with the primary key or returnsnullif it could not be found.static Map<Serializable, CommercePaymentEntryAudit> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static intfilterCountByCommercePaymentEntryId(long commercePaymentEntryId) Returns the number of commerce payment entry audits that the user has permission to view where commercePaymentEntryId = ?.static List<CommercePaymentEntryAudit> filterFindByCommercePaymentEntryId(long commercePaymentEntryId) Returns all the commerce payment entry audits that the user has permission to view where commercePaymentEntryId = ?.static List<CommercePaymentEntryAudit> filterFindByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end) Returns a range of all the commerce payment entry audits that the user has permission to view where commercePaymentEntryId = ?.static List<CommercePaymentEntryAudit> filterFindByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) Returns an ordered range of all the commerce payment entry audits that the user has permissions to view where commercePaymentEntryId = ?.static CommercePaymentEntryAudit[]filterFindByCommercePaymentEntryId_PrevAndNext(long commercePaymentEntryAuditId, long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) Returns the commerce payment entry audits before and after the current commerce payment entry audit in the ordered set of commerce payment entry audits that the user has permission to view where commercePaymentEntryId = ?.static List<CommercePaymentEntryAudit> findAll()Returns all the commerce payment entry audits.static List<CommercePaymentEntryAudit> findAll(int start, int end) Returns a range of all the commerce payment entry audits.static List<CommercePaymentEntryAudit> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) Returns an ordered range of all the commerce payment entry audits.static List<CommercePaymentEntryAudit> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce payment entry audits.static List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId) Returns all the commerce payment entry audits where commercePaymentEntryId = ?.static List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end) Returns a range of all the commerce payment entry audits where commercePaymentEntryId = ?.static List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) Returns an ordered range of all the commerce payment entry audits where commercePaymentEntryId = ?.static List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce payment entry audits where commercePaymentEntryId = ?.static CommercePaymentEntryAuditfindByCommercePaymentEntryId_First(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) Returns the first commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.static CommercePaymentEntryAuditfindByCommercePaymentEntryId_Last(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) Returns the last commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.static CommercePaymentEntryAudit[]findByCommercePaymentEntryId_PrevAndNext(long commercePaymentEntryAuditId, long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) Returns the commerce payment entry audits before and after the current commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.static CommercePaymentEntryAuditfindByPrimaryKey(long commercePaymentEntryAuditId) Returns the commerce payment entry audit with the primary key or throws aNoSuchPaymentEntryAuditExceptionif it could not be found.static List<CommercePaymentEntryAudit> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommercePaymentEntryAudit> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommercePaymentEntryAudit> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) static CommercePaymentEntryAuditremove(long commercePaymentEntryAuditId) Removes the commerce payment entry audit with the primary key from the database.static voidRemoves all the commerce payment entry audits from the database.static voidremoveByCommercePaymentEntryId(long commercePaymentEntryId) Removes all the commerce payment entry audits where commercePaymentEntryId = ? from the database.static voidsetPersistence(CommercePaymentEntryAuditPersistence persistence) static CommercePaymentEntryAuditupdate(CommercePaymentEntryAudit commercePaymentEntryAudit) static CommercePaymentEntryAuditupdate(CommercePaymentEntryAudit commercePaymentEntryAudit, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommercePaymentEntryAuditupdateImpl(CommercePaymentEntryAudit commercePaymentEntryAudit)
-
Constructor Details
-
CommercePaymentEntryAuditUtil
public CommercePaymentEntryAuditUtil()
-
-
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,CommercePaymentEntryAudit> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<CommercePaymentEntryAudit> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CommercePaymentEntryAudit> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<CommercePaymentEntryAudit> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static CommercePaymentEntryAudit update(CommercePaymentEntryAudit commercePaymentEntryAudit, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByCommercePaymentEntryId
public static List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId) Returns all the commerce payment entry audits where commercePaymentEntryId = ?.- Parameters:
commercePaymentEntryId- the commerce payment entry ID- Returns:
- the matching commerce payment entry audits
-
findByCommercePaymentEntryId
public static List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end) Returns a range of all the commerce payment entry audits where commercePaymentEntryId = ?.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 fromCommercePaymentEntryAuditModelImpl.- Parameters:
commercePaymentEntryId- the commerce payment entry IDstart- the lower bound of the range of commerce payment entry auditsend- the upper bound of the range of commerce payment entry audits (not inclusive)- Returns:
- the range of matching commerce payment entry audits
-
findByCommercePaymentEntryId
public static List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) Returns an ordered range of all the commerce payment entry audits where commercePaymentEntryId = ?.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 fromCommercePaymentEntryAuditModelImpl.- Parameters:
commercePaymentEntryId- the commerce payment entry IDstart- the lower bound of the range of commerce payment entry auditsend- the upper bound of the range of commerce payment entry audits (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce payment entry audits
-
findByCommercePaymentEntryId
public static List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce payment entry audits where commercePaymentEntryId = ?.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 fromCommercePaymentEntryAuditModelImpl.- Parameters:
commercePaymentEntryId- the commerce payment entry IDstart- the lower bound of the range of commerce payment entry auditsend- the upper bound of the range of commerce payment entry audits (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 entry audits
-
findByCommercePaymentEntryId_First
public static CommercePaymentEntryAudit findByCommercePaymentEntryId_First(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) throws NoSuchPaymentEntryAuditException Returns the first commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.- Parameters:
commercePaymentEntryId- the commerce payment entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce payment entry audit
-
fetchByCommercePaymentEntryId_First
public static CommercePaymentEntryAudit fetchByCommercePaymentEntryId_First(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) Returns the first commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.- Parameters:
commercePaymentEntryId- the commerce payment entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce payment entry audit, or
nullif a matching commerce payment entry audit could not be found
-
findByCommercePaymentEntryId_Last
public static CommercePaymentEntryAudit findByCommercePaymentEntryId_Last(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) throws NoSuchPaymentEntryAuditException Returns the last commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.- Parameters:
commercePaymentEntryId- the commerce payment entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce payment entry audit
-
fetchByCommercePaymentEntryId_Last
public static CommercePaymentEntryAudit fetchByCommercePaymentEntryId_Last(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) Returns the last commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.- Parameters:
commercePaymentEntryId- the commerce payment entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce payment entry audit, or
nullif a matching commerce payment entry audit could not be found
-
findByCommercePaymentEntryId_PrevAndNext
public static CommercePaymentEntryAudit[] findByCommercePaymentEntryId_PrevAndNext(long commercePaymentEntryAuditId, long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) throws NoSuchPaymentEntryAuditException Returns the commerce payment entry audits before and after the current commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.- Parameters:
commercePaymentEntryAuditId- the primary key of the current commerce payment entry auditcommercePaymentEntryId- the commerce payment entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce payment entry audit
-
filterFindByCommercePaymentEntryId
public static List<CommercePaymentEntryAudit> filterFindByCommercePaymentEntryId(long commercePaymentEntryId) Returns all the commerce payment entry audits that the user has permission to view where commercePaymentEntryId = ?.- Parameters:
commercePaymentEntryId- the commerce payment entry ID- Returns:
- the matching commerce payment entry audits that the user has permission to view
-
filterFindByCommercePaymentEntryId
public static List<CommercePaymentEntryAudit> filterFindByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end) Returns a range of all the commerce payment entry audits that the user has permission to view where commercePaymentEntryId = ?.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 fromCommercePaymentEntryAuditModelImpl.- Parameters:
commercePaymentEntryId- the commerce payment entry IDstart- the lower bound of the range of commerce payment entry auditsend- the upper bound of the range of commerce payment entry audits (not inclusive)- Returns:
- the range of matching commerce payment entry audits that the user has permission to view
-
filterFindByCommercePaymentEntryId
public static List<CommercePaymentEntryAudit> filterFindByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) Returns an ordered range of all the commerce payment entry audits that the user has permissions to view where commercePaymentEntryId = ?.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 fromCommercePaymentEntryAuditModelImpl.- Parameters:
commercePaymentEntryId- the commerce payment entry IDstart- the lower bound of the range of commerce payment entry auditsend- the upper bound of the range of commerce payment entry audits (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce payment entry audits that the user has permission to view
-
filterFindByCommercePaymentEntryId_PrevAndNext
public static CommercePaymentEntryAudit[] filterFindByCommercePaymentEntryId_PrevAndNext(long commercePaymentEntryAuditId, long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) throws NoSuchPaymentEntryAuditException Returns the commerce payment entry audits before and after the current commerce payment entry audit in the ordered set of commerce payment entry audits that the user has permission to view where commercePaymentEntryId = ?.- Parameters:
commercePaymentEntryAuditId- the primary key of the current commerce payment entry auditcommercePaymentEntryId- the commerce payment entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce payment entry audit
-
removeByCommercePaymentEntryId
public static void removeByCommercePaymentEntryId(long commercePaymentEntryId) Removes all the commerce payment entry audits where commercePaymentEntryId = ? from the database.- Parameters:
commercePaymentEntryId- the commerce payment entry ID
-
countByCommercePaymentEntryId
public static int countByCommercePaymentEntryId(long commercePaymentEntryId) Returns the number of commerce payment entry audits where commercePaymentEntryId = ?.- Parameters:
commercePaymentEntryId- the commerce payment entry ID- Returns:
- the number of matching commerce payment entry audits
-
filterCountByCommercePaymentEntryId
public static int filterCountByCommercePaymentEntryId(long commercePaymentEntryId) Returns the number of commerce payment entry audits that the user has permission to view where commercePaymentEntryId = ?.- Parameters:
commercePaymentEntryId- the commerce payment entry ID- Returns:
- the number of matching commerce payment entry audits that the user has permission to view
-
cacheResult
Caches the commerce payment entry audit in the entity cache if it is enabled.- Parameters:
commercePaymentEntryAudit- the commerce payment entry audit
-
cacheResult
Caches the commerce payment entry audits in the entity cache if it is enabled.- Parameters:
commercePaymentEntryAudits- the commerce payment entry audits
-
create
Creates a new commerce payment entry audit with the primary key. Does not add the commerce payment entry audit to the database.- Parameters:
commercePaymentEntryAuditId- the primary key for the new commerce payment entry audit- Returns:
- the new commerce payment entry audit
-
remove
public static CommercePaymentEntryAudit remove(long commercePaymentEntryAuditId) throws NoSuchPaymentEntryAuditException Removes the commerce payment entry audit with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commercePaymentEntryAuditId- the primary key of the commerce payment entry audit- Returns:
- the commerce payment entry audit that was removed
-
updateImpl
public static CommercePaymentEntryAudit updateImpl(CommercePaymentEntryAudit commercePaymentEntryAudit) -
findByPrimaryKey
public static CommercePaymentEntryAudit findByPrimaryKey(long commercePaymentEntryAuditId) throws NoSuchPaymentEntryAuditException Returns the commerce payment entry audit with the primary key or throws aNoSuchPaymentEntryAuditExceptionif it could not be found.- Parameters:
commercePaymentEntryAuditId- the primary key of the commerce payment entry audit- Returns:
- the commerce payment entry audit
-
fetchByPrimaryKey
Returns the commerce payment entry audit with the primary key or returnsnullif it could not be found.- Parameters:
commercePaymentEntryAuditId- the primary key of the commerce payment entry audit- Returns:
- the commerce payment entry audit, or
nullif a commerce payment entry audit with the primary key could not be found
-
findAll
Returns all the commerce payment entry audits.- Returns:
- the commerce payment entry audits
-
findAll
Returns a range of all the commerce payment entry audits.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 fromCommercePaymentEntryAuditModelImpl.- Parameters:
start- the lower bound of the range of commerce payment entry auditsend- the upper bound of the range of commerce payment entry audits (not inclusive)- Returns:
- the range of commerce payment entry audits
-
findAll
public static List<CommercePaymentEntryAudit> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) Returns an ordered range of all the commerce payment entry audits.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 fromCommercePaymentEntryAuditModelImpl.- Parameters:
start- the lower bound of the range of commerce payment entry auditsend- the upper bound of the range of commerce payment entry audits (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of commerce payment entry audits
-
findAll
public static List<CommercePaymentEntryAudit> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce payment entry audits.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 fromCommercePaymentEntryAuditModelImpl.- Parameters:
start- the lower bound of the range of commerce payment entry auditsend- the upper bound of the range of commerce payment entry audits (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 entry audits
-
removeAll
public static void removeAll()Removes all the commerce payment entry audits from the database. -
countAll
public static int countAll()Returns the number of commerce payment entry audits.- Returns:
- the number of commerce payment entry audits
-
getPersistence
-
setPersistence
-