@ProviderType public interface CommercePriceListChannelRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePriceListChannelRel>
Caching information and settings can be found in portal.properties
CommercePriceListChannelRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommercePriceListChannelRel commercePriceListChannelRel)
Caches the commerce price list channel rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommercePriceListChannelRel> commercePriceListChannelRels)
Caches the commerce price list channel rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce price list channel rels.
|
int |
countByCCI_CPI(long commerceChannelId,
long commercePriceListId)
Returns the number of commerce price list channel rels where commerceChannelId = ? and commercePriceListId = ?.
|
int |
countByCommercePriceListId(long commercePriceListId)
Returns the number of commerce price list channel rels where commercePriceListId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce price list channel rels where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce price list channel rels where uuid = ?.
|
CommercePriceListChannelRel |
create(long CommercePriceListChannelRelId)
Creates a new commerce price list channel rel with the primary key.
|
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. |
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. |
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 = ?.
|
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 = ?.
|
CommercePriceListChannelRel |
fetchByPrimaryKey(long CommercePriceListChannelRelId)
Returns the commerce price list channel rel with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommercePriceListChannelRel> |
findAll()
Returns all the commerce price list channel rels.
|
java.util.List<CommercePriceListChannelRel> |
findAll(int start,
int end)
Returns a range of all the commerce price list channel rels.
|
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.
|
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.
|
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommercePriceListChannelRel> |
findByCommercePriceListId(long commercePriceListId)
Returns all the commerce price list channel rels where commercePriceListId = ?.
|
java.util.List<CommercePriceListChannelRel> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end)
Returns a range of all the commerce price list channel rels where commercePriceListId = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommercePriceListChannelRel> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce price list channel rels where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommercePriceListChannelRel> |
findByUuid(java.lang.String uuid)
Returns all the commerce price list channel rels where uuid = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
CommercePriceListChannelRel |
remove(long CommercePriceListChannelRelId)
Removes the commerce price list channel rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce price list channel rels from the database.
|
CommercePriceListChannelRel |
removeByCCI_CPI(long commerceChannelId,
long commercePriceListId)
Removes the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? from the database.
|
void |
removeByCommercePriceListId(long commercePriceListId)
Removes all the commerce price list channel rels where commercePriceListId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce price list channel rels where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce price list channel rels where uuid = ? from the database.
|
CommercePriceListChannelRel |
updateImpl(CommercePriceListChannelRel commercePriceListChannelRel) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CommercePriceListChannelRel> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 cacheCommercePriceListChannelRel 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 foundCommercePriceListChannelRel 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 foundCommercePriceListChannelRel 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 foundCommercePriceListChannelRel 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 foundCommercePriceListChannelRel[] 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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommercePriceListChannelRel> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 cacheCommercePriceListChannelRel 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 foundCommercePriceListChannelRel 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 foundCommercePriceListChannelRel 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 foundCommercePriceListChannelRel 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 foundCommercePriceListChannelRel[] 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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommercePriceListChannelRel> findByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDjava.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)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
)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 cacheCommercePriceListChannelRel 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 foundCommercePriceListChannelRel 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 foundCommercePriceListChannelRel 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 foundCommercePriceListChannelRel 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 foundCommercePriceListChannelRel[] 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 foundvoid removeByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDint countByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDCommercePriceListChannelRel 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 foundCommercePriceListChannelRel 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 foundCommercePriceListChannelRel 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 foundCommercePriceListChannelRel removeByCCI_CPI(long commerceChannelId, long commercePriceListId) throws NoSuchPriceListChannelRelException
commerceChannelId
- the commerce channel IDcommercePriceListId
- the commerce price list IDNoSuchPriceListChannelRelException
int countByCCI_CPI(long commerceChannelId, long commercePriceListId)
commerceChannelId
- the commerce channel IDcommercePriceListId
- the commerce price list IDvoid cacheResult(CommercePriceListChannelRel commercePriceListChannelRel)
commercePriceListChannelRel
- the commerce price list channel relvoid cacheResult(java.util.List<CommercePriceListChannelRel> commercePriceListChannelRels)
commercePriceListChannelRels
- the commerce price list channel relsCommercePriceListChannelRel create(long CommercePriceListChannelRelId)
CommercePriceListChannelRelId
- the primary key for the new commerce price list channel relCommercePriceListChannelRel 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 foundCommercePriceListChannelRel updateImpl(CommercePriceListChannelRel commercePriceListChannelRel)
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 foundCommercePriceListChannelRel 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 foundjava.util.List<CommercePriceListChannelRel> findAll()
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)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
)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 cachevoid removeAll()
int countAll()