@ProviderType public interface CommercePaymentEntryAuditPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePaymentEntryAudit>
Caching information and settings can be found in portal.properties
CommercePaymentEntryAuditUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommercePaymentEntryAudit commercePaymentEntryAudit)
Caches the commerce payment entry audit in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommercePaymentEntryAudit> commercePaymentEntryAudits)
Caches the commerce payment entry audits in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce payment entry audits.
|
int |
countByCommercePaymentEntryId(long commercePaymentEntryId)
Returns the number of commerce payment entry audits where commercePaymentEntryId = ?.
|
CommercePaymentEntryAudit |
create(long commercePaymentEntryAuditId)
Creates a new commerce payment entry audit with the primary key.
|
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 = ?.
|
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 = ?.
|
CommercePaymentEntryAudit |
fetchByPrimaryKey(long commercePaymentEntryAuditId)
Returns the commerce payment entry audit with the primary key or returns
null if it could not be found. |
int |
filterCountByCommercePaymentEntryId(long commercePaymentEntryId)
Returns the number of commerce payment entry audits that the user has permission to view where commercePaymentEntryId = ?.
|
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 = ?.
|
java.util.List<CommercePaymentEntryAudit> |
filterFindByCommercePaymentEntryId(long commercePaymentEntryId)
Returns all the commerce payment entry audits that the user has permission to view where commercePaymentEntryId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
java.util.List<CommercePaymentEntryAudit> |
findAll()
Returns all the commerce payment entry audits.
|
java.util.List<CommercePaymentEntryAudit> |
findAll(int start,
int end)
Returns a range of all the commerce payment entry audits.
|
java.util.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.
|
java.util.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.
|
CommercePaymentEntryAudit |
findByCommercePaymentEntryId_First(long commercePaymentEntryId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator)
Returns the first commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.
|
CommercePaymentEntryAudit |
findByCommercePaymentEntryId_Last(long commercePaymentEntryId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator)
Returns the last commerce payment entry audit in the ordered set where commercePaymentEntryId = ?.
|
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 = ?.
|
java.util.List<CommercePaymentEntryAudit> |
findByCommercePaymentEntryId(long commercePaymentEntryId)
Returns all the commerce payment entry audits where commercePaymentEntryId = ?.
|
java.util.List<CommercePaymentEntryAudit> |
findByCommercePaymentEntryId(long commercePaymentEntryId,
int start,
int end)
Returns a range of all the commerce payment entry audits where commercePaymentEntryId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommercePaymentEntryAudit |
findByPrimaryKey(long commercePaymentEntryAuditId)
Returns the commerce payment entry audit with the primary key or throws a
NoSuchPaymentEntryAuditException if it could not be found. |
CommercePaymentEntryAudit |
remove(long commercePaymentEntryAuditId)
Removes the commerce payment entry audit with the primary key from the database.
|
void |
removeAll()
Removes all the commerce payment entry audits from the database.
|
void |
removeByCommercePaymentEntryId(long commercePaymentEntryId)
Removes all the commerce payment entry audits where commercePaymentEntryId = ? from the database.
|
CommercePaymentEntryAudit |
updateImpl(CommercePaymentEntryAudit commercePaymentEntryAudit) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId)
commercePaymentEntryId
- the commerce payment entry IDjava.util.List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePaymentEntryAuditModelImpl
.
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)java.util.List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePaymentEntryAuditModelImpl
.
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 (optionally null
)java.util.List<CommercePaymentEntryAudit> findByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePaymentEntryAuditModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommercePaymentEntryAudit findByCommercePaymentEntryId_First(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) throws NoSuchPaymentEntryAuditException
commercePaymentEntryId
- the commerce payment entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentEntryAuditException
- if a matching commerce payment entry audit could not be foundCommercePaymentEntryAudit fetchByCommercePaymentEntryId_First(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator)
commercePaymentEntryId
- the commerce payment entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce payment entry audit could not be foundCommercePaymentEntryAudit findByCommercePaymentEntryId_Last(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) throws NoSuchPaymentEntryAuditException
commercePaymentEntryId
- the commerce payment entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentEntryAuditException
- if a matching commerce payment entry audit could not be foundCommercePaymentEntryAudit fetchByCommercePaymentEntryId_Last(long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator)
commercePaymentEntryId
- the commerce payment entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce payment entry audit could not be foundCommercePaymentEntryAudit[] findByCommercePaymentEntryId_PrevAndNext(long commercePaymentEntryAuditId, long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) throws NoSuchPaymentEntryAuditException
commercePaymentEntryAuditId
- the primary key of the current commerce payment entry auditcommercePaymentEntryId
- the commerce payment entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentEntryAuditException
- if a commerce payment entry audit with the primary key could not be foundjava.util.List<CommercePaymentEntryAudit> filterFindByCommercePaymentEntryId(long commercePaymentEntryId)
commercePaymentEntryId
- the commerce payment entry IDjava.util.List<CommercePaymentEntryAudit> filterFindByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePaymentEntryAuditModelImpl
.
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)java.util.List<CommercePaymentEntryAudit> filterFindByCommercePaymentEntryId(long commercePaymentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePaymentEntryAuditModelImpl
.
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 (optionally null
)CommercePaymentEntryAudit[] filterFindByCommercePaymentEntryId_PrevAndNext(long commercePaymentEntryAuditId, long commercePaymentEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator) throws NoSuchPaymentEntryAuditException
commercePaymentEntryAuditId
- the primary key of the current commerce payment entry auditcommercePaymentEntryId
- the commerce payment entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentEntryAuditException
- if a commerce payment entry audit with the primary key could not be foundvoid removeByCommercePaymentEntryId(long commercePaymentEntryId)
commercePaymentEntryId
- the commerce payment entry IDint countByCommercePaymentEntryId(long commercePaymentEntryId)
commercePaymentEntryId
- the commerce payment entry IDint filterCountByCommercePaymentEntryId(long commercePaymentEntryId)
commercePaymentEntryId
- the commerce payment entry IDvoid cacheResult(CommercePaymentEntryAudit commercePaymentEntryAudit)
commercePaymentEntryAudit
- the commerce payment entry auditvoid cacheResult(java.util.List<CommercePaymentEntryAudit> commercePaymentEntryAudits)
commercePaymentEntryAudits
- the commerce payment entry auditsCommercePaymentEntryAudit create(long commercePaymentEntryAuditId)
commercePaymentEntryAuditId
- the primary key for the new commerce payment entry auditCommercePaymentEntryAudit remove(long commercePaymentEntryAuditId) throws NoSuchPaymentEntryAuditException
commercePaymentEntryAuditId
- the primary key of the commerce payment entry auditNoSuchPaymentEntryAuditException
- if a commerce payment entry audit with the primary key could not be foundCommercePaymentEntryAudit updateImpl(CommercePaymentEntryAudit commercePaymentEntryAudit)
CommercePaymentEntryAudit findByPrimaryKey(long commercePaymentEntryAuditId) throws NoSuchPaymentEntryAuditException
NoSuchPaymentEntryAuditException
if it could not be found.commercePaymentEntryAuditId
- the primary key of the commerce payment entry auditNoSuchPaymentEntryAuditException
- if a commerce payment entry audit with the primary key could not be foundCommercePaymentEntryAudit fetchByPrimaryKey(long commercePaymentEntryAuditId)
null
if it could not be found.commercePaymentEntryAuditId
- the primary key of the commerce payment entry auditnull
if a commerce payment entry audit with the primary key could not be foundjava.util.List<CommercePaymentEntryAudit> findAll()
java.util.List<CommercePaymentEntryAudit> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePaymentEntryAuditModelImpl
.
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)java.util.List<CommercePaymentEntryAudit> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePaymentEntryAuditModelImpl
.
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 (optionally null
)java.util.List<CommercePaymentEntryAudit> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntryAudit> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePaymentEntryAuditModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()