Interface CommercePriceModifierPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePriceModifier>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceModifier>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByC_T(long companyId, String target) Returns the number of commerce price modifiers where companyId = ? and target = ?.intcountByCommercePriceListId(long commercePriceListId) Returns the number of commerce price modifiers where commercePriceListId = ?.intcountByCompanyId(long companyId) Returns the number of commerce price modifiers where companyId = ?.intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of commerce price modifiers where externalReferenceCode = ? and companyId = ?.intcountByG_C_NotS(long[] groupIds, long companyId, int status) Returns the number of commerce price modifiers where groupId = any ? and companyId = ? and status ≠ ?.intcountByG_C_NotS(long groupId, long companyId, int status) Returns the number of commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?.intcountByG_C_S(long[] groupIds, long companyId, int status) Returns the number of commerce price modifiers where groupId = any ? and companyId = ? and status = ?.intcountByG_C_S(long groupId, long companyId, int status) Returns the number of commerce price modifiers where groupId = ? and companyId = ? and status = ?.intcountByLtD_S(Date displayDate, int status) Returns the number of commerce price modifiers where displayDate < ? and status = ?.intcountByLtE_S(Date expirationDate, int status) Returns the number of commerce price modifiers where expirationDate < ? and status = ?.intcountByUuid(String uuid) Returns the number of commerce price modifiers where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of commerce price modifiers where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of commerce price modifiers where uuid = ? and groupId = ?.create(long commercePriceModifierId) Creates a new commerce price modifier with the primary key.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 = ?.fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where commercePriceListId = ?.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where companyId = ?.default CommercePriceModifierfetchByERC_C(String externalReferenceCode, long companyId) Returns the commerce price modifier where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce price modifier where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.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 ≠ ?.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 = ?.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 = ?.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 = ?.fetchByPrimaryKey(long commercePriceModifierId) Returns the commerce price modifier with the primary key or returnsnullif it could not be found.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 = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where uuid = ?.default CommercePriceModifierfetchByUUID_G(String uuid, long groupId) Returns the commerce price modifier where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the commerce price modifier where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.default List<CommercePriceModifier> Returns all the commerce price modifiers where companyId = ? and target = ?.default List<CommercePriceModifier> Returns a range of all the commerce price modifiers where companyId = ? and target = ?.default 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 = ?.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 = ?.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 = ?.default List<CommercePriceModifier> findByCommercePriceListId(long commercePriceListId) Returns all the commerce price modifiers where commercePriceListId = ?.default List<CommercePriceModifier> findByCommercePriceListId(long commercePriceListId, int start, int end) Returns a range of all the commerce price modifiers where commercePriceListId = ?.default 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 = ?.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 = ?.findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where commercePriceListId = ?.default List<CommercePriceModifier> findByCompanyId(long companyId) Returns all the commerce price modifiers where companyId = ?.default List<CommercePriceModifier> findByCompanyId(long companyId, int start, int end) Returns a range of all the commerce price modifiers where companyId = ?.default 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 = ?.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 = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where companyId = ?.findByERC_C(String externalReferenceCode, long companyId) Returns the commerce price modifier where externalReferenceCode = ? and companyId = ? or throws aNoSuchPriceModifierExceptionif it could not be found.findByG_C_NotS(long[] groupIds, long companyId, int status) Returns all the commerce price modifiers where groupId = any ? and companyId = ? and status ≠ ?.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 ≠ ?.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 ≠ ?.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.findByG_C_NotS(long groupId, long companyId, int status) Returns all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?.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 ≠ ?.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 ≠ ?.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 ≠ ?.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 ≠ ?.default List<CommercePriceModifier> findByG_C_S(long[] groupIds, long companyId, int status) Returns all the commerce price modifiers where groupId = any ? and companyId = ? and status = ?.default 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 = ?.default 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 = ?.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.default List<CommercePriceModifier> findByG_C_S(long groupId, long companyId, int status) Returns all the commerce price modifiers where groupId = ? and companyId = ? and status = ?.default 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 = ?.default 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 = ?.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 = ?.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 = ?.findByLtD_S(Date displayDate, int status) Returns all the commerce price modifiers where displayDate < ? and status = ?.findByLtD_S(Date displayDate, int status, int start, int end) Returns a range of all the commerce price modifiers where displayDate < ? and status = ?.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 = ?.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 = ?.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 = ?.findByLtE_S(Date expirationDate, int status) Returns all the commerce price modifiers where expirationDate < ? and status = ?.findByLtE_S(Date expirationDate, int status, int start, int end) Returns a range of all the commerce price modifiers where expirationDate < ? and status = ?.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 = ?.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 = ?.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 = ?.findByPrimaryKey(long commercePriceModifierId) Returns the commerce price modifier with the primary key or throws aNoSuchPriceModifierExceptionif it could not be found.default List<CommercePriceModifier> findByUuid(String uuid) Returns all the commerce price modifiers where uuid = ?.default List<CommercePriceModifier> findByUuid(String uuid, int start, int end) Returns a range of all the commerce price modifiers where uuid = ?.default 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 = ?.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 = ?.default List<CommercePriceModifier> findByUuid_C(String uuid, long companyId) Returns all the commerce price modifiers where uuid = ? and companyId = ?.default 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 = ?.default 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 = ?.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 = ?.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 = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) Returns the first commerce price modifier in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the commerce price modifier where uuid = ? and groupId = ? or throws aNoSuchPriceModifierExceptionif it could not be found.remove(long commercePriceModifierId) Removes the commerce price modifier with the primary key from the database.voidremoveByC_T(long companyId, String target) Removes all the commerce price modifiers where companyId = ? and target = ? from the database.voidremoveByCommercePriceListId(long commercePriceListId) Removes all the commerce price modifiers where commercePriceListId = ? from the database.voidremoveByCompanyId(long companyId) Removes all the commerce price modifiers where companyId = ? from the database.removeByERC_C(String externalReferenceCode, long companyId) Removes the commerce price modifier where externalReferenceCode = ? and companyId = ? from the database.voidremoveByG_C_NotS(long groupId, long companyId, int status) Removes all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ? from the database.voidremoveByG_C_S(long groupId, long companyId, int status) Removes all the commerce price modifiers where groupId = ? and companyId = ? and status = ? from the database.voidremoveByLtD_S(Date displayDate, int status) Removes all the commerce price modifiers where displayDate < ? and status = ? from the database.voidremoveByLtE_S(Date expirationDate, int status) Removes all the commerce price modifiers where expirationDate < ? and status = ? from the database.voidremoveByUuid(String uuid) Removes all the commerce price modifiers where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce price modifiers where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the commerce price modifier where uuid = ? and groupId = ? from the database.updateImpl(CommercePriceModifier commercePriceModifier) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
List<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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 found
-
fetchByUuid_First
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
nullif a matching commerce price modifier could not be found
-
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
Returns the commerce price modifier where uuid = ? and groupId = ? or throws aNoSuchPriceModifierExceptionif 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 found
-
fetchByUUID_G
Returns the commerce price modifier where uuid = ? and groupId = ? or returnsnullif 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
nullif a matching commerce price modifier could not be found
-
removeByUUID_G
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 found
-
fetchByUuid_C_First
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
nullif a matching commerce price modifier could not be found
-
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 found
-
fetchByCompanyId_First
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
nullif a matching commerce price modifier could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the commerce price modifiers where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 found
-
fetchByCommercePriceListId_First
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
nullif a matching commerce price modifier could not be found
-
removeByCommercePriceListId
void removeByCommercePriceListId(long commercePriceListId) Removes all the commerce price modifiers where commercePriceListId = ? from the database.- Parameters:
commercePriceListId- the commerce price list ID
-
countByCommercePriceListId
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 found
-
fetchByC_T_First
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
nullif a matching commerce price modifier could not be found
-
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
Returns a range of all the commerce price modifiers where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 found
-
fetchByLtD_S_First
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
nullif a matching commerce price modifier could not be found
-
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
Returns a range of all the commerce price modifiers where expirationDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 found
-
fetchByLtE_S_First
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
nullif a matching commerce price modifier could not be found
-
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 found
-
fetchByG_C_S_First
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
nullif a matching commerce price modifier could not be found
-
findByG_C_S
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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
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
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 found
-
fetchByG_C_NotS_First
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
nullif a matching commerce price modifier could not be found
-
findByG_C_NotS
Returns all the commerce price modifiers where groupId = any ? and companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- Parameters:
groupIds- the group IDscompanyId- the company IDstatus- the status- Returns:
- the matching commerce price modifiers
-
findByG_C_NotS
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
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
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
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
CommercePriceModifier findByERC_C(String externalReferenceCode, long companyId) throws NoSuchPriceModifierException Returns the commerce price modifier where externalReferenceCode = ? and companyId = ? or throws aNoSuchPriceModifierExceptionif 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 found
-
fetchByERC_C
CommercePriceModifier fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce price modifier where externalReferenceCode = ? and companyId = ? or returnsnullif 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
nullif a matching commerce price modifier could not be found
-
removeByERC_C
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
-
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
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 found
-
updateImpl
-
findByPrimaryKey
CommercePriceModifier findByPrimaryKey(long commercePriceModifierId) throws NoSuchPriceModifierException Returns the commerce price modifier with the primary key or throws aNoSuchPriceModifierExceptionif 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 found
-
fetchByPrimaryKey
Returns the commerce price modifier with the primary key or returnsnullif it could not be found.- Parameters:
commercePriceModifierId- the primary key of the commerce price modifier- Returns:
- the commerce price modifier, or
nullif a commerce price modifier with the primary key could not be found
-
fetchByUUID_G
Returns the commerce price modifier where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching commerce price modifier, or
nullif a matching commerce price modifier could not be found
-
fetchByERC_C
Returns the commerce price modifier where externalReferenceCode = ? and companyId = ? or returnsnullif 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
nullif a matching commerce price modifier could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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_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
Returns a range of all the commerce price modifiers where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
-
findByCommercePriceListId
Returns all the commerce price modifiers where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list ID- Returns:
- the matching commerce price modifiers
-
findByCommercePriceListId
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
-
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
Returns a range of all the commerce price modifiers where companyId = ? and target = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
-
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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
Returns all the commerce price modifiers where groupId = any ? and companyId = ? and status = ?.- Parameters:
groupIds- the group IDscompanyId- the company IDstatus- the status- Returns:
- the matching commerce price modifiers
-
findByG_C_S
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.pricing.model.impl.CommercePriceModifierModelImpl.- 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
-