Interface CommercePriceListChannelRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePriceListChannelRel>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceListChannelRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommercePriceListChannelRel commercePriceListChannelRel) Caches the commerce price list channel rel in the entity cache if it is enabled.void
cacheResult
(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
(String uuid) Returns the number of commerce price list channel rels where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce price list channel rels where uuid = ? and companyId = ?.create
(long CommercePriceListChannelRelId) Creates a new commerce price list channel rel with the primary key.fetchByCCI_CPI
(long commerceChannelId, long commercePriceListId) Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or returnsnull
if it could not be found.fetchByCCI_CPI
(long commerceChannelId, long commercePriceListId, boolean useFinderCache) Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.fetchByPrimaryKey
(long CommercePriceListChannelRelId) Returns the commerce price list channel rel with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(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 = ?.fetchByUuid_C_Last
(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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the first commerce price list channel rel in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the last commerce price list channel rel in the ordered set where uuid = ?.findAll()
Returns all the commerce price list channel rels.findAll
(int start, int end) Returns a range of all the commerce price list channel rels.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.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.findByCCI_CPI
(long commerceChannelId, long commercePriceListId) Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or throws aNoSuchPriceListChannelRelException
if it could not be found.findByCommercePriceListId
(long commercePriceListId) Returns all the commerce price list channel rels where commercePriceListId = ?.findByCommercePriceListId
(long commercePriceListId, int start, int end) Returns a range of all the commerce price list channel rels where commercePriceListId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByPrimaryKey
(long CommercePriceListChannelRelId) Returns the commerce price list channel rel with the primary key or throws aNoSuchPriceListChannelRelException
if it could not be found.findByUuid
(String uuid) Returns all the commerce price list channel rels where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the commerce price list channel rels where uuid = ?.findByUuid
(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 = ?.findByUuid
(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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the commerce price list channel rels where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce price list channel rels where uuid = ? and companyId = ?.findByUuid_C
(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 = ?.findByUuid_C
(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 = ?.findByUuid_C_First
(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 = ?.findByUuid_C_Last
(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 = ?.findByUuid_C_PrevAndNext
(long CommercePriceListChannelRelId, 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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the first commerce price list channel rel in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the last commerce price list channel rel in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long CommercePriceListChannelRelId, 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 = ?.remove
(long CommercePriceListChannelRelId) Removes the commerce price list channel rel with the primary key from the database.void
Removes all the commerce price list channel rels from the database.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
(String uuid) Removes all the commerce price list channel rels where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce price list channel rels where uuid = ? and companyId = ? from the database.updateImpl
(CommercePriceListChannelRel commercePriceListChannelRel) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
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, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the commerce price list channel rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching commerce price list channel rels
-
findByUuid
Returns a range of all the commerce price list channel rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price list channel rels
-
findByUuid
List<CommercePriceListChannelRel> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price list channel rels
-
findByUuid
List<CommercePriceListChannelRel> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price list channel rels
-
findByUuid_First
CommercePriceListChannelRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the first commerce price list channel rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException
- if a matching commerce price list channel rel could not be found
-
fetchByUuid_First
CommercePriceListChannelRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the first commerce price list channel rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list channel rel, or
null
if a matching commerce price list channel rel could not be found
-
findByUuid_Last
CommercePriceListChannelRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the last commerce price list channel rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException
- if a matching commerce price list channel rel could not be found
-
fetchByUuid_Last
CommercePriceListChannelRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the last commerce price list channel rel in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list channel rel, or
null
if a matching commerce price list channel rel could not be found
-
findByUuid_PrevAndNext
CommercePriceListChannelRel[] findByUuid_PrevAndNext(long CommercePriceListChannelRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the commerce price list channel rels before and after the current commerce price list channel rel in the ordered set where uuid = ?.- Parameters:
CommercePriceListChannelRelId
- the primary key of the current commerce price list channel reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException
- if a commerce price list channel rel with the primary key could not be found
-
removeByUuid
Removes all the commerce price list channel rels where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of commerce price list channel rels where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching commerce price list channel rels
-
findByUuid_C
Returns all the commerce price list channel rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching commerce price list channel rels
-
findByUuid_C
Returns a range of all the commerce price list channel rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price list channel rels
-
findByUuid_C
List<CommercePriceListChannelRel> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price list channel rels
-
findByUuid_C
List<CommercePriceListChannelRel> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price list channel rels
-
findByUuid_C_First
CommercePriceListChannelRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the first commerce price list channel rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException
- if a matching commerce price list channel rel could not be found
-
fetchByUuid_C_First
CommercePriceListChannelRel fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list channel rel, or
null
if a matching commerce price list channel rel could not be found
-
findByUuid_C_Last
CommercePriceListChannelRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the last commerce price list channel rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException
- if a matching commerce price list channel rel could not be found
-
fetchByUuid_C_Last
CommercePriceListChannelRel fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list channel rel, or
null
if a matching commerce price list channel rel could not be found
-
findByUuid_C_PrevAndNext
CommercePriceListChannelRel[] findByUuid_C_PrevAndNext(long CommercePriceListChannelRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException 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 = ?.- Parameters:
CommercePriceListChannelRelId
- the primary key of the current commerce price list channel reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException
- if a commerce price list channel rel with the primary key could not be found
-
removeByUuid_C
Removes all the commerce price list channel rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of commerce price list channel rels where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching commerce price list channel rels
-
findByCommercePriceListId
Returns all the commerce price list channel rels where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list ID- Returns:
- the matching commerce price list channel rels
-
findByCommercePriceListId
List<CommercePriceListChannelRel> findByCommercePriceListId(long commercePriceListId, int start, int end) Returns a range of all the commerce price list channel rels where commercePriceListId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price list channel rels
-
findByCommercePriceListId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price list channel rels
-
findByCommercePriceListId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price list channel rels
-
findByCommercePriceListId_First
CommercePriceListChannelRel findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the first commerce price list channel rel in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException
- if a matching commerce price list channel rel could not be found
-
fetchByCommercePriceListId_First
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 = ?.- Parameters:
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list channel rel, or
null
if a matching commerce price list channel rel could not be found
-
findByCommercePriceListId_Last
CommercePriceListChannelRel findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the last commerce price list channel rel in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException
- if a matching commerce price list channel rel could not be found
-
fetchByCommercePriceListId_Last
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 = ?.- Parameters:
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list channel rel, or
null
if a matching commerce price list channel rel could not be found
-
findByCommercePriceListId_PrevAndNext
CommercePriceListChannelRel[] findByCommercePriceListId_PrevAndNext(long CommercePriceListChannelRelId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the commerce price list channel rels before and after the current commerce price list channel rel in the ordered set where commercePriceListId = ?.- Parameters:
CommercePriceListChannelRelId
- the primary key of the current commerce price list channel relcommercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException
- if a commerce price list channel rel with the primary key could not be found
-
removeByCommercePriceListId
void removeByCommercePriceListId(long commercePriceListId) Removes all the commerce price list channel rels where commercePriceListId = ? from the database.- Parameters:
commercePriceListId
- the commerce price list ID
-
countByCommercePriceListId
int countByCommercePriceListId(long commercePriceListId) Returns the number of commerce price list channel rels where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list ID- Returns:
- the number of matching commerce price list channel rels
-
findByCCI_CPI
CommercePriceListChannelRel findByCCI_CPI(long commerceChannelId, long commercePriceListId) throws NoSuchPriceListChannelRelException Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or throws aNoSuchPriceListChannelRelException
if it could not be found.- Parameters:
commerceChannelId
- the commerce channel IDcommercePriceListId
- the commerce price list ID- Returns:
- the matching commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException
- if a matching commerce price list channel rel could not be found
-
fetchByCCI_CPI
Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
commerceChannelId
- the commerce channel IDcommercePriceListId
- the commerce price list ID- Returns:
- the matching commerce price list channel rel, or
null
if a matching commerce price list channel rel could not be found
-
fetchByCCI_CPI
CommercePriceListChannelRel fetchByCCI_CPI(long commerceChannelId, long commercePriceListId, boolean useFinderCache) Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
commerceChannelId
- the commerce channel IDcommercePriceListId
- the commerce price list IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce price list channel rel, or
null
if a matching commerce price list channel rel could not be found
-
removeByCCI_CPI
CommercePriceListChannelRel removeByCCI_CPI(long commerceChannelId, long commercePriceListId) throws NoSuchPriceListChannelRelException Removes the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? from the database.- Parameters:
commerceChannelId
- the commerce channel IDcommercePriceListId
- the commerce price list ID- Returns:
- the commerce price list channel rel that was removed
- Throws:
NoSuchPriceListChannelRelException
-
countByCCI_CPI
int countByCCI_CPI(long commerceChannelId, long commercePriceListId) Returns the number of commerce price list channel rels where commerceChannelId = ? and commercePriceListId = ?.- Parameters:
commerceChannelId
- the commerce channel IDcommercePriceListId
- the commerce price list ID- Returns:
- the number of matching commerce price list channel rels
-
cacheResult
Caches the commerce price list channel rel in the entity cache if it is enabled.- Parameters:
commercePriceListChannelRel
- the commerce price list channel rel
-
cacheResult
Caches the commerce price list channel rels in the entity cache if it is enabled.- Parameters:
commercePriceListChannelRels
- the commerce price list channel rels
-
create
Creates a new commerce price list channel rel with the primary key. Does not add the commerce price list channel rel to the database.- Parameters:
CommercePriceListChannelRelId
- the primary key for the new commerce price list channel rel- Returns:
- the new commerce price list channel rel
-
remove
CommercePriceListChannelRel remove(long CommercePriceListChannelRelId) throws NoSuchPriceListChannelRelException Removes the commerce price list channel rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CommercePriceListChannelRelId
- the primary key of the commerce price list channel rel- Returns:
- the commerce price list channel rel that was removed
- Throws:
NoSuchPriceListChannelRelException
- if a commerce price list channel rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CommercePriceListChannelRel findByPrimaryKey(long CommercePriceListChannelRelId) throws NoSuchPriceListChannelRelException Returns the commerce price list channel rel with the primary key or throws aNoSuchPriceListChannelRelException
if it could not be found.- Parameters:
CommercePriceListChannelRelId
- the primary key of the commerce price list channel rel- Returns:
- the commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException
- if a commerce price list channel rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce price list channel rel with the primary key or returnsnull
if it could not be found.- Parameters:
CommercePriceListChannelRelId
- the primary key of the commerce price list channel rel- Returns:
- the commerce price list channel rel, or
null
if a commerce price list channel rel with the primary key could not be found
-
findAll
List<CommercePriceListChannelRel> findAll()Returns all the commerce price list channel rels.- Returns:
- the commerce price list channel rels
-
findAll
Returns a range of all the commerce price list channel rels.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl
.- Parameters:
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)- Returns:
- the range of commerce price list channel rels
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of commerce price list channel rels
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce price list channel rels
-
removeAll
void removeAll()Removes all the commerce price list channel rels from the database. -
countAll
int countAll()Returns the number of commerce price list channel rels.- Returns:
- the number of commerce price list channel rels
-