public class CommercePaymentEntryUtil
extends java.lang.Object
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
CommercePaymentEntryPersistence
Constructor and Description |
---|
CommercePaymentEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommercePaymentEntry commercePaymentEntry)
Caches the commerce payment entry in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommercePaymentEntry> commercePaymentEntries)
Caches the commerce payment entries in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommercePaymentEntry commercePaymentEntry) |
static int |
countAll()
Returns the number of commerce payment entries.
|
static int |
countByC_C_C_T(long companyId,
long classNameId,
long classPK,
int type)
Returns the number of commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
static int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
Returns the number of commerce payment entries where companyId = ? and classNameId = ? and classPK = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of commerce payment entries where companyId = ?.
|
static int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of commerce payment entries where externalReferenceCode = ? and companyId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommercePaymentEntry |
create(long commercePaymentEntryId)
Creates a new commerce payment entry with the primary key.
|
static CommercePaymentEntry |
fetchByC_C_C_First(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
Returns the first commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
static CommercePaymentEntry |
fetchByC_C_C_Last(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
Returns the last commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
static CommercePaymentEntry |
fetchByC_C_C_T_First(long companyId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
Returns the first commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
static CommercePaymentEntry |
fetchByC_C_C_T_Last(long companyId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
Returns the last commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
static CommercePaymentEntry |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
Returns the first commerce payment entry in the ordered set where companyId = ?.
|
static CommercePaymentEntry |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
Returns the last commerce payment entry in the ordered set where companyId = ?.
|
static CommercePaymentEntry |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
static CommercePaymentEntry |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommercePaymentEntry |
fetchByPrimaryKey(long commercePaymentEntryId)
Returns the commerce payment entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommercePaymentEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static int |
filterCountByC_C_C_T(long companyId,
long classNameId,
long classPK,
int type)
Returns the number of commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
static int |
filterCountByC_C_C(long companyId,
long classNameId,
long classPK)
Returns the number of commerce payment entries that the user has permission to view where companyId = ? and classNameId = ? and classPK = ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of commerce payment entries that the user has permission to view where companyId = ?.
|
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 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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 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 java.util.List<CommercePaymentEntry> |
filterFindByCompanyId(long companyId)
Returns all the commerce payment entries that the user has permission to view where companyId = ?.
|
static java.util.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 java.util.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 java.util.List<CommercePaymentEntry> |
findAll()
Returns all the commerce payment entries.
|
static java.util.List<CommercePaymentEntry> |
findAll(int start,
int end)
Returns a range of all the commerce payment entries.
|
static java.util.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 java.util.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 CommercePaymentEntry |
findByC_C_C_First(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
Returns the first commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
static CommercePaymentEntry |
findByC_C_C_Last(long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
Returns the last commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.
|
static 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 CommercePaymentEntry |
findByC_C_C_T_First(long companyId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
Returns the first commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
static CommercePaymentEntry |
findByC_C_C_T_Last(long companyId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
Returns the last commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
static CommercePaymentEntry[] |
findByC_C_C_T_PrevAndNext(long commercePaymentEntryId,
long companyId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
Returns the commerce payment entries before and after the current commerce payment entry in the ordered set where companyId = ? and classNameId = ? and classPK = ? and type = ?.
|
static java.util.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 java.util.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 java.util.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 java.util.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 java.util.List<CommercePaymentEntry> |
findByC_C_C(long companyId,
long classNameId,
long classPK)
Returns all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ?.
|
static java.util.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 java.util.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 java.util.List<CommercePaymentEntry> |
findByC_C_C(long companyId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ?.
|
static CommercePaymentEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
Returns the first commerce payment entry in the ordered set where companyId = ?.
|
static CommercePaymentEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
Returns the last commerce payment entry in the ordered set where companyId = ?.
|
static CommercePaymentEntry[] |
findByCompanyId_PrevAndNext(long commercePaymentEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
Returns the commerce payment entries before and after the current commerce payment entry in the ordered set where companyId = ?.
|
static java.util.List<CommercePaymentEntry> |
findByCompanyId(long companyId)
Returns all the commerce payment entries where companyId = ?.
|
static java.util.List<CommercePaymentEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce payment entries where companyId = ?.
|
static java.util.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 java.util.List<CommercePaymentEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce payment entries where companyId = ?.
|
static CommercePaymentEntry |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce payment entry where externalReferenceCode = ? and companyId = ? or throws a
NoSuchPaymentEntryException if it could not be found. |
static CommercePaymentEntry |
findByPrimaryKey(long commercePaymentEntryId)
Returns the commerce payment entry with the primary key or throws a
NoSuchPaymentEntryException if it could not be found. |
static java.util.List<CommercePaymentEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommercePaymentEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommercePaymentEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) |
static CommercePaymentEntryPersistence |
getPersistence() |
static CommercePaymentEntry |
remove(long commercePaymentEntryId)
Removes the commerce payment entry with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce payment entries from the database.
|
static void |
removeByC_C_C_T(long companyId,
long classNameId,
long classPK,
int type)
Removes all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? and type = ? from the database.
|
static void |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
Removes all the commerce payment entries where companyId = ? and classNameId = ? and classPK = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the commerce payment entries where companyId = ? from the database.
|
static CommercePaymentEntry |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the commerce payment entry where externalReferenceCode = ? and companyId = ? from the database.
|
static void |
setPersistence(CommercePaymentEntryPersistence persistence) |
static CommercePaymentEntry |
update(CommercePaymentEntry commercePaymentEntry) |
static CommercePaymentEntry |
update(CommercePaymentEntry commercePaymentEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommercePaymentEntry |
updateImpl(CommercePaymentEntry commercePaymentEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommercePaymentEntry commercePaymentEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CommercePaymentEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommercePaymentEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommercePaymentEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommercePaymentEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommercePaymentEntry update(CommercePaymentEntry commercePaymentEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommercePaymentEntry update(CommercePaymentEntry commercePaymentEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommercePaymentEntry> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<CommercePaymentEntry> findByCompanyId(long companyId, 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 CommercePaymentEntryModelImpl
.
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)public static java.util.List<CommercePaymentEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> 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 CommercePaymentEntryModelImpl
.
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 (optionally null
)public static java.util.List<CommercePaymentEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> 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 CommercePaymentEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePaymentEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundpublic static CommercePaymentEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce payment entry could not be foundpublic static CommercePaymentEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundpublic static CommercePaymentEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce payment entry could not be foundpublic static CommercePaymentEntry[] findByCompanyId_PrevAndNext(long commercePaymentEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
commercePaymentEntryId
- the primary key of the current commerce payment entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundpublic static java.util.List<CommercePaymentEntry> filterFindByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<CommercePaymentEntry> filterFindByCompanyId(long companyId, 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 CommercePaymentEntryModelImpl
.
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)public static java.util.List<CommercePaymentEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> 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 CommercePaymentEntryModelImpl
.
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 (optionally null
)public static CommercePaymentEntry[] filterFindByCompanyId_PrevAndNext(long commercePaymentEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
commercePaymentEntryId
- the primary key of the current commerce payment entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static int filterCountByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<CommercePaymentEntry> findByC_C_C(long companyId, long classNameId, long classPK)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<CommercePaymentEntry> findByC_C_C(long companyId, long classNameId, long classPK, 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 CommercePaymentEntryModelImpl
.
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)public static java.util.List<CommercePaymentEntry> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> 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 CommercePaymentEntryModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePaymentEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePaymentEntry findByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundpublic static CommercePaymentEntry fetchByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce payment entry could not be foundpublic static CommercePaymentEntry findByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundpublic static CommercePaymentEntry fetchByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce payment entry could not be foundpublic static CommercePaymentEntry[] findByC_C_C_PrevAndNext(long commercePaymentEntryId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator) throws NoSuchPaymentEntryException
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 (optionally null
)NoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundpublic static java.util.List<CommercePaymentEntry> filterFindByC_C_C(long companyId, long classNameId, long classPK)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<CommercePaymentEntry> filterFindByC_C_C(long companyId, long classNameId, long classPK, 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 CommercePaymentEntryModelImpl
.
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)public static java.util.List<CommercePaymentEntry> filterFindByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> 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 CommercePaymentEntryModelImpl
.
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 (optionally null
)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
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 (optionally null
)NoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundpublic static void removeByC_C_C(long companyId, long classNameId, long classPK)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic static int countByC_C_C(long companyId, long classNameId, long classPK)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic static int filterCountByC_C_C(long companyId, long classNameId, long classPK)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<CommercePaymentEntry> findByC_C_C_T(long companyId, long classNameId, long classPK, int type)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typepublic static java.util.List<CommercePaymentEntry> findByC_C_C_T(long companyId, long classNameId, long classPK, int type, 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 CommercePaymentEntryModelImpl
.
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)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePaymentEntryModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePaymentEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundpublic static CommercePaymentEntry fetchByC_C_C_T_First(long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce payment entry could not be foundpublic 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
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundpublic static CommercePaymentEntry fetchByC_C_C_T_Last(long companyId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce payment entry could not be foundpublic 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
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 (optionally null
)NoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundpublic static java.util.List<CommercePaymentEntry> filterFindByC_C_C_T(long companyId, long classNameId, long classPK, int type)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typepublic static java.util.List<CommercePaymentEntry> filterFindByC_C_C_T(long companyId, long classNameId, long classPK, int type, 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 CommercePaymentEntryModelImpl
.
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)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePaymentEntryModelImpl
.
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 (optionally null
)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
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 (optionally null
)NoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundpublic static void removeByC_C_C_T(long companyId, long classNameId, long classPK, int type)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typepublic static int countByC_C_C_T(long companyId, long classNameId, long classPK, int type)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typepublic static int filterCountByC_C_C_T(long companyId, long classNameId, long classPK, int type)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktype
- the typepublic static CommercePaymentEntry findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchPaymentEntryException
NoSuchPaymentEntryException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchPaymentEntryException
- if a matching commerce payment entry could not be foundpublic static CommercePaymentEntry fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching commerce payment entry could not be foundpublic static CommercePaymentEntry fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce payment entry could not be foundpublic static CommercePaymentEntry removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchPaymentEntryException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchPaymentEntryException
public static int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDpublic static void cacheResult(CommercePaymentEntry commercePaymentEntry)
commercePaymentEntry
- the commerce payment entrypublic static void cacheResult(java.util.List<CommercePaymentEntry> commercePaymentEntries)
commercePaymentEntries
- the commerce payment entriespublic static CommercePaymentEntry create(long commercePaymentEntryId)
commercePaymentEntryId
- the primary key for the new commerce payment entrypublic static CommercePaymentEntry remove(long commercePaymentEntryId) throws NoSuchPaymentEntryException
commercePaymentEntryId
- the primary key of the commerce payment entryNoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundpublic static CommercePaymentEntry updateImpl(CommercePaymentEntry commercePaymentEntry)
public static CommercePaymentEntry findByPrimaryKey(long commercePaymentEntryId) throws NoSuchPaymentEntryException
NoSuchPaymentEntryException
if it could not be found.commercePaymentEntryId
- the primary key of the commerce payment entryNoSuchPaymentEntryException
- if a commerce payment entry with the primary key could not be foundpublic static CommercePaymentEntry fetchByPrimaryKey(long commercePaymentEntryId)
null
if it could not be found.commercePaymentEntryId
- the primary key of the commerce payment entrynull
if a commerce payment entry with the primary key could not be foundpublic static java.util.List<CommercePaymentEntry> findAll()
public static java.util.List<CommercePaymentEntry> 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 CommercePaymentEntryModelImpl
.
start
- the lower bound of the range of commerce payment entriesend
- the upper bound of the range of commerce payment entries (not inclusive)public static java.util.List<CommercePaymentEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> 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 CommercePaymentEntryModelImpl
.
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 (optionally null
)public static java.util.List<CommercePaymentEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePaymentEntry> 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 CommercePaymentEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CommercePaymentEntryPersistence getPersistence()
public static void setPersistence(CommercePaymentEntryPersistence persistence)