Class CommercePriceListChannelRelUtil
com.liferay.commerce.price.list.service.persistence.impl.CommercePriceListChannelRelPersistenceImpl 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 voidcacheResult(CommercePriceListChannelRel commercePriceListChannelRel) Caches the commerce price list channel rel in the entity cache if it is enabled.static voidcacheResult(List<CommercePriceListChannelRel> commercePriceListChannelRels) Caches the commerce price list channel rels in the entity cache if it is enabled.static voidstatic voidclearCache(CommercePriceListChannelRel commercePriceListChannelRel) static intcountAll()Returns the number of commerce price list channel rels.static intcountByCCI_CPI(long commerceChannelId, long commercePriceListId) Returns the number of commerce price list channel rels where commerceChannelId = ? and commercePriceListId = ?.static intcountByCommercePriceListId(long commercePriceListId) Returns the number of commerce price list channel rels where commercePriceListId = ?.static intcountByUuid(String uuid) Returns the number of commerce price list channel rels where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of commerce price list channel rels where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommercePriceListChannelRelcreate(long CommercePriceListChannelRelId) Creates a new commerce price list channel rel with the primary key.static CommercePriceListChannelRelfetchByCCI_CPI(long commerceChannelId, long commercePriceListId) Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or returnsnullif it could not be found.static CommercePriceListChannelRelfetchByCCI_CPI(long commerceChannelId, long commercePriceListId, boolean useFinderCache) Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or returnsnullif it could not be found, optionally using the finder cache.static CommercePriceListChannelRelfetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the first commerce price list channel rel in the ordered set where commercePriceListId = ?.static CommercePriceListChannelRelfetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the last commerce price list channel rel in the ordered set where commercePriceListId = ?.static CommercePriceListChannelRelfetchByPrimaryKey(long CommercePriceListChannelRelId) Returns the commerce price list channel rel with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CommercePriceListChannelRelfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the first commerce price list channel rel in the ordered set where uuid = ? and companyId = ?.static CommercePriceListChannelRelfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the last commerce price list channel rel in the ordered set where uuid = ? and companyId = ?.static CommercePriceListChannelRelfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the first commerce price list channel rel in the ordered set where uuid = ?.static CommercePriceListChannelRelfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the last commerce price list channel rel in the ordered set where uuid = ?.static List<CommercePriceListChannelRel>findAll()Returns all the commerce price list channel rels.static List<CommercePriceListChannelRel>findAll(int start, int end) Returns a range of all the commerce price list channel rels.static List<CommercePriceListChannelRel>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns an ordered range of all the commerce price list channel rels.static List<CommercePriceListChannelRel>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list channel rels.static CommercePriceListChannelRelfindByCCI_CPI(long commerceChannelId, long commercePriceListId) Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or throws aNoSuchPriceListChannelRelExceptionif it could not be found.static List<CommercePriceListChannelRel>findByCommercePriceListId(long commercePriceListId) Returns all the commerce price list channel rels where commercePriceListId = ?.static List<CommercePriceListChannelRel>findByCommercePriceListId(long commercePriceListId, int start, int end) Returns a range of all the commerce price list channel rels where commercePriceListId = ?.static List<CommercePriceListChannelRel>findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns an ordered range of all the commerce price list channel rels where commercePriceListId = ?.static List<CommercePriceListChannelRel>findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list channel rels where commercePriceListId = ?.static CommercePriceListChannelRelfindByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the first commerce price list channel rel in the ordered set where commercePriceListId = ?.static CommercePriceListChannelRelfindByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the last commerce price list channel rel in the ordered set where commercePriceListId = ?.static CommercePriceListChannelRel[]findByCommercePriceListId_PrevAndNext(long CommercePriceListChannelRelId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the commerce price list channel rels before and after the current commerce price list channel rel in the ordered set where commercePriceListId = ?.static CommercePriceListChannelRelfindByPrimaryKey(long CommercePriceListChannelRelId) Returns the commerce price list channel rel with the primary key or throws aNoSuchPriceListChannelRelExceptionif it could not be found.static List<CommercePriceListChannelRel>findByUuid(String uuid) Returns all the commerce price list channel rels where uuid = ?.static List<CommercePriceListChannelRel>findByUuid(String uuid, int start, int end) Returns a range of all the commerce price list channel rels where uuid = ?.static List<CommercePriceListChannelRel>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns an ordered range of all the commerce price list channel rels where uuid = ?.static List<CommercePriceListChannelRel>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list channel rels where uuid = ?.static List<CommercePriceListChannelRel>findByUuid_C(String uuid, long companyId) Returns all the commerce price list channel rels where uuid = ? and companyId = ?.static List<CommercePriceListChannelRel>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce price list channel rels where uuid = ? and companyId = ?.static List<CommercePriceListChannelRel>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns an ordered range of all the commerce price list channel rels where uuid = ? and companyId = ?.static List<CommercePriceListChannelRel>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list channel rels where uuid = ? and companyId = ?.static CommercePriceListChannelRelfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the first commerce price list channel rel in the ordered set where uuid = ? and companyId = ?.static CommercePriceListChannelRelfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the last commerce price list channel rel in the ordered set where uuid = ? and companyId = ?.static CommercePriceListChannelRel[]findByUuid_C_PrevAndNext(long CommercePriceListChannelRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the commerce price list channel rels before and after the current commerce price list channel rel in the ordered set where uuid = ? and companyId = ?.static CommercePriceListChannelRelfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the first commerce price list channel rel in the ordered set where uuid = ?.static CommercePriceListChannelRelfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the last commerce price list channel rel in the ordered set where uuid = ?.static CommercePriceListChannelRel[]findByUuid_PrevAndNext(long CommercePriceListChannelRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the commerce price list channel rels before and after the current commerce price list channel rel in the ordered set where uuid = ?.static List<CommercePriceListChannelRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommercePriceListChannelRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommercePriceListChannelRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) static CommercePriceListChannelRelremove(long CommercePriceListChannelRelId) Removes the commerce price list channel rel with the primary key from the database.static voidRemoves all the commerce price list channel rels from the database.static CommercePriceListChannelRelremoveByCCI_CPI(long commerceChannelId, long commercePriceListId) Removes the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? from the database.static voidremoveByCommercePriceListId(long commercePriceListId) Removes all the commerce price list channel rels where commercePriceListId = ? from the database.static voidremoveByUuid(String uuid) Removes all the commerce price list channel rels where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce price list channel rels where uuid = ? and companyId = ? from the database.static voidsetPersistence(CommercePriceListChannelRelPersistence persistence) static CommercePriceListChannelRelupdate(CommercePriceListChannelRel commercePriceListChannelRel) static CommercePriceListChannelRelupdate(CommercePriceListChannelRel commercePriceListChannelRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommercePriceListChannelRelupdateImpl(CommercePriceListChannelRel commercePriceListChannelRel)
-
Constructor Details
-
CommercePriceListChannelRelUtil
public CommercePriceListChannelRelUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CommercePriceListChannelRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommercePriceListChannelRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommercePriceListChannelRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommercePriceListChannelRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CommercePriceListChannelRel update(CommercePriceListChannelRel commercePriceListChannelRel) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommercePriceListChannelRel update(CommercePriceListChannelRel commercePriceListChannelRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the commerce price list channel rels where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce price list channel rels
-
findByUuid
Returns a range of all the commerce price list channel rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce price list channel relsend- the upper bound of the range of commerce price list channel rels (not inclusive)- Returns:
- the range of matching commerce price list channel rels
-
findByUuid
public static List<CommercePriceListChannelRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns an ordered range of all the commerce price list channel rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce price list channel relsend- the upper bound of the range of commerce price list channel rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price list channel rels
-
findByUuid
public static List<CommercePriceListChannelRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list channel rels where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce price list channel relsend- the upper bound of the range of commerce price list channel rels (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 list channel rels
-
findByUuid_First
public static CommercePriceListChannelRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the first commerce price list channel rel 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 channel rel
- Throws:
NoSuchPriceListChannelRelException- if a matching commerce price list channel rel could not be foundNoSuchPriceListChannelRelException
-
fetchByUuid_First
public static CommercePriceListChannelRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the first commerce price list channel rel 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 channel rel, or
nullif a matching commerce price list channel rel could not be found
-
findByUuid_Last
public static CommercePriceListChannelRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the last commerce price list channel rel 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 channel rel
- Throws:
NoSuchPriceListChannelRelException- if a matching commerce price list channel rel could not be foundNoSuchPriceListChannelRelException
-
fetchByUuid_Last
public static CommercePriceListChannelRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the last commerce price list channel rel 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 channel rel, or
nullif a matching commerce price list channel rel could not be found
-
findByUuid_PrevAndNext
public static CommercePriceListChannelRel[] findByUuid_PrevAndNext(long CommercePriceListChannelRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the commerce price list channel rels before and after the current commerce price list channel rel in the ordered set where uuid = ?.- Parameters:
CommercePriceListChannelRelId- the primary key of the current commerce price list channel reluuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException- if a commerce price list channel rel with the primary key could not be foundNoSuchPriceListChannelRelException
-
removeByUuid
Removes all the commerce price list channel rels where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of commerce price list channel rels where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce price list channel rels
-
findByUuid_C
Returns all the commerce price list channel rels where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce price list channel rels
-
findByUuid_C
public static List<CommercePriceListChannelRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce price list channel rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce price list channel relsend- the upper bound of the range of commerce price list channel rels (not inclusive)- Returns:
- the range of matching commerce price list channel rels
-
findByUuid_C
public static List<CommercePriceListChannelRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns an ordered range of all the commerce price list channel rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce price list channel relsend- the upper bound of the range of commerce price list channel rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price list channel rels
-
findByUuid_C
public static List<CommercePriceListChannelRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list channel rels where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce price list channel relsend- the upper bound of the range of commerce price list channel rels (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 list channel rels
-
findByUuid_C_First
public static CommercePriceListChannelRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the first commerce price list channel rel 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 channel rel
- Throws:
NoSuchPriceListChannelRelException- if a matching commerce price list channel rel could not be foundNoSuchPriceListChannelRelException
-
fetchByUuid_C_First
public static CommercePriceListChannelRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the first commerce price list channel rel 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 channel rel, or
nullif a matching commerce price list channel rel could not be found
-
findByUuid_C_Last
public static CommercePriceListChannelRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the last commerce price list channel rel 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 channel rel
- Throws:
NoSuchPriceListChannelRelException- if a matching commerce price list channel rel could not be foundNoSuchPriceListChannelRelException
-
fetchByUuid_C_Last
public static CommercePriceListChannelRel fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the last commerce price list channel rel 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 channel rel, or
nullif a matching commerce price list channel rel could not be found
-
findByUuid_C_PrevAndNext
public static CommercePriceListChannelRel[] findByUuid_C_PrevAndNext(long CommercePriceListChannelRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the commerce price list channel rels before and after the current commerce price list channel rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
CommercePriceListChannelRelId- the primary key of the current commerce price list channel reluuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException- if a commerce price list channel rel with the primary key could not be foundNoSuchPriceListChannelRelException
-
removeByUuid_C
Removes all the commerce price list channel rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce price list channel rels where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce price list channel rels
-
findByCommercePriceListId
Returns all the commerce price list channel rels where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list ID- Returns:
- the matching commerce price list channel rels
-
findByCommercePriceListId
public static List<CommercePriceListChannelRel> findByCommercePriceListId(long commercePriceListId, int start, int end) Returns a range of all the commerce price list channel rels where commercePriceListId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl.- Parameters:
commercePriceListId- the commerce price list IDstart- the lower bound of the range of commerce price list channel relsend- the upper bound of the range of commerce price list channel rels (not inclusive)- Returns:
- the range of matching commerce price list channel rels
-
findByCommercePriceListId
public static List<CommercePriceListChannelRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns an ordered range of all the commerce price list channel rels where commercePriceListId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl.- Parameters:
commercePriceListId- the commerce price list IDstart- the lower bound of the range of commerce price list channel relsend- the upper bound of the range of commerce price list channel rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price list channel rels
-
findByCommercePriceListId
public static List<CommercePriceListChannelRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list channel rels where commercePriceListId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl.- Parameters:
commercePriceListId- the commerce price list IDstart- the lower bound of the range of commerce price list channel relsend- the upper bound of the range of commerce price list channel rels (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 list channel rels
-
findByCommercePriceListId_First
public static CommercePriceListChannelRel findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the first commerce price list channel rel in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException- if a matching commerce price list channel rel could not be foundNoSuchPriceListChannelRelException
-
fetchByCommercePriceListId_First
public static CommercePriceListChannelRel fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the first commerce price list channel rel in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce price list channel rel, or
nullif a matching commerce price list channel rel could not be found
-
findByCommercePriceListId_Last
public static CommercePriceListChannelRel findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the last commerce price list channel rel in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException- if a matching commerce price list channel rel could not be foundNoSuchPriceListChannelRelException
-
fetchByCommercePriceListId_Last
public static CommercePriceListChannelRel fetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns the last commerce price list channel rel in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce price list channel rel, or
nullif a matching commerce price list channel rel could not be found
-
findByCommercePriceListId_PrevAndNext
public static CommercePriceListChannelRel[] findByCommercePriceListId_PrevAndNext(long CommercePriceListChannelRelId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) throws NoSuchPriceListChannelRelException Returns the commerce price list channel rels before and after the current commerce price list channel rel in the ordered set where commercePriceListId = ?.- Parameters:
CommercePriceListChannelRelId- the primary key of the current commerce price list channel relcommercePriceListId- the commerce price list IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException- if a commerce price list channel rel with the primary key could not be foundNoSuchPriceListChannelRelException
-
removeByCommercePriceListId
public static void removeByCommercePriceListId(long commercePriceListId) Removes all the commerce price list channel rels where commercePriceListId = ? from the database.- Parameters:
commercePriceListId- the commerce price list ID
-
countByCommercePriceListId
public static int countByCommercePriceListId(long commercePriceListId) Returns the number of commerce price list channel rels where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list ID- Returns:
- the number of matching commerce price list channel rels
-
findByCCI_CPI
public static CommercePriceListChannelRel findByCCI_CPI(long commerceChannelId, long commercePriceListId) throws NoSuchPriceListChannelRelException Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or throws aNoSuchPriceListChannelRelExceptionif it could not be found.- Parameters:
commerceChannelId- the commerce channel IDcommercePriceListId- the commerce price list ID- Returns:
- the matching commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException- if a matching commerce price list channel rel could not be foundNoSuchPriceListChannelRelException
-
fetchByCCI_CPI
public static CommercePriceListChannelRel fetchByCCI_CPI(long commerceChannelId, long commercePriceListId) Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
commerceChannelId- the commerce channel IDcommercePriceListId- the commerce price list ID- Returns:
- the matching commerce price list channel rel, or
nullif a matching commerce price list channel rel could not be found
-
fetchByCCI_CPI
public static CommercePriceListChannelRel fetchByCCI_CPI(long commerceChannelId, long commercePriceListId, boolean useFinderCache) Returns the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
commerceChannelId- the commerce channel IDcommercePriceListId- the commerce price list IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce price list channel rel, or
nullif a matching commerce price list channel rel could not be found
-
removeByCCI_CPI
public static CommercePriceListChannelRel removeByCCI_CPI(long commerceChannelId, long commercePriceListId) throws NoSuchPriceListChannelRelException Removes the commerce price list channel rel where commerceChannelId = ? and commercePriceListId = ? from the database.- Parameters:
commerceChannelId- the commerce channel IDcommercePriceListId- the commerce price list ID- Returns:
- the commerce price list channel rel that was removed
- Throws:
NoSuchPriceListChannelRelException
-
countByCCI_CPI
public static int countByCCI_CPI(long commerceChannelId, long commercePriceListId) Returns the number of commerce price list channel rels where commerceChannelId = ? and commercePriceListId = ?.- Parameters:
commerceChannelId- the commerce channel IDcommercePriceListId- the commerce price list ID- Returns:
- the number of matching commerce price list channel rels
-
cacheResult
Caches the commerce price list channel rel in the entity cache if it is enabled.- Parameters:
commercePriceListChannelRel- the commerce price list channel rel
-
cacheResult
Caches the commerce price list channel rels in the entity cache if it is enabled.- Parameters:
commercePriceListChannelRels- the commerce price list channel rels
-
create
Creates a new commerce price list channel rel with the primary key. Does not add the commerce price list channel rel to the database.- Parameters:
CommercePriceListChannelRelId- the primary key for the new commerce price list channel rel- Returns:
- the new commerce price list channel rel
-
remove
public static CommercePriceListChannelRel remove(long CommercePriceListChannelRelId) throws NoSuchPriceListChannelRelException Removes the commerce price list channel rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CommercePriceListChannelRelId- the primary key of the commerce price list channel rel- Returns:
- the commerce price list channel rel that was removed
- Throws:
NoSuchPriceListChannelRelException- if a commerce price list channel rel with the primary key could not be foundNoSuchPriceListChannelRelException
-
updateImpl
public static CommercePriceListChannelRel updateImpl(CommercePriceListChannelRel commercePriceListChannelRel) -
findByPrimaryKey
public static CommercePriceListChannelRel findByPrimaryKey(long CommercePriceListChannelRelId) throws NoSuchPriceListChannelRelException Returns the commerce price list channel rel with the primary key or throws aNoSuchPriceListChannelRelExceptionif it could not be found.- Parameters:
CommercePriceListChannelRelId- the primary key of the commerce price list channel rel- Returns:
- the commerce price list channel rel
- Throws:
NoSuchPriceListChannelRelException- if a commerce price list channel rel with the primary key could not be foundNoSuchPriceListChannelRelException
-
fetchByPrimaryKey
Returns the commerce price list channel rel with the primary key or returnsnullif it could not be found.- Parameters:
CommercePriceListChannelRelId- the primary key of the commerce price list channel rel- Returns:
- the commerce price list channel rel, or
nullif a commerce price list channel rel with the primary key could not be found
-
findAll
Returns all the commerce price list channel rels.- Returns:
- the commerce price list channel rels
-
findAll
Returns a range of all the commerce price list channel rels.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl.- Parameters:
start- the lower bound of the range of commerce price list channel relsend- the upper bound of the range of commerce price list channel rels (not inclusive)- Returns:
- the range of commerce price list channel rels
-
findAll
public static List<CommercePriceListChannelRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) Returns an ordered range of all the commerce price list channel rels.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl.- Parameters:
start- the lower bound of the range of commerce price list channel relsend- the upper bound of the range of commerce price list channel rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of commerce price list channel rels
-
findAll
public static List<CommercePriceListChannelRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list channel rels.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommercePriceListChannelRelModelImpl.- Parameters:
start- the lower bound of the range of commerce price list channel relsend- the upper bound of the range of commerce price list channel rels (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 list channel rels
-
removeAll
public static void removeAll()Removes all the commerce price list channel rels from the database. -
countAll
public static int countAll()Returns the number of commerce price list channel rels.- Returns:
- the number of commerce price list channel rels
-
getPersistence
-
setPersistence
-