public class CommerceChannelRelUtil
extends java.lang.Object
com.liferay.commerce.product.service.persistence.impl.CommerceChannelRelPersistenceImpl
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
CommerceChannelRelPersistence
Constructor and Description |
---|
CommerceChannelRelUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommerceChannelRel commerceChannelRel)
Caches the commerce channel rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceChannelRel> commerceChannelRels)
Caches the commerce channel rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceChannelRel commerceChannelRel) |
static int |
countAll()
Returns the number of commerce channel rels.
|
static int |
countByC_C_C(long classNameId,
long classPK,
long commerceChannelId)
Returns the number of commerce channel rels where classNameId = ? and classPK = ? and commerceChannelId = ?.
|
static int |
countByC_C(long classNameId,
long classPK)
Returns the number of commerce channel rels where classNameId = ? and classPK = ?.
|
static int |
countByCommerceChannelId(long commerceChannelId)
Returns the number of commerce channel rels where commerceChannelId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceChannelRel |
create(long commerceChannelRelId)
Creates a new commerce channel rel with the primary key.
|
static CommerceChannelRel |
fetchByC_C_C(long classNameId,
long classPK,
long commerceChannelId)
Returns the commerce channel rel where classNameId = ? and classPK = ? and commerceChannelId = ? or returns
null if it could not be found. |
static CommerceChannelRel |
fetchByC_C_C(long classNameId,
long classPK,
long commerceChannelId,
boolean useFinderCache)
Returns the commerce channel rel where classNameId = ? and classPK = ? and commerceChannelId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommerceChannelRel |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
Returns the first commerce channel rel in the ordered set where classNameId = ? and classPK = ?.
|
static CommerceChannelRel |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
Returns the last commerce channel rel in the ordered set where classNameId = ? and classPK = ?.
|
static CommerceChannelRel |
fetchByCommerceChannelId_First(long commerceChannelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
Returns the first commerce channel rel in the ordered set where commerceChannelId = ?.
|
static CommerceChannelRel |
fetchByCommerceChannelId_Last(long commerceChannelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
Returns the last commerce channel rel in the ordered set where commerceChannelId = ?.
|
static CommerceChannelRel |
fetchByPrimaryKey(long commerceChannelRelId)
Returns the commerce channel rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommerceChannelRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<CommerceChannelRel> |
findAll()
Returns all the commerce channel rels.
|
static java.util.List<CommerceChannelRel> |
findAll(int start,
int end)
Returns a range of all the commerce channel rels.
|
static java.util.List<CommerceChannelRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
Returns an ordered range of all the commerce channel rels.
|
static java.util.List<CommerceChannelRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce channel rels.
|
static CommerceChannelRel |
findByC_C_C(long classNameId,
long classPK,
long commerceChannelId)
Returns the commerce channel rel where classNameId = ? and classPK = ? and commerceChannelId = ? or throws a
NoSuchChannelRelException if it could not be found. |
static CommerceChannelRel |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
Returns the first commerce channel rel in the ordered set where classNameId = ? and classPK = ?.
|
static CommerceChannelRel |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
Returns the last commerce channel rel in the ordered set where classNameId = ? and classPK = ?.
|
static CommerceChannelRel[] |
findByC_C_PrevAndNext(long commerceChannelRelId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
Returns the commerce channel rels before and after the current commerce channel rel in the ordered set where classNameId = ? and classPK = ?.
|
static java.util.List<CommerceChannelRel> |
findByC_C(long classNameId,
long classPK)
Returns all the commerce channel rels where classNameId = ? and classPK = ?.
|
static java.util.List<CommerceChannelRel> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the commerce channel rels where classNameId = ? and classPK = ?.
|
static java.util.List<CommerceChannelRel> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
Returns an ordered range of all the commerce channel rels where classNameId = ? and classPK = ?.
|
static java.util.List<CommerceChannelRel> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce channel rels where classNameId = ? and classPK = ?.
|
static CommerceChannelRel |
findByCommerceChannelId_First(long commerceChannelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
Returns the first commerce channel rel in the ordered set where commerceChannelId = ?.
|
static CommerceChannelRel |
findByCommerceChannelId_Last(long commerceChannelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
Returns the last commerce channel rel in the ordered set where commerceChannelId = ?.
|
static CommerceChannelRel[] |
findByCommerceChannelId_PrevAndNext(long commerceChannelRelId,
long commerceChannelId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
Returns the commerce channel rels before and after the current commerce channel rel in the ordered set where commerceChannelId = ?.
|
static java.util.List<CommerceChannelRel> |
findByCommerceChannelId(long commerceChannelId)
Returns all the commerce channel rels where commerceChannelId = ?.
|
static java.util.List<CommerceChannelRel> |
findByCommerceChannelId(long commerceChannelId,
int start,
int end)
Returns a range of all the commerce channel rels where commerceChannelId = ?.
|
static java.util.List<CommerceChannelRel> |
findByCommerceChannelId(long commerceChannelId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
Returns an ordered range of all the commerce channel rels where commerceChannelId = ?.
|
static java.util.List<CommerceChannelRel> |
findByCommerceChannelId(long commerceChannelId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce channel rels where commerceChannelId = ?.
|
static CommerceChannelRel |
findByPrimaryKey(long commerceChannelRelId)
Returns the commerce channel rel with the primary key or throws a
NoSuchChannelRelException if it could not be found. |
static java.util.List<CommerceChannelRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceChannelRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceChannelRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) |
static CommerceChannelRelPersistence |
getPersistence() |
static CommerceChannelRel |
remove(long commerceChannelRelId)
Removes the commerce channel rel with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce channel rels from the database.
|
static CommerceChannelRel |
removeByC_C_C(long classNameId,
long classPK,
long commerceChannelId)
Removes the commerce channel rel where classNameId = ? and classPK = ? and commerceChannelId = ? from the database.
|
static void |
removeByC_C(long classNameId,
long classPK)
Removes all the commerce channel rels where classNameId = ? and classPK = ? from the database.
|
static void |
removeByCommerceChannelId(long commerceChannelId)
Removes all the commerce channel rels where commerceChannelId = ? from the database.
|
static CommerceChannelRel |
update(CommerceChannelRel commerceChannelRel) |
static CommerceChannelRel |
update(CommerceChannelRel commerceChannelRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceChannelRel |
updateImpl(CommerceChannelRel commerceChannelRel) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommerceChannelRel commerceChannelRel)
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,CommerceChannelRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommerceChannelRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommerceChannelRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommerceChannelRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommerceChannelRel update(CommerceChannelRel commerceChannelRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommerceChannelRel update(CommerceChannelRel commerceChannelRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommerceChannelRel> findByCommerceChannelId(long commerceChannelId)
commerceChannelId
- the commerce channel IDpublic static java.util.List<CommerceChannelRel> findByCommerceChannelId(long commerceChannelId, 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 CommerceChannelRelModelImpl
.
commerceChannelId
- the commerce channel IDstart
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)public static java.util.List<CommerceChannelRel> findByCommerceChannelId(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> 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 CommerceChannelRelModelImpl
.
commerceChannelId
- the commerce channel IDstart
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceChannelRel> findByCommerceChannelId(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> 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 CommerceChannelRelModelImpl
.
commerceChannelId
- the commerce channel IDstart
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceChannelRel findByCommerceChannelId_First(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) throws NoSuchChannelRelException
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelRelException
- if a matching commerce channel rel could not be foundpublic static CommerceChannelRel fetchByCommerceChannelId_First(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce channel rel could not be foundpublic static CommerceChannelRel findByCommerceChannelId_Last(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) throws NoSuchChannelRelException
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelRelException
- if a matching commerce channel rel could not be foundpublic static CommerceChannelRel fetchByCommerceChannelId_Last(long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
commerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce channel rel could not be foundpublic static CommerceChannelRel[] findByCommerceChannelId_PrevAndNext(long commerceChannelRelId, long commerceChannelId, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) throws NoSuchChannelRelException
commerceChannelRelId
- the primary key of the current commerce channel relcommerceChannelId
- the commerce channel IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelRelException
- if a commerce channel rel with the primary key could not be foundpublic static void removeByCommerceChannelId(long commerceChannelId)
commerceChannelId
- the commerce channel IDpublic static int countByCommerceChannelId(long commerceChannelId)
commerceChannelId
- the commerce channel IDpublic static java.util.List<CommerceChannelRel> findByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<CommerceChannelRel> findByC_C(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 CommerceChannelRelModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)public static java.util.List<CommerceChannelRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> 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 CommerceChannelRelModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceChannelRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> 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 CommerceChannelRelModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceChannelRel findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) throws NoSuchChannelRelException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelRelException
- if a matching commerce channel rel could not be foundpublic static CommerceChannelRel fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce channel rel could not be foundpublic static CommerceChannelRel findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) throws NoSuchChannelRelException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelRelException
- if a matching commerce channel rel could not be foundpublic static CommerceChannelRel fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce channel rel could not be foundpublic static CommerceChannelRel[] findByC_C_PrevAndNext(long commerceChannelRelId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) throws NoSuchChannelRelException
commerceChannelRelId
- the primary key of the current commerce channel relclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchChannelRelException
- if a commerce channel rel with the primary key could not be foundpublic static void removeByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static int countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static CommerceChannelRel findByC_C_C(long classNameId, long classPK, long commerceChannelId) throws NoSuchChannelRelException
NoSuchChannelRelException
if it could not be found.classNameId
- the class name IDclassPK
- the class pkcommerceChannelId
- the commerce channel IDNoSuchChannelRelException
- if a matching commerce channel rel could not be foundpublic static CommerceChannelRel fetchByC_C_C(long classNameId, long classPK, long commerceChannelId)
null
if it could not be found. Uses the finder cache.classNameId
- the class name IDclassPK
- the class pkcommerceChannelId
- the commerce channel IDnull
if a matching commerce channel rel could not be foundpublic static CommerceChannelRel fetchByC_C_C(long classNameId, long classPK, long commerceChannelId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.classNameId
- the class name IDclassPK
- the class pkcommerceChannelId
- the commerce channel IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce channel rel could not be foundpublic static CommerceChannelRel removeByC_C_C(long classNameId, long classPK, long commerceChannelId) throws NoSuchChannelRelException
classNameId
- the class name IDclassPK
- the class pkcommerceChannelId
- the commerce channel IDNoSuchChannelRelException
public static int countByC_C_C(long classNameId, long classPK, long commerceChannelId)
classNameId
- the class name IDclassPK
- the class pkcommerceChannelId
- the commerce channel IDpublic static void cacheResult(CommerceChannelRel commerceChannelRel)
commerceChannelRel
- the commerce channel relpublic static void cacheResult(java.util.List<CommerceChannelRel> commerceChannelRels)
commerceChannelRels
- the commerce channel relspublic static CommerceChannelRel create(long commerceChannelRelId)
commerceChannelRelId
- the primary key for the new commerce channel relpublic static CommerceChannelRel remove(long commerceChannelRelId) throws NoSuchChannelRelException
commerceChannelRelId
- the primary key of the commerce channel relNoSuchChannelRelException
- if a commerce channel rel with the primary key could not be foundpublic static CommerceChannelRel updateImpl(CommerceChannelRel commerceChannelRel)
public static CommerceChannelRel findByPrimaryKey(long commerceChannelRelId) throws NoSuchChannelRelException
NoSuchChannelRelException
if it could not be found.commerceChannelRelId
- the primary key of the commerce channel relNoSuchChannelRelException
- if a commerce channel rel with the primary key could not be foundpublic static CommerceChannelRel fetchByPrimaryKey(long commerceChannelRelId)
null
if it could not be found.commerceChannelRelId
- the primary key of the commerce channel relnull
if a commerce channel rel with the primary key could not be foundpublic static java.util.List<CommerceChannelRel> findAll()
public static java.util.List<CommerceChannelRel> 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 CommerceChannelRelModelImpl
.
start
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)public static java.util.List<CommerceChannelRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> 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 CommerceChannelRelModelImpl
.
start
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceChannelRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> 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 CommerceChannelRelModelImpl
.
start
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel 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 CommerceChannelRelPersistence getPersistence()