Interface CommercePriceListDiscountRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePriceListDiscountRel>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceListDiscountRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByCDI_CPI(long commerceDiscountId, long commercePriceListId) Returns the number of commerce price list discount rels where commerceDiscountId = ? and commercePriceListId = ?.intcountByCommercePriceListId(long commercePriceListId) Returns the number of commerce price list discount rels where commercePriceListId = ?.intcountByUuid(String uuid) Returns the number of commerce price list discount rels where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of commerce price list discount rels where uuid = ? and companyId = ?.create(long commercePriceListDiscountRelId) Creates a new commerce price list discount rel with the primary key.default CommercePriceListDiscountRelfetchByCDI_CPI(long commerceDiscountId, long commercePriceListId) Returns the commerce price list discount rel where commerceDiscountId = ? and commercePriceListId = ? or returnsnullif it could not be found.fetchByCDI_CPI(long commerceDiscountId, long commercePriceListId, boolean useFinderCache) Returns the commerce price list discount rel where commerceDiscountId = ? and commercePriceListId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns the first commerce price list discount rel in the ordered set where commercePriceListId = ?.fetchByPrimaryKey(long commercePriceListDiscountRelId) Returns the commerce price list discount rel with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns the first commerce price list discount rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns the first commerce price list discount rel in the ordered set where uuid = ?.findByCDI_CPI(long commerceDiscountId, long commercePriceListId) Returns the commerce price list discount rel where commerceDiscountId = ? and commercePriceListId = ? or throws aNoSuchPriceListDiscountRelExceptionif it could not be found.default List<CommercePriceListDiscountRel> findByCommercePriceListId(long commercePriceListId) Returns all the commerce price list discount rels where commercePriceListId = ?.default List<CommercePriceListDiscountRel> findByCommercePriceListId(long commercePriceListId, int start, int end) Returns a range of all the commerce price list discount rels where commercePriceListId = ?.default List<CommercePriceListDiscountRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns an ordered range of all the commerce price list discount rels where commercePriceListId = ?.findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list discount rels where commercePriceListId = ?.findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns the first commerce price list discount rel in the ordered set where commercePriceListId = ?.findByPrimaryKey(long commercePriceListDiscountRelId) Returns the commerce price list discount rel with the primary key or throws aNoSuchPriceListDiscountRelExceptionif it could not be found.default List<CommercePriceListDiscountRel> findByUuid(String uuid) Returns all the commerce price list discount rels where uuid = ?.default List<CommercePriceListDiscountRel> findByUuid(String uuid, int start, int end) Returns a range of all the commerce price list discount rels where uuid = ?.default List<CommercePriceListDiscountRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns an ordered range of all the commerce price list discount rels where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list discount rels where uuid = ?.default List<CommercePriceListDiscountRel> findByUuid_C(String uuid, long companyId) Returns all the commerce price list discount rels where uuid = ? and companyId = ?.default List<CommercePriceListDiscountRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce price list discount rels where uuid = ? and companyId = ?.default List<CommercePriceListDiscountRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns an ordered range of all the commerce price list discount rels where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list discount rels where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns the first commerce price list discount rel in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns the first commerce price list discount rel in the ordered set where uuid = ?.remove(long commercePriceListDiscountRelId) Removes the commerce price list discount rel with the primary key from the database.removeByCDI_CPI(long commerceDiscountId, long commercePriceListId) Removes the commerce price list discount rel where commerceDiscountId = ? and commercePriceListId = ? from the database.voidremoveByCommercePriceListId(long commercePriceListId) Removes all the commerce price list discount rels where commercePriceListId = ? from the database.voidremoveByUuid(String uuid) Removes all the commerce price list discount rels where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce price list discount rels where uuid = ? and companyId = ? from the database.updateImpl(CommercePriceListDiscountRel commercePriceListDiscountRel) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
List<CommercePriceListDiscountRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list discount rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.price.list.model.impl.CommercePriceListDiscountRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce price list discount relsend- the upper bound of the range of commerce price list discount 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 discount rels
-
findByUuid_First
CommercePriceListDiscountRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) throws NoSuchPriceListDiscountRelException Returns the first commerce price list discount 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 discount rel
- Throws:
NoSuchPriceListDiscountRelException- if a matching commerce price list discount rel could not be found
-
fetchByUuid_First
CommercePriceListDiscountRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns the first commerce price list discount 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 discount rel, or
nullif a matching commerce price list discount rel could not be found
-
removeByUuid
Removes all the commerce price list discount rels where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of commerce price list discount rels where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce price list discount rels
-
findByUuid_C
List<CommercePriceListDiscountRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list discount rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.price.list.model.impl.CommercePriceListDiscountRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce price list discount relsend- the upper bound of the range of commerce price list discount 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 discount rels
-
findByUuid_C_First
CommercePriceListDiscountRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) throws NoSuchPriceListDiscountRelException Returns the first commerce price list discount 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 discount rel
- Throws:
NoSuchPriceListDiscountRelException- if a matching commerce price list discount rel could not be found
-
fetchByUuid_C_First
CommercePriceListDiscountRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns the first commerce price list discount 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 discount rel, or
nullif a matching commerce price list discount rel could not be found
-
removeByUuid_C
Removes all the commerce price list discount rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce price list discount rels where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce price list discount rels
-
findByCommercePriceListId
List<CommercePriceListDiscountRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list discount rels where commercePriceListId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.price.list.model.impl.CommercePriceListDiscountRelModelImpl.- Parameters:
commercePriceListId- the commerce price list IDstart- the lower bound of the range of commerce price list discount relsend- the upper bound of the range of commerce price list discount 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 discount rels
-
findByCommercePriceListId_First
CommercePriceListDiscountRel findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) throws NoSuchPriceListDiscountRelException Returns the first commerce price list discount 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 discount rel
- Throws:
NoSuchPriceListDiscountRelException- if a matching commerce price list discount rel could not be found
-
fetchByCommercePriceListId_First
CommercePriceListDiscountRel fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns the first commerce price list discount 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 discount rel, or
nullif a matching commerce price list discount rel could not be found
-
removeByCommercePriceListId
void removeByCommercePriceListId(long commercePriceListId) Removes all the commerce price list discount 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 discount rels where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list ID- Returns:
- the number of matching commerce price list discount rels
-
findByCDI_CPI
CommercePriceListDiscountRel findByCDI_CPI(long commerceDiscountId, long commercePriceListId) throws NoSuchPriceListDiscountRelException Returns the commerce price list discount rel where commerceDiscountId = ? and commercePriceListId = ? or throws aNoSuchPriceListDiscountRelExceptionif it could not be found.- Parameters:
commerceDiscountId- the commerce discount IDcommercePriceListId- the commerce price list ID- Returns:
- the matching commerce price list discount rel
- Throws:
NoSuchPriceListDiscountRelException- if a matching commerce price list discount rel could not be found
-
fetchByCDI_CPI
CommercePriceListDiscountRel fetchByCDI_CPI(long commerceDiscountId, long commercePriceListId, boolean useFinderCache) Returns the commerce price list discount rel where commerceDiscountId = ? and commercePriceListId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
commerceDiscountId- the commerce discount IDcommercePriceListId- the commerce price list IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce price list discount rel, or
nullif a matching commerce price list discount rel could not be found
-
removeByCDI_CPI
CommercePriceListDiscountRel removeByCDI_CPI(long commerceDiscountId, long commercePriceListId) throws NoSuchPriceListDiscountRelException Removes the commerce price list discount rel where commerceDiscountId = ? and commercePriceListId = ? from the database.- Parameters:
commerceDiscountId- the commerce discount IDcommercePriceListId- the commerce price list ID- Returns:
- the commerce price list discount rel that was removed
- Throws:
NoSuchPriceListDiscountRelException
-
countByCDI_CPI
int countByCDI_CPI(long commerceDiscountId, long commercePriceListId) Returns the number of commerce price list discount rels where commerceDiscountId = ? and commercePriceListId = ?.- Parameters:
commerceDiscountId- the commerce discount IDcommercePriceListId- the commerce price list ID- Returns:
- the number of matching commerce price list discount rels
-
create
Creates a new commerce price list discount rel with the primary key. Does not add the commerce price list discount rel to the database.- Parameters:
commercePriceListDiscountRelId- the primary key for the new commerce price list discount rel- Returns:
- the new commerce price list discount rel
-
remove
CommercePriceListDiscountRel remove(long commercePriceListDiscountRelId) throws NoSuchPriceListDiscountRelException Removes the commerce price list discount rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commercePriceListDiscountRelId- the primary key of the commerce price list discount rel- Returns:
- the commerce price list discount rel that was removed
- Throws:
NoSuchPriceListDiscountRelException- if a commerce price list discount rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CommercePriceListDiscountRel findByPrimaryKey(long commercePriceListDiscountRelId) throws NoSuchPriceListDiscountRelException Returns the commerce price list discount rel with the primary key or throws aNoSuchPriceListDiscountRelExceptionif it could not be found.- Parameters:
commercePriceListDiscountRelId- the primary key of the commerce price list discount rel- Returns:
- the commerce price list discount rel
- Throws:
NoSuchPriceListDiscountRelException- if a commerce price list discount rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce price list discount rel with the primary key or returnsnullif it could not be found.- Parameters:
commercePriceListDiscountRelId- the primary key of the commerce price list discount rel- Returns:
- the commerce price list discount rel, or
nullif a commerce price list discount rel with the primary key could not be found
-
fetchByCDI_CPI
default CommercePriceListDiscountRel fetchByCDI_CPI(long commerceDiscountId, long commercePriceListId) Returns the commerce price list discount rel where commerceDiscountId = ? and commercePriceListId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
commerceDiscountId- the commerce discount IDcommercePriceListId- the commerce price list ID- Returns:
- the matching commerce price list discount rel, or
nullif a matching commerce price list discount rel could not be found
-
findByUuid
Returns all the commerce price list discount rels where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce price list discount rels
-
findByUuid
Returns a range of all the commerce price list discount rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.price.list.model.impl.CommercePriceListDiscountRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce price list discount relsend- the upper bound of the range of commerce price list discount rels (not inclusive)- Returns:
- the range of matching commerce price list discount rels
-
findByUuid
default List<CommercePriceListDiscountRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns an ordered range of all the commerce price list discount rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.price.list.model.impl.CommercePriceListDiscountRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce price list discount relsend- the upper bound of the range of commerce price list discount rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price list discount rels
-
findByUuid_C
Returns all the commerce price list discount rels where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce price list discount rels
-
findByUuid_C
default List<CommercePriceListDiscountRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce price list discount rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.price.list.model.impl.CommercePriceListDiscountRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce price list discount relsend- the upper bound of the range of commerce price list discount rels (not inclusive)- Returns:
- the range of matching commerce price list discount rels
-
findByUuid_C
default List<CommercePriceListDiscountRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns an ordered range of all the commerce price list discount rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.price.list.model.impl.CommercePriceListDiscountRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce price list discount relsend- the upper bound of the range of commerce price list discount rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price list discount rels
-
findByCommercePriceListId
Returns all the commerce price list discount rels where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list ID- Returns:
- the matching commerce price list discount rels
-
findByCommercePriceListId
default List<CommercePriceListDiscountRel> findByCommercePriceListId(long commercePriceListId, int start, int end) Returns a range of all the commerce price list discount rels where commercePriceListId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.price.list.model.impl.CommercePriceListDiscountRelModelImpl.- Parameters:
commercePriceListId- the commerce price list IDstart- the lower bound of the range of commerce price list discount relsend- the upper bound of the range of commerce price list discount rels (not inclusive)- Returns:
- the range of matching commerce price list discount rels
-
findByCommercePriceListId
default List<CommercePriceListDiscountRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListDiscountRel> orderByComparator) Returns an ordered range of all the commerce price list discount rels where commercePriceListId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.price.list.model.impl.CommercePriceListDiscountRelModelImpl.- Parameters:
commercePriceListId- the commerce price list IDstart- the lower bound of the range of commerce price list discount relsend- the upper bound of the range of commerce price list discount rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price list discount rels
-