Interface CommerceDiscountOrderTypeRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceDiscountOrderTypeRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByCDI_COTI(long commerceDiscountId, long commerceOrderTypeId) Returns the number of commerce discount order type rels where commerceDiscountId = ? and commerceOrderTypeId = ?.intcountByCommerceDiscountId(long commerceDiscountId) Returns the number of commerce discount order type rels where commerceDiscountId = ?.intcountByCommerceOrderTypeId(long commerceOrderTypeId) Returns the number of commerce discount order type rels where commerceOrderTypeId = ?.intcountByUuid(String uuid) Returns the number of commerce discount order type rels where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of commerce discount order type rels where uuid = ? and companyId = ?.create(long commerceDiscountOrderTypeRelId) Creates a new commerce discount order type rel with the primary key.default CommerceDiscountOrderTypeRelfetchByCDI_COTI(long commerceDiscountId, long commerceOrderTypeId) Returns the commerce discount order type rel where commerceDiscountId = ? and commerceOrderTypeId = ? or returnsnullif it could not be found.fetchByCDI_COTI(long commerceDiscountId, long commerceOrderTypeId, boolean useFinderCache) Returns the commerce discount order type rel where commerceDiscountId = ? and commerceOrderTypeId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns the first commerce discount order type rel in the ordered set where commerceDiscountId = ?.fetchByCommerceOrderTypeId_First(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns the first commerce discount order type rel in the ordered set where commerceOrderTypeId = ?.fetchByPrimaryKey(long commerceDiscountOrderTypeRelId) Returns the commerce discount order type 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<CommerceDiscountOrderTypeRel> orderByComparator) Returns the first commerce discount order type rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns the first commerce discount order type rel in the ordered set where uuid = ?.findByCDI_COTI(long commerceDiscountId, long commerceOrderTypeId) Returns the commerce discount order type rel where commerceDiscountId = ? and commerceOrderTypeId = ? or throws aNoSuchDiscountOrderTypeRelExceptionif it could not be found.default List<CommerceDiscountOrderTypeRel> findByCommerceDiscountId(long commerceDiscountId) Returns all the commerce discount order type rels where commerceDiscountId = ?.default List<CommerceDiscountOrderTypeRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end) Returns a range of all the commerce discount order type rels where commerceDiscountId = ?.default List<CommerceDiscountOrderTypeRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce discount order type rels where commerceDiscountId = ?.findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount order type rels where commerceDiscountId = ?.findByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns the first commerce discount order type rel in the ordered set where commerceDiscountId = ?.default List<CommerceDiscountOrderTypeRel> findByCommerceOrderTypeId(long commerceOrderTypeId) Returns all the commerce discount order type rels where commerceOrderTypeId = ?.default List<CommerceDiscountOrderTypeRel> findByCommerceOrderTypeId(long commerceOrderTypeId, int start, int end) Returns a range of all the commerce discount order type rels where commerceOrderTypeId = ?.default List<CommerceDiscountOrderTypeRel> findByCommerceOrderTypeId(long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce discount order type rels where commerceOrderTypeId = ?.findByCommerceOrderTypeId(long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount order type rels where commerceOrderTypeId = ?.findByCommerceOrderTypeId_First(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns the first commerce discount order type rel in the ordered set where commerceOrderTypeId = ?.findByPrimaryKey(long commerceDiscountOrderTypeRelId) Returns the commerce discount order type rel with the primary key or throws aNoSuchDiscountOrderTypeRelExceptionif it could not be found.default List<CommerceDiscountOrderTypeRel> findByUuid(String uuid) Returns all the commerce discount order type rels where uuid = ?.default List<CommerceDiscountOrderTypeRel> findByUuid(String uuid, int start, int end) Returns a range of all the commerce discount order type rels where uuid = ?.default List<CommerceDiscountOrderTypeRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce discount order type rels where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount order type rels where uuid = ?.default List<CommerceDiscountOrderTypeRel> findByUuid_C(String uuid, long companyId) Returns all the commerce discount order type rels where uuid = ? and companyId = ?.default List<CommerceDiscountOrderTypeRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce discount order type rels where uuid = ? and companyId = ?.default List<CommerceDiscountOrderTypeRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce discount order type rels where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount order type rels where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns the first commerce discount order type rel in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns the first commerce discount order type rel in the ordered set where uuid = ?.remove(long commerceDiscountOrderTypeRelId) Removes the commerce discount order type rel with the primary key from the database.removeByCDI_COTI(long commerceDiscountId, long commerceOrderTypeId) Removes the commerce discount order type rel where commerceDiscountId = ? and commerceOrderTypeId = ? from the database.voidremoveByCommerceDiscountId(long commerceDiscountId) Removes all the commerce discount order type rels where commerceDiscountId = ? from the database.voidremoveByCommerceOrderTypeId(long commerceOrderTypeId) Removes all the commerce discount order type rels where commerceOrderTypeId = ? from the database.voidremoveByUuid(String uuid) Removes all the commerce discount order type rels where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce discount order type rels where uuid = ? and companyId = ? from the database.updateImpl(CommerceDiscountOrderTypeRel commerceDiscountOrderTypeRel) 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, update
-
Method Details
-
findByUuid
List<CommerceDiscountOrderTypeRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount order type 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.discount.model.impl.CommerceDiscountOrderTypeRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce discount order type relsend- the upper bound of the range of commerce discount order type 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 discount order type rels
-
findByUuid_First
CommerceDiscountOrderTypeRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) throws NoSuchDiscountOrderTypeRelException Returns the first commerce discount order type rel in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce discount order type rel
- Throws:
NoSuchDiscountOrderTypeRelException- if a matching commerce discount order type rel could not be found
-
fetchByUuid_First
CommerceDiscountOrderTypeRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns the first commerce discount order type rel in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce discount order type rel, or
nullif a matching commerce discount order type rel could not be found
-
removeByUuid
Removes all the commerce discount order type rels where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of commerce discount order type rels where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce discount order type rels
-
findByUuid_C
List<CommerceDiscountOrderTypeRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount order type 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.discount.model.impl.CommerceDiscountOrderTypeRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce discount order type relsend- the upper bound of the range of commerce discount order type 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 discount order type rels
-
findByUuid_C_First
CommerceDiscountOrderTypeRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) throws NoSuchDiscountOrderTypeRelException Returns the first commerce discount order type 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 discount order type rel
- Throws:
NoSuchDiscountOrderTypeRelException- if a matching commerce discount order type rel could not be found
-
fetchByUuid_C_First
CommerceDiscountOrderTypeRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns the first commerce discount order type 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 discount order type rel, or
nullif a matching commerce discount order type rel could not be found
-
removeByUuid_C
Removes all the commerce discount order type rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce discount order type rels where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce discount order type rels
-
findByCommerceDiscountId
List<CommerceDiscountOrderTypeRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount order type rels where commerceDiscountId = ?.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.discount.model.impl.CommerceDiscountOrderTypeRelModelImpl.- Parameters:
commerceDiscountId- the commerce discount IDstart- the lower bound of the range of commerce discount order type relsend- the upper bound of the range of commerce discount order type 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 discount order type rels
-
findByCommerceDiscountId_First
CommerceDiscountOrderTypeRel findByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) throws NoSuchDiscountOrderTypeRelException Returns the first commerce discount order type rel in the ordered set where commerceDiscountId = ?.- Parameters:
commerceDiscountId- the commerce discount IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce discount order type rel
- Throws:
NoSuchDiscountOrderTypeRelException- if a matching commerce discount order type rel could not be found
-
fetchByCommerceDiscountId_First
CommerceDiscountOrderTypeRel fetchByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns the first commerce discount order type rel in the ordered set where commerceDiscountId = ?.- Parameters:
commerceDiscountId- the commerce discount IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce discount order type rel, or
nullif a matching commerce discount order type rel could not be found
-
removeByCommerceDiscountId
void removeByCommerceDiscountId(long commerceDiscountId) Removes all the commerce discount order type rels where commerceDiscountId = ? from the database.- Parameters:
commerceDiscountId- the commerce discount ID
-
countByCommerceDiscountId
int countByCommerceDiscountId(long commerceDiscountId) Returns the number of commerce discount order type rels where commerceDiscountId = ?.- Parameters:
commerceDiscountId- the commerce discount ID- Returns:
- the number of matching commerce discount order type rels
-
findByCommerceOrderTypeId
List<CommerceDiscountOrderTypeRel> findByCommerceOrderTypeId(long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount order type rels where commerceOrderTypeId = ?.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.discount.model.impl.CommerceDiscountOrderTypeRelModelImpl.- Parameters:
commerceOrderTypeId- the commerce order type IDstart- the lower bound of the range of commerce discount order type relsend- the upper bound of the range of commerce discount order type 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 discount order type rels
-
findByCommerceOrderTypeId_First
CommerceDiscountOrderTypeRel findByCommerceOrderTypeId_First(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) throws NoSuchDiscountOrderTypeRelException Returns the first commerce discount order type rel in the ordered set where commerceOrderTypeId = ?.- Parameters:
commerceOrderTypeId- the commerce order type IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce discount order type rel
- Throws:
NoSuchDiscountOrderTypeRelException- if a matching commerce discount order type rel could not be found
-
fetchByCommerceOrderTypeId_First
CommerceDiscountOrderTypeRel fetchByCommerceOrderTypeId_First(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns the first commerce discount order type rel in the ordered set where commerceOrderTypeId = ?.- Parameters:
commerceOrderTypeId- the commerce order type IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce discount order type rel, or
nullif a matching commerce discount order type rel could not be found
-
removeByCommerceOrderTypeId
void removeByCommerceOrderTypeId(long commerceOrderTypeId) Removes all the commerce discount order type rels where commerceOrderTypeId = ? from the database.- Parameters:
commerceOrderTypeId- the commerce order type ID
-
countByCommerceOrderTypeId
int countByCommerceOrderTypeId(long commerceOrderTypeId) Returns the number of commerce discount order type rels where commerceOrderTypeId = ?.- Parameters:
commerceOrderTypeId- the commerce order type ID- Returns:
- the number of matching commerce discount order type rels
-
findByCDI_COTI
CommerceDiscountOrderTypeRel findByCDI_COTI(long commerceDiscountId, long commerceOrderTypeId) throws NoSuchDiscountOrderTypeRelException Returns the commerce discount order type rel where commerceDiscountId = ? and commerceOrderTypeId = ? or throws aNoSuchDiscountOrderTypeRelExceptionif it could not be found.- Parameters:
commerceDiscountId- the commerce discount IDcommerceOrderTypeId- the commerce order type ID- Returns:
- the matching commerce discount order type rel
- Throws:
NoSuchDiscountOrderTypeRelException- if a matching commerce discount order type rel could not be found
-
fetchByCDI_COTI
CommerceDiscountOrderTypeRel fetchByCDI_COTI(long commerceDiscountId, long commerceOrderTypeId, boolean useFinderCache) Returns the commerce discount order type rel where commerceDiscountId = ? and commerceOrderTypeId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
commerceDiscountId- the commerce discount IDcommerceOrderTypeId- the commerce order type IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce discount order type rel, or
nullif a matching commerce discount order type rel could not be found
-
removeByCDI_COTI
CommerceDiscountOrderTypeRel removeByCDI_COTI(long commerceDiscountId, long commerceOrderTypeId) throws NoSuchDiscountOrderTypeRelException Removes the commerce discount order type rel where commerceDiscountId = ? and commerceOrderTypeId = ? from the database.- Parameters:
commerceDiscountId- the commerce discount IDcommerceOrderTypeId- the commerce order type ID- Returns:
- the commerce discount order type rel that was removed
- Throws:
NoSuchDiscountOrderTypeRelException
-
countByCDI_COTI
int countByCDI_COTI(long commerceDiscountId, long commerceOrderTypeId) Returns the number of commerce discount order type rels where commerceDiscountId = ? and commerceOrderTypeId = ?.- Parameters:
commerceDiscountId- the commerce discount IDcommerceOrderTypeId- the commerce order type ID- Returns:
- the number of matching commerce discount order type rels
-
create
Creates a new commerce discount order type rel with the primary key. Does not add the commerce discount order type rel to the database.- Parameters:
commerceDiscountOrderTypeRelId- the primary key for the new commerce discount order type rel- Returns:
- the new commerce discount order type rel
-
remove
CommerceDiscountOrderTypeRel remove(long commerceDiscountOrderTypeRelId) throws NoSuchDiscountOrderTypeRelException Removes the commerce discount order type rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceDiscountOrderTypeRelId- the primary key of the commerce discount order type rel- Returns:
- the commerce discount order type rel that was removed
- Throws:
NoSuchDiscountOrderTypeRelException- if a commerce discount order type rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CommerceDiscountOrderTypeRel findByPrimaryKey(long commerceDiscountOrderTypeRelId) throws NoSuchDiscountOrderTypeRelException Returns the commerce discount order type rel with the primary key or throws aNoSuchDiscountOrderTypeRelExceptionif it could not be found.- Parameters:
commerceDiscountOrderTypeRelId- the primary key of the commerce discount order type rel- Returns:
- the commerce discount order type rel
- Throws:
NoSuchDiscountOrderTypeRelException- if a commerce discount order type rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce discount order type rel with the primary key or returnsnullif it could not be found.- Parameters:
commerceDiscountOrderTypeRelId- the primary key of the commerce discount order type rel- Returns:
- the commerce discount order type rel, or
nullif a commerce discount order type rel with the primary key could not be found
-
fetchByCDI_COTI
default CommerceDiscountOrderTypeRel fetchByCDI_COTI(long commerceDiscountId, long commerceOrderTypeId) Returns the commerce discount order type rel where commerceDiscountId = ? and commerceOrderTypeId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
commerceDiscountId- the commerce discount IDcommerceOrderTypeId- the commerce order type ID- Returns:
- the matching commerce discount order type rel, or
nullif a matching commerce discount order type rel could not be found
-
findByUuid
Returns all the commerce discount order type rels where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce discount order type rels
-
findByUuid
Returns a range of all the commerce discount order type 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.discount.model.impl.CommerceDiscountOrderTypeRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce discount order type relsend- the upper bound of the range of commerce discount order type rels (not inclusive)- Returns:
- the range of matching commerce discount order type rels
-
findByUuid
default List<CommerceDiscountOrderTypeRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce discount order type 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.discount.model.impl.CommerceDiscountOrderTypeRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce discount order type relsend- the upper bound of the range of commerce discount order type rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce discount order type rels
-
findByUuid_C
Returns all the commerce discount order type rels where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce discount order type rels
-
findByUuid_C
default List<CommerceDiscountOrderTypeRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce discount order type 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.discount.model.impl.CommerceDiscountOrderTypeRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce discount order type relsend- the upper bound of the range of commerce discount order type rels (not inclusive)- Returns:
- the range of matching commerce discount order type rels
-
findByUuid_C
default List<CommerceDiscountOrderTypeRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce discount order type 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.discount.model.impl.CommerceDiscountOrderTypeRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce discount order type relsend- the upper bound of the range of commerce discount order type rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce discount order type rels
-
findByCommerceDiscountId
Returns all the commerce discount order type rels where commerceDiscountId = ?.- Parameters:
commerceDiscountId- the commerce discount ID- Returns:
- the matching commerce discount order type rels
-
findByCommerceDiscountId
default List<CommerceDiscountOrderTypeRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end) Returns a range of all the commerce discount order type rels where commerceDiscountId = ?.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.discount.model.impl.CommerceDiscountOrderTypeRelModelImpl.- Parameters:
commerceDiscountId- the commerce discount IDstart- the lower bound of the range of commerce discount order type relsend- the upper bound of the range of commerce discount order type rels (not inclusive)- Returns:
- the range of matching commerce discount order type rels
-
findByCommerceDiscountId
default List<CommerceDiscountOrderTypeRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce discount order type rels where commerceDiscountId = ?.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.discount.model.impl.CommerceDiscountOrderTypeRelModelImpl.- Parameters:
commerceDiscountId- the commerce discount IDstart- the lower bound of the range of commerce discount order type relsend- the upper bound of the range of commerce discount order type rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce discount order type rels
-
findByCommerceOrderTypeId
Returns all the commerce discount order type rels where commerceOrderTypeId = ?.- Parameters:
commerceOrderTypeId- the commerce order type ID- Returns:
- the matching commerce discount order type rels
-
findByCommerceOrderTypeId
default List<CommerceDiscountOrderTypeRel> findByCommerceOrderTypeId(long commerceOrderTypeId, int start, int end) Returns a range of all the commerce discount order type rels where commerceOrderTypeId = ?.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.discount.model.impl.CommerceDiscountOrderTypeRelModelImpl.- Parameters:
commerceOrderTypeId- the commerce order type IDstart- the lower bound of the range of commerce discount order type relsend- the upper bound of the range of commerce discount order type rels (not inclusive)- Returns:
- the range of matching commerce discount order type rels
-
findByCommerceOrderTypeId
default List<CommerceDiscountOrderTypeRel> findByCommerceOrderTypeId(long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce discount order type rels where commerceOrderTypeId = ?.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.discount.model.impl.CommerceDiscountOrderTypeRelModelImpl.- Parameters:
commerceOrderTypeId- the commerce order type IDstart- the lower bound of the range of commerce discount order type relsend- the upper bound of the range of commerce discount order type rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce discount order type rels
-