public class CommercePriceListUtil
extends java.lang.Object
com.liferay.commerce.price.list.service.persistence.impl.CommercePriceListPersistenceImpl
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
CommercePriceListPersistence
Constructor and Description |
---|
CommercePriceListUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommercePriceList commercePriceList)
Caches the commerce price list in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommercePriceList> commercePriceLists)
Caches the commerce price lists in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommercePriceList commercePriceList) |
static int |
countAll()
Returns the number of commerce price lists.
|
static int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of commerce price lists where companyId = ? and externalReferenceCode = ?.
|
static int |
countByCommerceCurrencyId(long commerceCurrencyId)
Returns the number of commerce price lists where commerceCurrencyId = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of commerce price lists where companyId = ?.
|
static int |
countByG_C_NotS(long[] groupIds,
long companyId,
int status)
Returns the number of commerce price lists where groupId = any ? and companyId = ? and status ≠ ?.
|
static int |
countByG_C_NotS(long groupId,
long companyId,
int status)
Returns the number of commerce price lists where groupId = ? and companyId = ? and status ≠ ?.
|
static int |
countByG_C_S(long[] groupIds,
long companyId,
int status)
Returns the number of commerce price lists where groupId = any ? and companyId = ? and status = ?.
|
static int |
countByG_C_S(long groupId,
long companyId,
int status)
Returns the number of commerce price lists where groupId = ? and companyId = ? and status = ?.
|
static int |
countByG_C_T(long groupId,
boolean catalogBasePriceList,
java.lang.String type)
Returns the number of commerce price lists where groupId = ? and catalogBasePriceList = ? and type = ?.
|
static int |
countByG_C(long[] groupIds,
long companyId)
Returns the number of commerce price lists where groupId = any ? and companyId = ?.
|
static int |
countByG_C(long groupId,
long companyId)
Returns the number of commerce price lists where groupId = ? and companyId = ?.
|
static int |
countByG_CatalogBasePriceList(long groupId,
boolean catalogBasePriceList)
Returns the number of commerce price lists where groupId = ? and catalogBasePriceList = ?.
|
static int |
countByLtD_S(java.util.Date displayDate,
int status)
Returns the number of commerce price lists where displayDate < ? and status = ?.
|
static int |
countByParentCommercePriceListId(long parentCommercePriceListId)
Returns the number of commerce price lists where parentCommercePriceListId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce price lists where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce price lists where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of commerce price lists where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommercePriceList |
create(long commercePriceListId)
Creates a new commerce price list with the primary key.
|
static CommercePriceList |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce price list where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
static CommercePriceList |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the commerce price list where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommercePriceList |
fetchByCommerceCurrencyId_First(long commerceCurrencyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where commerceCurrencyId = ?.
|
static CommercePriceList |
fetchByCommerceCurrencyId_Last(long commerceCurrencyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where commerceCurrencyId = ?.
|
static CommercePriceList |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where companyId = ?.
|
static CommercePriceList |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where companyId = ?.
|
static CommercePriceList |
fetchByG_C_First(long groupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where groupId = ? and companyId = ?.
|
static CommercePriceList |
fetchByG_C_Last(long groupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where groupId = ? and companyId = ?.
|
static CommercePriceList |
fetchByG_C_NotS_First(long groupId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where groupId = ? and companyId = ? and status ≠ ?.
|
static CommercePriceList |
fetchByG_C_NotS_Last(long groupId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where groupId = ? and companyId = ? and status ≠ ?.
|
static CommercePriceList |
fetchByG_C_S_First(long groupId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where groupId = ? and companyId = ? and status = ?.
|
static CommercePriceList |
fetchByG_C_S_Last(long groupId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where groupId = ? and companyId = ? and status = ?.
|
static CommercePriceList |
fetchByG_C_T(long groupId,
boolean catalogBasePriceList,
java.lang.String type)
Returns the commerce price list where groupId = ? and catalogBasePriceList = ? and type = ? or returns
null if it could not be found. |
static CommercePriceList |
fetchByG_C_T(long groupId,
boolean catalogBasePriceList,
java.lang.String type,
boolean useFinderCache)
Returns the commerce price list where groupId = ? and catalogBasePriceList = ? and type = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommercePriceList |
fetchByG_CatalogBasePriceList(long groupId,
boolean catalogBasePriceList)
Returns the commerce price list where groupId = ? and catalogBasePriceList = ? or returns
null if it could not be found. |
static CommercePriceList |
fetchByG_CatalogBasePriceList(long groupId,
boolean catalogBasePriceList,
boolean useFinderCache)
Returns the commerce price list where groupId = ? and catalogBasePriceList = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommercePriceList |
fetchByLtD_S_First(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where displayDate < ? and status = ?.
|
static CommercePriceList |
fetchByLtD_S_Last(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where displayDate < ? and status = ?.
|
static CommercePriceList |
fetchByParentCommercePriceListId(long parentCommercePriceListId)
Returns the commerce price list where parentCommercePriceListId = ? or returns
null if it could not be found. |
static CommercePriceList |
fetchByParentCommercePriceListId(long parentCommercePriceListId,
boolean useFinderCache)
Returns the commerce price list where parentCommercePriceListId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommercePriceList |
fetchByPrimaryKey(long commercePriceListId)
Returns the commerce price list with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommercePriceList> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CommercePriceList |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where uuid = ? and companyId = ?.
|
static CommercePriceList |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where uuid = ? and companyId = ?.
|
static CommercePriceList |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where uuid = ?.
|
static CommercePriceList |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce price list where uuid = ? and groupId = ? or returns
null if it could not be found. |
static CommercePriceList |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the commerce price list where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommercePriceList |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where uuid = ?.
|
static int |
filterCountByG_C_NotS(long[] groupIds,
long companyId,
int status)
Returns the number of commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and status ≠ ?.
|
static int |
filterCountByG_C_NotS(long groupId,
long companyId,
int status)
Returns the number of commerce price lists that the user has permission to view where groupId = ? and companyId = ? and status ≠ ?.
|
static int |
filterCountByG_C_S(long[] groupIds,
long companyId,
int status)
Returns the number of commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and status = ?.
|
static int |
filterCountByG_C_S(long groupId,
long companyId,
int status)
Returns the number of commerce price lists that the user has permission to view where groupId = ? and companyId = ? and status = ?.
|
static int |
filterCountByG_C(long[] groupIds,
long companyId)
Returns the number of commerce price lists that the user has permission to view where groupId = any ? and companyId = ?.
|
static int |
filterCountByG_C(long groupId,
long companyId)
Returns the number of commerce price lists that the user has permission to view where groupId = ? and companyId = ?.
|
static CommercePriceList[] |
filterFindByG_C_NotS_PrevAndNext(long commercePriceListId,
long groupId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the commerce price lists before and after the current commerce price list in the ordered set of commerce price lists that the user has permission to view where groupId = ? and companyId = ? and status ≠ ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C_NotS(long[] groupIds,
long companyId,
int status)
Returns all the commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and status ≠ ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C_NotS(long[] groupIds,
long companyId,
int status,
int start,
int end)
Returns a range of all the commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and status ≠ ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C_NotS(long[] groupIds,
long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and status ≠ ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C_NotS(long groupId,
long companyId,
int status)
Returns all the commerce price lists that the user has permission to view where groupId = ? and companyId = ? and status ≠ ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C_NotS(long groupId,
long companyId,
int status,
int start,
int end)
Returns a range of all the commerce price lists that the user has permission to view where groupId = ? and companyId = ? and status ≠ ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C_NotS(long groupId,
long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists that the user has permissions to view where groupId = ? and companyId = ? and status ≠ ?.
|
static CommercePriceList[] |
filterFindByG_C_PrevAndNext(long commercePriceListId,
long groupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the commerce price lists before and after the current commerce price list in the ordered set of commerce price lists that the user has permission to view where groupId = ? and companyId = ?.
|
static CommercePriceList[] |
filterFindByG_C_S_PrevAndNext(long commercePriceListId,
long groupId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the commerce price lists before and after the current commerce price list in the ordered set of commerce price lists that the user has permission to view where groupId = ? and companyId = ? and status = ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C_S(long[] groupIds,
long companyId,
int status)
Returns all the commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and status = ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C_S(long[] groupIds,
long companyId,
int status,
int start,
int end)
Returns a range of all the commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and status = ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C_S(long[] groupIds,
long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and status = ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C_S(long groupId,
long companyId,
int status)
Returns all the commerce price lists that the user has permission to view where groupId = ? and companyId = ? and status = ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C_S(long groupId,
long companyId,
int status,
int start,
int end)
Returns a range of all the commerce price lists that the user has permission to view where groupId = ? and companyId = ? and status = ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C_S(long groupId,
long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists that the user has permissions to view where groupId = ? and companyId = ? and status = ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C(long[] groupIds,
long companyId)
Returns all the commerce price lists that the user has permission to view where groupId = any ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C(long[] groupIds,
long companyId,
int start,
int end)
Returns a range of all the commerce price lists that the user has permission to view where groupId = any ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C(long[] groupIds,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists that the user has permission to view where groupId = any ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C(long groupId,
long companyId)
Returns all the commerce price lists that the user has permission to view where groupId = ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C(long groupId,
long companyId,
int start,
int end)
Returns a range of all the commerce price lists that the user has permission to view where groupId = ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
filterFindByG_C(long groupId,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists that the user has permissions to view where groupId = ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
findAll()
Returns all the commerce price lists.
|
static java.util.List<CommercePriceList> |
findAll(int start,
int end)
Returns a range of all the commerce price lists.
|
static java.util.List<CommercePriceList> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists.
|
static java.util.List<CommercePriceList> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price lists.
|
static CommercePriceList |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce price list where companyId = ? and externalReferenceCode = ? or throws a
NoSuchPriceListException if it could not be found. |
static CommercePriceList |
findByCommerceCurrencyId_First(long commerceCurrencyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where commerceCurrencyId = ?.
|
static CommercePriceList |
findByCommerceCurrencyId_Last(long commerceCurrencyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where commerceCurrencyId = ?.
|
static CommercePriceList[] |
findByCommerceCurrencyId_PrevAndNext(long commercePriceListId,
long commerceCurrencyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the commerce price lists before and after the current commerce price list in the ordered set where commerceCurrencyId = ?.
|
static java.util.List<CommercePriceList> |
findByCommerceCurrencyId(long commerceCurrencyId)
Returns all the commerce price lists where commerceCurrencyId = ?.
|
static java.util.List<CommercePriceList> |
findByCommerceCurrencyId(long commerceCurrencyId,
int start,
int end)
Returns a range of all the commerce price lists where commerceCurrencyId = ?.
|
static java.util.List<CommercePriceList> |
findByCommerceCurrencyId(long commerceCurrencyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists where commerceCurrencyId = ?.
|
static java.util.List<CommercePriceList> |
findByCommerceCurrencyId(long commerceCurrencyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price lists where commerceCurrencyId = ?.
|
static CommercePriceList |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where companyId = ?.
|
static CommercePriceList |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where companyId = ?.
|
static CommercePriceList[] |
findByCompanyId_PrevAndNext(long commercePriceListId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the commerce price lists before and after the current commerce price list in the ordered set where companyId = ?.
|
static java.util.List<CommercePriceList> |
findByCompanyId(long companyId)
Returns all the commerce price lists where companyId = ?.
|
static java.util.List<CommercePriceList> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce price lists where companyId = ?.
|
static java.util.List<CommercePriceList> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists where companyId = ?.
|
static java.util.List<CommercePriceList> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price lists where companyId = ?.
|
static CommercePriceList |
findByG_C_First(long groupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where groupId = ? and companyId = ?.
|
static CommercePriceList |
findByG_C_Last(long groupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where groupId = ? and companyId = ?.
|
static CommercePriceList |
findByG_C_NotS_First(long groupId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where groupId = ? and companyId = ? and status ≠ ?.
|
static CommercePriceList |
findByG_C_NotS_Last(long groupId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where groupId = ? and companyId = ? and status ≠ ?.
|
static CommercePriceList[] |
findByG_C_NotS_PrevAndNext(long commercePriceListId,
long groupId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the commerce price lists before and after the current commerce price list in the ordered set where groupId = ? and companyId = ? and status ≠ ?.
|
static java.util.List<CommercePriceList> |
findByG_C_NotS(long[] groupIds,
long companyId,
int status)
Returns all the commerce price lists where groupId = any ? and companyId = ? and status ≠ ?.
|
static java.util.List<CommercePriceList> |
findByG_C_NotS(long[] groupIds,
long companyId,
int status,
int start,
int end)
Returns a range of all the commerce price lists where groupId = any ? and companyId = ? and status ≠ ?.
|
static java.util.List<CommercePriceList> |
findByG_C_NotS(long[] groupIds,
long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists where groupId = any ? and companyId = ? and status ≠ ?.
|
static java.util.List<CommercePriceList> |
findByG_C_NotS(long[] groupIds,
long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price lists where groupId = ? and companyId = ? and status ≠ ?, optionally using the finder cache.
|
static java.util.List<CommercePriceList> |
findByG_C_NotS(long groupId,
long companyId,
int status)
Returns all the commerce price lists where groupId = ? and companyId = ? and status ≠ ?.
|
static java.util.List<CommercePriceList> |
findByG_C_NotS(long groupId,
long companyId,
int status,
int start,
int end)
Returns a range of all the commerce price lists where groupId = ? and companyId = ? and status ≠ ?.
|
static java.util.List<CommercePriceList> |
findByG_C_NotS(long groupId,
long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists where groupId = ? and companyId = ? and status ≠ ?.
|
static java.util.List<CommercePriceList> |
findByG_C_NotS(long groupId,
long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price lists where groupId = ? and companyId = ? and status ≠ ?.
|
static CommercePriceList[] |
findByG_C_PrevAndNext(long commercePriceListId,
long groupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the commerce price lists before and after the current commerce price list in the ordered set where groupId = ? and companyId = ?.
|
static CommercePriceList |
findByG_C_S_First(long groupId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where groupId = ? and companyId = ? and status = ?.
|
static CommercePriceList |
findByG_C_S_Last(long groupId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where groupId = ? and companyId = ? and status = ?.
|
static CommercePriceList[] |
findByG_C_S_PrevAndNext(long commercePriceListId,
long groupId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the commerce price lists before and after the current commerce price list in the ordered set where groupId = ? and companyId = ? and status = ?.
|
static java.util.List<CommercePriceList> |
findByG_C_S(long[] groupIds,
long companyId,
int status)
Returns all the commerce price lists where groupId = any ? and companyId = ? and status = ?.
|
static java.util.List<CommercePriceList> |
findByG_C_S(long[] groupIds,
long companyId,
int status,
int start,
int end)
Returns a range of all the commerce price lists where groupId = any ? and companyId = ? and status = ?.
|
static java.util.List<CommercePriceList> |
findByG_C_S(long[] groupIds,
long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists where groupId = any ? and companyId = ? and status = ?.
|
static java.util.List<CommercePriceList> |
findByG_C_S(long[] groupIds,
long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price lists where groupId = ? and companyId = ? and status = ?, optionally using the finder cache.
|
static java.util.List<CommercePriceList> |
findByG_C_S(long groupId,
long companyId,
int status)
Returns all the commerce price lists where groupId = ? and companyId = ? and status = ?.
|
static java.util.List<CommercePriceList> |
findByG_C_S(long groupId,
long companyId,
int status,
int start,
int end)
Returns a range of all the commerce price lists where groupId = ? and companyId = ? and status = ?.
|
static java.util.List<CommercePriceList> |
findByG_C_S(long groupId,
long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists where groupId = ? and companyId = ? and status = ?.
|
static java.util.List<CommercePriceList> |
findByG_C_S(long groupId,
long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price lists where groupId = ? and companyId = ? and status = ?.
|
static CommercePriceList |
findByG_C_T(long groupId,
boolean catalogBasePriceList,
java.lang.String type)
Returns the commerce price list where groupId = ? and catalogBasePriceList = ? and type = ? or throws a
NoSuchPriceListException if it could not be found. |
static java.util.List<CommercePriceList> |
findByG_C(long[] groupIds,
long companyId)
Returns all the commerce price lists where groupId = any ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
findByG_C(long[] groupIds,
long companyId,
int start,
int end)
Returns a range of all the commerce price lists where groupId = any ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
findByG_C(long[] groupIds,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists where groupId = any ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
findByG_C(long[] groupIds,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price lists where groupId = ? and companyId = ?, optionally using the finder cache.
|
static java.util.List<CommercePriceList> |
findByG_C(long groupId,
long companyId)
Returns all the commerce price lists where groupId = ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
findByG_C(long groupId,
long companyId,
int start,
int end)
Returns a range of all the commerce price lists where groupId = ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
findByG_C(long groupId,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists where groupId = ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
findByG_C(long groupId,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price lists where groupId = ? and companyId = ?.
|
static CommercePriceList |
findByG_CatalogBasePriceList(long groupId,
boolean catalogBasePriceList)
Returns the commerce price list where groupId = ? and catalogBasePriceList = ? or throws a
NoSuchPriceListException if it could not be found. |
static CommercePriceList |
findByLtD_S_First(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where displayDate < ? and status = ?.
|
static CommercePriceList |
findByLtD_S_Last(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where displayDate < ? and status = ?.
|
static CommercePriceList[] |
findByLtD_S_PrevAndNext(long commercePriceListId,
java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the commerce price lists before and after the current commerce price list in the ordered set where displayDate < ? and status = ?.
|
static java.util.List<CommercePriceList> |
findByLtD_S(java.util.Date displayDate,
int status)
Returns all the commerce price lists where displayDate < ? and status = ?.
|
static java.util.List<CommercePriceList> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end)
Returns a range of all the commerce price lists where displayDate < ? and status = ?.
|
static java.util.List<CommercePriceList> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists where displayDate < ? and status = ?.
|
static java.util.List<CommercePriceList> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price lists where displayDate < ? and status = ?.
|
static CommercePriceList |
findByParentCommercePriceListId(long parentCommercePriceListId)
Returns the commerce price list where parentCommercePriceListId = ? or throws a
NoSuchPriceListException if it could not be found. |
static CommercePriceList |
findByPrimaryKey(long commercePriceListId)
Returns the commerce price list with the primary key or throws a
NoSuchPriceListException if it could not be found. |
static CommercePriceList |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where uuid = ? and companyId = ?.
|
static CommercePriceList |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where uuid = ? and companyId = ?.
|
static CommercePriceList[] |
findByUuid_C_PrevAndNext(long commercePriceListId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the commerce price lists before and after the current commerce price list in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce price lists where uuid = ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce price lists where uuid = ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists where uuid = ? and companyId = ?.
|
static java.util.List<CommercePriceList> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price lists where uuid = ? and companyId = ?.
|
static CommercePriceList |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the first commerce price list in the ordered set where uuid = ?.
|
static CommercePriceList |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce price list where uuid = ? and groupId = ? or throws a
NoSuchPriceListException if it could not be found. |
static CommercePriceList |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the last commerce price list in the ordered set where uuid = ?.
|
static CommercePriceList[] |
findByUuid_PrevAndNext(long commercePriceListId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns the commerce price lists before and after the current commerce price list in the ordered set where uuid = ?.
|
static java.util.List<CommercePriceList> |
findByUuid(java.lang.String uuid)
Returns all the commerce price lists where uuid = ?.
|
static java.util.List<CommercePriceList> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce price lists where uuid = ?.
|
static java.util.List<CommercePriceList> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
Returns an ordered range of all the commerce price lists where uuid = ?.
|
static java.util.List<CommercePriceList> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price lists where uuid = ?.
|
static java.util.List<CommercePriceList> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommercePriceList> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommercePriceList> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) |
static CommercePriceListPersistence |
getPersistence() |
static CommercePriceList |
remove(long commercePriceListId)
Removes the commerce price list with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce price lists from the database.
|
static CommercePriceList |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the commerce price list where companyId = ? and externalReferenceCode = ? from the database.
|
static void |
removeByCommerceCurrencyId(long commerceCurrencyId)
Removes all the commerce price lists where commerceCurrencyId = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the commerce price lists where companyId = ? from the database.
|
static void |
removeByG_C_NotS(long groupId,
long companyId,
int status)
Removes all the commerce price lists 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 lists where groupId = ? and companyId = ? and status = ? from the database.
|
static CommercePriceList |
removeByG_C_T(long groupId,
boolean catalogBasePriceList,
java.lang.String type)
Removes the commerce price list where groupId = ? and catalogBasePriceList = ? and type = ? from the database.
|
static void |
removeByG_C(long groupId,
long companyId)
Removes all the commerce price lists where groupId = ? and companyId = ? from the database.
|
static CommercePriceList |
removeByG_CatalogBasePriceList(long groupId,
boolean catalogBasePriceList)
Removes the commerce price list where groupId = ? and catalogBasePriceList = ? from the database.
|
static void |
removeByLtD_S(java.util.Date displayDate,
int status)
Removes all the commerce price lists where displayDate < ? and status = ? from the database.
|
static CommercePriceList |
removeByParentCommercePriceListId(long parentCommercePriceListId)
Removes the commerce price list where parentCommercePriceListId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce price lists where uuid = ? and companyId = ? from the database.
|
static CommercePriceList |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce price list where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the commerce price lists where uuid = ? from the database.
|
static CommercePriceList |
update(CommercePriceList commercePriceList) |
static CommercePriceList |
update(CommercePriceList commercePriceList,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommercePriceList |
updateImpl(CommercePriceList commercePriceList) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommercePriceList commercePriceList)
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,CommercePriceList> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommercePriceList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommercePriceList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommercePriceList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommercePriceList update(CommercePriceList commercePriceList)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommercePriceList update(CommercePriceList commercePriceList, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommercePriceList> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommercePriceList> 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 CommercePriceListModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceList findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list could not be foundpublic static CommercePriceList findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list could not be foundpublic static CommercePriceList[] findByUuid_PrevAndNext(long commercePriceListId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
commercePriceListId
- the primary key of the current commerce price listuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a commerce price list 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 CommercePriceList findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPriceListException
NoSuchPriceListException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList 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 list could not be foundpublic static CommercePriceList 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 list could not be foundpublic static CommercePriceList removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPriceListException
uuid
- the uuidgroupId
- the group IDNoSuchPriceListException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<CommercePriceList> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommercePriceList> 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 CommercePriceListModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceList findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list could not be foundpublic static CommercePriceList findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list could not be foundpublic static CommercePriceList[] findByUuid_C_PrevAndNext(long commercePriceListId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
commercePriceListId
- the primary key of the current commerce price listuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a commerce price list 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<CommercePriceList> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<CommercePriceList> 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 CommercePriceListModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceList findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list could not be foundpublic static CommercePriceList findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list could not be foundpublic static CommercePriceList[] findByCompanyId_PrevAndNext(long commercePriceListId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
commercePriceListId
- the primary key of the current commerce price listcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a commerce price list 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<CommercePriceList> findByCommerceCurrencyId(long commerceCurrencyId)
commerceCurrencyId
- the commerce currency IDpublic static java.util.List<CommercePriceList> findByCommerceCurrencyId(long commerceCurrencyId, 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 CommercePriceListModelImpl
.
commerceCurrencyId
- the commerce currency IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> findByCommerceCurrencyId(long commerceCurrencyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
commerceCurrencyId
- the commerce currency IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> findByCommerceCurrencyId(long commerceCurrencyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
commerceCurrencyId
- the commerce currency IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceList findByCommerceCurrencyId_First(long commerceCurrencyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
commerceCurrencyId
- the commerce currency IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByCommerceCurrencyId_First(long commerceCurrencyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
commerceCurrencyId
- the commerce currency IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list could not be foundpublic static CommercePriceList findByCommerceCurrencyId_Last(long commerceCurrencyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
commerceCurrencyId
- the commerce currency IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByCommerceCurrencyId_Last(long commerceCurrencyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
commerceCurrencyId
- the commerce currency IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list could not be foundpublic static CommercePriceList[] findByCommerceCurrencyId_PrevAndNext(long commercePriceListId, long commerceCurrencyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
commercePriceListId
- the primary key of the current commerce price listcommerceCurrencyId
- the commerce currency IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a commerce price list with the primary key could not be foundpublic static void removeByCommerceCurrencyId(long commerceCurrencyId)
commerceCurrencyId
- the commerce currency IDpublic static int countByCommerceCurrencyId(long commerceCurrencyId)
commerceCurrencyId
- the commerce currency IDpublic static CommercePriceList findByParentCommercePriceListId(long parentCommercePriceListId) throws NoSuchPriceListException
NoSuchPriceListException
if it could not be found.parentCommercePriceListId
- the parent commerce price list IDNoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByParentCommercePriceListId(long parentCommercePriceListId)
null
if it could not be found. Uses the finder cache.parentCommercePriceListId
- the parent commerce price list IDnull
if a matching commerce price list could not be foundpublic static CommercePriceList fetchByParentCommercePriceListId(long parentCommercePriceListId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.parentCommercePriceListId
- the parent commerce price list IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce price list could not be foundpublic static CommercePriceList removeByParentCommercePriceListId(long parentCommercePriceListId) throws NoSuchPriceListException
parentCommercePriceListId
- the parent commerce price list IDNoSuchPriceListException
public static int countByParentCommercePriceListId(long parentCommercePriceListId)
parentCommercePriceListId
- the parent commerce price list IDpublic static java.util.List<CommercePriceList> findByG_C(long groupId, long companyId)
groupId
- the group IDcompanyId
- the company IDpublic static java.util.List<CommercePriceList> findByG_C(long groupId, 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> findByG_C(long groupId, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> findByG_C(long groupId, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceList findByG_C_First(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
groupId
- the group IDcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByG_C_First(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
groupId
- the group IDcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list could not be foundpublic static CommercePriceList findByG_C_Last(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
groupId
- the group IDcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByG_C_Last(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
groupId
- the group IDcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list could not be foundpublic static CommercePriceList[] findByG_C_PrevAndNext(long commercePriceListId, long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
commercePriceListId
- the primary key of the current commerce price listgroupId
- the group IDcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a commerce price list with the primary key could not be foundpublic static java.util.List<CommercePriceList> filterFindByG_C(long groupId, long companyId)
groupId
- the group IDcompanyId
- the company IDpublic static java.util.List<CommercePriceList> filterFindByG_C(long groupId, 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> filterFindByG_C(long groupId, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CommercePriceList[] filterFindByG_C_PrevAndNext(long commercePriceListId, long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
commercePriceListId
- the primary key of the current commerce price listgroupId
- the group IDcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a commerce price list with the primary key could not be foundpublic static java.util.List<CommercePriceList> filterFindByG_C(long[] groupIds, long companyId)
groupIds
- the group IDscompanyId
- the company IDpublic static java.util.List<CommercePriceList> filterFindByG_C(long[] groupIds, 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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> filterFindByG_C(long[] groupIds, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> findByG_C(long[] groupIds, long companyId)
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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDpublic static java.util.List<CommercePriceList> findByG_C(long[] groupIds, 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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> findByG_C(long[] groupIds, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> findByG_C(long[] groupIds, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_C(long groupId, long companyId)
groupId
- the group IDcompanyId
- the company IDpublic static int countByG_C(long groupId, long companyId)
groupId
- the group IDcompanyId
- the company IDpublic static int countByG_C(long[] groupIds, long companyId)
groupIds
- the group IDscompanyId
- the company IDpublic static int filterCountByG_C(long groupId, long companyId)
groupId
- the group IDcompanyId
- the company IDpublic static int filterCountByG_C(long[] groupIds, long companyId)
groupIds
- the group IDscompanyId
- the company IDpublic static CommercePriceList findByG_CatalogBasePriceList(long groupId, boolean catalogBasePriceList) throws NoSuchPriceListException
NoSuchPriceListException
if it could not be found.groupId
- the group IDcatalogBasePriceList
- the catalog base price listNoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByG_CatalogBasePriceList(long groupId, boolean catalogBasePriceList)
null
if it could not be found. Uses the finder cache.groupId
- the group IDcatalogBasePriceList
- the catalog base price listnull
if a matching commerce price list could not be foundpublic static CommercePriceList fetchByG_CatalogBasePriceList(long groupId, boolean catalogBasePriceList, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDcatalogBasePriceList
- the catalog base price listuseFinderCache
- whether to use the finder cachenull
if a matching commerce price list could not be foundpublic static CommercePriceList removeByG_CatalogBasePriceList(long groupId, boolean catalogBasePriceList) throws NoSuchPriceListException
groupId
- the group IDcatalogBasePriceList
- the catalog base price listNoSuchPriceListException
public static int countByG_CatalogBasePriceList(long groupId, boolean catalogBasePriceList)
groupId
- the group IDcatalogBasePriceList
- the catalog base price listpublic static java.util.List<CommercePriceList> findByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static java.util.List<CommercePriceList> 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 CommercePriceListModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceList findByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list could not be foundpublic static CommercePriceList findByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list could not be foundpublic static CommercePriceList[] findByLtD_S_PrevAndNext(long commercePriceListId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
commercePriceListId
- the primary key of the current commerce price listdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a commerce price list 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<CommercePriceList> findByG_C_S(long groupId, long companyId, int status)
groupId
- the group IDcompanyId
- the company IDstatus
- the statuspublic static java.util.List<CommercePriceList> 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> findByG_C_S(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> findByG_C_S(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceList findByG_C_S_First(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByG_C_S_First(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 list could not be foundpublic static CommercePriceList findByG_C_S_Last(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByG_C_S_Last(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 list could not be foundpublic static CommercePriceList[] findByG_C_S_PrevAndNext(long commercePriceListId, long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
commercePriceListId
- the primary key of the current commerce price listgroupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a commerce price list with the primary key could not be foundpublic static java.util.List<CommercePriceList> filterFindByG_C_S(long groupId, long companyId, int status)
groupId
- the group IDcompanyId
- the company IDstatus
- the statuspublic static java.util.List<CommercePriceList> filterFindByG_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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> filterFindByG_C_S(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CommercePriceList[] filterFindByG_C_S_PrevAndNext(long commercePriceListId, long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
commercePriceListId
- the primary key of the current commerce price listgroupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a commerce price list with the primary key could not be foundpublic static java.util.List<CommercePriceList> filterFindByG_C_S(long[] groupIds, long companyId, int status)
groupIds
- the group IDscompanyId
- the company IDstatus
- the statuspublic static java.util.List<CommercePriceList> filterFindByG_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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> filterFindByG_C_S(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> 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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstatus
- the statuspublic static java.util.List<CommercePriceList> 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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> findByG_C_S(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> findByG_C_S(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (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 int filterCountByG_C_S(long groupId, long companyId, int status)
groupId
- the group IDcompanyId
- the company IDstatus
- the statuspublic static int filterCountByG_C_S(long[] groupIds, long companyId, int status)
groupIds
- the group IDscompanyId
- the company IDstatus
- the statuspublic static java.util.List<CommercePriceList> findByG_C_NotS(long groupId, long companyId, int status)
groupId
- the group IDcompanyId
- the company IDstatus
- the statuspublic static java.util.List<CommercePriceList> 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> findByG_C_NotS(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> findByG_C_NotS(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommercePriceList findByG_C_NotS_First(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByG_C_NotS_First(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 list could not be foundpublic static CommercePriceList findByG_C_NotS_Last(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByG_C_NotS_Last(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 list could not be foundpublic static CommercePriceList[] findByG_C_NotS_PrevAndNext(long commercePriceListId, long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
commercePriceListId
- the primary key of the current commerce price listgroupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a commerce price list with the primary key could not be foundpublic static java.util.List<CommercePriceList> filterFindByG_C_NotS(long groupId, long companyId, int status)
groupId
- the group IDcompanyId
- the company IDstatus
- the statuspublic static java.util.List<CommercePriceList> filterFindByG_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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> filterFindByG_C_NotS(long groupId, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static CommercePriceList[] filterFindByG_C_NotS_PrevAndNext(long commercePriceListId, long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException
commercePriceListId
- the primary key of the current commerce price listgroupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListException
- if a commerce price list with the primary key could not be foundpublic static java.util.List<CommercePriceList> filterFindByG_C_NotS(long[] groupIds, long companyId, int status)
groupIds
- the group IDscompanyId
- the company IDstatus
- the statuspublic static java.util.List<CommercePriceList> filterFindByG_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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> filterFindByG_C_NotS(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> 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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstatus
- the statuspublic static java.util.List<CommercePriceList> 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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> findByG_C_NotS(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupIds
- the group IDscompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> findByG_C_NotS(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
groupId
- the group IDcompanyId
- the company IDstatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (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 int filterCountByG_C_NotS(long groupId, long companyId, int status)
groupId
- the group IDcompanyId
- the company IDstatus
- the statuspublic static int filterCountByG_C_NotS(long[] groupIds, long companyId, int status)
groupIds
- the group IDscompanyId
- the company IDstatus
- the statuspublic static CommercePriceList findByG_C_T(long groupId, boolean catalogBasePriceList, java.lang.String type) throws NoSuchPriceListException
NoSuchPriceListException
if it could not be found.groupId
- the group IDcatalogBasePriceList
- the catalog base price listtype
- the typeNoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList fetchByG_C_T(long groupId, boolean catalogBasePriceList, java.lang.String type)
null
if it could not be found. Uses the finder cache.groupId
- the group IDcatalogBasePriceList
- the catalog base price listtype
- the typenull
if a matching commerce price list could not be foundpublic static CommercePriceList fetchByG_C_T(long groupId, boolean catalogBasePriceList, java.lang.String type, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDcatalogBasePriceList
- the catalog base price listtype
- the typeuseFinderCache
- whether to use the finder cachenull
if a matching commerce price list could not be foundpublic static CommercePriceList removeByG_C_T(long groupId, boolean catalogBasePriceList, java.lang.String type) throws NoSuchPriceListException
groupId
- the group IDcatalogBasePriceList
- the catalog base price listtype
- the typeNoSuchPriceListException
public static int countByG_C_T(long groupId, boolean catalogBasePriceList, java.lang.String type)
groupId
- the group IDcatalogBasePriceList
- the catalog base price listtype
- the typepublic static CommercePriceList findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchPriceListException
NoSuchPriceListException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchPriceListException
- if a matching commerce price list could not be foundpublic static CommercePriceList 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 list could not be foundpublic static CommercePriceList 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 list could not be foundpublic static CommercePriceList removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchPriceListException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchPriceListException
public static int countByC_ERC(long companyId, java.lang.String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codepublic static void cacheResult(CommercePriceList commercePriceList)
commercePriceList
- the commerce price listpublic static void cacheResult(java.util.List<CommercePriceList> commercePriceLists)
commercePriceLists
- the commerce price listspublic static CommercePriceList create(long commercePriceListId)
commercePriceListId
- the primary key for the new commerce price listpublic static CommercePriceList remove(long commercePriceListId) throws NoSuchPriceListException
commercePriceListId
- the primary key of the commerce price listNoSuchPriceListException
- if a commerce price list with the primary key could not be foundpublic static CommercePriceList updateImpl(CommercePriceList commercePriceList)
public static CommercePriceList findByPrimaryKey(long commercePriceListId) throws NoSuchPriceListException
NoSuchPriceListException
if it could not be found.commercePriceListId
- the primary key of the commerce price listNoSuchPriceListException
- if a commerce price list with the primary key could not be foundpublic static CommercePriceList fetchByPrimaryKey(long commercePriceListId)
null
if it could not be found.commercePriceListId
- the primary key of the commerce price listnull
if a commerce price list with the primary key could not be foundpublic static java.util.List<CommercePriceList> findAll()
public static java.util.List<CommercePriceList> 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 CommercePriceListModelImpl
.
start
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)public static java.util.List<CommercePriceList> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
start
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommercePriceList> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> 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 CommercePriceListModelImpl
.
start
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (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 CommercePriceListPersistence getPersistence()