Class CommercePriceModifierUtil
com.liferay.commerce.pricing.service.persistence.impl.CommercePriceModifierPersistenceImpl
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 void
cacheResult
(CommercePriceModifier commercePriceModifier) Caches the commerce price modifier in the entity cache if it is enabled.static void
cacheResult
(List<CommercePriceModifier> commercePriceModifiers) Caches the commerce price modifiers in the entity cache if it is enabled.static void
static void
clearCache
(CommercePriceModifier commercePriceModifier) static int
countAll()
Returns the number of commerce price modifiers.static int
countByC_T
(long companyId, String target) Returns the number of commerce price modifiers where companyId = ? and target = ?.static int
countByCommercePriceListId
(long commercePriceListId) Returns the number of commerce price modifiers where commercePriceListId = ?.static int
countByCompanyId
(long companyId) Returns the number of commerce price modifiers where companyId = ?.static int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of commerce price modifiers where externalReferenceCode = ? and companyId = ?.static int
countByG_C_NotS
(long[] groupIds, long companyId, int status) Returns the number of commerce price modifiers where groupId = any ? and companyId = ? and status ≠ ?.static int
countByG_C_NotS
(long groupId, long companyId, int status) Returns the number of commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?.static int
countByG_C_S
(long[] groupIds, long companyId, int status) Returns the number of commerce price modifiers where groupId = any ? and companyId = ? and status = ?.static int
countByG_C_S
(long groupId, long companyId, int status) Returns the number of commerce price modifiers where groupId = ? and companyId = ? and status = ?.static int
countByLtD_S
(Date displayDate, int status) Returns the number of commerce price modifiers where displayDate < ? and status = ?.static int
countByLtE_S
(Date expirationDate, int status) Returns the number of commerce price modifiers where expirationDate < ? and status = ?.static int
countByUuid
(String uuid) Returns the number of commerce price modifiers where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce price modifiers where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of commerce price modifiers where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommercePriceModifier
create
(long commercePriceModifierId) Creates a new commerce price modifier with the primary key.static CommercePriceModifier
fetchByC_T_First
(long companyId, String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where companyId = ? and target = ?.static CommercePriceModifier
fetchByC_T_Last
(long companyId, String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where companyId = ? and target = ?.static CommercePriceModifier
fetchByCommercePriceListId_First
(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where commercePriceListId = ?.static CommercePriceModifier
fetchByCommercePriceListId_Last
(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where commercePriceListId = ?.static CommercePriceModifier
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where companyId = ?.static CommercePriceModifier
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where companyId = ?.static CommercePriceModifier
fetchByERC_C
(String externalReferenceCode, long companyId) Returns the commerce price modifier where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.static CommercePriceModifier
fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce price modifier where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.static CommercePriceModifier
fetchByG_C_NotS_First
(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where groupId = ? and companyId = ? and status ≠ ?.static CommercePriceModifier
fetchByG_C_NotS_Last
(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where groupId = ? and companyId = ? and status ≠ ?.static CommercePriceModifier
fetchByG_C_S_First
(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where groupId = ? and companyId = ? and status = ?.static CommercePriceModifier
fetchByG_C_S_Last
(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where groupId = ? and companyId = ? and status = ?.static CommercePriceModifier
fetchByLtD_S_First
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where displayDate < ? and status = ?.static CommercePriceModifier
fetchByLtD_S_Last
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where displayDate < ? and status = ?.static CommercePriceModifier
fetchByLtE_S_First
(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where expirationDate < ? and status = ?.static CommercePriceModifier
fetchByLtE_S_Last
(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where expirationDate < ? and status = ?.static CommercePriceModifier
fetchByPrimaryKey
(long commercePriceModifierId) Returns the commerce price modifier with the primary key or returnsnull
if it could not be found.static Map<Serializable,
CommercePriceModifier> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static CommercePriceModifier
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where uuid = ? and companyId = ?.static CommercePriceModifier
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where uuid = ? and companyId = ?.static CommercePriceModifier
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where uuid = ?.static CommercePriceModifier
fetchByUUID_G
(String uuid, long groupId) Returns the commerce price modifier where uuid = ? and groupId = ? or returnsnull
if it could not be found.static CommercePriceModifier
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the commerce price modifier where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static CommercePriceModifier
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where uuid = ?.static List<CommercePriceModifier>
findAll()
Returns all the commerce price modifiers.static List<CommercePriceModifier>
findAll
(int start, int end) Returns a range of all the commerce price modifiers.static List<CommercePriceModifier>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers.static List<CommercePriceModifier>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers.static List<CommercePriceModifier>
Returns all the commerce price modifiers where companyId = ? and target = ?.static List<CommercePriceModifier>
Returns a range of all the commerce price modifiers where companyId = ? and target = ?.static List<CommercePriceModifier>
findByC_T
(long companyId, String target, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where companyId = ? and target = ?.static List<CommercePriceModifier>
findByC_T
(long companyId, String target, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where companyId = ? and target = ?.static CommercePriceModifier
findByC_T_First
(long companyId, String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where companyId = ? and target = ?.static CommercePriceModifier
findByC_T_Last
(long companyId, String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where companyId = ? and target = ?.static CommercePriceModifier[]
findByC_T_PrevAndNext
(long commercePriceModifierId, long companyId, String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where companyId = ? and target = ?.static List<CommercePriceModifier>
findByCommercePriceListId
(long commercePriceListId) Returns all the commerce price modifiers where commercePriceListId = ?.static List<CommercePriceModifier>
findByCommercePriceListId
(long commercePriceListId, int start, int end) Returns a range of all the commerce price modifiers where commercePriceListId = ?.static List<CommercePriceModifier>
findByCommercePriceListId
(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where commercePriceListId = ?.static List<CommercePriceModifier>
findByCommercePriceListId
(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where commercePriceListId = ?.static CommercePriceModifier
findByCommercePriceListId_First
(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where commercePriceListId = ?.static CommercePriceModifier
findByCommercePriceListId_Last
(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where commercePriceListId = ?.static CommercePriceModifier[]
findByCommercePriceListId_PrevAndNext
(long commercePriceModifierId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where commercePriceListId = ?.static List<CommercePriceModifier>
findByCompanyId
(long companyId) Returns all the commerce price modifiers where companyId = ?.static List<CommercePriceModifier>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the commerce price modifiers where companyId = ?.static List<CommercePriceModifier>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where companyId = ?.static List<CommercePriceModifier>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where companyId = ?.static CommercePriceModifier
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where companyId = ?.static CommercePriceModifier
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where companyId = ?.static CommercePriceModifier[]
findByCompanyId_PrevAndNext
(long commercePriceModifierId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where companyId = ?.static CommercePriceModifier
findByERC_C
(String externalReferenceCode, long companyId) Returns the commerce price modifier where externalReferenceCode = ? and companyId = ? or throws aNoSuchPriceModifierException
if it could not be found.static List<CommercePriceModifier>
findByG_C_NotS
(long[] groupIds, long companyId, int status) Returns all the commerce price modifiers where groupId = any ? and companyId = ? and status ≠ ?.static List<CommercePriceModifier>
findByG_C_NotS
(long[] groupIds, long companyId, int status, int start, int end) Returns a range of all the commerce price modifiers where groupId = any ? and companyId = ? and status ≠ ?.static List<CommercePriceModifier>
findByG_C_NotS
(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where groupId = any ? and companyId = ? and status ≠ ?.static List<CommercePriceModifier>
findByG_C_NotS
(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?, optionally using the finder cache.static List<CommercePriceModifier>
findByG_C_NotS
(long groupId, long companyId, int status) Returns all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?.static List<CommercePriceModifier>
findByG_C_NotS
(long groupId, long companyId, int status, int start, int end) Returns a range of all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?.static List<CommercePriceModifier>
findByG_C_NotS
(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?.static List<CommercePriceModifier>
findByG_C_NotS
(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?.static CommercePriceModifier
findByG_C_NotS_First
(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where groupId = ? and companyId = ? and status ≠ ?.static CommercePriceModifier
findByG_C_NotS_Last
(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where groupId = ? and companyId = ? and status ≠ ?.static CommercePriceModifier[]
findByG_C_NotS_PrevAndNext
(long commercePriceModifierId, long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where groupId = ? and companyId = ? and status ≠ ?.static List<CommercePriceModifier>
findByG_C_S
(long[] groupIds, long companyId, int status) Returns all the commerce price modifiers where groupId = any ? and companyId = ? and status = ?.static List<CommercePriceModifier>
findByG_C_S
(long[] groupIds, long companyId, int status, int start, int end) Returns a range of all the commerce price modifiers where groupId = any ? and companyId = ? and status = ?.static List<CommercePriceModifier>
findByG_C_S
(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where groupId = any ? and companyId = ? and status = ?.static List<CommercePriceModifier>
findByG_C_S
(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where groupId = ? and companyId = ? and status = ?, optionally using the finder cache.static List<CommercePriceModifier>
findByG_C_S
(long groupId, long companyId, int status) Returns all the commerce price modifiers where groupId = ? and companyId = ? and status = ?.static List<CommercePriceModifier>
findByG_C_S
(long groupId, long companyId, int status, int start, int end) Returns a range of all the commerce price modifiers where groupId = ? and companyId = ? and status = ?.static List<CommercePriceModifier>
findByG_C_S
(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where groupId = ? and companyId = ? and status = ?.static List<CommercePriceModifier>
findByG_C_S
(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where groupId = ? and companyId = ? and status = ?.static CommercePriceModifier
findByG_C_S_First
(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where groupId = ? and companyId = ? and status = ?.static CommercePriceModifier
findByG_C_S_Last
(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where groupId = ? and companyId = ? and status = ?.static CommercePriceModifier[]
findByG_C_S_PrevAndNext
(long commercePriceModifierId, long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where groupId = ? and companyId = ? and status = ?.static List<CommercePriceModifier>
findByLtD_S
(Date displayDate, int status) Returns all the commerce price modifiers where displayDate < ? and status = ?.static List<CommercePriceModifier>
findByLtD_S
(Date displayDate, int status, int start, int end) Returns a range of all the commerce price modifiers where displayDate < ? and status = ?.static List<CommercePriceModifier>
findByLtD_S
(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where displayDate < ? and status = ?.static List<CommercePriceModifier>
findByLtD_S
(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where displayDate < ? and status = ?.static CommercePriceModifier
findByLtD_S_First
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where displayDate < ? and status = ?.static CommercePriceModifier
findByLtD_S_Last
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where displayDate < ? and status = ?.static CommercePriceModifier[]
findByLtD_S_PrevAndNext
(long commercePriceModifierId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where displayDate < ? and status = ?.static List<CommercePriceModifier>
findByLtE_S
(Date expirationDate, int status) Returns all the commerce price modifiers where expirationDate < ? and status = ?.static List<CommercePriceModifier>
findByLtE_S
(Date expirationDate, int status, int start, int end) Returns a range of all the commerce price modifiers where expirationDate < ? and status = ?.static List<CommercePriceModifier>
findByLtE_S
(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where expirationDate < ? and status = ?.static List<CommercePriceModifier>
findByLtE_S
(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where expirationDate < ? and status = ?.static CommercePriceModifier
findByLtE_S_First
(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where expirationDate < ? and status = ?.static CommercePriceModifier
findByLtE_S_Last
(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where expirationDate < ? and status = ?.static CommercePriceModifier[]
findByLtE_S_PrevAndNext
(long commercePriceModifierId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where expirationDate < ? and status = ?.static CommercePriceModifier
findByPrimaryKey
(long commercePriceModifierId) Returns the commerce price modifier with the primary key or throws aNoSuchPriceModifierException
if it could not be found.static List<CommercePriceModifier>
findByUuid
(String uuid) Returns all the commerce price modifiers where uuid = ?.static List<CommercePriceModifier>
findByUuid
(String uuid, int start, int end) Returns a range of all the commerce price modifiers where uuid = ?.static List<CommercePriceModifier>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where uuid = ?.static List<CommercePriceModifier>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where uuid = ?.static List<CommercePriceModifier>
findByUuid_C
(String uuid, long companyId) Returns all the commerce price modifiers where uuid = ? and companyId = ?.static List<CommercePriceModifier>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce price modifiers where uuid = ? and companyId = ?.static List<CommercePriceModifier>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where uuid = ? and companyId = ?.static List<CommercePriceModifier>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where uuid = ? and companyId = ?.static CommercePriceModifier
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where uuid = ? and companyId = ?.static CommercePriceModifier
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where uuid = ? and companyId = ?.static CommercePriceModifier[]
findByUuid_C_PrevAndNext
(long commercePriceModifierId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where uuid = ? and companyId = ?.static CommercePriceModifier
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where uuid = ?.static CommercePriceModifier
findByUUID_G
(String uuid, long groupId) Returns the commerce price modifier where uuid = ? and groupId = ? or throws aNoSuchPriceModifierException
if it could not be found.static CommercePriceModifier
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where uuid = ?.static CommercePriceModifier[]
findByUuid_PrevAndNext
(long commercePriceModifierId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where uuid = ?.static List<CommercePriceModifier>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommercePriceModifier>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommercePriceModifier>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) static CommercePriceModifier
remove
(long commercePriceModifierId) Removes the commerce price modifier with the primary key from the database.static void
Removes all the commerce price modifiers from the database.static void
removeByC_T
(long companyId, String target) Removes all the commerce price modifiers where companyId = ? and target = ? from the database.static void
removeByCommercePriceListId
(long commercePriceListId) Removes all the commerce price modifiers where commercePriceListId = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the commerce price modifiers where companyId = ? from the database.static CommercePriceModifier
removeByERC_C
(String externalReferenceCode, long companyId) Removes the commerce price modifier where externalReferenceCode = ? and companyId = ? from the database.static void
removeByG_C_NotS
(long groupId, long companyId, int status) Removes all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ? from the database.static void
removeByG_C_S
(long groupId, long companyId, int status) Removes all the commerce price modifiers where groupId = ? and companyId = ? and status = ? from the database.static void
removeByLtD_S
(Date displayDate, int status) Removes all the commerce price modifiers where displayDate < ? and status = ? from the database.static void
removeByLtE_S
(Date expirationDate, int status) Removes all the commerce price modifiers where expirationDate < ? and status = ? from the database.static void
removeByUuid
(String uuid) Removes all the commerce price modifiers where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce price modifiers where uuid = ? and companyId = ? from the database.static CommercePriceModifier
removeByUUID_G
(String uuid, long groupId) Removes the commerce price modifier where uuid = ? and groupId = ? from the database.static void
setPersistence
(CommercePriceModifierPersistence persistence) static CommercePriceModifier
update
(CommercePriceModifier commercePriceModifier) static CommercePriceModifier
update
(CommercePriceModifier commercePriceModifier, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommercePriceModifier
updateImpl
(CommercePriceModifier commercePriceModifier)
-
Constructor Details
-
CommercePriceModifierUtil
public CommercePriceModifierUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CommercePriceModifier> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommercePriceModifier> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommercePriceModifier> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommercePriceModifier> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommercePriceModifier update(CommercePriceModifier commercePriceModifier, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the commerce price modifiers where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching commerce price modifiers
-
findByUuid
Returns a range of all the commerce price modifiers where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)- Returns:
- the range of matching commerce price modifiers
-
findByUuid
public static List<CommercePriceModifier> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce price modifiers
-
findByUuid
public static List<CommercePriceModifier> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price modifiers
-
findByUuid_First
public static CommercePriceModifier findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the first commerce price modifier in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByUuid_First
public static CommercePriceModifier fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByUuid_Last
public static CommercePriceModifier findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the last commerce price modifier in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByUuid_Last
public static CommercePriceModifier fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByUuid_PrevAndNext
public static CommercePriceModifier[] findByUuid_PrevAndNext(long commercePriceModifierId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where uuid = ?.- Parameters:
commercePriceModifierId
- the primary key of the current commerce price modifieruuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundNoSuchPriceModifierException
-
removeByUuid
Removes all the commerce price modifiers where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of commerce price modifiers where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching commerce price modifiers
-
findByUUID_G
public static CommercePriceModifier findByUUID_G(String uuid, long groupId) throws NoSuchPriceModifierException Returns the commerce price modifier where uuid = ? and groupId = ? or throws aNoSuchPriceModifierException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByUUID_G
Returns the commerce price modifier where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
fetchByUUID_G
public static CommercePriceModifier fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the commerce price modifier where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
removeByUUID_G
public static CommercePriceModifier removeByUUID_G(String uuid, long groupId) throws NoSuchPriceModifierException Removes the commerce price modifier where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the commerce price modifier that was removed
- Throws:
NoSuchPriceModifierException
-
countByUUID_G
Returns the number of commerce price modifiers where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching commerce price modifiers
-
findByUuid_C
Returns all the commerce price modifiers where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching commerce price modifiers
-
findByUuid_C
public static List<CommercePriceModifier> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce price modifiers where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)- Returns:
- the range of matching commerce price modifiers
-
findByUuid_C
public static List<CommercePriceModifier> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce price modifiers
-
findByUuid_C
public static List<CommercePriceModifier> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price modifiers
-
findByUuid_C_First
public static CommercePriceModifier findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the first commerce price modifier in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByUuid_C_First
public static CommercePriceModifier fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByUuid_C_Last
public static CommercePriceModifier findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the last commerce price modifier in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByUuid_C_Last
public static CommercePriceModifier fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByUuid_C_PrevAndNext
public static CommercePriceModifier[] findByUuid_C_PrevAndNext(long commercePriceModifierId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where uuid = ? and companyId = ?.- Parameters:
commercePriceModifierId
- the primary key of the current commerce price modifieruuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundNoSuchPriceModifierException
-
removeByUuid_C
Removes all the commerce price modifiers where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of commerce price modifiers where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching commerce price modifiers
-
findByCompanyId
Returns all the commerce price modifiers where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching commerce price modifiers
-
findByCompanyId
Returns a range of all the commerce price modifiers where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)- Returns:
- the range of matching commerce price modifiers
-
findByCompanyId
public static List<CommercePriceModifier> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce price modifiers
-
findByCompanyId
public static List<CommercePriceModifier> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price modifiers
-
findByCompanyId_First
public static CommercePriceModifier findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the first commerce price modifier in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByCompanyId_First
public static CommercePriceModifier fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByCompanyId_Last
public static CommercePriceModifier findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the last commerce price modifier in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByCompanyId_Last
public static CommercePriceModifier fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByCompanyId_PrevAndNext
public static CommercePriceModifier[] findByCompanyId_PrevAndNext(long commercePriceModifierId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where companyId = ?.- Parameters:
commercePriceModifierId
- the primary key of the current commerce price modifiercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundNoSuchPriceModifierException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the commerce price modifiers where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of commerce price modifiers where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching commerce price modifiers
-
findByCommercePriceListId
Returns all the commerce price modifiers where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list ID- Returns:
- the matching commerce price modifiers
-
findByCommercePriceListId
public static List<CommercePriceModifier> findByCommercePriceListId(long commercePriceListId, int start, int end) Returns a range of all the commerce price modifiers where commercePriceListId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)- Returns:
- the range of matching commerce price modifiers
-
findByCommercePriceListId
public static List<CommercePriceModifier> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where commercePriceListId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce price modifiers
-
findByCommercePriceListId
public static List<CommercePriceModifier> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where commercePriceListId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price modifiers
-
findByCommercePriceListId_First
public static CommercePriceModifier findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the first commerce price modifier in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByCommercePriceListId_First
public static CommercePriceModifier fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByCommercePriceListId_Last
public static CommercePriceModifier findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the last commerce price modifier in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByCommercePriceListId_Last
public static CommercePriceModifier fetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByCommercePriceListId_PrevAndNext
public static CommercePriceModifier[] findByCommercePriceListId_PrevAndNext(long commercePriceModifierId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceModifierId
- the primary key of the current commerce price modifiercommercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundNoSuchPriceModifierException
-
removeByCommercePriceListId
public static void removeByCommercePriceListId(long commercePriceListId) Removes all the commerce price modifiers where commercePriceListId = ? from the database.- Parameters:
commercePriceListId
- the commerce price list ID
-
countByCommercePriceListId
public static int countByCommercePriceListId(long commercePriceListId) Returns the number of commerce price modifiers where commercePriceListId = ?.- Parameters:
commercePriceListId
- the commerce price list ID- Returns:
- the number of matching commerce price modifiers
-
findByC_T
Returns all the commerce price modifiers where companyId = ? and target = ?.- Parameters:
companyId
- the company IDtarget
- the target- Returns:
- the matching commerce price modifiers
-
findByC_T
public static List<CommercePriceModifier> findByC_T(long companyId, String target, int start, int end) Returns a range of all the commerce price modifiers where companyId = ? and target = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
companyId
- the company IDtarget
- the targetstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)- Returns:
- the range of matching commerce price modifiers
-
findByC_T
public static List<CommercePriceModifier> findByC_T(long companyId, String target, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where companyId = ? and target = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
companyId
- the company IDtarget
- the targetstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce price modifiers
-
findByC_T
public static List<CommercePriceModifier> findByC_T(long companyId, String target, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where companyId = ? and target = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
companyId
- the company IDtarget
- the targetstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price modifiers
-
findByC_T_First
public static CommercePriceModifier findByC_T_First(long companyId, String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the first commerce price modifier in the ordered set where companyId = ? and target = ?.- Parameters:
companyId
- the company IDtarget
- the targetorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByC_T_First
public static CommercePriceModifier fetchByC_T_First(long companyId, String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where companyId = ? and target = ?.- Parameters:
companyId
- the company IDtarget
- the targetorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByC_T_Last
public static CommercePriceModifier findByC_T_Last(long companyId, String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the last commerce price modifier in the ordered set where companyId = ? and target = ?.- Parameters:
companyId
- the company IDtarget
- the targetorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByC_T_Last
public static CommercePriceModifier fetchByC_T_Last(long companyId, String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where companyId = ? and target = ?.- Parameters:
companyId
- the company IDtarget
- the targetorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByC_T_PrevAndNext
public static CommercePriceModifier[] findByC_T_PrevAndNext(long commercePriceModifierId, long companyId, String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where companyId = ? and target = ?.- Parameters:
commercePriceModifierId
- the primary key of the current commerce price modifiercompanyId
- the company IDtarget
- the targetorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundNoSuchPriceModifierException
-
removeByC_T
Removes all the commerce price modifiers where companyId = ? and target = ? from the database.- Parameters:
companyId
- the company IDtarget
- the target
-
countByC_T
Returns the number of commerce price modifiers where companyId = ? and target = ?.- Parameters:
companyId
- the company IDtarget
- the target- Returns:
- the number of matching commerce price modifiers
-
findByLtD_S
Returns all the commerce price modifiers where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the matching commerce price modifiers
-
findByLtD_S
public static List<CommercePriceModifier> findByLtD_S(Date displayDate, int status, int start, int end) Returns a range of all the commerce price modifiers where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)- Returns:
- the range of matching commerce price modifiers
-
findByLtD_S
public static List<CommercePriceModifier> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce price modifiers
-
findByLtD_S
public static List<CommercePriceModifier> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price modifiers
-
findByLtD_S_First
public static CommercePriceModifier findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the first commerce price modifier in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByLtD_S_First
public static CommercePriceModifier fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByLtD_S_Last
public static CommercePriceModifier findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the last commerce price modifier in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByLtD_S_Last
public static CommercePriceModifier fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByLtD_S_PrevAndNext
public static CommercePriceModifier[] findByLtD_S_PrevAndNext(long commercePriceModifierId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where displayDate < ? and status = ?.- Parameters:
commercePriceModifierId
- the primary key of the current commerce price modifierdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundNoSuchPriceModifierException
-
removeByLtD_S
Removes all the commerce price modifiers where displayDate < ? and status = ? from the database.- Parameters:
displayDate
- the display datestatus
- the status
-
countByLtD_S
Returns the number of commerce price modifiers where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the number of matching commerce price modifiers
-
findByLtE_S
Returns all the commerce price modifiers where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the status- Returns:
- the matching commerce price modifiers
-
findByLtE_S
public static List<CommercePriceModifier> findByLtE_S(Date expirationDate, int status, int start, int end) Returns a range of all the commerce price modifiers where expirationDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)- Returns:
- the range of matching commerce price modifiers
-
findByLtE_S
public static List<CommercePriceModifier> findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where expirationDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce price modifiers
-
findByLtE_S
public static List<CommercePriceModifier> findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where expirationDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price modifiers
-
findByLtE_S_First
public static CommercePriceModifier findByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the first commerce price modifier in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByLtE_S_First
public static CommercePriceModifier fetchByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByLtE_S_Last
public static CommercePriceModifier findByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the last commerce price modifier in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByLtE_S_Last
public static CommercePriceModifier fetchByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByLtE_S_PrevAndNext
public static CommercePriceModifier[] findByLtE_S_PrevAndNext(long commercePriceModifierId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where expirationDate < ? and status = ?.- Parameters:
commercePriceModifierId
- the primary key of the current commerce price modifierexpirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundNoSuchPriceModifierException
-
removeByLtE_S
Removes all the commerce price modifiers where expirationDate < ? and status = ? from the database.- Parameters:
expirationDate
- the expiration datestatus
- the status
-
countByLtE_S
Returns the number of commerce price modifiers where expirationDate < ? and status = ?.- Parameters:
expirationDate
- the expiration datestatus
- the status- Returns:
- the number of matching commerce price modifiers
-
findByG_C_S
Returns all the commerce price modifiers where groupId = ? and companyId = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status- Returns:
- the matching commerce price modifiers
-
findByG_C_S
public static List<CommercePriceModifier> findByG_C_S(long groupId, long companyId, int status, int start, int end) Returns a range of all the commerce price modifiers where groupId = ? and companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)- Returns:
- the range of matching commerce price modifiers
-
findByG_C_S
public static List<CommercePriceModifier> findByG_C_S(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where groupId = ? and companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce price modifiers
-
findByG_C_S
public static List<CommercePriceModifier> findByG_C_S(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where groupId = ? and companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price modifiers
-
findByG_C_S_First
public static CommercePriceModifier findByG_C_S_First(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the first commerce price modifier in the ordered set where groupId = ? and companyId = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByG_C_S_First
public static CommercePriceModifier fetchByG_C_S_First(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where groupId = ? and companyId = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByG_C_S_Last
public static CommercePriceModifier findByG_C_S_Last(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the last commerce price modifier in the ordered set where groupId = ? and companyId = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByG_C_S_Last
public static CommercePriceModifier fetchByG_C_S_Last(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where groupId = ? and companyId = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByG_C_S_PrevAndNext
public static CommercePriceModifier[] findByG_C_S_PrevAndNext(long commercePriceModifierId, long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where groupId = ? and companyId = ? and status = ?.- Parameters:
commercePriceModifierId
- the primary key of the current commerce price modifiergroupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundNoSuchPriceModifierException
-
findByG_C_S
Returns all the commerce price modifiers where groupId = any ? and companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the status- Returns:
- the matching commerce price modifiers
-
findByG_C_S
public static List<CommercePriceModifier> findByG_C_S(long[] groupIds, long companyId, int status, int start, int end) Returns a range of all the commerce price modifiers where groupId = any ? and companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)- Returns:
- the range of matching commerce price modifiers
-
findByG_C_S
public static List<CommercePriceModifier> findByG_C_S(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where groupId = any ? and companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce price modifiers
-
findByG_C_S
public static List<CommercePriceModifier> findByG_C_S(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where groupId = ? and companyId = ? and status = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price modifiers
-
removeByG_C_S
public static void removeByG_C_S(long groupId, long companyId, int status) Removes all the commerce price modifiers where groupId = ? and companyId = ? and status = ? from the database.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status
-
countByG_C_S
public static int countByG_C_S(long groupId, long companyId, int status) Returns the number of commerce price modifiers where groupId = ? and companyId = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status- Returns:
- the number of matching commerce price modifiers
-
countByG_C_S
public static int countByG_C_S(long[] groupIds, long companyId, int status) Returns the number of commerce price modifiers where groupId = any ? and companyId = ? and status = ?.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the status- Returns:
- the number of matching commerce price modifiers
-
findByG_C_NotS
Returns all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status- Returns:
- the matching commerce price modifiers
-
findByG_C_NotS
public static List<CommercePriceModifier> findByG_C_NotS(long groupId, long companyId, int status, int start, int end) Returns a range of all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)- Returns:
- the range of matching commerce price modifiers
-
findByG_C_NotS
public static List<CommercePriceModifier> findByG_C_NotS(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce price modifiers
-
findByG_C_NotS
public static List<CommercePriceModifier> findByG_C_NotS(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price modifiers
-
findByG_C_NotS_First
public static CommercePriceModifier findByG_C_NotS_First(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the first commerce price modifier in the ordered set where groupId = ? and companyId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByG_C_NotS_First
public static CommercePriceModifier fetchByG_C_NotS_First(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where groupId = ? and companyId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByG_C_NotS_Last
public static CommercePriceModifier findByG_C_NotS_Last(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the last commerce price modifier in the ordered set where groupId = ? and companyId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByG_C_NotS_Last
public static CommercePriceModifier fetchByG_C_NotS_Last(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the last commerce price modifier in the ordered set where groupId = ? and companyId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
findByG_C_NotS_PrevAndNext
public static CommercePriceModifier[] findByG_C_NotS_PrevAndNext(long commercePriceModifierId, long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException Returns the commerce price modifiers before and after the current commerce price modifier in the ordered set where groupId = ? and companyId = ? and status ≠ ?.- Parameters:
commercePriceModifierId
- the primary key of the current commerce price modifiergroupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundNoSuchPriceModifierException
-
findByG_C_NotS
public static List<CommercePriceModifier> findByG_C_NotS(long[] groupIds, long companyId, int status) Returns all the commerce price modifiers where groupId = any ? and companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the status- Returns:
- the matching commerce price modifiers
-
findByG_C_NotS
public static List<CommercePriceModifier> findByG_C_NotS(long[] groupIds, long companyId, int status, int start, int end) Returns a range of all the commerce price modifiers where groupId = any ? and companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)- Returns:
- the range of matching commerce price modifiers
-
findByG_C_NotS
public static List<CommercePriceModifier> findByG_C_NotS(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers where groupId = any ? and companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce price modifiers
-
findByG_C_NotS
public static List<CommercePriceModifier> findByG_C_NotS(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price modifiers
-
removeByG_C_NotS
public static void removeByG_C_NotS(long groupId, long companyId, int status) Removes all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ? from the database.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status
-
countByG_C_NotS
public static int countByG_C_NotS(long groupId, long companyId, int status) Returns the number of commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status- Returns:
- the number of matching commerce price modifiers
-
countByG_C_NotS
public static int countByG_C_NotS(long[] groupIds, long companyId, int status) Returns the number of commerce price modifiers where groupId = any ? and companyId = ? and status ≠ ?.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the status- Returns:
- the number of matching commerce price modifiers
-
findByERC_C
public static CommercePriceModifier findByERC_C(String externalReferenceCode, long companyId) throws NoSuchPriceModifierException Returns the commerce price modifier where externalReferenceCode = ? and companyId = ? or throws aNoSuchPriceModifierException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundNoSuchPriceModifierException
-
fetchByERC_C
Returns the commerce price modifier where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
fetchByERC_C
public static CommercePriceModifier fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce price modifier where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce price modifier, or
null
if a matching commerce price modifier could not be found
-
removeByERC_C
public static CommercePriceModifier removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchPriceModifierException Removes the commerce price modifier where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the commerce price modifier that was removed
- Throws:
NoSuchPriceModifierException
-
countByERC_C
Returns the number of commerce price modifiers where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching commerce price modifiers
-
cacheResult
Caches the commerce price modifier in the entity cache if it is enabled.- Parameters:
commercePriceModifier
- the commerce price modifier
-
cacheResult
Caches the commerce price modifiers in the entity cache if it is enabled.- Parameters:
commercePriceModifiers
- the commerce price modifiers
-
create
Creates a new commerce price modifier with the primary key. Does not add the commerce price modifier to the database.- Parameters:
commercePriceModifierId
- the primary key for the new commerce price modifier- Returns:
- the new commerce price modifier
-
remove
public static CommercePriceModifier remove(long commercePriceModifierId) throws NoSuchPriceModifierException Removes the commerce price modifier with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commercePriceModifierId
- the primary key of the commerce price modifier- Returns:
- the commerce price modifier that was removed
- Throws:
NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundNoSuchPriceModifierException
-
updateImpl
-
findByPrimaryKey
public static CommercePriceModifier findByPrimaryKey(long commercePriceModifierId) throws NoSuchPriceModifierException Returns the commerce price modifier with the primary key or throws aNoSuchPriceModifierException
if it could not be found.- Parameters:
commercePriceModifierId
- the primary key of the commerce price modifier- Returns:
- the commerce price modifier
- Throws:
NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundNoSuchPriceModifierException
-
fetchByPrimaryKey
Returns the commerce price modifier with the primary key or returnsnull
if it could not be found.- Parameters:
commercePriceModifierId
- the primary key of the commerce price modifier- Returns:
- the commerce price modifier, or
null
if a commerce price modifier with the primary key could not be found
-
findAll
Returns all the commerce price modifiers.- Returns:
- the commerce price modifiers
-
findAll
Returns a range of all the commerce price modifiers.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
start
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)- Returns:
- the range of commerce price modifiers
-
findAll
public static List<CommercePriceModifier> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns an ordered range of all the commerce price modifiers.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
start
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of commerce price modifiers
-
findAll
public static List<CommercePriceModifier> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price modifiers.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceModifierModelImpl
.- Parameters:
start
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce price modifiers
-
removeAll
public static void removeAll()Removes all the commerce price modifiers from the database. -
countAll
public static int countAll()Returns the number of commerce price modifiers.- Returns:
- the number of commerce price modifiers
-
getPersistence
-
setPersistence
-