public class CommerceApplicationModelCProductRelUtil
extends java.lang.Object
com.liferay.commerce.application.service.persistence.impl.CommerceApplicationModelCProductRelPersistenceImpl 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
CommerceApplicationModelCProductRelPersistence| Constructor and Description |
|---|
CommerceApplicationModelCProductRelUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(CommerceApplicationModelCProductRel commerceApplicationModelCProductRel)
Caches the commerce application model c product rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceApplicationModelCProductRel> commerceApplicationModelCProductRels)
Caches the commerce application model c product rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceApplicationModelCProductRel commerceApplicationModelCProductRel) |
static int |
countAll()
Returns the number of commerce application model c product rels.
|
static int |
countByCommerceApplicationModelId(long commerceApplicationModelId)
Returns the number of commerce application model c product rels where commerceApplicationModelId = ?.
|
static int |
countByCProductId(long CProductId)
Returns the number of commerce application model c product rels where CProductId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceApplicationModelCProductRel |
create(long commerceApplicationModelCProductRelId)
Creates a new commerce application model c product rel with the primary key.
|
static CommerceApplicationModelCProductRel |
fetchByCommerceApplicationModelId_First(long commerceApplicationModelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
Returns the first commerce application model c product rel in the ordered set where commerceApplicationModelId = ?.
|
static CommerceApplicationModelCProductRel |
fetchByCommerceApplicationModelId_Last(long commerceApplicationModelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
Returns the last commerce application model c product rel in the ordered set where commerceApplicationModelId = ?.
|
static CommerceApplicationModelCProductRel |
fetchByCProductId_First(long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
Returns the first commerce application model c product rel in the ordered set where CProductId = ?.
|
static CommerceApplicationModelCProductRel |
fetchByCProductId_Last(long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
Returns the last commerce application model c product rel in the ordered set where CProductId = ?.
|
static CommerceApplicationModelCProductRel |
fetchByPrimaryKey(long commerceApplicationModelCProductRelId)
Returns the commerce application model c product rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommerceApplicationModelCProductRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<CommerceApplicationModelCProductRel> |
findAll()
Returns all the commerce application model c product rels.
|
static java.util.List<CommerceApplicationModelCProductRel> |
findAll(int start,
int end)
Returns a range of all the commerce application model c product rels.
|
static java.util.List<CommerceApplicationModelCProductRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
Returns an ordered range of all the commerce application model c product rels.
|
static java.util.List<CommerceApplicationModelCProductRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce application model c product rels.
|
static CommerceApplicationModelCProductRel |
findByCommerceApplicationModelId_First(long commerceApplicationModelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
Returns the first commerce application model c product rel in the ordered set where commerceApplicationModelId = ?.
|
static CommerceApplicationModelCProductRel |
findByCommerceApplicationModelId_Last(long commerceApplicationModelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
Returns the last commerce application model c product rel in the ordered set where commerceApplicationModelId = ?.
|
static CommerceApplicationModelCProductRel[] |
findByCommerceApplicationModelId_PrevAndNext(long commerceApplicationModelCProductRelId,
long commerceApplicationModelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
Returns the commerce application model c product rels before and after the current commerce application model c product rel in the ordered set where commerceApplicationModelId = ?.
|
static java.util.List<CommerceApplicationModelCProductRel> |
findByCommerceApplicationModelId(long commerceApplicationModelId)
Returns all the commerce application model c product rels where commerceApplicationModelId = ?.
|
static java.util.List<CommerceApplicationModelCProductRel> |
findByCommerceApplicationModelId(long commerceApplicationModelId,
int start,
int end)
Returns a range of all the commerce application model c product rels where commerceApplicationModelId = ?.
|
static java.util.List<CommerceApplicationModelCProductRel> |
findByCommerceApplicationModelId(long commerceApplicationModelId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
Returns an ordered range of all the commerce application model c product rels where commerceApplicationModelId = ?.
|
static java.util.List<CommerceApplicationModelCProductRel> |
findByCommerceApplicationModelId(long commerceApplicationModelId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce application model c product rels where commerceApplicationModelId = ?.
|
static CommerceApplicationModelCProductRel |
findByCProductId_First(long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
Returns the first commerce application model c product rel in the ordered set where CProductId = ?.
|
static CommerceApplicationModelCProductRel |
findByCProductId_Last(long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
Returns the last commerce application model c product rel in the ordered set where CProductId = ?.
|
static CommerceApplicationModelCProductRel[] |
findByCProductId_PrevAndNext(long commerceApplicationModelCProductRelId,
long CProductId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
Returns the commerce application model c product rels before and after the current commerce application model c product rel in the ordered set where CProductId = ?.
|
static java.util.List<CommerceApplicationModelCProductRel> |
findByCProductId(long CProductId)
Returns all the commerce application model c product rels where CProductId = ?.
|
static java.util.List<CommerceApplicationModelCProductRel> |
findByCProductId(long CProductId,
int start,
int end)
Returns a range of all the commerce application model c product rels where CProductId = ?.
|
static java.util.List<CommerceApplicationModelCProductRel> |
findByCProductId(long CProductId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
Returns an ordered range of all the commerce application model c product rels where CProductId = ?.
|
static java.util.List<CommerceApplicationModelCProductRel> |
findByCProductId(long CProductId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce application model c product rels where CProductId = ?.
|
static CommerceApplicationModelCProductRel |
findByPrimaryKey(long commerceApplicationModelCProductRelId)
Returns the commerce application model c product rel with the primary key or throws a
NoSuchApplicationModelCProductRelException if it could not be found. |
static java.util.List<CommerceApplicationModelCProductRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceApplicationModelCProductRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceApplicationModelCProductRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator) |
static CommerceApplicationModelCProductRelPersistence |
getPersistence() |
static CommerceApplicationModelCProductRel |
remove(long commerceApplicationModelCProductRelId)
Removes the commerce application model c product rel with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce application model c product rels from the database.
|
static void |
removeByCommerceApplicationModelId(long commerceApplicationModelId)
Removes all the commerce application model c product rels where commerceApplicationModelId = ? from the database.
|
static void |
removeByCProductId(long CProductId)
Removes all the commerce application model c product rels where CProductId = ? from the database.
|
static void |
setPersistence(CommerceApplicationModelCProductRelPersistence persistence) |
static CommerceApplicationModelCProductRel |
update(CommerceApplicationModelCProductRel commerceApplicationModelCProductRel) |
static CommerceApplicationModelCProductRel |
update(CommerceApplicationModelCProductRel commerceApplicationModelCProductRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceApplicationModelCProductRel |
updateImpl(CommerceApplicationModelCProductRel commerceApplicationModelCProductRel) |
public CommerceApplicationModelCProductRelUtil()
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(CommerceApplicationModelCProductRel commerceApplicationModelCProductRel)
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,CommerceApplicationModelCProductRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)public static java.util.List<CommerceApplicationModelCProductRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<CommerceApplicationModelCProductRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)public static java.util.List<CommerceApplicationModelCProductRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)public static CommerceApplicationModelCProductRel update(CommerceApplicationModelCProductRel commerceApplicationModelCProductRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)public static CommerceApplicationModelCProductRel update(CommerceApplicationModelCProductRel commerceApplicationModelCProductRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)public static java.util.List<CommerceApplicationModelCProductRel> findByCommerceApplicationModelId(long commerceApplicationModelId)
commerceApplicationModelId - the commerce application model IDpublic static java.util.List<CommerceApplicationModelCProductRel> findByCommerceApplicationModelId(long commerceApplicationModelId, 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 CommerceApplicationModelCProductRelModelImpl.
commerceApplicationModelId - the commerce application model IDstart - the lower bound of the range of commerce application model c product relsend - the upper bound of the range of commerce application model c product rels (not inclusive)public static java.util.List<CommerceApplicationModelCProductRel> findByCommerceApplicationModelId(long commerceApplicationModelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> 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 CommerceApplicationModelCProductRelModelImpl.
commerceApplicationModelId - the commerce application model IDstart - the lower bound of the range of commerce application model c product relsend - the upper bound of the range of commerce application model c product rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceApplicationModelCProductRel> findByCommerceApplicationModelId(long commerceApplicationModelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> 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 CommerceApplicationModelCProductRelModelImpl.
commerceApplicationModelId - the commerce application model IDstart - the lower bound of the range of commerce application model c product relsend - the upper bound of the range of commerce application model c product rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static CommerceApplicationModelCProductRel findByCommerceApplicationModelId_First(long commerceApplicationModelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator) throws NoSuchApplicationModelCProductRelException
commerceApplicationModelId - the commerce application model IDorderByComparator - the comparator to order the set by (optionally null)NoSuchApplicationModelCProductRelException - if a matching commerce application model c product rel could not be foundpublic static CommerceApplicationModelCProductRel fetchByCommerceApplicationModelId_First(long commerceApplicationModelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
commerceApplicationModelId - the commerce application model IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce application model c product rel could not be foundpublic static CommerceApplicationModelCProductRel findByCommerceApplicationModelId_Last(long commerceApplicationModelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator) throws NoSuchApplicationModelCProductRelException
commerceApplicationModelId - the commerce application model IDorderByComparator - the comparator to order the set by (optionally null)NoSuchApplicationModelCProductRelException - if a matching commerce application model c product rel could not be foundpublic static CommerceApplicationModelCProductRel fetchByCommerceApplicationModelId_Last(long commerceApplicationModelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
commerceApplicationModelId - the commerce application model IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce application model c product rel could not be foundpublic static CommerceApplicationModelCProductRel[] findByCommerceApplicationModelId_PrevAndNext(long commerceApplicationModelCProductRelId, long commerceApplicationModelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator) throws NoSuchApplicationModelCProductRelException
commerceApplicationModelCProductRelId - the primary key of the current commerce application model c product relcommerceApplicationModelId - the commerce application model IDorderByComparator - the comparator to order the set by (optionally null)NoSuchApplicationModelCProductRelException - if a commerce application model c product rel with the primary key could not be foundpublic static void removeByCommerceApplicationModelId(long commerceApplicationModelId)
commerceApplicationModelId - the commerce application model IDpublic static int countByCommerceApplicationModelId(long commerceApplicationModelId)
commerceApplicationModelId - the commerce application model IDpublic static java.util.List<CommerceApplicationModelCProductRel> findByCProductId(long CProductId)
CProductId - the c product IDpublic static java.util.List<CommerceApplicationModelCProductRel> findByCProductId(long CProductId, 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 CommerceApplicationModelCProductRelModelImpl.
CProductId - the c product IDstart - the lower bound of the range of commerce application model c product relsend - the upper bound of the range of commerce application model c product rels (not inclusive)public static java.util.List<CommerceApplicationModelCProductRel> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> 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 CommerceApplicationModelCProductRelModelImpl.
CProductId - the c product IDstart - the lower bound of the range of commerce application model c product relsend - the upper bound of the range of commerce application model c product rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceApplicationModelCProductRel> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> 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 CommerceApplicationModelCProductRelModelImpl.
CProductId - the c product IDstart - the lower bound of the range of commerce application model c product relsend - the upper bound of the range of commerce application model c product rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static CommerceApplicationModelCProductRel findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator) throws NoSuchApplicationModelCProductRelException
CProductId - the c product IDorderByComparator - the comparator to order the set by (optionally null)NoSuchApplicationModelCProductRelException - if a matching commerce application model c product rel could not be foundpublic static CommerceApplicationModelCProductRel fetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
CProductId - the c product IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce application model c product rel could not be foundpublic static CommerceApplicationModelCProductRel findByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator) throws NoSuchApplicationModelCProductRelException
CProductId - the c product IDorderByComparator - the comparator to order the set by (optionally null)NoSuchApplicationModelCProductRelException - if a matching commerce application model c product rel could not be foundpublic static CommerceApplicationModelCProductRel fetchByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator)
CProductId - the c product IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce application model c product rel could not be foundpublic static CommerceApplicationModelCProductRel[] findByCProductId_PrevAndNext(long commerceApplicationModelCProductRelId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> orderByComparator) throws NoSuchApplicationModelCProductRelException
commerceApplicationModelCProductRelId - the primary key of the current commerce application model c product relCProductId - the c product IDorderByComparator - the comparator to order the set by (optionally null)NoSuchApplicationModelCProductRelException - if a commerce application model c product rel with the primary key could not be foundpublic static void removeByCProductId(long CProductId)
CProductId - the c product IDpublic static int countByCProductId(long CProductId)
CProductId - the c product IDpublic static void cacheResult(CommerceApplicationModelCProductRel commerceApplicationModelCProductRel)
commerceApplicationModelCProductRel - the commerce application model c product relpublic static void cacheResult(java.util.List<CommerceApplicationModelCProductRel> commerceApplicationModelCProductRels)
commerceApplicationModelCProductRels - the commerce application model c product relspublic static CommerceApplicationModelCProductRel create(long commerceApplicationModelCProductRelId)
commerceApplicationModelCProductRelId - the primary key for the new commerce application model c product relpublic static CommerceApplicationModelCProductRel remove(long commerceApplicationModelCProductRelId) throws NoSuchApplicationModelCProductRelException
commerceApplicationModelCProductRelId - the primary key of the commerce application model c product relNoSuchApplicationModelCProductRelException - if a commerce application model c product rel with the primary key could not be foundpublic static CommerceApplicationModelCProductRel updateImpl(CommerceApplicationModelCProductRel commerceApplicationModelCProductRel)
public static CommerceApplicationModelCProductRel findByPrimaryKey(long commerceApplicationModelCProductRelId) throws NoSuchApplicationModelCProductRelException
NoSuchApplicationModelCProductRelException if it could not be found.commerceApplicationModelCProductRelId - the primary key of the commerce application model c product relNoSuchApplicationModelCProductRelException - if a commerce application model c product rel with the primary key could not be foundpublic static CommerceApplicationModelCProductRel fetchByPrimaryKey(long commerceApplicationModelCProductRelId)
null if it could not be found.commerceApplicationModelCProductRelId - the primary key of the commerce application model c product relnull if a commerce application model c product rel with the primary key could not be foundpublic static java.util.List<CommerceApplicationModelCProductRel> findAll()
public static java.util.List<CommerceApplicationModelCProductRel> 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 CommerceApplicationModelCProductRelModelImpl.
start - the lower bound of the range of commerce application model c product relsend - the upper bound of the range of commerce application model c product rels (not inclusive)public static java.util.List<CommerceApplicationModelCProductRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> 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 CommerceApplicationModelCProductRelModelImpl.
start - the lower bound of the range of commerce application model c product relsend - the upper bound of the range of commerce application model c product rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceApplicationModelCProductRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModelCProductRel> 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 CommerceApplicationModelCProductRelModelImpl.
start - the lower bound of the range of commerce application model c product relsend - the upper bound of the range of commerce application model c product rels (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 CommerceApplicationModelCProductRelPersistence getPersistence()
public static void setPersistence(CommerceApplicationModelCProductRelPersistence persistence)