Class CommercePriceListUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CommercePriceList commercePriceList) Caches the commerce price list in the entity cache if it is enabled.static void
cacheResult
(List<CommercePriceList> commercePriceLists) Caches the commerce price lists in the entity cache if it is enabled.static void
static void
clearCache
(CommercePriceList commercePriceList) static int
countAll()
Returns the number of commerce price lists.static int
countByC_C
(long companyId, String commerceCurrencyCode) Returns the number of commerce price lists where companyId = ? and commerceCurrencyCode = ?.static int
countByCompanyId
(long companyId) Returns the number of commerce price lists where companyId = ?.static int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of commerce price lists where externalReferenceCode = ? and companyId = ?.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_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, String type) Returns the number of commerce price lists where groupId = ? and catalogBasePriceList = ? and type = ?.static int
countByG_C_T_NotS
(long[] groupIds, long companyId, String type, int status) Returns the number of commerce price lists where groupId = any ? and companyId = ? and type = ? and status ≠ ?.static int
countByG_C_T_NotS
(long groupId, long companyId, String type, int status) Returns the number of commerce price lists where groupId = ? and companyId = ? and type = ? and status ≠ ?.static int
countByG_C_T_S
(long[] groupIds, long companyId, String type, int status) Returns the number of commerce price lists where groupId = any ? and companyId = ? and type = ? and status = ?.static int
countByG_C_T_S
(long groupId, long companyId, String type, int status) Returns the number of commerce price lists where groupId = ? and companyId = ? and type = ? and status = ?.static int
countByG_CBPL
(long groupId, boolean catalogBasePriceList) Returns the number of commerce price lists where groupId = ? and catalogBasePriceList = ?.static int
countByLtD_S
(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
(String uuid) Returns the number of commerce price lists where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce price lists where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of commerce price lists where uuid = ? and groupId = ?.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_C_First
(long companyId, String commerceCurrencyCode, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) Returns the first commerce price list in the ordered set where companyId = ? and commerceCurrencyCode = ?.static CommercePriceList
fetchByC_C_Last
(long companyId, String commerceCurrencyCode, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) Returns the last commerce price list in the ordered set where companyId = ? and commerceCurrencyCode = ?.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
fetchByERC_C
(String externalReferenceCode, long companyId) Returns the commerce price list where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.static CommercePriceList
fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce price list where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.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, String type) Returns the commerce price list where groupId = ? and catalogBasePriceList = ? and type = ? or returnsnull
if it could not be found.static CommercePriceList
fetchByG_C_T
(long groupId, boolean catalogBasePriceList, String type, boolean useFinderCache) Returns the commerce price list where groupId = ? and catalogBasePriceList = ? and type = ? or returnsnull
if it could not be found, optionally using the finder cache.static CommercePriceList
fetchByG_C_T_NotS_First
(long groupId, long companyId, String type, 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 type = ? and status ≠ ?.static CommercePriceList
fetchByG_C_T_NotS_Last
(long groupId, long companyId, String type, 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 type = ? and status ≠ ?.static CommercePriceList
fetchByG_C_T_S_First
(long groupId, long companyId, String type, 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 type = ? and status = ?.static CommercePriceList
fetchByG_C_T_S_Last
(long groupId, long companyId, String type, 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 type = ? and status = ?.static CommercePriceList
fetchByG_CBPL
(long groupId, boolean catalogBasePriceList) Returns the commerce price list where groupId = ? and catalogBasePriceList = ? or returnsnull
if it could not be found.static CommercePriceList
fetchByG_CBPL
(long groupId, boolean catalogBasePriceList, boolean useFinderCache) Returns the commerce price list where groupId = ? and catalogBasePriceList = ? or returnsnull
if it could not be found, optionally using the finder cache.static CommercePriceList
fetchByLtD_S_First
(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
(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 returnsnull
if it could not be found.static CommercePriceList
fetchByParentCommercePriceListId
(long parentCommercePriceListId, boolean useFinderCache) Returns the commerce price list where parentCommercePriceListId = ? or returnsnull
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 returnsnull
if it could not be found.static Map<Serializable,
CommercePriceList> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static CommercePriceList
fetchByUuid_C_First
(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
(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
(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
(String uuid, long groupId) Returns the commerce price list where uuid = ? and groupId = ? or returnsnull
if it could not be found.static CommercePriceList
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the commerce price list where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static CommercePriceList
fetchByUuid_Last
(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
(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 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_T_NotS
(long[] groupIds, long companyId, String type, int status) Returns the number of commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and type = ? and status ≠ ?.static int
filterCountByG_C_T_NotS
(long groupId, long companyId, String type, int status) Returns the number of commerce price lists that the user has permission to view where groupId = ? and companyId = ? and type = ? and status ≠ ?.static int
filterCountByG_C_T_S
(long[] groupIds, long companyId, String type, int status) Returns the number of commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and type = ? and status = ?.static int
filterCountByG_C_T_S
(long groupId, long companyId, String type, int status) Returns the number of commerce price lists that the user has permission to view where groupId = ? and companyId = ? and type = ? and status = ?.static 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 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 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 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 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 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 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 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 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 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 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 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_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 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 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 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 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 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 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 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 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 List<CommercePriceList>
filterFindByG_C_T_NotS
(long[] groupIds, long companyId, String type, int status) Returns all the commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and type = ? and status ≠ ?.static List<CommercePriceList>
filterFindByG_C_T_NotS
(long[] groupIds, long companyId, String type, 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 type = ? and status ≠ ?.static List<CommercePriceList>
filterFindByG_C_T_NotS
(long[] groupIds, long companyId, String type, 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 type = ? and status ≠ ?.static List<CommercePriceList>
filterFindByG_C_T_NotS
(long groupId, long companyId, String type, int status) Returns all the commerce price lists that the user has permission to view where groupId = ? and companyId = ? and type = ? and status ≠ ?.static List<CommercePriceList>
filterFindByG_C_T_NotS
(long groupId, long companyId, String type, 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 type = ? and status ≠ ?.static List<CommercePriceList>
filterFindByG_C_T_NotS
(long groupId, long companyId, String type, 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 type = ? and status ≠ ?.static CommercePriceList[]
filterFindByG_C_T_NotS_PrevAndNext
(long commercePriceListId, long groupId, long companyId, String type, 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 type = ? and status ≠ ?.static List<CommercePriceList>
filterFindByG_C_T_S
(long[] groupIds, long companyId, String type, int status) Returns all the commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and type = ? and status = ?.static List<CommercePriceList>
filterFindByG_C_T_S
(long[] groupIds, long companyId, String type, 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 type = ? and status = ?.static List<CommercePriceList>
filterFindByG_C_T_S
(long[] groupIds, long companyId, String type, 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 type = ? and status = ?.static List<CommercePriceList>
filterFindByG_C_T_S
(long groupId, long companyId, String type, int status) Returns all the commerce price lists that the user has permission to view where groupId = ? and companyId = ? and type = ? and status = ?.static List<CommercePriceList>
filterFindByG_C_T_S
(long groupId, long companyId, String type, 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 type = ? and status = ?.static List<CommercePriceList>
filterFindByG_C_T_S
(long groupId, long companyId, String type, 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 type = ? and status = ?.static CommercePriceList[]
filterFindByG_C_T_S_PrevAndNext
(long commercePriceListId, long groupId, long companyId, String type, 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 type = ? and status = ?.static List<CommercePriceList>
findAll()
Returns all the commerce price lists.static List<CommercePriceList>
findAll
(int start, int end) Returns a range of all the commerce price lists.static 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 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 List<CommercePriceList>
Returns all the commerce price lists where companyId = ? and commerceCurrencyCode = ?.static List<CommercePriceList>
Returns a range of all the commerce price lists where companyId = ? and commerceCurrencyCode = ?.static List<CommercePriceList>
findByC_C
(long companyId, String commerceCurrencyCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) Returns an ordered range of all the commerce price lists where companyId = ? and commerceCurrencyCode = ?.static List<CommercePriceList>
findByC_C
(long companyId, String commerceCurrencyCode, 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 = ? and commerceCurrencyCode = ?.static CommercePriceList
findByC_C_First
(long companyId, String commerceCurrencyCode, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) Returns the first commerce price list in the ordered set where companyId = ? and commerceCurrencyCode = ?.static CommercePriceList
findByC_C_Last
(long companyId, String commerceCurrencyCode, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) Returns the last commerce price list in the ordered set where companyId = ? and commerceCurrencyCode = ?.static CommercePriceList[]
findByC_C_PrevAndNext
(long commercePriceListId, long companyId, String commerceCurrencyCode, 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 = ? and commerceCurrencyCode = ?.static List<CommercePriceList>
findByCompanyId
(long companyId) Returns all the commerce price lists where companyId = ?.static List<CommercePriceList>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the commerce price lists where companyId = ?.static 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 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
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 CommercePriceList
findByERC_C
(String externalReferenceCode, long companyId) Returns the commerce price list where externalReferenceCode = ? and companyId = ? or throws aNoSuchPriceListException
if it could not be found.static List<CommercePriceList>
findByG_C
(long[] groupIds, long companyId) Returns all the commerce price lists where groupId = any ? and companyId = ?.static 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 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 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 List<CommercePriceList>
findByG_C
(long groupId, long companyId) Returns all the commerce price lists where groupId = ? and companyId = ?.static 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 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 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_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 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 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 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 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 List<CommercePriceList>
findByG_C_NotS
(long groupId, long companyId, int status) Returns all the commerce price lists where groupId = ? and companyId = ? and status ≠ ?.static 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 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 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_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 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 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 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 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 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 List<CommercePriceList>
findByG_C_S
(long groupId, long companyId, int status) Returns all the commerce price lists where groupId = ? and companyId = ? and status = ?.static 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 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 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_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 CommercePriceList
findByG_C_T
(long groupId, boolean catalogBasePriceList, String type) Returns the commerce price list where groupId = ? and catalogBasePriceList = ? and type = ? or throws aNoSuchPriceListException
if it could not be found.static List<CommercePriceList>
findByG_C_T_NotS
(long[] groupIds, long companyId, String type, int status) Returns all the commerce price lists where groupId = any ? and companyId = ? and type = ? and status ≠ ?.static List<CommercePriceList>
findByG_C_T_NotS
(long[] groupIds, long companyId, String type, int status, int start, int end) Returns a range of all the commerce price lists where groupId = any ? and companyId = ? and type = ? and status ≠ ?.static List<CommercePriceList>
findByG_C_T_NotS
(long[] groupIds, long companyId, String type, 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 type = ? and status ≠ ?.static List<CommercePriceList>
findByG_C_T_NotS
(long[] groupIds, long companyId, String type, 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 type = ? and status ≠ ?, optionally using the finder cache.static List<CommercePriceList>
findByG_C_T_NotS
(long groupId, long companyId, String type, int status) Returns all the commerce price lists where groupId = ? and companyId = ? and type = ? and status ≠ ?.static List<CommercePriceList>
findByG_C_T_NotS
(long groupId, long companyId, String type, int status, int start, int end) Returns a range of all the commerce price lists where groupId = ? and companyId = ? and type = ? and status ≠ ?.static List<CommercePriceList>
findByG_C_T_NotS
(long groupId, long companyId, String type, 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 type = ? and status ≠ ?.static List<CommercePriceList>
findByG_C_T_NotS
(long groupId, long companyId, String type, 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 type = ? and status ≠ ?.static CommercePriceList
findByG_C_T_NotS_First
(long groupId, long companyId, String type, 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 type = ? and status ≠ ?.static CommercePriceList
findByG_C_T_NotS_Last
(long groupId, long companyId, String type, 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 type = ? and status ≠ ?.static CommercePriceList[]
findByG_C_T_NotS_PrevAndNext
(long commercePriceListId, long groupId, long companyId, String type, 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 type = ? and status ≠ ?.static List<CommercePriceList>
findByG_C_T_S
(long[] groupIds, long companyId, String type, int status) Returns all the commerce price lists where groupId = any ? and companyId = ? and type = ? and status = ?.static List<CommercePriceList>
findByG_C_T_S
(long[] groupIds, long companyId, String type, int status, int start, int end) Returns a range of all the commerce price lists where groupId = any ? and companyId = ? and type = ? and status = ?.static List<CommercePriceList>
findByG_C_T_S
(long[] groupIds, long companyId, String type, 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 type = ? and status = ?.static List<CommercePriceList>
findByG_C_T_S
(long[] groupIds, long companyId, String type, 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 type = ? and status = ?, optionally using the finder cache.static List<CommercePriceList>
findByG_C_T_S
(long groupId, long companyId, String type, int status) Returns all the commerce price lists where groupId = ? and companyId = ? and type = ? and status = ?.static List<CommercePriceList>
findByG_C_T_S
(long groupId, long companyId, String type, int status, int start, int end) Returns a range of all the commerce price lists where groupId = ? and companyId = ? and type = ? and status = ?.static List<CommercePriceList>
findByG_C_T_S
(long groupId, long companyId, String type, 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 type = ? and status = ?.static List<CommercePriceList>
findByG_C_T_S
(long groupId, long companyId, String type, 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 type = ? and status = ?.static CommercePriceList
findByG_C_T_S_First
(long groupId, long companyId, String type, 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 type = ? and status = ?.static CommercePriceList
findByG_C_T_S_Last
(long groupId, long companyId, String type, 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 type = ? and status = ?.static CommercePriceList[]
findByG_C_T_S_PrevAndNext
(long commercePriceListId, long groupId, long companyId, String type, 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 type = ? and status = ?.static CommercePriceList
findByG_CBPL
(long groupId, boolean catalogBasePriceList) Returns the commerce price list where groupId = ? and catalogBasePriceList = ? or throws aNoSuchPriceListException
if it could not be found.static List<CommercePriceList>
findByLtD_S
(Date displayDate, int status) Returns all the commerce price lists where displayDate < ? and status = ?.static List<CommercePriceList>
findByLtD_S
(Date displayDate, int status, int start, int end) Returns a range of all the commerce price lists where displayDate < ? and status = ?.static List<CommercePriceList>
findByLtD_S
(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 List<CommercePriceList>
findByLtD_S
(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
findByLtD_S_First
(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
(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, 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 CommercePriceList
findByParentCommercePriceListId
(long parentCommercePriceListId) Returns the commerce price list where parentCommercePriceListId = ? or throws aNoSuchPriceListException
if it could not be found.static CommercePriceList
findByPrimaryKey
(long commercePriceListId) Returns the commerce price list with the primary key or throws aNoSuchPriceListException
if it could not be found.static List<CommercePriceList>
findByUuid
(String uuid) Returns all the commerce price lists where uuid = ?.static List<CommercePriceList>
findByUuid
(String uuid, int start, int end) Returns a range of all the commerce price lists where uuid = ?.static List<CommercePriceList>
findByUuid
(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 List<CommercePriceList>
findByUuid
(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 List<CommercePriceList>
findByUuid_C
(String uuid, long companyId) Returns all the commerce price lists where uuid = ? and companyId = ?.static List<CommercePriceList>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce price lists where uuid = ? and companyId = ?.static List<CommercePriceList>
findByUuid_C
(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 List<CommercePriceList>
findByUuid_C
(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_C_First
(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
(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, 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 CommercePriceList
findByUuid_First
(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
(String uuid, long groupId) Returns the commerce price list where uuid = ? and groupId = ? or throws aNoSuchPriceListException
if it could not be found.static CommercePriceList
findByUuid_Last
(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, 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 List<CommercePriceList>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommercePriceList>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static 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
static CommercePriceList
remove
(long commercePriceListId) Removes the commerce price list with the primary key from the database.static void
Removes all the commerce price lists from the database.static void
removeByC_C
(long companyId, String commerceCurrencyCode) Removes all the commerce price lists where companyId = ? and commerceCurrencyCode = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the commerce price lists where companyId = ? from the database.static CommercePriceList
removeByERC_C
(String externalReferenceCode, long companyId) Removes the commerce price list where externalReferenceCode = ? and companyId = ? 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 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, String type) Removes the commerce price list where groupId = ? and catalogBasePriceList = ? and type = ? from the database.static void
removeByG_C_T_NotS
(long groupId, long companyId, String type, int status) Removes all the commerce price lists where groupId = ? and companyId = ? and type = ? and status ≠ ? from the database.static void
removeByG_C_T_S
(long groupId, long companyId, String type, int status) Removes all the commerce price lists where groupId = ? and companyId = ? and type = ? and status = ? from the database.static CommercePriceList
removeByG_CBPL
(long groupId, boolean catalogBasePriceList) Removes the commerce price list where groupId = ? and catalogBasePriceList = ? from the database.static void
removeByLtD_S
(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
(String uuid) Removes all the commerce price lists where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce price lists where uuid = ? and companyId = ? from the database.static CommercePriceList
removeByUUID_G
(String uuid, long groupId) Removes the commerce price list where uuid = ? and groupId = ? from the database.static void
setPersistence
(CommercePriceListPersistence persistence) static CommercePriceList
update
(CommercePriceList commercePriceList) static CommercePriceList
update
(CommercePriceList commercePriceList, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommercePriceList
updateImpl
(CommercePriceList commercePriceList)
-
Constructor Details
-
CommercePriceListUtil
public CommercePriceListUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommercePriceList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommercePriceList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommercePriceList> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommercePriceList update(CommercePriceList commercePriceList, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the commerce price lists where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching commerce price lists
-
findByUuid
Returns a range of all the commerce price lists where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists
-
findByUuid
public static List<CommercePriceList> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByUuid
public static List<CommercePriceList> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
findByUuid_First
public static CommercePriceList findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the first commerce price list in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByUuid_First
public static CommercePriceList fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) Returns the first commerce price list in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByUuid_Last
public static CommercePriceList findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the last commerce price list in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByUuid_Last
public static CommercePriceList fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) Returns the last commerce price list in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByUuid_PrevAndNext
public static CommercePriceList[] findByUuid_PrevAndNext(long commercePriceListId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the commerce price lists before and after the current commerce price list in the ordered set where uuid = ?.- Parameters:
commercePriceListId
- the primary key of the current commerce price listuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
removeByUuid
Removes all the commerce price lists where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of commerce price lists where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching commerce price lists
-
findByUUID_G
public static CommercePriceList findByUUID_G(String uuid, long groupId) throws NoSuchPriceListException Returns the commerce price list where uuid = ? and groupId = ? or throws aNoSuchPriceListException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByUUID_G
Returns the commerce price list where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce price list, or
null
if a matching commerce price list could not be found
-
fetchByUUID_G
Returns the commerce price list where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce price list, or
null
if a matching commerce price list could not be found
-
removeByUUID_G
public static CommercePriceList removeByUUID_G(String uuid, long groupId) throws NoSuchPriceListException Removes the commerce price list where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the commerce price list that was removed
- Throws:
NoSuchPriceListException
-
countByUUID_G
Returns the number of commerce price lists where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching commerce price lists
-
findByUuid_C
Returns all the commerce price lists where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching commerce price lists
-
findByUuid_C
Returns a range of all the commerce price lists where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists
-
findByUuid_C
public static List<CommercePriceList> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByUuid_C
public static List<CommercePriceList> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
findByUuid_C_First
public static CommercePriceList findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the first commerce price list in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByUuid_C_First
public static CommercePriceList fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByUuid_C_Last
public static CommercePriceList findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the last commerce price list in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByUuid_C_Last
public static CommercePriceList fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByUuid_C_PrevAndNext
public static CommercePriceList[] findByUuid_C_PrevAndNext(long commercePriceListId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the commerce price lists before and after the current commerce price list in the ordered set where uuid = ? and companyId = ?.- Parameters:
commercePriceListId
- the primary key of the current commerce price listuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
removeByUuid_C
Removes all the commerce price lists where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of commerce price lists where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching commerce price lists
-
findByCompanyId
Returns all the commerce price lists where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching commerce price lists
-
findByCompanyId
Returns a range of all the commerce price lists where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists
-
findByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
findByCompanyId_First
public static CommercePriceList findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the first commerce price list in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByCompanyId_First
public 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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByCompanyId_Last
public static CommercePriceList findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the last commerce price list in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByCompanyId_Last
public 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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByCompanyId_PrevAndNext
public static CommercePriceList[] findByCompanyId_PrevAndNext(long commercePriceListId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the commerce price lists before and after the current commerce price list in the ordered set where companyId = ?.- Parameters:
commercePriceListId
- the primary key of the current commerce price listcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the commerce price lists where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of commerce price lists where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching commerce price lists
-
findByParentCommercePriceListId
public static CommercePriceList findByParentCommercePriceListId(long parentCommercePriceListId) throws NoSuchPriceListException Returns the commerce price list where parentCommercePriceListId = ? or throws aNoSuchPriceListException
if it could not be found.- Parameters:
parentCommercePriceListId
- the parent commerce price list ID- Returns:
- the matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByParentCommercePriceListId
Returns the commerce price list where parentCommercePriceListId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
parentCommercePriceListId
- the parent commerce price list ID- Returns:
- the matching commerce price list, or
null
if a matching commerce price list could not be found
-
fetchByParentCommercePriceListId
public static CommercePriceList fetchByParentCommercePriceListId(long parentCommercePriceListId, boolean useFinderCache) Returns the commerce price list where parentCommercePriceListId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
parentCommercePriceListId
- the parent commerce price list IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce price list, or
null
if a matching commerce price list could not be found
-
removeByParentCommercePriceListId
public static CommercePriceList removeByParentCommercePriceListId(long parentCommercePriceListId) throws NoSuchPriceListException Removes the commerce price list where parentCommercePriceListId = ? from the database.- Parameters:
parentCommercePriceListId
- the parent commerce price list ID- Returns:
- the commerce price list that was removed
- Throws:
NoSuchPriceListException
-
countByParentCommercePriceListId
public static int countByParentCommercePriceListId(long parentCommercePriceListId) Returns the number of commerce price lists where parentCommercePriceListId = ?.- Parameters:
parentCommercePriceListId
- the parent commerce price list ID- Returns:
- the number of matching commerce price lists
-
findByG_C
Returns all the commerce price lists where groupId = ? and companyId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company ID- Returns:
- the matching commerce price lists
-
findByG_C
Returns a range of all the commerce price lists where groupId = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists
-
findByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
findByG_C_First
public static CommercePriceList findByG_C_First(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the first commerce price list in the ordered set where groupId = ? and companyId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByG_C_First
public 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 = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByG_C_Last
public static CommercePriceList findByG_C_Last(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the last commerce price list in the ordered set where groupId = ? and companyId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByG_C_Last
public 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 = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByG_C_PrevAndNext
public static CommercePriceList[] findByG_C_PrevAndNext(long commercePriceListId, long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the commerce price lists before and after the current commerce price list in the ordered set where groupId = ? and companyId = ?.- Parameters:
commercePriceListId
- the primary key of the current commerce price listgroupId
- the group IDcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
filterFindByG_C
Returns all the commerce price lists that the user has permission to view where groupId = ? and companyId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company ID- Returns:
- the matching commerce price lists that the user has permission to view
-
filterFindByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists that the user has permission to view
-
filterFindByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists that the user has permission to view
-
filterFindByG_C_PrevAndNext
public static CommercePriceList[] filterFindByG_C_PrevAndNext(long commercePriceListId, long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException 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 = ?.- Parameters:
commercePriceListId
- the primary key of the current commerce price listgroupId
- the group IDcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
filterFindByG_C
Returns all the commerce price lists that the user has permission to view where groupId = any ? and companyId = ?.- Parameters:
groupIds
- the group IDscompanyId
- the company ID- Returns:
- the matching commerce price lists that the user has permission to view
-
filterFindByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists that the user has permission to view
-
filterFindByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists that the user has permission to view
-
findByG_C
Returns all the commerce price lists where groupId = any ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company ID- Returns:
- the matching commerce price lists
-
findByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists
-
findByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByG_C
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
removeByG_C
public static void removeByG_C(long groupId, long companyId) Removes all the commerce price lists where groupId = ? and companyId = ? from the database.- Parameters:
groupId
- the group IDcompanyId
- the company ID
-
countByG_C
public static int countByG_C(long groupId, long companyId) Returns the number of commerce price lists where groupId = ? and companyId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company ID- Returns:
- the number of matching commerce price lists
-
countByG_C
public static int countByG_C(long[] groupIds, long companyId) Returns the number of commerce price lists where groupId = any ? and companyId = ?.- Parameters:
groupIds
- the group IDscompanyId
- the company ID- Returns:
- the number of matching commerce price lists
-
filterCountByG_C
public 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 = ?.- Parameters:
groupId
- the group IDcompanyId
- the company ID- Returns:
- the number of matching commerce price lists that the user has permission to view
-
filterCountByG_C
public 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 = ?.- Parameters:
groupIds
- the group IDscompanyId
- the company ID- Returns:
- the number of matching commerce price lists that the user has permission to view
-
findByG_CBPL
public static CommercePriceList findByG_CBPL(long groupId, boolean catalogBasePriceList) throws NoSuchPriceListException Returns the commerce price list where groupId = ? and catalogBasePriceList = ? or throws aNoSuchPriceListException
if it could not be found.- Parameters:
groupId
- the group IDcatalogBasePriceList
- the catalog base price list- Returns:
- the matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByG_CBPL
Returns the commerce price list where groupId = ? and catalogBasePriceList = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDcatalogBasePriceList
- the catalog base price list- Returns:
- the matching commerce price list, or
null
if a matching commerce price list could not be found
-
fetchByG_CBPL
public static CommercePriceList fetchByG_CBPL(long groupId, boolean catalogBasePriceList, boolean useFinderCache) Returns the commerce price list where groupId = ? and catalogBasePriceList = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDcatalogBasePriceList
- the catalog base price listuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce price list, or
null
if a matching commerce price list could not be found
-
removeByG_CBPL
public static CommercePriceList removeByG_CBPL(long groupId, boolean catalogBasePriceList) throws NoSuchPriceListException Removes the commerce price list where groupId = ? and catalogBasePriceList = ? from the database.- Parameters:
groupId
- the group IDcatalogBasePriceList
- the catalog base price list- Returns:
- the commerce price list that was removed
- Throws:
NoSuchPriceListException
-
countByG_CBPL
public static int countByG_CBPL(long groupId, boolean catalogBasePriceList) Returns the number of commerce price lists where groupId = ? and catalogBasePriceList = ?.- Parameters:
groupId
- the group IDcatalogBasePriceList
- the catalog base price list- Returns:
- the number of matching commerce price lists
-
findByC_C
Returns all the commerce price lists where companyId = ? and commerceCurrencyCode = ?.- Parameters:
companyId
- the company IDcommerceCurrencyCode
- the commerce currency code- Returns:
- the matching commerce price lists
-
findByC_C
public static List<CommercePriceList> findByC_C(long companyId, String commerceCurrencyCode, int start, int end) Returns a range of all the commerce price lists where companyId = ? and commerceCurrencyCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
companyId
- the company IDcommerceCurrencyCode
- the commerce currency codestart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)- Returns:
- the range of matching commerce price lists
-
findByC_C
public static List<CommercePriceList> findByC_C(long companyId, String commerceCurrencyCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) Returns an ordered range of all the commerce price lists where companyId = ? and commerceCurrencyCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
companyId
- the company IDcommerceCurrencyCode
- the commerce currency codestart
- 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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByC_C
public static List<CommercePriceList> findByC_C(long companyId, String commerceCurrencyCode, 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 = ? and commerceCurrencyCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
companyId
- the company IDcommerceCurrencyCode
- the commerce currency codestart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
findByC_C_First
public static CommercePriceList findByC_C_First(long companyId, String commerceCurrencyCode, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the first commerce price list in the ordered set where companyId = ? and commerceCurrencyCode = ?.- Parameters:
companyId
- the company IDcommerceCurrencyCode
- the commerce currency codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByC_C_First
public static CommercePriceList fetchByC_C_First(long companyId, String commerceCurrencyCode, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) Returns the first commerce price list in the ordered set where companyId = ? and commerceCurrencyCode = ?.- Parameters:
companyId
- the company IDcommerceCurrencyCode
- the commerce currency codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByC_C_Last
public static CommercePriceList findByC_C_Last(long companyId, String commerceCurrencyCode, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the last commerce price list in the ordered set where companyId = ? and commerceCurrencyCode = ?.- Parameters:
companyId
- the company IDcommerceCurrencyCode
- the commerce currency codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByC_C_Last
public static CommercePriceList fetchByC_C_Last(long companyId, String commerceCurrencyCode, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) Returns the last commerce price list in the ordered set where companyId = ? and commerceCurrencyCode = ?.- Parameters:
companyId
- the company IDcommerceCurrencyCode
- the commerce currency codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByC_C_PrevAndNext
public static CommercePriceList[] findByC_C_PrevAndNext(long commercePriceListId, long companyId, String commerceCurrencyCode, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the commerce price lists before and after the current commerce price list in the ordered set where companyId = ? and commerceCurrencyCode = ?.- Parameters:
commercePriceListId
- the primary key of the current commerce price listcompanyId
- the company IDcommerceCurrencyCode
- the commerce currency codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
removeByC_C
Removes all the commerce price lists where companyId = ? and commerceCurrencyCode = ? from the database.- Parameters:
companyId
- the company IDcommerceCurrencyCode
- the commerce currency code
-
countByC_C
Returns the number of commerce price lists where companyId = ? and commerceCurrencyCode = ?.- Parameters:
companyId
- the company IDcommerceCurrencyCode
- the commerce currency code- Returns:
- the number of matching commerce price lists
-
findByLtD_S
Returns all the commerce price lists where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the matching commerce price lists
-
findByLtD_S
Returns a range of all the commerce price lists where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists
-
findByLtD_S
public static List<CommercePriceList> findByLtD_S(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByLtD_S
public static List<CommercePriceList> findByLtD_S(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
findByLtD_S_First
public static CommercePriceList findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the first commerce price list in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByLtD_S_First
public static CommercePriceList fetchByLtD_S_First(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 = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByLtD_S_Last
public static CommercePriceList findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the last commerce price list in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByLtD_S_Last
public static CommercePriceList fetchByLtD_S_Last(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 = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByLtD_S_PrevAndNext
public static CommercePriceList[] findByLtD_S_PrevAndNext(long commercePriceListId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the commerce price lists before and after the current commerce price list in the ordered set where displayDate < ? and status = ?.- Parameters:
commercePriceListId
- the primary key of the current commerce price listdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
removeByLtD_S
Removes all the commerce price lists where displayDate < ? and status = ? from the database.- Parameters:
displayDate
- the display datestatus
- the status
-
countByLtD_S
Returns the number of commerce price lists where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the number of matching commerce price lists
-
findByG_C_S
Returns all the commerce price lists where groupId = ? and companyId = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status- Returns:
- the matching commerce price lists
-
findByG_C_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists
-
findByG_C_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByG_C_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
findByG_C_S_First
public static CommercePriceList findByG_C_S_First(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the first commerce price list in the ordered set where groupId = ? and companyId = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByG_C_S_First
public 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 = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByG_C_S_Last
public static CommercePriceList findByG_C_S_Last(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the last commerce price list in the ordered set where groupId = ? and companyId = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByG_C_S_Last
public 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 = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByG_C_S_PrevAndNext
public static CommercePriceList[] findByG_C_S_PrevAndNext(long commercePriceListId, long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the commerce price lists before and after the current commerce price list in the ordered set where groupId = ? and companyId = ? and status = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
filterFindByG_C_S
Returns all the commerce price lists that the user has permission to view where groupId = ? and companyId = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status- Returns:
- the matching commerce price lists that the user has permission to view
-
filterFindByG_C_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists that the user has permission to view
-
filterFindByG_C_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists that the user has permission to view
-
filterFindByG_C_S_PrevAndNext
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 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
filterFindByG_C_S
public static 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 = ?.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the status- Returns:
- the matching commerce price lists that the user has permission to view
-
filterFindByG_C_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists that the user has permission to view
-
filterFindByG_C_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists that the user has permission to view
-
findByG_C_S
Returns all the commerce price lists where groupId = any ? and companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the status- Returns:
- the matching commerce price lists
-
findByG_C_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists
-
findByG_C_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByG_C_S
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
removeByG_C_S
public 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.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status
-
countByG_C_S
public static int countByG_C_S(long groupId, long companyId, int status) Returns the number of commerce price lists where groupId = ? and companyId = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status- Returns:
- the number of matching commerce price lists
-
countByG_C_S
public 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 = ?.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the status- Returns:
- the number of matching commerce price lists
-
filterCountByG_C_S
public 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 = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status- Returns:
- the number of matching commerce price lists that the user has permission to view
-
filterCountByG_C_S
public 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 = ?.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the status- Returns:
- the number of matching commerce price lists that the user has permission to view
-
findByG_C_NotS
Returns all the commerce price lists where groupId = ? and companyId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status- Returns:
- the matching commerce price lists
-
findByG_C_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists
-
findByG_C_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByG_C_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
findByG_C_NotS_First
public static CommercePriceList findByG_C_NotS_First(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the first commerce price list in the ordered set where groupId = ? and companyId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByG_C_NotS_First
public 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 ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByG_C_NotS_Last
public static CommercePriceList findByG_C_NotS_Last(long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the last commerce price list in the ordered set where groupId = ? and companyId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByG_C_NotS_Last
public 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 ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByG_C_NotS_PrevAndNext
public static CommercePriceList[] findByG_C_NotS_PrevAndNext(long commercePriceListId, long groupId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the commerce price lists before and after the current commerce price list in the ordered set where groupId = ? and companyId = ? and status ≠ ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
filterFindByG_C_NotS
public static 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 ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status- Returns:
- the matching commerce price lists that the user has permission to view
-
filterFindByG_C_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists that the user has permission to view
-
filterFindByG_C_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists that the user has permission to view
-
filterFindByG_C_NotS_PrevAndNext
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 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 ≠ ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
filterFindByG_C_NotS
public static 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 ≠ ?.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the status- Returns:
- the matching commerce price lists that the user has permission to view
-
filterFindByG_C_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists that the user has permission to view
-
filterFindByG_C_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists that the user has permission to view
-
findByG_C_NotS
Returns all the commerce price lists where groupId = any ? and companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the status- Returns:
- the matching commerce price lists
-
findByG_C_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce price lists
-
findByG_C_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByG_C_NotS
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
removeByG_C_NotS
public 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.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status
-
countByG_C_NotS
public static int countByG_C_NotS(long groupId, long companyId, int status) Returns the number of commerce price lists where groupId = ? and companyId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status- Returns:
- the number of matching commerce price lists
-
countByG_C_NotS
public 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 ≠ ?.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the status- Returns:
- the number of matching commerce price lists
-
filterCountByG_C_NotS
public 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 ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDstatus
- the status- Returns:
- the number of matching commerce price lists that the user has permission to view
-
filterCountByG_C_NotS
public 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 ≠ ?.- Parameters:
groupIds
- the group IDscompanyId
- the company IDstatus
- the status- Returns:
- the number of matching commerce price lists that the user has permission to view
-
findByG_C_T
public static CommercePriceList findByG_C_T(long groupId, boolean catalogBasePriceList, String type) throws NoSuchPriceListException Returns the commerce price list where groupId = ? and catalogBasePriceList = ? and type = ? or throws aNoSuchPriceListException
if it could not be found.- Parameters:
groupId
- the group IDcatalogBasePriceList
- the catalog base price listtype
- the type- Returns:
- the matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByG_C_T
public static CommercePriceList fetchByG_C_T(long groupId, boolean catalogBasePriceList, String type) Returns the commerce price list where groupId = ? and catalogBasePriceList = ? and type = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDcatalogBasePriceList
- the catalog base price listtype
- the type- Returns:
- the matching commerce price list, or
null
if a matching commerce price list could not be found
-
fetchByG_C_T
public static CommercePriceList fetchByG_C_T(long groupId, boolean catalogBasePriceList, String type, boolean useFinderCache) Returns the commerce price list where groupId = ? and catalogBasePriceList = ? and type = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDcatalogBasePriceList
- the catalog base price listtype
- the typeuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce price list, or
null
if a matching commerce price list could not be found
-
removeByG_C_T
public static CommercePriceList removeByG_C_T(long groupId, boolean catalogBasePriceList, String type) throws NoSuchPriceListException Removes the commerce price list where groupId = ? and catalogBasePriceList = ? and type = ? from the database.- Parameters:
groupId
- the group IDcatalogBasePriceList
- the catalog base price listtype
- the type- Returns:
- the commerce price list that was removed
- Throws:
NoSuchPriceListException
-
countByG_C_T
Returns the number of commerce price lists where groupId = ? and catalogBasePriceList = ? and type = ?.- Parameters:
groupId
- the group IDcatalogBasePriceList
- the catalog base price listtype
- the type- Returns:
- the number of matching commerce price lists
-
findByG_C_T_S
public static List<CommercePriceList> findByG_C_T_S(long groupId, long companyId, String type, int status) Returns all the commerce price lists where groupId = ? and companyId = ? and type = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the matching commerce price lists
-
findByG_C_T_S
public static List<CommercePriceList> findByG_C_T_S(long groupId, long companyId, String type, int status, int start, int end) Returns a range of all the commerce price lists where groupId = ? and companyId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)- Returns:
- the range of matching commerce price lists
-
findByG_C_T_S
public static List<CommercePriceList> findByG_C_T_S(long groupId, long companyId, String type, 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 type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- 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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByG_C_T_S
public static List<CommercePriceList> findByG_C_T_S(long groupId, long companyId, String type, 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 type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
findByG_C_T_S_First
public static CommercePriceList findByG_C_T_S_First(long groupId, long companyId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the first commerce price list in the ordered set where groupId = ? and companyId = ? and type = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByG_C_T_S_First
public static CommercePriceList fetchByG_C_T_S_First(long groupId, long companyId, String type, 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 type = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByG_C_T_S_Last
public static CommercePriceList findByG_C_T_S_Last(long groupId, long companyId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the last commerce price list in the ordered set where groupId = ? and companyId = ? and type = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByG_C_T_S_Last
public static CommercePriceList fetchByG_C_T_S_Last(long groupId, long companyId, String type, 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 type = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByG_C_T_S_PrevAndNext
public static CommercePriceList[] findByG_C_T_S_PrevAndNext(long commercePriceListId, long groupId, long companyId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the commerce price lists before and after the current commerce price list in the ordered set where groupId = ? and companyId = ? and type = ? and status = ?.- Parameters:
commercePriceListId
- the primary key of the current commerce price listgroupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
filterFindByG_C_T_S
public static List<CommercePriceList> filterFindByG_C_T_S(long groupId, long companyId, String type, int status) Returns all the commerce price lists that the user has permission to view where groupId = ? and companyId = ? and type = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the matching commerce price lists that the user has permission to view
-
filterFindByG_C_T_S
public static List<CommercePriceList> filterFindByG_C_T_S(long groupId, long companyId, String type, 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 type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)- Returns:
- the range of matching commerce price lists that the user has permission to view
-
filterFindByG_C_T_S
public static List<CommercePriceList> filterFindByG_C_T_S(long groupId, long companyId, String type, 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 type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- 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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists that the user has permission to view
-
filterFindByG_C_T_S_PrevAndNext
public static CommercePriceList[] filterFindByG_C_T_S_PrevAndNext(long commercePriceListId, long groupId, long companyId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException 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 type = ? and status = ?.- Parameters:
commercePriceListId
- the primary key of the current commerce price listgroupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
filterFindByG_C_T_S
public static List<CommercePriceList> filterFindByG_C_T_S(long[] groupIds, long companyId, String type, int status) Returns all the commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and type = ? and status = ?.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the matching commerce price lists that the user has permission to view
-
filterFindByG_C_T_S
public static List<CommercePriceList> filterFindByG_C_T_S(long[] groupIds, long companyId, String type, 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 type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)- Returns:
- the range of matching commerce price lists that the user has permission to view
-
filterFindByG_C_T_S
public static List<CommercePriceList> filterFindByG_C_T_S(long[] groupIds, long companyId, String type, 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 type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- 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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists that the user has permission to view
-
findByG_C_T_S
public static List<CommercePriceList> findByG_C_T_S(long[] groupIds, long companyId, String type, int status) Returns all the commerce price lists where groupId = any ? and companyId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the matching commerce price lists
-
findByG_C_T_S
public static List<CommercePriceList> findByG_C_T_S(long[] groupIds, long companyId, String type, int status, int start, int end) Returns a range of all the commerce price lists where groupId = any ? and companyId = ? and type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)- Returns:
- the range of matching commerce price lists
-
findByG_C_T_S
public static List<CommercePriceList> findByG_C_T_S(long[] groupIds, long companyId, String type, 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 type = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- 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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByG_C_T_S
public static List<CommercePriceList> findByG_C_T_S(long[] groupIds, long companyId, String type, 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 type = ? and status = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
removeByG_C_T_S
Removes all the commerce price lists where groupId = ? and companyId = ? and type = ? and status = ? from the database.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the status
-
countByG_C_T_S
Returns the number of commerce price lists where groupId = ? and companyId = ? and type = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the number of matching commerce price lists
-
countByG_C_T_S
Returns the number of commerce price lists where groupId = any ? and companyId = ? and type = ? and status = ?.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the number of matching commerce price lists
-
filterCountByG_C_T_S
Returns the number of commerce price lists that the user has permission to view where groupId = ? and companyId = ? and type = ? and status = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the number of matching commerce price lists that the user has permission to view
-
filterCountByG_C_T_S
Returns the number of commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and type = ? and status = ?.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the number of matching commerce price lists that the user has permission to view
-
findByG_C_T_NotS
public static List<CommercePriceList> findByG_C_T_NotS(long groupId, long companyId, String type, int status) Returns all the commerce price lists where groupId = ? and companyId = ? and type = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the matching commerce price lists
-
findByG_C_T_NotS
public static List<CommercePriceList> findByG_C_T_NotS(long groupId, long companyId, String type, int status, int start, int end) Returns a range of all the commerce price lists where groupId = ? and companyId = ? and type = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)- Returns:
- the range of matching commerce price lists
-
findByG_C_T_NotS
public static List<CommercePriceList> findByG_C_T_NotS(long groupId, long companyId, String type, 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 type = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- 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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByG_C_T_NotS
public static List<CommercePriceList> findByG_C_T_NotS(long groupId, long companyId, String type, 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 type = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
findByG_C_T_NotS_First
public static CommercePriceList findByG_C_T_NotS_First(long groupId, long companyId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the first commerce price list in the ordered set where groupId = ? and companyId = ? and type = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByG_C_T_NotS_First
public static CommercePriceList fetchByG_C_T_NotS_First(long groupId, long companyId, String type, 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 type = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByG_C_T_NotS_Last
public static CommercePriceList findByG_C_T_NotS_Last(long groupId, long companyId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the last commerce price list in the ordered set where groupId = ? and companyId = ? and type = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByG_C_T_NotS_Last
public static CommercePriceList fetchByG_C_T_NotS_Last(long groupId, long companyId, String type, 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 type = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce price list, or
null
if a matching commerce price list could not be found
-
findByG_C_T_NotS_PrevAndNext
public static CommercePriceList[] findByG_C_T_NotS_PrevAndNext(long commercePriceListId, long groupId, long companyId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException Returns the commerce price lists before and after the current commerce price list in the ordered set where groupId = ? and companyId = ? and type = ? and status ≠ ?.- Parameters:
commercePriceListId
- the primary key of the current commerce price listgroupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
filterFindByG_C_T_NotS
public static List<CommercePriceList> filterFindByG_C_T_NotS(long groupId, long companyId, String type, int status) Returns all the commerce price lists that the user has permission to view where groupId = ? and companyId = ? and type = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the matching commerce price lists that the user has permission to view
-
filterFindByG_C_T_NotS
public static List<CommercePriceList> filterFindByG_C_T_NotS(long groupId, long companyId, String type, 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 type = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)- Returns:
- the range of matching commerce price lists that the user has permission to view
-
filterFindByG_C_T_NotS
public static List<CommercePriceList> filterFindByG_C_T_NotS(long groupId, long companyId, String type, 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 type = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- 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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists that the user has permission to view
-
filterFindByG_C_T_NotS_PrevAndNext
public static CommercePriceList[] filterFindByG_C_T_NotS_PrevAndNext(long commercePriceListId, long groupId, long companyId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws NoSuchPriceListException 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 type = ? and status ≠ ?.- Parameters:
commercePriceListId
- the primary key of the current commerce price listgroupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
filterFindByG_C_T_NotS
public static List<CommercePriceList> filterFindByG_C_T_NotS(long[] groupIds, long companyId, String type, int status) Returns all the commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and type = ? and status ≠ ?.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the matching commerce price lists that the user has permission to view
-
filterFindByG_C_T_NotS
public static List<CommercePriceList> filterFindByG_C_T_NotS(long[] groupIds, long companyId, String type, 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 type = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)- Returns:
- the range of matching commerce price lists that the user has permission to view
-
filterFindByG_C_T_NotS
public static List<CommercePriceList> filterFindByG_C_T_NotS(long[] groupIds, long companyId, String type, 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 type = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- 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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists that the user has permission to view
-
findByG_C_T_NotS
public static List<CommercePriceList> findByG_C_T_NotS(long[] groupIds, long companyId, String type, int status) Returns all the commerce price lists where groupId = any ? and companyId = ? and type = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the matching commerce price lists
-
findByG_C_T_NotS
public static List<CommercePriceList> findByG_C_T_NotS(long[] groupIds, long companyId, String type, int status, int start, int end) Returns a range of all the commerce price lists where groupId = any ? and companyId = ? and type = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- the statusstart
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)- Returns:
- the range of matching commerce price lists
-
findByG_C_T_NotS
public static List<CommercePriceList> findByG_C_T_NotS(long[] groupIds, long companyId, String type, 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 type = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- 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 (optionallynull
)- Returns:
- the ordered range of matching commerce price lists
-
findByG_C_T_NotS
public static List<CommercePriceList> findByG_C_T_NotS(long[] groupIds, long companyId, String type, 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 type = ? and status ≠ ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce price lists
-
removeByG_C_T_NotS
Removes all the commerce price lists where groupId = ? and companyId = ? and type = ? and status ≠ ? from the database.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the status
-
countByG_C_T_NotS
Returns the number of commerce price lists where groupId = ? and companyId = ? and type = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the number of matching commerce price lists
-
countByG_C_T_NotS
Returns the number of commerce price lists where groupId = any ? and companyId = ? and type = ? and status ≠ ?.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the number of matching commerce price lists
-
filterCountByG_C_T_NotS
Returns the number of commerce price lists that the user has permission to view where groupId = ? and companyId = ? and type = ? and status ≠ ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the number of matching commerce price lists that the user has permission to view
-
filterCountByG_C_T_NotS
Returns the number of commerce price lists that the user has permission to view where groupId = any ? and companyId = ? and type = ? and status ≠ ?.- Parameters:
groupIds
- the group IDscompanyId
- the company IDtype
- the typestatus
- the status- Returns:
- the number of matching commerce price lists that the user has permission to view
-
findByERC_C
public static CommercePriceList findByERC_C(String externalReferenceCode, long companyId) throws NoSuchPriceListException Returns the commerce price list where externalReferenceCode = ? and companyId = ? or throws aNoSuchPriceListException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce price list
- Throws:
NoSuchPriceListException
- if a matching commerce price list could not be foundNoSuchPriceListException
-
fetchByERC_C
Returns the commerce price list where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce price list, or
null
if a matching commerce price list could not be found
-
fetchByERC_C
public static CommercePriceList fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce price list where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce price list, or
null
if a matching commerce price list could not be found
-
removeByERC_C
public static CommercePriceList removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchPriceListException Removes the commerce price list where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the commerce price list that was removed
- Throws:
NoSuchPriceListException
-
countByERC_C
Returns the number of commerce price lists where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching commerce price lists
-
cacheResult
Caches the commerce price list in the entity cache if it is enabled.- Parameters:
commercePriceList
- the commerce price list
-
cacheResult
Caches the commerce price lists in the entity cache if it is enabled.- Parameters:
commercePriceLists
- the commerce price lists
-
create
Creates a new commerce price list with the primary key. Does not add the commerce price list to the database.- Parameters:
commercePriceListId
- the primary key for the new commerce price list- Returns:
- the new commerce price list
-
remove
Removes the commerce price list with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commercePriceListId
- the primary key of the commerce price list- Returns:
- the commerce price list that was removed
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
updateImpl
-
findByPrimaryKey
public static CommercePriceList findByPrimaryKey(long commercePriceListId) throws NoSuchPriceListException Returns the commerce price list with the primary key or throws aNoSuchPriceListException
if it could not be found.- Parameters:
commercePriceListId
- the primary key of the commerce price list- Returns:
- the commerce price list
- Throws:
NoSuchPriceListException
- if a commerce price list with the primary key could not be foundNoSuchPriceListException
-
fetchByPrimaryKey
Returns the commerce price list with the primary key or returnsnull
if it could not be found.- Parameters:
commercePriceListId
- the primary key of the commerce price list- Returns:
- the commerce price list, or
null
if a commerce price list with the primary key could not be found
-
findAll
Returns all the commerce price lists.- Returns:
- the commerce price lists
-
findAll
Returns a range of all the commerce price lists.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
start
- the lower bound of the range of commerce price listsend
- the upper bound of the range of commerce price lists (not inclusive)- Returns:
- the range of commerce price lists
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of commerce price lists
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommercePriceListModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce price lists
-
removeAll
public static void removeAll()Removes all the commerce price lists from the database. -
countAll
public static int countAll()Returns the number of commerce price lists.- Returns:
- the number of commerce price lists
-
getPersistence
-
setPersistence
-