public class CommercePriceModifierUtil
extends java.lang.Object
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
CommercePriceModifierPersistence
Constructor and Description |
---|
CommercePriceModifierUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommercePriceModifier commercePriceModifier)
Caches the commerce price modifier in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommercePriceModifier> commercePriceModifiers)
Caches the commerce price modifiers in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommercePriceModifier commercePriceModifier) |
static int |
countAll()
Returns the number of commerce price modifiers.
|
static int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of commerce price modifiers where companyId = ? and externalReferenceCode = ?.
|
static int |
countByC_T(long companyId,
java.lang.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 |
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(java.util.Date displayDate,
int status)
Returns the number of commerce price modifiers where displayDate < ? and status = ?.
|
static int |
countByLtE_S(java.util.Date expirationDate,
int status)
Returns the number of commerce price modifiers where expirationDate < ? and status = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce price modifiers where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce price modifiers where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of commerce price modifiers where uuid = ?.
|
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_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce price modifier where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
static CommercePriceModifier |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the commerce price modifier where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommercePriceModifier |
fetchByC_T_First(long companyId,
java.lang.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,
java.lang.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 |
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(java.util.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(java.util.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(java.util.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(java.util.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 returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommercePriceModifier> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CommercePriceModifier |
fetchByUuid_C_First(java.lang.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(java.lang.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(java.lang.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(java.lang.String uuid,
long groupId)
Returns the commerce price modifier where uuid = ? and groupId = ? or returns
null if it could not be found. |
static CommercePriceModifier |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the commerce price modifier where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommercePriceModifier |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
Returns the last commerce price modifier in the ordered set where uuid = ?.
|
static java.util.List<CommercePriceModifier> |
findAll()
Returns all the commerce price modifiers.
|
static java.util.List<CommercePriceModifier> |
findAll(int start,
int end)
Returns a range of all the commerce price modifiers.
|
static java.util.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 java.util.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 CommercePriceModifier |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce price modifier where companyId = ? and externalReferenceCode = ? or throws a
NoSuchPriceModifierException if it could not be found. |
static CommercePriceModifier |
findByC_T_First(long companyId,
java.lang.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,
java.lang.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,
java.lang.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 java.util.List<CommercePriceModifier> |
findByC_T(long companyId,
java.lang.String target)
Returns all the commerce price modifiers where companyId = ? and target = ?.
|
static java.util.List<CommercePriceModifier> |
findByC_T(long companyId,
java.lang.String target,
int start,
int end)
Returns a range of all the commerce price modifiers where companyId = ? and target = ?.
|
static java.util.List<CommercePriceModifier> |
findByC_T(long companyId,
java.lang.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 java.util.List<CommercePriceModifier> |
findByC_T(long companyId,
java.lang.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 |
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 java.util.List<CommercePriceModifier> |
findByCommercePriceListId(long commercePriceListId)
Returns all the commerce price modifiers where commercePriceListId = ?.
|
static java.util.List<CommercePriceModifier> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end)
Returns a range of all the commerce price modifiers where commercePriceListId = ?.
|
static java.util.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 java.util.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 |
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 java.util.List<CommercePriceModifier> |
findByCompanyId(long companyId)
Returns all the commerce price modifiers where companyId = ?.
|
static java.util.List<CommercePriceModifier> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce price modifiers where companyId = ?.
|
static java.util.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 java.util.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 |
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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.List<CommercePriceModifier> |
findByG_C_NotS(long groupId,
long companyId,
int status)
Returns all the commerce price modifiers where groupId = ? and companyId = ? and status ≠ ?.
|
static java.util.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 java.util.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 java.util.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_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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.List<CommercePriceModifier> |
findByG_C_S(long groupId,
long companyId,
int status)
Returns all the commerce price modifiers where groupId = ? and companyId = ? and status = ?.
|
static java.util.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 java.util.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 java.util.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 |
findByLtD_S_First(java.util.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(java.util.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,
java.util.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 java.util.List<CommercePriceModifier> |
findByLtD_S(java.util.Date displayDate,
int status)
Returns all the commerce price modifiers where displayDate < ? and status = ?.
|
static java.util.List<CommercePriceModifier> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end)
Returns a range of all the commerce price modifiers where displayDate < ? and status = ?.
|
static java.util.List<CommercePriceModifier> |
findByLtD_S(java.util.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 java.util.List<CommercePriceModifier> |
findByLtD_S(java.util.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 |
findByLtE_S_First(java.util.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(java.util.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,
java.util.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 java.util.List<CommercePriceModifier> |
findByLtE_S(java.util.Date expirationDate,
int status)
Returns all the commerce price modifiers where expirationDate < ? and status = ?.
|
static java.util.List<CommercePriceModifier> |
findByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end)
Returns a range of all the commerce price modifiers where expirationDate < ? and status = ?.
|
static java.util.List<CommercePriceModifier> |
findByLtE_S(java.util.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 java.util.List<CommercePriceModifier> |
findByLtE_S(java.util.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 |
findByPrimaryKey(long commercePriceModifierId)
Returns the commerce price modifier with the primary key or throws a
NoSuchPriceModifierException if it could not be found. |
static CommercePriceModifier |
findByUuid_C_First(java.lang.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(java.lang.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,
java.lang.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 java.util.List<CommercePriceModifier> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce price modifiers where uuid = ? and companyId = ?.
|
static java.util.List<CommercePriceModifier> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce price modifiers where uuid = ? and companyId = ?.
|
static java.util.List<CommercePriceModifier> |
findByUuid_C(java.lang.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 java.util.List<CommercePriceModifier> |
findByUuid_C(java.lang.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_First(java.lang.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(java.lang.String uuid,
long groupId)
Returns the commerce price modifier where uuid = ? and groupId = ? or throws a
NoSuchPriceModifierException if it could not be found. |
static CommercePriceModifier |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<CommercePriceModifier> |
findByUuid(java.lang.String uuid)
Returns all the commerce price modifiers where uuid = ?.
|
static java.util.List<CommercePriceModifier> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce price modifiers where uuid = ?.
|
static java.util.List<CommercePriceModifier> |
findByUuid(java.lang.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 java.util.List<CommercePriceModifier> |
findByUuid(java.lang.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 java.util.List<CommercePriceModifier> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommercePriceModifier> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommercePriceModifier> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) |
static CommercePriceModifierPersistence |
getPersistence() |
static CommercePriceModifier |
remove(long commercePriceModifierId)
Removes the commerce price modifier with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce price modifiers from the database.
|
static CommercePriceModifier |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the commerce price modifier where companyId = ? and externalReferenceCode = ? from the database.
|
static void |
removeByC_T(long companyId,
java.lang.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 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(java.util.Date displayDate,
int status)
Removes all the commerce price modifiers where displayDate < ? and status = ? from the database.
|
static void |
removeByLtE_S(java.util.Date expirationDate,
int status)
Removes all the commerce price modifiers where expirationDate < ? and status = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce price modifiers where uuid = ? and companyId = ? from the database.
|
static CommercePriceModifier |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce price modifier where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the commerce price modifiers where uuid = ? from the database.
|
static CommercePriceModifier |
update(CommercePriceModifier commercePriceModifier) |
static CommercePriceModifier |
update(CommercePriceModifier commercePriceModifier,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommercePriceModifier |
updateImpl(CommercePriceModifier commercePriceModifier) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommercePriceModifier commercePriceModifier)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CommercePriceModifier> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommercePriceModifier> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommercePriceModifier> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommercePriceModifier> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommercePriceModifier update(CommercePriceModifier commercePriceModifier)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommercePriceModifier update(CommercePriceModifier commercePriceModifier, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommercePriceModifier> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommercePriceModifier> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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)public static java.util.List<CommercePriceModifier> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)public static java.util.List<CommercePriceModifier> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceModifier findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier[] findByUuid_PrevAndNext(long commercePriceModifierId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
commercePriceModifierId
- the primary key of the current commerce price modifieruuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static CommercePriceModifier findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPriceModifierException
NoSuchPriceModifierException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPriceModifierException
uuid
- the uuidgroupId
- the group IDNoSuchPriceModifierException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<CommercePriceModifier> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommercePriceModifier> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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)public static java.util.List<CommercePriceModifier> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)public static java.util.List<CommercePriceModifier> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceModifier findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier[] findByUuid_C_PrevAndNext(long commercePriceModifierId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
commercePriceModifierId
- the primary key of the current commerce price modifieruuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommercePriceModifier> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<CommercePriceModifier> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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)public static java.util.List<CommercePriceModifier> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)public static java.util.List<CommercePriceModifier> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceModifier findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier[] findByCompanyId_PrevAndNext(long commercePriceModifierId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
commercePriceModifierId
- the primary key of the current commerce price modifiercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<CommercePriceModifier> findByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDpublic static java.util.List<CommercePriceModifier> findByCommercePriceListId(long commercePriceListId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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)public static java.util.List<CommercePriceModifier> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)public static java.util.List<CommercePriceModifier> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceModifier findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier[] findByCommercePriceListId_PrevAndNext(long commercePriceModifierId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
commercePriceModifierId
- the primary key of the current commerce price modifiercommercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundpublic static void removeByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDpublic static int countByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDpublic static java.util.List<CommercePriceModifier> findByC_T(long companyId, java.lang.String target)
companyId
- the company IDtarget
- the targetpublic static java.util.List<CommercePriceModifier> findByC_T(long companyId, java.lang.String target, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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)public static java.util.List<CommercePriceModifier> findByC_T(long companyId, java.lang.String target, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)public static java.util.List<CommercePriceModifier> findByC_T(long companyId, java.lang.String target, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceModifier findByC_T_First(long companyId, java.lang.String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
companyId
- the company IDtarget
- the targetorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByC_T_First(long companyId, java.lang.String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
companyId
- the company IDtarget
- the targetorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier findByC_T_Last(long companyId, java.lang.String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
companyId
- the company IDtarget
- the targetorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByC_T_Last(long companyId, java.lang.String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
companyId
- the company IDtarget
- the targetorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier[] findByC_T_PrevAndNext(long commercePriceModifierId, long companyId, java.lang.String target, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
commercePriceModifierId
- the primary key of the current commerce price modifiercompanyId
- the company IDtarget
- the targetorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundpublic static void removeByC_T(long companyId, java.lang.String target)
companyId
- the company IDtarget
- the targetpublic static int countByC_T(long companyId, java.lang.String target)
companyId
- the company IDtarget
- the targetpublic static java.util.List<CommercePriceModifier> findByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static java.util.List<CommercePriceModifier> findByLtD_S(java.util.Date displayDate, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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)public static java.util.List<CommercePriceModifier> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)public static java.util.List<CommercePriceModifier> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceModifier findByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier findByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier[] findByLtD_S_PrevAndNext(long commercePriceModifierId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
commercePriceModifierId
- the primary key of the current commerce price modifierdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundpublic static void removeByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static int countByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static java.util.List<CommercePriceModifier> findByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statuspublic static java.util.List<CommercePriceModifier> findByLtE_S(java.util.Date expirationDate, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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)public static java.util.List<CommercePriceModifier> findByLtE_S(java.util.Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)public static java.util.List<CommercePriceModifier> findByLtE_S(java.util.Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceModifier findByLtE_S_First(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByLtE_S_First(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier findByLtE_S_Last(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByLtE_S_Last(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier[] findByLtE_S_PrevAndNext(long commercePriceModifierId, java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
commercePriceModifierId
- the primary key of the current commerce price modifierexpirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundpublic static void removeByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statuspublic static int countByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statuspublic static java.util.List<CommercePriceModifier> findByG_C_S(long groupId, long companyId, int status)
groupId
- the group IDcompanyId
- the company IDstatus
- the statuspublic static java.util.List<CommercePriceModifier> findByG_C_S(long groupId, long companyId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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)public static java.util.List<CommercePriceModifier> findByG_C_S(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceModifier findByG_C_S_First(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByG_C_S_First(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier findByG_C_S_Last(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByG_C_S_Last(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier[] findByG_C_S_PrevAndNext(long commercePriceModifierId, long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
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 (optionally null
)NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundpublic static java.util.List<CommercePriceModifier> findByG_C_S(long[] groupIds, long companyId, int status)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstatus
- the statuspublic static java.util.List<CommercePriceModifier> findByG_C_S(long[] groupIds, long companyId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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)public static java.util.List<CommercePriceModifier> findByG_C_S(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_C_S(long groupId, long companyId, int status)
groupId
- the group IDcompanyId
- the company IDstatus
- the statuspublic static int countByG_C_S(long groupId, long companyId, int status)
groupId
- the group IDcompanyId
- the company IDstatus
- the statuspublic static int countByG_C_S(long[] groupIds, long companyId, int status)
groupIds
- the group IDscompanyId
- the company IDstatus
- the statuspublic static java.util.List<CommercePriceModifier> findByG_C_NotS(long groupId, long companyId, int status)
groupId
- the group IDcompanyId
- the company IDstatus
- the statuspublic static java.util.List<CommercePriceModifier> findByG_C_NotS(long groupId, long companyId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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)public static java.util.List<CommercePriceModifier> findByG_C_NotS(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceModifier findByG_C_NotS_First(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByG_C_NotS_First(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier findByG_C_NotS_Last(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByG_C_NotS_Last(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier[] findByG_C_NotS_PrevAndNext(long commercePriceModifierId, long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws NoSuchPriceModifierException
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 (optionally null
)NoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundpublic static java.util.List<CommercePriceModifier> findByG_C_NotS(long[] groupIds, long companyId, int status)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstatus
- the statuspublic static java.util.List<CommercePriceModifier> findByG_C_NotS(long[] groupIds, long companyId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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)public static java.util.List<CommercePriceModifier> findByG_C_NotS(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_C_NotS(long groupId, long companyId, int status)
groupId
- the group IDcompanyId
- the company IDstatus
- the statuspublic static int countByG_C_NotS(long groupId, long companyId, int status)
groupId
- the group IDcompanyId
- the company IDstatus
- the statuspublic static int countByG_C_NotS(long[] groupIds, long companyId, int status)
groupIds
- the group IDscompanyId
- the company IDstatus
- the statuspublic static CommercePriceModifier findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchPriceModifierException
NoSuchPriceModifierException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchPriceModifierException
- if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByC_ERC(long companyId, java.lang.String externalReferenceCode)
null
if it could not be found. Uses the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codenull
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier fetchByC_ERC(long companyId, java.lang.String externalReferenceCode, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codeuseFinderCache
- whether to use the finder cachenull
if a matching commerce price modifier could not be foundpublic static CommercePriceModifier removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchPriceModifierException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchPriceModifierException
public static int countByC_ERC(long companyId, java.lang.String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codepublic static void cacheResult(CommercePriceModifier commercePriceModifier)
commercePriceModifier
- the commerce price modifierpublic static void cacheResult(java.util.List<CommercePriceModifier> commercePriceModifiers)
commercePriceModifiers
- the commerce price modifierspublic static CommercePriceModifier create(long commercePriceModifierId)
commercePriceModifierId
- the primary key for the new commerce price modifierpublic static CommercePriceModifier remove(long commercePriceModifierId) throws NoSuchPriceModifierException
commercePriceModifierId
- the primary key of the commerce price modifierNoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundpublic static CommercePriceModifier updateImpl(CommercePriceModifier commercePriceModifier)
public static CommercePriceModifier findByPrimaryKey(long commercePriceModifierId) throws NoSuchPriceModifierException
NoSuchPriceModifierException
if it could not be found.commercePriceModifierId
- the primary key of the commerce price modifierNoSuchPriceModifierException
- if a commerce price modifier with the primary key could not be foundpublic static CommercePriceModifier fetchByPrimaryKey(long commercePriceModifierId)
null
if it could not be found.commercePriceModifierId
- the primary key of the commerce price modifiernull
if a commerce price modifier with the primary key could not be foundpublic static java.util.List<CommercePriceModifier> findAll()
public static java.util.List<CommercePriceModifier> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
start
- the lower bound of the range of commerce price modifiersend
- the upper bound of the range of commerce price modifiers (not inclusive)public static java.util.List<CommercePriceModifier> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)public static java.util.List<CommercePriceModifier> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommercePriceModifierModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CommercePriceModifierPersistence getPersistence()