Class CommercePriceListOrderTypeRelUtil
com.liferay.commerce.price.list.service.persistence.impl.CommercePriceListOrderTypeRelPersistenceImpl 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(CommercePriceListOrderTypeRel commercePriceListOrderTypeRel) Caches the commerce price list order type rel in the entity cache if it is enabled.static voidcacheResult(List<CommercePriceListOrderTypeRel> commercePriceListOrderTypeRels) Caches the commerce price list order type rels in the entity cache if it is enabled.static voidstatic voidclearCache(CommercePriceListOrderTypeRel commercePriceListOrderTypeRel) static intcountAll()Returns the number of commerce price list order type rels.static intcountByCommercePriceListId(long commercePriceListId) Returns the number of commerce price list order type rels where commercePriceListId = ?.static intcountByCPI_COTI(long commercePriceListId, long commerceOrderTypeId) Returns the number of commerce price list order type rels where commercePriceListId = ? and commerceOrderTypeId = ?.static intcountByUuid(String uuid) Returns the number of commerce price list order type rels where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of commerce price list order type rels where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) create(long commercePriceListOrderTypeRelId) Creates a new commerce price list order type rel with the primary key.fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the first commerce price list order type rel in the ordered set where commercePriceListId = ?.fetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the last commerce price list order type rel in the ordered set where commercePriceListId = ?.fetchByCPI_COTI(long commercePriceListId, long commerceOrderTypeId) Returns the commerce price list order type rel where commercePriceListId = ? and commerceOrderTypeId = ? or returnsnullif it could not be found.fetchByCPI_COTI(long commercePriceListId, long commerceOrderTypeId, boolean useFinderCache) Returns the commerce price list order type rel where commercePriceListId = ? and commerceOrderTypeId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long commercePriceListOrderTypeRelId) Returns the commerce price list order type rel with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the first commerce price list order type rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the last commerce price list order type rel in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the first commerce price list order type rel in the ordered set where uuid = ?.fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the last commerce price list order type rel in the ordered set where uuid = ?.static List<CommercePriceListOrderTypeRel>findAll()Returns all the commerce price list order type rels.static List<CommercePriceListOrderTypeRel>findAll(int start, int end) Returns a range of all the commerce price list order type rels.static List<CommercePriceListOrderTypeRel>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce price list order type rels.static List<CommercePriceListOrderTypeRel>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list order type rels.static List<CommercePriceListOrderTypeRel>findByCommercePriceListId(long commercePriceListId) Returns all the commerce price list order type rels where commercePriceListId = ?.static List<CommercePriceListOrderTypeRel>findByCommercePriceListId(long commercePriceListId, int start, int end) Returns a range of all the commerce price list order type rels where commercePriceListId = ?.static List<CommercePriceListOrderTypeRel>findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce price list order type rels where commercePriceListId = ?.static List<CommercePriceListOrderTypeRel>findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list order type rels where commercePriceListId = ?.findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the first commerce price list order type rel in the ordered set where commercePriceListId = ?.findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the last commerce price list order type rel in the ordered set where commercePriceListId = ?.static CommercePriceListOrderTypeRel[]findByCommercePriceListId_PrevAndNext(long commercePriceListOrderTypeRelId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the commerce price list order type rels before and after the current commerce price list order type rel in the ordered set where commercePriceListId = ?.findByCPI_COTI(long commercePriceListId, long commerceOrderTypeId) Returns the commerce price list order type rel where commercePriceListId = ? and commerceOrderTypeId = ? or throws aNoSuchPriceListOrderTypeRelExceptionif it could not be found.findByPrimaryKey(long commercePriceListOrderTypeRelId) Returns the commerce price list order type rel with the primary key or throws aNoSuchPriceListOrderTypeRelExceptionif it could not be found.static List<CommercePriceListOrderTypeRel>findByUuid(String uuid) Returns all the commerce price list order type rels where uuid = ?.static List<CommercePriceListOrderTypeRel>findByUuid(String uuid, int start, int end) Returns a range of all the commerce price list order type rels where uuid = ?.static List<CommercePriceListOrderTypeRel>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce price list order type rels where uuid = ?.static List<CommercePriceListOrderTypeRel>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list order type rels where uuid = ?.static List<CommercePriceListOrderTypeRel>findByUuid_C(String uuid, long companyId) Returns all the commerce price list order type rels where uuid = ? and companyId = ?.static List<CommercePriceListOrderTypeRel>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce price list order type rels where uuid = ? and companyId = ?.static List<CommercePriceListOrderTypeRel>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce price list order type rels where uuid = ? and companyId = ?.static List<CommercePriceListOrderTypeRel>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list order type rels where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the first commerce price list order type rel in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the last commerce price list order type rel in the ordered set where uuid = ? and companyId = ?.static CommercePriceListOrderTypeRel[]findByUuid_C_PrevAndNext(long commercePriceListOrderTypeRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the commerce price list order type rels before and after the current commerce price list order type rel in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the first commerce price list order type rel in the ordered set where uuid = ?.findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the last commerce price list order type rel in the ordered set where uuid = ?.static CommercePriceListOrderTypeRel[]findByUuid_PrevAndNext(long commercePriceListOrderTypeRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the commerce price list order type rels before and after the current commerce price list order type rel in the ordered set where uuid = ?.static List<CommercePriceListOrderTypeRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommercePriceListOrderTypeRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommercePriceListOrderTypeRel>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) remove(long commercePriceListOrderTypeRelId) Removes the commerce price list order type rel with the primary key from the database.static voidRemoves all the commerce price list order type rels from the database.static voidremoveByCommercePriceListId(long commercePriceListId) Removes all the commerce price list order type rels where commercePriceListId = ? from the database.removeByCPI_COTI(long commercePriceListId, long commerceOrderTypeId) Removes the commerce price list order type rel where commercePriceListId = ? and commerceOrderTypeId = ? from the database.static voidremoveByUuid(String uuid) Removes all the commerce price list order type rels where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce price list order type rels where uuid = ? and companyId = ? from the database.static voidsetPersistence(CommercePriceListOrderTypeRelPersistence persistence) update(CommercePriceListOrderTypeRel commercePriceListOrderTypeRel) update(CommercePriceListOrderTypeRel commercePriceListOrderTypeRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl(CommercePriceListOrderTypeRel commercePriceListOrderTypeRel)
-
Constructor Details
-
CommercePriceListOrderTypeRelUtil
public CommercePriceListOrderTypeRelUtil()
-
-
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,CommercePriceListOrderTypeRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommercePriceListOrderTypeRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommercePriceListOrderTypeRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommercePriceListOrderTypeRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CommercePriceListOrderTypeRel update(CommercePriceListOrderTypeRel commercePriceListOrderTypeRel) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommercePriceListOrderTypeRel update(CommercePriceListOrderTypeRel commercePriceListOrderTypeRel, 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 order type rels where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce price list order type rels
-
findByUuid
Returns a range of all the commerce price list order type 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 fromCommercePriceListOrderTypeRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce price list order type relsend- the upper bound of the range of commerce price list order type rels (not inclusive)- Returns:
- the range of matching commerce price list order type rels
-
findByUuid
public static List<CommercePriceListOrderTypeRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce price list order type 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 fromCommercePriceListOrderTypeRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce price list order type relsend- the upper bound of the range of commerce price list order type rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price list order type rels
-
findByUuid
public static List<CommercePriceListOrderTypeRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list order type 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 fromCommercePriceListOrderTypeRelModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce price list order type relsend- the upper bound of the range of commerce price list order type 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 order type rels
-
findByUuid_First
public static CommercePriceListOrderTypeRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException Returns the first commerce price list order type 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 order type rel
- Throws:
NoSuchPriceListOrderTypeRelException- if a matching commerce price list order type rel could not be foundNoSuchPriceListOrderTypeRelException
-
fetchByUuid_First
public static CommercePriceListOrderTypeRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the first commerce price list order type 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 order type rel, or
nullif a matching commerce price list order type rel could not be found
-
findByUuid_Last
public static CommercePriceListOrderTypeRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException Returns the last commerce price list order type 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 order type rel
- Throws:
NoSuchPriceListOrderTypeRelException- if a matching commerce price list order type rel could not be foundNoSuchPriceListOrderTypeRelException
-
fetchByUuid_Last
public static CommercePriceListOrderTypeRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the last commerce price list order type 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 order type rel, or
nullif a matching commerce price list order type rel could not be found
-
findByUuid_PrevAndNext
public static CommercePriceListOrderTypeRel[] findByUuid_PrevAndNext(long commercePriceListOrderTypeRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException Returns the commerce price list order type rels before and after the current commerce price list order type rel in the ordered set where uuid = ?.- Parameters:
commercePriceListOrderTypeRelId- the primary key of the current commerce price list order type reluuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price list order type rel
- Throws:
NoSuchPriceListOrderTypeRelException- if a commerce price list order type rel with the primary key could not be foundNoSuchPriceListOrderTypeRelException
-
removeByUuid
Removes all the commerce price list order type rels where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of commerce price list order type rels where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce price list order type rels
-
findByUuid_C
Returns all the commerce price list order type rels where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce price list order type rels
-
findByUuid_C
public static List<CommercePriceListOrderTypeRel> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce price list order type 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 fromCommercePriceListOrderTypeRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce price list order type relsend- the upper bound of the range of commerce price list order type rels (not inclusive)- Returns:
- the range of matching commerce price list order type rels
-
findByUuid_C
public static List<CommercePriceListOrderTypeRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce price list order type 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 fromCommercePriceListOrderTypeRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce price list order type relsend- the upper bound of the range of commerce price list order type rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price list order type rels
-
findByUuid_C
public static List<CommercePriceListOrderTypeRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list order type 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 fromCommercePriceListOrderTypeRelModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce price list order type relsend- the upper bound of the range of commerce price list order type 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 order type rels
-
findByUuid_C_First
public static CommercePriceListOrderTypeRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException Returns the first commerce price list order type 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 order type rel
- Throws:
NoSuchPriceListOrderTypeRelException- if a matching commerce price list order type rel could not be foundNoSuchPriceListOrderTypeRelException
-
fetchByUuid_C_First
public static CommercePriceListOrderTypeRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the first commerce price list order type 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 order type rel, or
nullif a matching commerce price list order type rel could not be found
-
findByUuid_C_Last
public static CommercePriceListOrderTypeRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException Returns the last commerce price list order type 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 order type rel
- Throws:
NoSuchPriceListOrderTypeRelException- if a matching commerce price list order type rel could not be foundNoSuchPriceListOrderTypeRelException
-
fetchByUuid_C_Last
public static CommercePriceListOrderTypeRel fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the last commerce price list order type 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 order type rel, or
nullif a matching commerce price list order type rel could not be found
-
findByUuid_C_PrevAndNext
public static CommercePriceListOrderTypeRel[] findByUuid_C_PrevAndNext(long commercePriceListOrderTypeRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException Returns the commerce price list order type rels before and after the current commerce price list order type rel in the ordered set where uuid = ? and companyId = ?.- Parameters:
commercePriceListOrderTypeRelId- the primary key of the current commerce price list order type reluuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price list order type rel
- Throws:
NoSuchPriceListOrderTypeRelException- if a commerce price list order type rel with the primary key could not be foundNoSuchPriceListOrderTypeRelException
-
removeByUuid_C
Removes all the commerce price list order type rels where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce price list order type rels where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce price list order type rels
-
findByCommercePriceListId
public static List<CommercePriceListOrderTypeRel> findByCommercePriceListId(long commercePriceListId) Returns all the commerce price list order type rels where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list ID- Returns:
- the matching commerce price list order type rels
-
findByCommercePriceListId
public static List<CommercePriceListOrderTypeRel> findByCommercePriceListId(long commercePriceListId, int start, int end) Returns a range of all the commerce price list order type 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 fromCommercePriceListOrderTypeRelModelImpl.- Parameters:
commercePriceListId- the commerce price list IDstart- the lower bound of the range of commerce price list order type relsend- the upper bound of the range of commerce price list order type rels (not inclusive)- Returns:
- the range of matching commerce price list order type rels
-
findByCommercePriceListId
public static List<CommercePriceListOrderTypeRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce price list order type 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 fromCommercePriceListOrderTypeRelModelImpl.- Parameters:
commercePriceListId- the commerce price list IDstart- the lower bound of the range of commerce price list order type relsend- the upper bound of the range of commerce price list order type rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce price list order type rels
-
findByCommercePriceListId
public static List<CommercePriceListOrderTypeRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list order type 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 fromCommercePriceListOrderTypeRelModelImpl.- Parameters:
commercePriceListId- the commerce price list IDstart- the lower bound of the range of commerce price list order type relsend- the upper bound of the range of commerce price list order type 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 order type rels
-
findByCommercePriceListId_First
public static CommercePriceListOrderTypeRel findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException Returns the first commerce price list order type 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 order type rel
- Throws:
NoSuchPriceListOrderTypeRelException- if a matching commerce price list order type rel could not be foundNoSuchPriceListOrderTypeRelException
-
fetchByCommercePriceListId_First
public static CommercePriceListOrderTypeRel fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the first commerce price list order type 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 order type rel, or
nullif a matching commerce price list order type rel could not be found
-
findByCommercePriceListId_Last
public static CommercePriceListOrderTypeRel findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException Returns the last commerce price list order type 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 order type rel
- Throws:
NoSuchPriceListOrderTypeRelException- if a matching commerce price list order type rel could not be foundNoSuchPriceListOrderTypeRelException
-
fetchByCommercePriceListId_Last
public static CommercePriceListOrderTypeRel fetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns the last commerce price list order type 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 order type rel, or
nullif a matching commerce price list order type rel could not be found
-
findByCommercePriceListId_PrevAndNext
public static CommercePriceListOrderTypeRel[] findByCommercePriceListId_PrevAndNext(long commercePriceListOrderTypeRelId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException Returns the commerce price list order type rels before and after the current commerce price list order type rel in the ordered set where commercePriceListId = ?.- Parameters:
commercePriceListOrderTypeRelId- the primary key of the current commerce price list order type relcommercePriceListId- the commerce price list IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce price list order type rel
- Throws:
NoSuchPriceListOrderTypeRelException- if a commerce price list order type rel with the primary key could not be foundNoSuchPriceListOrderTypeRelException
-
removeByCommercePriceListId
public static void removeByCommercePriceListId(long commercePriceListId) Removes all the commerce price list order type 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 order type rels where commercePriceListId = ?.- Parameters:
commercePriceListId- the commerce price list ID- Returns:
- the number of matching commerce price list order type rels
-
findByCPI_COTI
public static CommercePriceListOrderTypeRel findByCPI_COTI(long commercePriceListId, long commerceOrderTypeId) throws NoSuchPriceListOrderTypeRelException Returns the commerce price list order type rel where commercePriceListId = ? and commerceOrderTypeId = ? or throws aNoSuchPriceListOrderTypeRelExceptionif it could not be found.- Parameters:
commercePriceListId- the commerce price list IDcommerceOrderTypeId- the commerce order type ID- Returns:
- the matching commerce price list order type rel
- Throws:
NoSuchPriceListOrderTypeRelException- if a matching commerce price list order type rel could not be foundNoSuchPriceListOrderTypeRelException
-
fetchByCPI_COTI
public static CommercePriceListOrderTypeRel fetchByCPI_COTI(long commercePriceListId, long commerceOrderTypeId) Returns the commerce price list order type rel where commercePriceListId = ? and commerceOrderTypeId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
commercePriceListId- the commerce price list IDcommerceOrderTypeId- the commerce order type ID- Returns:
- the matching commerce price list order type rel, or
nullif a matching commerce price list order type rel could not be found
-
fetchByCPI_COTI
public static CommercePriceListOrderTypeRel fetchByCPI_COTI(long commercePriceListId, long commerceOrderTypeId, boolean useFinderCache) Returns the commerce price list order type rel where commercePriceListId = ? and commerceOrderTypeId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
commercePriceListId- the commerce price list IDcommerceOrderTypeId- the commerce order type IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce price list order type rel, or
nullif a matching commerce price list order type rel could not be found
-
removeByCPI_COTI
public static CommercePriceListOrderTypeRel removeByCPI_COTI(long commercePriceListId, long commerceOrderTypeId) throws NoSuchPriceListOrderTypeRelException Removes the commerce price list order type rel where commercePriceListId = ? and commerceOrderTypeId = ? from the database.- Parameters:
commercePriceListId- the commerce price list IDcommerceOrderTypeId- the commerce order type ID- Returns:
- the commerce price list order type rel that was removed
- Throws:
NoSuchPriceListOrderTypeRelException
-
countByCPI_COTI
public static int countByCPI_COTI(long commercePriceListId, long commerceOrderTypeId) Returns the number of commerce price list order type rels where commercePriceListId = ? and commerceOrderTypeId = ?.- Parameters:
commercePriceListId- the commerce price list IDcommerceOrderTypeId- the commerce order type ID- Returns:
- the number of matching commerce price list order type rels
-
cacheResult
Caches the commerce price list order type rel in the entity cache if it is enabled.- Parameters:
commercePriceListOrderTypeRel- the commerce price list order type rel
-
cacheResult
Caches the commerce price list order type rels in the entity cache if it is enabled.- Parameters:
commercePriceListOrderTypeRels- the commerce price list order type rels
-
create
Creates a new commerce price list order type rel with the primary key. Does not add the commerce price list order type rel to the database.- Parameters:
commercePriceListOrderTypeRelId- the primary key for the new commerce price list order type rel- Returns:
- the new commerce price list order type rel
-
remove
public static CommercePriceListOrderTypeRel remove(long commercePriceListOrderTypeRelId) throws NoSuchPriceListOrderTypeRelException Removes the commerce price list order type rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commercePriceListOrderTypeRelId- the primary key of the commerce price list order type rel- Returns:
- the commerce price list order type rel that was removed
- Throws:
NoSuchPriceListOrderTypeRelException- if a commerce price list order type rel with the primary key could not be foundNoSuchPriceListOrderTypeRelException
-
updateImpl
public static CommercePriceListOrderTypeRel updateImpl(CommercePriceListOrderTypeRel commercePriceListOrderTypeRel) -
findByPrimaryKey
public static CommercePriceListOrderTypeRel findByPrimaryKey(long commercePriceListOrderTypeRelId) throws NoSuchPriceListOrderTypeRelException Returns the commerce price list order type rel with the primary key or throws aNoSuchPriceListOrderTypeRelExceptionif it could not be found.- Parameters:
commercePriceListOrderTypeRelId- the primary key of the commerce price list order type rel- Returns:
- the commerce price list order type rel
- Throws:
NoSuchPriceListOrderTypeRelException- if a commerce price list order type rel with the primary key could not be foundNoSuchPriceListOrderTypeRelException
-
fetchByPrimaryKey
Returns the commerce price list order type rel with the primary key or returnsnullif it could not be found.- Parameters:
commercePriceListOrderTypeRelId- the primary key of the commerce price list order type rel- Returns:
- the commerce price list order type rel, or
nullif a commerce price list order type rel with the primary key could not be found
-
findAll
Returns all the commerce price list order type rels.- Returns:
- the commerce price list order type rels
-
findAll
Returns a range of all the commerce price list order type 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 fromCommercePriceListOrderTypeRelModelImpl.- Parameters:
start- the lower bound of the range of commerce price list order type relsend- the upper bound of the range of commerce price list order type rels (not inclusive)- Returns:
- the range of commerce price list order type rels
-
findAll
public static List<CommercePriceListOrderTypeRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) Returns an ordered range of all the commerce price list order type 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 fromCommercePriceListOrderTypeRelModelImpl.- Parameters:
start- the lower bound of the range of commerce price list order type relsend- the upper bound of the range of commerce price list order type rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of commerce price list order type rels
-
findAll
public static List<CommercePriceListOrderTypeRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce price list order type 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 fromCommercePriceListOrderTypeRelModelImpl.- Parameters:
start- the lower bound of the range of commerce price list order type relsend- the upper bound of the range of commerce price list order type 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 order type rels
-
removeAll
public static void removeAll()Removes all the commerce price list order type rels from the database. -
countAll
public static int countAll()Returns the number of commerce price list order type rels.- Returns:
- the number of commerce price list order type rels
-
getPersistence
-
setPersistence
-