Class CommerceDiscountCommerceAccountGroupRelUtil
com.liferay.commerce.discount.service.persistence.impl.CommerceDiscountCommerceAccountGroupRelPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel) static voidcacheResult(List<CommerceDiscountCommerceAccountGroupRel> commerceDiscountCommerceAccountGroupRels) static voidstatic voidclearCache(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel) static intcountByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId) Returns the number of commerce discount commerce account group rels where commerceDiscountId = ? and commerceAccountGroupId = ?.static intcountByCommerceAccountGroupId(long commerceAccountGroupId) Returns the number of commerce discount commerce account group rels where commerceAccountGroupId = ?.static intcountByCommerceDiscountId(long commerceDiscountId) Returns the number of commerce discount commerce account group rels where commerceDiscountId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) create(long commerceDiscountCommerceAccountGroupRelId) Creates a new commerce discount commerce account group rel with the primary key.fetchByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId) Returns the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? or returnsnullif it could not be found.fetchByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId, boolean useFinderCache) Returns the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) Returns the first commerce discount commerce account group rel in the ordered set where commerceAccountGroupId = ?.fetchByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) Returns the first commerce discount commerce account group rel in the ordered set where commerceDiscountId = ?.fetchByPrimaryKey(long commerceDiscountCommerceAccountGroupRelId) Returns the commerce discount commerce account group rel with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) findByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId) Returns the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? or throws aNoSuchDiscountCommerceAccountGroupRelExceptionif it could not be found.findByCommerceAccountGroupId(long commerceAccountGroupId) Returns all the commerce discount commerce account group rels where commerceAccountGroupId = ?.findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end) Returns a range of all the commerce discount commerce account group rels where commerceAccountGroupId = ?.findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) Returns an ordered range of all the commerce discount commerce account group rels where commerceAccountGroupId = ?.findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount commerce account group rels where commerceAccountGroupId = ?.findByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) Returns the first commerce discount commerce account group rel in the ordered set where commerceAccountGroupId = ?.findByCommerceDiscountId(long commerceDiscountId) Returns all the commerce discount commerce account group rels where commerceDiscountId = ?.findByCommerceDiscountId(long commerceDiscountId, int start, int end) Returns a range of all the commerce discount commerce account group rels where commerceDiscountId = ?.findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) Returns an ordered range of all the commerce discount commerce account group rels where commerceDiscountId = ?.findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount commerce account group rels where commerceDiscountId = ?.findByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) Returns the first commerce discount commerce account group rel in the ordered set where commerceDiscountId = ?.findByPrimaryKey(long commerceDiscountCommerceAccountGroupRelId) Returns the commerce discount commerce account group rel with the primary key or throws aNoSuchDiscountCommerceAccountGroupRelExceptionif it could not be found.findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) remove(long commerceDiscountCommerceAccountGroupRelId) Removes the commerce discount commerce account group rel with the primary key from the database.removeByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId) Removes the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? from the database.static voidremoveByCommerceAccountGroupId(long commerceAccountGroupId) Removes all the commerce discount commerce account group rels where commerceAccountGroupId = ? from the database.static voidremoveByCommerceDiscountId(long commerceDiscountId) Removes all the commerce discount commerce account group rels where commerceDiscountId = ? from the database.static voidupdate(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel) update(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel)
-
Constructor Details
-
CommerceDiscountCommerceAccountGroupRelUtil
public CommerceDiscountCommerceAccountGroupRelUtil()
-
-
Method Details
-
cacheResult
public static void cacheResult(List<CommerceDiscountCommerceAccountGroupRel> commerceDiscountCommerceAccountGroupRels) - See Also:
-
cacheResult
public static void cacheResult(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel) - See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
public static void clearCache(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel) - See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,CommerceDiscountCommerceAccountGroupRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<CommerceDiscountCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CommerceDiscountCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<CommerceDiscountCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) - See Also:
-
update
public static CommerceDiscountCommerceAccountGroupRel update(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel) - See Also:
-
update
public static CommerceDiscountCommerceAccountGroupRel update(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByCommerceDiscountId
public static List<CommerceDiscountCommerceAccountGroupRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount commerce account group 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.CommerceDiscountCommerceAccountGroupRelModelImpl.- Parameters:
commerceDiscountId- the commerce discount IDstart- the lower bound of the range of commerce discount commerce account group relsend- the upper bound of the range of commerce discount commerce account group 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 commerce account group rels
-
findByCommerceDiscountId_First
public static CommerceDiscountCommerceAccountGroupRel findByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) throws NoSuchDiscountCommerceAccountGroupRelException Returns the first commerce discount commerce account group 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 commerce account group rel
-
fetchByCommerceDiscountId_First
public static CommerceDiscountCommerceAccountGroupRel fetchByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) Returns the first commerce discount commerce account group 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 commerce account group rel, or
nullif a matching commerce discount commerce account group rel could not be found
-
removeByCommerceDiscountId
public static void removeByCommerceDiscountId(long commerceDiscountId) Removes all the commerce discount commerce account group rels where commerceDiscountId = ? from the database.- Parameters:
commerceDiscountId- the commerce discount ID
-
countByCommerceDiscountId
public static int countByCommerceDiscountId(long commerceDiscountId) Returns the number of commerce discount commerce account group rels where commerceDiscountId = ?.- Parameters:
commerceDiscountId- the commerce discount ID- Returns:
- the number of matching commerce discount commerce account group rels
-
findByCommerceAccountGroupId
public static List<CommerceDiscountCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce discount commerce account group rels where commerceAccountGroupId = ?.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.CommerceDiscountCommerceAccountGroupRelModelImpl.- Parameters:
commerceAccountGroupId- the commerce account group IDstart- the lower bound of the range of commerce discount commerce account group relsend- the upper bound of the range of commerce discount commerce account group 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 commerce account group rels
-
findByCommerceAccountGroupId_First
public static CommerceDiscountCommerceAccountGroupRel findByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) throws NoSuchDiscountCommerceAccountGroupRelException Returns the first commerce discount commerce account group rel in the ordered set where commerceAccountGroupId = ?.- Parameters:
commerceAccountGroupId- the commerce account group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce discount commerce account group rel
-
fetchByCommerceAccountGroupId_First
public static CommerceDiscountCommerceAccountGroupRel fetchByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) Returns the first commerce discount commerce account group rel in the ordered set where commerceAccountGroupId = ?.- Parameters:
commerceAccountGroupId- the commerce account group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce discount commerce account group rel, or
nullif a matching commerce discount commerce account group rel could not be found
-
removeByCommerceAccountGroupId
public static void removeByCommerceAccountGroupId(long commerceAccountGroupId) Removes all the commerce discount commerce account group rels where commerceAccountGroupId = ? from the database.- Parameters:
commerceAccountGroupId- the commerce account group ID
-
countByCommerceAccountGroupId
public static int countByCommerceAccountGroupId(long commerceAccountGroupId) Returns the number of commerce discount commerce account group rels where commerceAccountGroupId = ?.- Parameters:
commerceAccountGroupId- the commerce account group ID- Returns:
- the number of matching commerce discount commerce account group rels
-
findByCDI_CAGI
public static CommerceDiscountCommerceAccountGroupRel findByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId) throws NoSuchDiscountCommerceAccountGroupRelException Returns the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? or throws aNoSuchDiscountCommerceAccountGroupRelExceptionif it could not be found.- Parameters:
commerceDiscountId- the commerce discount IDcommerceAccountGroupId- the commerce account group ID- Returns:
- the matching commerce discount commerce account group rel
-
fetchByCDI_CAGI
public static CommerceDiscountCommerceAccountGroupRel fetchByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId, boolean useFinderCache) Returns the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
commerceDiscountId- the commerce discount IDcommerceAccountGroupId- the commerce account group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce discount commerce account group rel, or
nullif a matching commerce discount commerce account group rel could not be found
-
removeByCDI_CAGI
public static CommerceDiscountCommerceAccountGroupRel removeByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId) throws NoSuchDiscountCommerceAccountGroupRelException Removes the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? from the database.- Parameters:
commerceDiscountId- the commerce discount IDcommerceAccountGroupId- the commerce account group ID- Returns:
- the commerce discount commerce account group rel that was removed
- Throws:
NoSuchDiscountCommerceAccountGroupRelException
-
countByCDI_CAGI
public static int countByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId) Returns the number of commerce discount commerce account group rels where commerceDiscountId = ? and commerceAccountGroupId = ?.- Parameters:
commerceDiscountId- the commerce discount IDcommerceAccountGroupId- the commerce account group ID- Returns:
- the number of matching commerce discount commerce account group rels
-
create
public static CommerceDiscountCommerceAccountGroupRel create(long commerceDiscountCommerceAccountGroupRelId) Creates a new commerce discount commerce account group rel with the primary key. Does not add the commerce discount commerce account group rel to the database.- Parameters:
commerceDiscountCommerceAccountGroupRelId- the primary key for the new commerce discount commerce account group rel- Returns:
- the new commerce discount commerce account group rel
-
remove
public static CommerceDiscountCommerceAccountGroupRel remove(long commerceDiscountCommerceAccountGroupRelId) throws NoSuchDiscountCommerceAccountGroupRelException Removes the commerce discount commerce account group rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceDiscountCommerceAccountGroupRelId- the primary key of the commerce discount commerce account group rel- Returns:
- the commerce discount commerce account group rel that was removed
-
updateImpl
public static CommerceDiscountCommerceAccountGroupRel updateImpl(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel) -
findByPrimaryKey
public static CommerceDiscountCommerceAccountGroupRel findByPrimaryKey(long commerceDiscountCommerceAccountGroupRelId) throws NoSuchDiscountCommerceAccountGroupRelException Returns the commerce discount commerce account group rel with the primary key or throws aNoSuchDiscountCommerceAccountGroupRelExceptionif it could not be found.- Parameters:
commerceDiscountCommerceAccountGroupRelId- the primary key of the commerce discount commerce account group rel- Returns:
- the commerce discount commerce account group rel
-
fetchByPrimaryKey
public static CommerceDiscountCommerceAccountGroupRel fetchByPrimaryKey(long commerceDiscountCommerceAccountGroupRelId) Returns the commerce discount commerce account group rel with the primary key or returnsnullif it could not be found.- Parameters:
commerceDiscountCommerceAccountGroupRelId- the primary key of the commerce discount commerce account group rel- Returns:
- the commerce discount commerce account group rel, or
nullif a commerce discount commerce account group rel with the primary key could not be found
-
fetchByCDI_CAGI
public static CommerceDiscountCommerceAccountGroupRel fetchByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId) Returns the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
commerceDiscountId- the commerce discount IDcommerceAccountGroupId- the commerce account group ID- Returns:
- the matching commerce discount commerce account group rel, or
nullif a matching commerce discount commerce account group rel could not be found
-
findByCommerceDiscountId
public static List<CommerceDiscountCommerceAccountGroupRel> findByCommerceDiscountId(long commerceDiscountId) Returns all the commerce discount commerce account group rels where commerceDiscountId = ?.- Parameters:
commerceDiscountId- the commerce discount ID- Returns:
- the matching commerce discount commerce account group rels
-
findByCommerceDiscountId
public static List<CommerceDiscountCommerceAccountGroupRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end) Returns a range of all the commerce discount commerce account group 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.CommerceDiscountCommerceAccountGroupRelModelImpl.- Parameters:
commerceDiscountId- the commerce discount IDstart- the lower bound of the range of commerce discount commerce account group relsend- the upper bound of the range of commerce discount commerce account group rels (not inclusive)- Returns:
- the range of matching commerce discount commerce account group rels
-
findByCommerceDiscountId
public static List<CommerceDiscountCommerceAccountGroupRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) Returns an ordered range of all the commerce discount commerce account group 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.CommerceDiscountCommerceAccountGroupRelModelImpl.- Parameters:
commerceDiscountId- the commerce discount IDstart- the lower bound of the range of commerce discount commerce account group relsend- the upper bound of the range of commerce discount commerce account group rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce discount commerce account group rels
-
findByCommerceAccountGroupId
public static List<CommerceDiscountCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId) Returns all the commerce discount commerce account group rels where commerceAccountGroupId = ?.- Parameters:
commerceAccountGroupId- the commerce account group ID- Returns:
- the matching commerce discount commerce account group rels
-
findByCommerceAccountGroupId
public static List<CommerceDiscountCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end) Returns a range of all the commerce discount commerce account group rels where commerceAccountGroupId = ?.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.CommerceDiscountCommerceAccountGroupRelModelImpl.- Parameters:
commerceAccountGroupId- the commerce account group IDstart- the lower bound of the range of commerce discount commerce account group relsend- the upper bound of the range of commerce discount commerce account group rels (not inclusive)- Returns:
- the range of matching commerce discount commerce account group rels
-
findByCommerceAccountGroupId
public static List<CommerceDiscountCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) Returns an ordered range of all the commerce discount commerce account group rels where commerceAccountGroupId = ?.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.CommerceDiscountCommerceAccountGroupRelModelImpl.- Parameters:
commerceAccountGroupId- the commerce account group IDstart- the lower bound of the range of commerce discount commerce account group relsend- the upper bound of the range of commerce discount commerce account group rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce discount commerce account group rels
-
getPersistence
-
setPersistence
-