public class CommercePriceListChannelRelUtil
extends java.lang.Object
com.liferay.commerce.price.list.service.persistence.impl.CommercePriceListChannelRelPersistenceImpl
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
CommercePriceListChannelRelPersistence
Constructor and Description |
---|
CommercePriceListChannelRelUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommercePriceListChannelRel commercePriceListChannelRel)
Caches the commerce price list channel rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommercePriceListChannelRel> commercePriceListChannelRels)
Caches the commerce price list channel rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommercePriceListChannelRel commercePriceListChannelRel) |
static int |
countAll()
Returns the number of commerce price list channel rels.
|
static int |
countByCCI_CPI(long commerceChannelId,
long commercePriceListId)
Returns the number of commerce price list channel rels where commerceChannelId = ? and commercePriceListId = ?.
|
static int |
countByCommercePriceListId(long commercePriceListId)
Returns the number of commerce price list channel rels where commercePriceListId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce price list channel rels where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of commerce price list channel rels where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommercePriceListChannelRel |
create(long CommercePriceListChannelRelId)
Creates a new commerce price list channel rel with the primary key.
|
static CommercePriceListChannelRel |
fetchByCCI_CPI(long commerceChannelId,
long commercePriceListId)
Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or returns
null if it could not be found. |
static CommercePriceListChannelRel |
fetchByCCI_CPI(long commerceChannelId,
long commercePriceListId,
boolean useFinderCache)
Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommercePriceListChannelRel |
fetchByCommercePriceListId_First(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the first commerce price list channel rel in the ordered set where commercePriceListId = ?.
|
static CommercePriceListChannelRel |
fetchByCommercePriceListId_Last(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the last commerce price list channel rel in the ordered set where commercePriceListId = ?.
|
static CommercePriceListChannelRel |
fetchByPrimaryKey(long CommercePriceListChannelRelId)
Returns the commerce price list channel rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommercePriceListChannelRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CommercePriceListChannelRel |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the first commerce price list channel rel in the ordered set where uuid = ? and companyId = ?.
|
static CommercePriceListChannelRel |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the last commerce price list channel rel in the ordered set where uuid = ? and companyId = ?.
|
static CommercePriceListChannelRel |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the first commerce price list channel rel in the ordered set where uuid = ?.
|
static CommercePriceListChannelRel |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the last commerce price list channel rel in the ordered set where uuid = ?.
|
static java.util.List<CommercePriceListChannelRel> |
findAll()
Returns all the commerce price list channel rels.
|
static java.util.List<CommercePriceListChannelRel> |
findAll(int start,
int end)
Returns a range of all the commerce price list channel rels.
|
static java.util.List<CommercePriceListChannelRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns an ordered range of all the commerce price list channel rels.
|
static java.util.List<CommercePriceListChannelRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list channel rels.
|
static CommercePriceListChannelRel |
findByCCI_CPI(long commerceChannelId,
long commercePriceListId)
Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or throws a
NoSuchPriceListChannelRelException if it could not be found. |
static CommercePriceListChannelRel |
findByCommercePriceListId_First(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the first commerce price list channel rel in the ordered set where commercePriceListId = ?.
|
static CommercePriceListChannelRel |
findByCommercePriceListId_Last(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the last commerce price list channel rel in the ordered set where commercePriceListId = ?.
|
static CommercePriceListChannelRel[] |
findByCommercePriceListId_PrevAndNext(long CommercePriceListChannelRelId,
long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the commerce price list channel rels before and after the current commerce price list channel rel in the ordered set where commercePriceListId = ?.
|
static java.util.List<CommercePriceListChannelRel> |
findByCommercePriceListId(long commercePriceListId)
Returns all the commerce price list channel rels where commercePriceListId = ?.
|
static java.util.List<CommercePriceListChannelRel> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end)
Returns a range of all the commerce price list channel rels where commercePriceListId = ?.
|
static java.util.List<CommercePriceListChannelRel> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns an ordered range of all the commerce price list channel rels where commercePriceListId = ?.
|
static java.util.List<CommercePriceListChannelRel> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list channel rels where commercePriceListId = ?.
|
static CommercePriceListChannelRel |
findByPrimaryKey(long CommercePriceListChannelRelId)
Returns the commerce price list channel rel with the primary key or throws a
NoSuchPriceListChannelRelException if it could not be found. |
static CommercePriceListChannelRel |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the first commerce price list channel rel in the ordered set where uuid = ? and companyId = ?.
|
static CommercePriceListChannelRel |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the last commerce price list channel rel in the ordered set where uuid = ? and companyId = ?.
|
static CommercePriceListChannelRel[] |
findByUuid_C_PrevAndNext(long CommercePriceListChannelRelId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the commerce price list channel rels before and after the current commerce price list channel rel in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<CommercePriceListChannelRel> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce price list channel rels where uuid = ? and companyId = ?.
|
static java.util.List<CommercePriceListChannelRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce price list channel rels where uuid = ? and companyId = ?.
|
static java.util.List<CommercePriceListChannelRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns an ordered range of all the commerce price list channel rels where uuid = ? and companyId = ?.
|
static java.util.List<CommercePriceListChannelRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list channel rels where uuid = ? and companyId = ?.
|
static CommercePriceListChannelRel |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the first commerce price list channel rel in the ordered set where uuid = ?.
|
static CommercePriceListChannelRel |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the last commerce price list channel rel in the ordered set where uuid = ?.
|
static CommercePriceListChannelRel[] |
findByUuid_PrevAndNext(long CommercePriceListChannelRelId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns the commerce price list channel rels before and after the current commerce price list channel rel in the ordered set where uuid = ?.
|
static java.util.List<CommercePriceListChannelRel> |
findByUuid(java.lang.String uuid)
Returns all the commerce price list channel rels where uuid = ?.
|
static java.util.List<CommercePriceListChannelRel> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce price list channel rels where uuid = ?.
|
static java.util.List<CommercePriceListChannelRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
Returns an ordered range of all the commerce price list channel rels where uuid = ?.
|
static java.util.List<CommercePriceListChannelRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list channel rels where uuid = ?.
|
static java.util.List<CommercePriceListChannelRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommercePriceListChannelRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommercePriceListChannelRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) |
static CommercePriceListChannelRelPersistence |
getPersistence() |
static CommercePriceListChannelRel |
remove(long CommercePriceListChannelRelId)
Removes the commerce price list channel rel with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce price list channel rels from the database.
|
static CommercePriceListChannelRel |
removeByCCI_CPI(long commerceChannelId,
long commercePriceListId)
Removes the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? from the database.
|
static void |
removeByCommercePriceListId(long commercePriceListId)
Removes all the commerce price list channel rels where commercePriceListId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce price list channel rels where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the commerce price list channel rels where uuid = ? from the database.
|
static CommercePriceListChannelRel |
update(CommercePriceListChannelRel commercePriceListChannelRel) |
static CommercePriceListChannelRel |
update(CommercePriceListChannelRel commercePriceListChannelRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommercePriceListChannelRel |
updateImpl(CommercePriceListChannelRel commercePriceListChannelRel) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommercePriceListChannelRel commercePriceListChannelRel)
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,CommercePriceListChannelRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommercePriceListChannelRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommercePriceListChannelRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommercePriceListChannelRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommercePriceListChannelRel update(CommercePriceListChannelRel commercePriceListChannelRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommercePriceListChannelRel update(CommercePriceListChannelRel commercePriceListChannelRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommercePriceListChannelRel> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommercePriceListChannelRel> findByUuid(java.lang.String uuid, 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 CommercePriceListChannelRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price list channel relsend
- the upper bound of the range of commerce price list channel rels (not inclusive)public static java.util.List<CommercePriceListChannelRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> 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 CommercePriceListChannelRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price list channel relsend
- the upper bound of the range of commerce price list channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceListChannelRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> 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 CommercePriceListChannelRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price list channel relsend
- the upper bound of the range of commerce price list channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceListChannelRel findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListChannelRelException
- if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListChannelRelException
- if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel[] findByUuid_PrevAndNext(long CommercePriceListChannelRelId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException
CommercePriceListChannelRelId
- the primary key of the current commerce price list channel reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListChannelRelException
- if a commerce price list channel rel with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommercePriceListChannelRel> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommercePriceListChannelRel> findByUuid_C(java.lang.String uuid, 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 CommercePriceListChannelRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list channel relsend
- the upper bound of the range of commerce price list channel rels (not inclusive)public static java.util.List<CommercePriceListChannelRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> 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 CommercePriceListChannelRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list channel relsend
- the upper bound of the range of commerce price list channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceListChannelRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> 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 CommercePriceListChannelRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list channel relsend
- the upper bound of the range of commerce price list channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceListChannelRel findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListChannelRelException
- if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListChannelRelException
- if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel[] findByUuid_C_PrevAndNext(long CommercePriceListChannelRelId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException
CommercePriceListChannelRelId
- the primary key of the current commerce price list channel reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListChannelRelException
- if a commerce price list channel rel with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommercePriceListChannelRel> findByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDpublic static java.util.List<CommercePriceListChannelRel> findByCommercePriceListId(long commercePriceListId, 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 CommercePriceListChannelRelModelImpl
.
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list channel relsend
- the upper bound of the range of commerce price list channel rels (not inclusive)public static java.util.List<CommercePriceListChannelRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> 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 CommercePriceListChannelRelModelImpl
.
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list channel relsend
- the upper bound of the range of commerce price list channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceListChannelRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> 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 CommercePriceListChannelRelModelImpl
.
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list channel relsend
- the upper bound of the range of commerce price list channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceListChannelRel findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListChannelRelException
- if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListChannelRelException
- if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel fetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel[] findByCommercePriceListId_PrevAndNext(long CommercePriceListChannelRelId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException
CommercePriceListChannelRelId
- the primary key of the current commerce price list channel relcommercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListChannelRelException
- if a commerce price list channel rel with the primary key could not be foundpublic static void removeByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDpublic static int countByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDpublic static CommercePriceListChannelRel findByCCI_CPI(long commerceChannelId, long commercePriceListId) throws NoSuchPriceListChannelRelException
NoSuchPriceListChannelRelException
if it could not be found.commerceChannelId
- the commerce channel IDcommercePriceListId
- the commerce price list IDNoSuchPriceListChannelRelException
- if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel fetchByCCI_CPI(long commerceChannelId, long commercePriceListId)
null
if it could not be found. Uses the finder cache.commerceChannelId
- the commerce channel IDcommercePriceListId
- the commerce price list IDnull
if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel fetchByCCI_CPI(long commerceChannelId, long commercePriceListId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commerceChannelId
- the commerce channel IDcommercePriceListId
- the commerce price list IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce price list channel rel could not be foundpublic static CommercePriceListChannelRel removeByCCI_CPI(long commerceChannelId, long commercePriceListId) throws NoSuchPriceListChannelRelException
commerceChannelId
- the commerce channel IDcommercePriceListId
- the commerce price list IDNoSuchPriceListChannelRelException
public static int countByCCI_CPI(long commerceChannelId, long commercePriceListId)
commerceChannelId
- the commerce channel IDcommercePriceListId
- the commerce price list IDpublic static void cacheResult(CommercePriceListChannelRel commercePriceListChannelRel)
commercePriceListChannelRel
- the commerce price list channel relpublic static void cacheResult(java.util.List<CommercePriceListChannelRel> commercePriceListChannelRels)
commercePriceListChannelRels
- the commerce price list channel relspublic static CommercePriceListChannelRel create(long CommercePriceListChannelRelId)
CommercePriceListChannelRelId
- the primary key for the new commerce price list channel relpublic static CommercePriceListChannelRel remove(long CommercePriceListChannelRelId) throws NoSuchPriceListChannelRelException
CommercePriceListChannelRelId
- the primary key of the commerce price list channel relNoSuchPriceListChannelRelException
- if a commerce price list channel rel with the primary key could not be foundpublic static CommercePriceListChannelRel updateImpl(CommercePriceListChannelRel commercePriceListChannelRel)
public static CommercePriceListChannelRel findByPrimaryKey(long CommercePriceListChannelRelId) throws NoSuchPriceListChannelRelException
NoSuchPriceListChannelRelException
if it could not be found.CommercePriceListChannelRelId
- the primary key of the commerce price list channel relNoSuchPriceListChannelRelException
- if a commerce price list channel rel with the primary key could not be foundpublic static CommercePriceListChannelRel fetchByPrimaryKey(long CommercePriceListChannelRelId)
null
if it could not be found.CommercePriceListChannelRelId
- the primary key of the commerce price list channel relnull
if a commerce price list channel rel with the primary key could not be foundpublic static java.util.List<CommercePriceListChannelRel> findAll()
public static java.util.List<CommercePriceListChannelRel> 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 CommercePriceListChannelRelModelImpl
.
start
- the lower bound of the range of commerce price list channel relsend
- the upper bound of the range of commerce price list channel rels (not inclusive)public static java.util.List<CommercePriceListChannelRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> 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 CommercePriceListChannelRelModelImpl
.
start
- the lower bound of the range of commerce price list channel relsend
- the upper bound of the range of commerce price list channel rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceListChannelRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> 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 CommercePriceListChannelRelModelImpl
.
start
- the lower bound of the range of commerce price list channel relsend
- the upper bound of the range of commerce price list 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 CommercePriceListChannelRelPersistence getPersistence()