Interface CommerceDiscountAccountRelPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceDiscountAccountRel>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByCAI_CDI(long commerceAccountId, long commerceDiscountId) Returns the number of commerce discount account rels where commerceAccountId = ? and commerceDiscountId = ?.intcountByCommerceAccountId(long commerceAccountId) Returns the number of commerce discount account rels where commerceAccountId = ?.intcountByCommerceDiscountId(long commerceDiscountId) Returns the number of commerce discount account rels where commerceDiscountId = ?.intcountByUuid(String uuid) Returns the number of commerce discount account rels where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of commerce discount account rels where uuid = ? and companyId = ?.create(long commerceDiscountAccountRelId) Creates a new commerce discount account rel with the primary key.default CommerceDiscountAccountRelfetchByCAI_CDI(long commerceAccountId, long commerceDiscountId) Returns the commerce discount account rel where commerceAccountId = ? and commerceDiscountId = ? or returnsnullif it could not be found.fetchByCAI_CDI(long commerceAccountId, long commerceDiscountId, boolean useFinderCache) Returns the commerce discount account rel where commerceAccountId = ? and commerceDiscountId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns the first commerce discount account rel in the ordered set where commerceAccountId = ?.fetchByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns the first commerce discount account rel in the ordered set where commerceDiscountId = ?.fetchByPrimaryKey(long commerceDiscountAccountRelId) Returns the commerce discount account 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<CommerceDiscountAccountRel> orderByComparator) Returns the first commerce discount account rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns the first commerce discount account rel in the ordered set where uuid = ?.findByCAI_CDI(long commerceAccountId, long commerceDiscountId) Returns the commerce discount account rel where commerceAccountId = ? and commerceDiscountId = ? or throws aNoSuchDiscountAccountRelExceptionif it could not be found.default List<CommerceDiscountAccountRel> findByCommerceAccountId(long commerceAccountId) Returns all the commerce discount account rels where commerceAccountId = ?.default List<CommerceDiscountAccountRel> findByCommerceAccountId(long commerceAccountId, int start, int end) Returns a range of all the commerce discount account rels where commerceAccountId = ?.default List<CommerceDiscountAccountRel> findByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns an ordered range of all the commerce discount account rels where commerceAccountId = ?.findByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount account rels where commerceAccountId = ?.findByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns the first commerce discount account rel in the ordered set where commerceAccountId = ?.default List<CommerceDiscountAccountRel> findByCommerceDiscountId(long commerceDiscountId) Returns all the commerce discount account rels where commerceDiscountId = ?.default List<CommerceDiscountAccountRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end) Returns a range of all the commerce discount account rels where commerceDiscountId = ?.default List<CommerceDiscountAccountRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns an ordered range of all the commerce discount account rels where commerceDiscountId = ?.findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount account rels where commerceDiscountId = ?.findByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns the first commerce discount account rel in the ordered set where commerceDiscountId = ?.findByPrimaryKey(long commerceDiscountAccountRelId) Returns the commerce discount account rel with the primary key or throws aNoSuchDiscountAccountRelExceptionif it could not be found.default List<CommerceDiscountAccountRel> findByUuid(String uuid) Returns all the commerce discount account rels where uuid = ?.default List<CommerceDiscountAccountRel> findByUuid(String uuid, int start, int end) Returns a range of all the commerce discount account rels where uuid = ?.default List<CommerceDiscountAccountRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns an ordered range of all the commerce discount account rels where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount account rels where uuid = ?.default List<CommerceDiscountAccountRel> findByUuid_C(String uuid, long companyId) Returns all the commerce discount account rels where uuid = ? and companyId = ?.default List<CommerceDiscountAccountRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce discount account rels where uuid = ? and companyId = ?.default List<CommerceDiscountAccountRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns an ordered range of all the commerce discount account rels where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount account rels where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns the first commerce discount account rel in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns the first commerce discount account rel in the ordered set where uuid = ?.remove(long commerceDiscountAccountRelId) Removes the commerce discount account rel with the primary key from the database.removeByCAI_CDI(long commerceAccountId, long commerceDiscountId) Removes the commerce discount account rel where commerceAccountId = ? and commerceDiscountId = ? from the database.voidremoveByCommerceAccountId(long commerceAccountId) Removes all the commerce discount account rels where commerceAccountId = ? from the database.voidremoveByCommerceDiscountId(long commerceDiscountId) Removes all the commerce discount account rels where commerceDiscountId = ? from the database.voidremoveByUuid(String uuid) Removes all the commerce discount account rels where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce discount account rels where uuid = ? and companyId = ? from the database.updateImpl(CommerceDiscountAccountRel commerceDiscountAccountRel) 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<CommerceDiscountAccountRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount account 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.CommerceDiscountAccountRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce discount account relsend- the upper bound of the range of commerce discount account 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 account rels
-
findByUuid_First
CommerceDiscountAccountRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) throws NoSuchDiscountAccountRelException Returns the first commerce discount account 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 account rel
- Throws:
NoSuchDiscountAccountRelException- if a matching commerce discount account rel could not be found
-
fetchByUuid_First
CommerceDiscountAccountRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns the first commerce discount account 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 account rel, or
nullif a matching commerce discount account rel could not be found
-
removeByUuid
Removes all the commerce discount account rels where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of commerce discount account rels where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce discount account rels
-
findByUuid_C
List<CommerceDiscountAccountRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount account 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.CommerceDiscountAccountRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce discount account relsend- the upper bound of the range of commerce discount account 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 account rels
-
findByUuid_C_First
CommerceDiscountAccountRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) throws NoSuchDiscountAccountRelException Returns the first commerce discount account 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 account rel
- Throws:
NoSuchDiscountAccountRelException- if a matching commerce discount account rel could not be found
-
fetchByUuid_C_First
CommerceDiscountAccountRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns the first commerce discount account 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 account rel, or
nullif a matching commerce discount account rel could not be found
-
removeByUuid_C
Removes all the commerce discount account rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce discount account rels where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce discount account rels
-
findByCommerceAccountId
List<CommerceDiscountAccountRel> findByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount account rels where commerceAccountId = ?.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.CommerceDiscountAccountRelModelImpl.- Parameters:
commerceAccountId- the commerce account IDstart- the lower bound of the range of commerce discount account relsend- the upper bound of the range of commerce discount account 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 account rels
-
findByCommerceAccountId_First
CommerceDiscountAccountRel findByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) throws NoSuchDiscountAccountRelException Returns the first commerce discount account rel in the ordered set where commerceAccountId = ?.- Parameters:
commerceAccountId- the commerce account IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce discount account rel
- Throws:
NoSuchDiscountAccountRelException- if a matching commerce discount account rel could not be found
-
fetchByCommerceAccountId_First
CommerceDiscountAccountRel fetchByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns the first commerce discount account rel in the ordered set where commerceAccountId = ?.- Parameters:
commerceAccountId- the commerce account IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce discount account rel, or
nullif a matching commerce discount account rel could not be found
-
removeByCommerceAccountId
void removeByCommerceAccountId(long commerceAccountId) Removes all the commerce discount account rels where commerceAccountId = ? from the database.- Parameters:
commerceAccountId- the commerce account ID
-
countByCommerceAccountId
int countByCommerceAccountId(long commerceAccountId) Returns the number of commerce discount account rels where commerceAccountId = ?.- Parameters:
commerceAccountId- the commerce account ID- Returns:
- the number of matching commerce discount account rels
-
findByCommerceDiscountId
List<CommerceDiscountAccountRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount account 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.CommerceDiscountAccountRelModelImpl.- Parameters:
commerceDiscountId- the commerce discount IDstart- the lower bound of the range of commerce discount account relsend- the upper bound of the range of commerce discount account 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 account rels
-
findByCommerceDiscountId_First
CommerceDiscountAccountRel findByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) throws NoSuchDiscountAccountRelException Returns the first commerce discount account 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 account rel
- Throws:
NoSuchDiscountAccountRelException- if a matching commerce discount account rel could not be found
-
fetchByCommerceDiscountId_First
CommerceDiscountAccountRel fetchByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns the first commerce discount account 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 account rel, or
nullif a matching commerce discount account rel could not be found
-
removeByCommerceDiscountId
void removeByCommerceDiscountId(long commerceDiscountId) Removes all the commerce discount account rels where commerceDiscountId = ? from the database.- Parameters:
commerceDiscountId- the commerce discount ID
-
countByCommerceDiscountId
int countByCommerceDiscountId(long commerceDiscountId) Returns the number of commerce discount account rels where commerceDiscountId = ?.- Parameters:
commerceDiscountId- the commerce discount ID- Returns:
- the number of matching commerce discount account rels
-
findByCAI_CDI
CommerceDiscountAccountRel findByCAI_CDI(long commerceAccountId, long commerceDiscountId) throws NoSuchDiscountAccountRelException Returns the commerce discount account rel where commerceAccountId = ? and commerceDiscountId = ? or throws aNoSuchDiscountAccountRelExceptionif it could not be found.- Parameters:
commerceAccountId- the commerce account IDcommerceDiscountId- the commerce discount ID- Returns:
- the matching commerce discount account rel
- Throws:
NoSuchDiscountAccountRelException- if a matching commerce discount account rel could not be found
-
fetchByCAI_CDI
CommerceDiscountAccountRel fetchByCAI_CDI(long commerceAccountId, long commerceDiscountId, boolean useFinderCache) Returns the commerce discount account rel where commerceAccountId = ? and commerceDiscountId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
commerceAccountId- the commerce account IDcommerceDiscountId- the commerce discount IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce discount account rel, or
nullif a matching commerce discount account rel could not be found
-
removeByCAI_CDI
CommerceDiscountAccountRel removeByCAI_CDI(long commerceAccountId, long commerceDiscountId) throws NoSuchDiscountAccountRelException Removes the commerce discount account rel where commerceAccountId = ? and commerceDiscountId = ? from the database.- Parameters:
commerceAccountId- the commerce account IDcommerceDiscountId- the commerce discount ID- Returns:
- the commerce discount account rel that was removed
- Throws:
NoSuchDiscountAccountRelException
-
countByCAI_CDI
int countByCAI_CDI(long commerceAccountId, long commerceDiscountId) Returns the number of commerce discount account rels where commerceAccountId = ? and commerceDiscountId = ?.- Parameters:
commerceAccountId- the commerce account IDcommerceDiscountId- the commerce discount ID- Returns:
- the number of matching commerce discount account rels
-
create
Creates a new commerce discount account rel with the primary key. Does not add the commerce discount account rel to the database.- Parameters:
commerceDiscountAccountRelId- the primary key for the new commerce discount account rel- Returns:
- the new commerce discount account rel
-
remove
CommerceDiscountAccountRel remove(long commerceDiscountAccountRelId) throws NoSuchDiscountAccountRelException Removes the commerce discount account rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceDiscountAccountRelId- the primary key of the commerce discount account rel- Returns:
- the commerce discount account rel that was removed
- Throws:
NoSuchDiscountAccountRelException- if a commerce discount account rel with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CommerceDiscountAccountRel findByPrimaryKey(long commerceDiscountAccountRelId) throws NoSuchDiscountAccountRelException Returns the commerce discount account rel with the primary key or throws aNoSuchDiscountAccountRelExceptionif it could not be found.- Parameters:
commerceDiscountAccountRelId- the primary key of the commerce discount account rel- Returns:
- the commerce discount account rel
- Throws:
NoSuchDiscountAccountRelException- if a commerce discount account rel with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce discount account rel with the primary key or returnsnullif it could not be found.- Parameters:
commerceDiscountAccountRelId- the primary key of the commerce discount account rel- Returns:
- the commerce discount account rel, or
nullif a commerce discount account rel with the primary key could not be found
-
fetchByCAI_CDI
Returns the commerce discount account rel where commerceAccountId = ? and commerceDiscountId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
commerceAccountId- the commerce account IDcommerceDiscountId- the commerce discount ID- Returns:
- the matching commerce discount account rel, or
nullif a matching commerce discount account rel could not be found
-
findByUuid
Returns all the commerce discount account rels where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce discount account rels
-
findByUuid
Returns a range of all the commerce discount account 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.CommerceDiscountAccountRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce discount account relsend- the upper bound of the range of commerce discount account rels (not inclusive)- Returns:
- the range of matching commerce discount account rels
-
findByUuid
default List<CommerceDiscountAccountRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns an ordered range of all the commerce discount account 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.CommerceDiscountAccountRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce discount account relsend- the upper bound of the range of commerce discount account rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce discount account rels
-
findByUuid_C
Returns all the commerce discount account rels where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce discount account rels
-
findByUuid_C
default List<CommerceDiscountAccountRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce discount account 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.CommerceDiscountAccountRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce discount account relsend- the upper bound of the range of commerce discount account rels (not inclusive)- Returns:
- the range of matching commerce discount account rels
-
findByUuid_C
default List<CommerceDiscountAccountRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns an ordered range of all the commerce discount account 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.CommerceDiscountAccountRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce discount account relsend- the upper bound of the range of commerce discount account rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce discount account rels
-
findByCommerceAccountId
Returns all the commerce discount account rels where commerceAccountId = ?.- Parameters:
commerceAccountId- the commerce account ID- Returns:
- the matching commerce discount account rels
-
findByCommerceAccountId
default List<CommerceDiscountAccountRel> findByCommerceAccountId(long commerceAccountId, int start, int end) Returns a range of all the commerce discount account rels where commerceAccountId = ?.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.CommerceDiscountAccountRelModelImpl.- Parameters:
commerceAccountId- the commerce account IDstart- the lower bound of the range of commerce discount account relsend- the upper bound of the range of commerce discount account rels (not inclusive)- Returns:
- the range of matching commerce discount account rels
-
findByCommerceAccountId
default List<CommerceDiscountAccountRel> findByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns an ordered range of all the commerce discount account rels where commerceAccountId = ?.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.CommerceDiscountAccountRelModelImpl.- Parameters:
commerceAccountId- the commerce account IDstart- the lower bound of the range of commerce discount account relsend- the upper bound of the range of commerce discount account rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce discount account rels
-
findByCommerceDiscountId
Returns all the commerce discount account rels where commerceDiscountId = ?.- Parameters:
commerceDiscountId- the commerce discount ID- Returns:
- the matching commerce discount account rels
-
findByCommerceDiscountId
default List<CommerceDiscountAccountRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end) Returns a range of all the commerce discount account 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.CommerceDiscountAccountRelModelImpl.- Parameters:
commerceDiscountId- the commerce discount IDstart- the lower bound of the range of commerce discount account relsend- the upper bound of the range of commerce discount account rels (not inclusive)- Returns:
- the range of matching commerce discount account rels
-
findByCommerceDiscountId
default List<CommerceDiscountAccountRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) Returns an ordered range of all the commerce discount account 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.CommerceDiscountAccountRelModelImpl.- Parameters:
commerceDiscountId- the commerce discount IDstart- the lower bound of the range of commerce discount account relsend- the upper bound of the range of commerce discount account rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce discount account rels
-