Class CommerceShippingFixedOptionRelUtil
com.liferay.commerce.shipping.engine.fixed.service.persistence.impl.CommerceShippingFixedOptionRelPersistenceImpl 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(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) static voidcacheResult(List<CommerceShippingFixedOptionRel> commerceShippingFixedOptionRels) static voidstatic voidclearCache(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) static intcountByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId) Returns the number of commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.static intcountByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId) Returns the number of commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.static intcountByCommerceShippingMethodId(long commerceShippingMethodId) Returns the number of commerce shipping fixed option rels where commerceShippingMethodId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) create(long commerceShippingFixedOptionRelId) Creates a new commerce shipping fixed option rel with the primary key.fetchByC_C_First(long commerceShippingFixedOptionId, long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.fetchByCommerceShippingFixedOptionId_First(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.fetchByCommerceShippingMethodId_First(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.fetchByPrimaryKey(long commerceShippingFixedOptionRelId) Returns the commerce shipping fixed option rel with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<CommerceShippingFixedOptionRel> findByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId) Returns all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.static List<CommerceShippingFixedOptionRel> findByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId, int start, int end) Returns a range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.static List<CommerceShippingFixedOptionRel> findByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.static List<CommerceShippingFixedOptionRel> findByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.findByC_C_First(long commerceShippingFixedOptionId, long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.static List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId) Returns all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.static List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end) Returns a range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.static List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.static List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.findByCommerceShippingFixedOptionId_First(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.static List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId) Returns all the commerce shipping fixed option rels where commerceShippingMethodId = ?.static List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId, int start, int end) Returns a range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.static List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.static List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.findByCommerceShippingMethodId_First(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.findByPrimaryKey(long commerceShippingFixedOptionRelId) Returns the commerce shipping fixed option rel with the primary key or throws aNoSuchShippingFixedOptionRelExceptionif it could not be found.static List<CommerceShippingFixedOptionRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommerceShippingFixedOptionRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommerceShippingFixedOptionRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) remove(long commerceShippingFixedOptionRelId) Removes the commerce shipping fixed option rel with the primary key from the database.static voidremoveByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId) Removes all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ? from the database.static voidremoveByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId) Removes all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? from the database.static voidremoveByCommerceShippingMethodId(long commerceShippingMethodId) Removes all the commerce shipping fixed option rels where commerceShippingMethodId = ? from the database.static voidsetPersistence(CommerceShippingFixedOptionRelPersistence persistence) update(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) update(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel)
-
Constructor Details
-
CommerceShippingFixedOptionRelUtil
public CommerceShippingFixedOptionRelUtil()
-
-
Method Details
-
cacheResult
public static void cacheResult(List<CommerceShippingFixedOptionRel> commerceShippingFixedOptionRels) - See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,CommerceShippingFixedOptionRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<CommerceShippingFixedOptionRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CommerceShippingFixedOptionRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<CommerceShippingFixedOptionRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) - See Also:
-
update
public static CommerceShippingFixedOptionRel update(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) - See Also:
-
update
public static CommerceShippingFixedOptionRel update(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByCommerceShippingFixedOptionId
public static List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option IDstart- the lower bound of the range of commerce shipping fixed option relsend- the upper bound of the range of commerce shipping fixed option 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 shipping fixed option rels
-
findByCommerceShippingFixedOptionId_First
public static CommerceShippingFixedOptionRel findByCommerceShippingFixedOptionId_First(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) throws NoSuchShippingFixedOptionRelException Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipping fixed option rel
-
fetchByCommerceShippingFixedOptionId_First
public static CommerceShippingFixedOptionRel fetchByCommerceShippingFixedOptionId_First(long commerceShippingFixedOptionId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipping fixed option rel, or
nullif a matching commerce shipping fixed option rel could not be found
-
removeByCommerceShippingFixedOptionId
public static void removeByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId) Removes all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? from the database.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option ID
-
countByCommerceShippingFixedOptionId
public static int countByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId) Returns the number of commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option ID- Returns:
- the number of matching commerce shipping fixed option rels
-
findByCommerceShippingMethodId
public static List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.- Parameters:
commerceShippingMethodId- the commerce shipping method IDstart- the lower bound of the range of commerce shipping fixed option relsend- the upper bound of the range of commerce shipping fixed option 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 shipping fixed option rels
-
findByCommerceShippingMethodId_First
public static CommerceShippingFixedOptionRel findByCommerceShippingMethodId_First(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) throws NoSuchShippingFixedOptionRelException Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.- Parameters:
commerceShippingMethodId- the commerce shipping method IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipping fixed option rel
-
fetchByCommerceShippingMethodId_First
public static CommerceShippingFixedOptionRel fetchByCommerceShippingMethodId_First(long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingMethodId = ?.- Parameters:
commerceShippingMethodId- the commerce shipping method IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipping fixed option rel, or
nullif a matching commerce shipping fixed option rel could not be found
-
removeByCommerceShippingMethodId
public static void removeByCommerceShippingMethodId(long commerceShippingMethodId) Removes all the commerce shipping fixed option rels where commerceShippingMethodId = ? from the database.- Parameters:
commerceShippingMethodId- the commerce shipping method ID
-
countByCommerceShippingMethodId
public static int countByCommerceShippingMethodId(long commerceShippingMethodId) Returns the number of commerce shipping fixed option rels where commerceShippingMethodId = ?.- Parameters:
commerceShippingMethodId- the commerce shipping method ID- Returns:
- the number of matching commerce shipping fixed option rels
-
findByC_C
public static List<CommerceShippingFixedOptionRel> findByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option IDcommerceShippingMethodId- the commerce shipping method IDstart- the lower bound of the range of commerce shipping fixed option relsend- the upper bound of the range of commerce shipping fixed option 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 shipping fixed option rels
-
findByC_C_First
public static CommerceShippingFixedOptionRel findByC_C_First(long commerceShippingFixedOptionId, long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) throws NoSuchShippingFixedOptionRelException Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option IDcommerceShippingMethodId- the commerce shipping method IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipping fixed option rel
-
fetchByC_C_First
public static CommerceShippingFixedOptionRel fetchByC_C_First(long commerceShippingFixedOptionId, long commerceShippingMethodId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns the first commerce shipping fixed option rel in the ordered set where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option IDcommerceShippingMethodId- the commerce shipping method IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipping fixed option rel, or
nullif a matching commerce shipping fixed option rel could not be found
-
removeByC_C
public static void removeByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId) Removes all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ? from the database.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option IDcommerceShippingMethodId- the commerce shipping method ID
-
countByC_C
public static int countByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId) Returns the number of commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option IDcommerceShippingMethodId- the commerce shipping method ID- Returns:
- the number of matching commerce shipping fixed option rels
-
create
Creates a new commerce shipping fixed option rel with the primary key. Does not add the commerce shipping fixed option rel to the database.- Parameters:
commerceShippingFixedOptionRelId- the primary key for the new commerce shipping fixed option rel- Returns:
- the new commerce shipping fixed option rel
-
remove
public static CommerceShippingFixedOptionRel remove(long commerceShippingFixedOptionRelId) throws NoSuchShippingFixedOptionRelException Removes the commerce shipping fixed option rel with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceShippingFixedOptionRelId- the primary key of the commerce shipping fixed option rel- Returns:
- the commerce shipping fixed option rel that was removed
-
updateImpl
public static CommerceShippingFixedOptionRel updateImpl(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) -
findByPrimaryKey
public static CommerceShippingFixedOptionRel findByPrimaryKey(long commerceShippingFixedOptionRelId) throws NoSuchShippingFixedOptionRelException Returns the commerce shipping fixed option rel with the primary key or throws aNoSuchShippingFixedOptionRelExceptionif it could not be found.- Parameters:
commerceShippingFixedOptionRelId- the primary key of the commerce shipping fixed option rel- Returns:
- the commerce shipping fixed option rel
-
fetchByPrimaryKey
public static CommerceShippingFixedOptionRel fetchByPrimaryKey(long commerceShippingFixedOptionRelId) Returns the commerce shipping fixed option rel with the primary key or returnsnullif it could not be found.- Parameters:
commerceShippingFixedOptionRelId- the primary key of the commerce shipping fixed option rel- Returns:
- the commerce shipping fixed option rel, or
nullif a commerce shipping fixed option rel with the primary key could not be found
-
findByCommerceShippingFixedOptionId
public static List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId) Returns all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option ID- Returns:
- the matching commerce shipping fixed option rels
-
findByCommerceShippingFixedOptionId
public static List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end) Returns a range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option IDstart- the lower bound of the range of commerce shipping fixed option relsend- the upper bound of the range of commerce shipping fixed option rels (not inclusive)- Returns:
- the range of matching commerce shipping fixed option rels
-
findByCommerceShippingFixedOptionId
public static List<CommerceShippingFixedOptionRel> findByCommerceShippingFixedOptionId(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option IDstart- the lower bound of the range of commerce shipping fixed option relsend- the upper bound of the range of commerce shipping fixed option rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipping fixed option rels
-
findByCommerceShippingMethodId
public static List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId) Returns all the commerce shipping fixed option rels where commerceShippingMethodId = ?.- Parameters:
commerceShippingMethodId- the commerce shipping method ID- Returns:
- the matching commerce shipping fixed option rels
-
findByCommerceShippingMethodId
public static List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId, int start, int end) Returns a range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.- Parameters:
commerceShippingMethodId- the commerce shipping method IDstart- the lower bound of the range of commerce shipping fixed option relsend- the upper bound of the range of commerce shipping fixed option rels (not inclusive)- Returns:
- the range of matching commerce shipping fixed option rels
-
findByCommerceShippingMethodId
public static List<CommerceShippingFixedOptionRel> findByCommerceShippingMethodId(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingMethodId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.- Parameters:
commerceShippingMethodId- the commerce shipping method IDstart- the lower bound of the range of commerce shipping fixed option relsend- the upper bound of the range of commerce shipping fixed option rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipping fixed option rels
-
findByC_C
public static List<CommerceShippingFixedOptionRel> findByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId) Returns all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option IDcommerceShippingMethodId- the commerce shipping method ID- Returns:
- the matching commerce shipping fixed option rels
-
findByC_C
public static List<CommerceShippingFixedOptionRel> findByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId, int start, int end) Returns a range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option IDcommerceShippingMethodId- the commerce shipping method IDstart- the lower bound of the range of commerce shipping fixed option relsend- the upper bound of the range of commerce shipping fixed option rels (not inclusive)- Returns:
- the range of matching commerce shipping fixed option rels
-
findByC_C
public static List<CommerceShippingFixedOptionRel> findByC_C(long commerceShippingFixedOptionId, long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator) Returns an ordered range of all the commerce shipping fixed option rels where commerceShippingFixedOptionId = ? and commerceShippingMethodId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.- Parameters:
commerceShippingFixedOptionId- the commerce shipping fixed option IDcommerceShippingMethodId- the commerce shipping method IDstart- the lower bound of the range of commerce shipping fixed option relsend- the upper bound of the range of commerce shipping fixed option rels (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipping fixed option rels
-
getPersistence
-
setPersistence
-