Interface CommerceInventoryWarehouseItemPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceInventoryWarehouseItem>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByC_S_U(long companyId, String sku, String unitOfMeasureKey) Returns the number of commerce inventory warehouse items where companyId = ? and sku = ? and unitOfMeasureKey = ?.intcountByCIWI_S_U(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) Returns the number of commerce inventory warehouse items where commerceInventoryWarehouseId = ? and sku = ? and unitOfMeasureKey = ?.intcountByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) Returns the number of commerce inventory warehouse items where commerceInventoryWarehouseId = ?.intcountByCompanyId(long companyId) Returns the number of commerce inventory warehouse items where companyId = ?.intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of commerce inventory warehouse items where externalReferenceCode = ? and companyId = ?.intcountByUuid(String uuid) Returns the number of commerce inventory warehouse items where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of commerce inventory warehouse items where uuid = ? and companyId = ?.create(long commerceInventoryWarehouseItemId) Creates a new commerce inventory warehouse item with the primary key.fetchByC_S_U_First(long companyId, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item in the ordered set where companyId = ? and sku = ? and unitOfMeasureKey = ?.default CommerceInventoryWarehouseItemfetchByCIWI_S_U(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) Returns the commerce inventory warehouse item where commerceInventoryWarehouseId = ? and sku = ? and unitOfMeasureKey = ? or returnsnullif it could not be found.fetchByCIWI_S_U(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey, boolean useFinderCache) Returns the commerce inventory warehouse item where commerceInventoryWarehouseId = ? and sku = ? and unitOfMeasureKey = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item in the ordered set where commerceInventoryWarehouseId = ?.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item in the ordered set where companyId = ?.default CommerceInventoryWarehouseItemfetchByERC_C(String externalReferenceCode, long companyId) Returns the commerce inventory warehouse item where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce inventory warehouse item where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long commerceInventoryWarehouseItemId) Returns the commerce inventory warehouse item with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item in the ordered set where uuid = ?.default List<CommerceInventoryWarehouseItem> findByC_S_U(long companyId, String sku, String unitOfMeasureKey) Returns all the commerce inventory warehouse items where companyId = ? and sku = ? and unitOfMeasureKey = ?.default List<CommerceInventoryWarehouseItem> findByC_S_U(long companyId, String sku, String unitOfMeasureKey, int start, int end) Returns a range of all the commerce inventory warehouse items where companyId = ? and sku = ? and unitOfMeasureKey = ?.default List<CommerceInventoryWarehouseItem> findByC_S_U(long companyId, String sku, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns an ordered range of all the commerce inventory warehouse items where companyId = ? and sku = ? and unitOfMeasureKey = ?.findByC_S_U(long companyId, String sku, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouse items where companyId = ? and sku = ? and unitOfMeasureKey = ?.findByC_S_U_First(long companyId, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item in the ordered set where companyId = ? and sku = ? and unitOfMeasureKey = ?.findByCIWI_S_U(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) Returns the commerce inventory warehouse item where commerceInventoryWarehouseId = ? and sku = ? and unitOfMeasureKey = ? or throws aNoSuchInventoryWarehouseItemExceptionif it could not be found.default List<CommerceInventoryWarehouseItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) Returns all the commerce inventory warehouse items where commerceInventoryWarehouseId = ?.default List<CommerceInventoryWarehouseItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end) Returns a range of all the commerce inventory warehouse items where commerceInventoryWarehouseId = ?.default List<CommerceInventoryWarehouseItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns an ordered range of all the commerce inventory warehouse items where commerceInventoryWarehouseId = ?.findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouse items where commerceInventoryWarehouseId = ?.findByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item in the ordered set where commerceInventoryWarehouseId = ?.default List<CommerceInventoryWarehouseItem> findByCompanyId(long companyId) Returns all the commerce inventory warehouse items where companyId = ?.default List<CommerceInventoryWarehouseItem> findByCompanyId(long companyId, int start, int end) Returns a range of all the commerce inventory warehouse items where companyId = ?.default List<CommerceInventoryWarehouseItem> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns an ordered range of all the commerce inventory warehouse items where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouse items where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item in the ordered set where companyId = ?.findByERC_C(String externalReferenceCode, long companyId) Returns the commerce inventory warehouse item where externalReferenceCode = ? and companyId = ? or throws aNoSuchInventoryWarehouseItemExceptionif it could not be found.findByPrimaryKey(long commerceInventoryWarehouseItemId) Returns the commerce inventory warehouse item with the primary key or throws aNoSuchInventoryWarehouseItemExceptionif it could not be found.default List<CommerceInventoryWarehouseItem> findByUuid(String uuid) Returns all the commerce inventory warehouse items where uuid = ?.default List<CommerceInventoryWarehouseItem> findByUuid(String uuid, int start, int end) Returns a range of all the commerce inventory warehouse items where uuid = ?.default List<CommerceInventoryWarehouseItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns an ordered range of all the commerce inventory warehouse items where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouse items where uuid = ?.default List<CommerceInventoryWarehouseItem> findByUuid_C(String uuid, long companyId) Returns all the commerce inventory warehouse items where uuid = ? and companyId = ?.default List<CommerceInventoryWarehouseItem> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce inventory warehouse items where uuid = ? and companyId = ?.default List<CommerceInventoryWarehouseItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns an ordered range of all the commerce inventory warehouse items where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouse items where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item in the ordered set where uuid = ?.remove(long commerceInventoryWarehouseItemId) Removes the commerce inventory warehouse item with the primary key from the database.voidremoveByC_S_U(long companyId, String sku, String unitOfMeasureKey) Removes all the commerce inventory warehouse items where companyId = ? and sku = ? and unitOfMeasureKey = ? from the database.removeByCIWI_S_U(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) Removes the commerce inventory warehouse item where commerceInventoryWarehouseId = ? and sku = ? and unitOfMeasureKey = ? from the database.voidremoveByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) Removes all the commerce inventory warehouse items where commerceInventoryWarehouseId = ? from the database.voidremoveByCompanyId(long companyId) Removes all the commerce inventory warehouse items where companyId = ? from the database.removeByERC_C(String externalReferenceCode, long companyId) Removes the commerce inventory warehouse item where externalReferenceCode = ? and companyId = ? from the database.voidremoveByUuid(String uuid) Removes all the commerce inventory warehouse items where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce inventory warehouse items where uuid = ? and companyId = ? from the database.updateImpl(CommerceInventoryWarehouseItem commerceInventoryWarehouseItem) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
List<CommerceInventoryWarehouseItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouse items 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 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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (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 inventory warehouse items
-
findByUuid_First
CommerceInventoryWarehouseItem findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) throws NoSuchInventoryWarehouseItemException Returns the first commerce inventory warehouse item in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce inventory warehouse item
- Throws:
NoSuchInventoryWarehouseItemException- if a matching commerce inventory warehouse item could not be found
-
fetchByUuid_First
CommerceInventoryWarehouseItem fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce inventory warehouse item, or
nullif a matching commerce inventory warehouse item could not be found
-
removeByUuid
Removes all the commerce inventory warehouse items where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of commerce inventory warehouse items where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce inventory warehouse items
-
findByUuid_C
List<CommerceInventoryWarehouseItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouse items 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 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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (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 inventory warehouse items
-
findByUuid_C_First
CommerceInventoryWarehouseItem findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) throws NoSuchInventoryWarehouseItemException Returns the first commerce inventory warehouse item 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 inventory warehouse item
- Throws:
NoSuchInventoryWarehouseItemException- if a matching commerce inventory warehouse item could not be found
-
fetchByUuid_C_First
CommerceInventoryWarehouseItem fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item 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 inventory warehouse item, or
nullif a matching commerce inventory warehouse item could not be found
-
removeByUuid_C
Removes all the commerce inventory warehouse items where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce inventory warehouse items where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce inventory warehouse items
-
findByCompanyId
List<CommerceInventoryWarehouseItem> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouse items where 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 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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (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 inventory warehouse items
-
findByCompanyId_First
CommerceInventoryWarehouseItem findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) throws NoSuchInventoryWarehouseItemException Returns the first commerce inventory warehouse item in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce inventory warehouse item
- Throws:
NoSuchInventoryWarehouseItemException- if a matching commerce inventory warehouse item could not be found
-
fetchByCompanyId_First
CommerceInventoryWarehouseItem fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce inventory warehouse item, or
nullif a matching commerce inventory warehouse item could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the commerce inventory warehouse items where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of commerce inventory warehouse items where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching commerce inventory warehouse items
-
findByCommerceInventoryWarehouseId
List<CommerceInventoryWarehouseItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouse items where commerceInventoryWarehouseId = ?.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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse IDstart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (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 inventory warehouse items
-
findByCommerceInventoryWarehouseId_First
CommerceInventoryWarehouseItem findByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) throws NoSuchInventoryWarehouseItemException Returns the first commerce inventory warehouse item in the ordered set where commerceInventoryWarehouseId = ?.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce inventory warehouse item
- Throws:
NoSuchInventoryWarehouseItemException- if a matching commerce inventory warehouse item could not be found
-
fetchByCommerceInventoryWarehouseId_First
CommerceInventoryWarehouseItem fetchByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item in the ordered set where commerceInventoryWarehouseId = ?.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce inventory warehouse item, or
nullif a matching commerce inventory warehouse item could not be found
-
removeByCommerceInventoryWarehouseId
void removeByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) Removes all the commerce inventory warehouse items where commerceInventoryWarehouseId = ? from the database.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse ID
-
countByCommerceInventoryWarehouseId
int countByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) Returns the number of commerce inventory warehouse items where commerceInventoryWarehouseId = ?.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse ID- Returns:
- the number of matching commerce inventory warehouse items
-
findByC_S_U
List<CommerceInventoryWarehouseItem> findByC_S_U(long companyId, String sku, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouse items where companyId = ? and sku = ? and unitOfMeasureKey = ?.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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
companyId- the company IDsku- the skuunitOfMeasureKey- the unit of measure keystart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (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 inventory warehouse items
-
findByC_S_U_First
CommerceInventoryWarehouseItem findByC_S_U_First(long companyId, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) throws NoSuchInventoryWarehouseItemException Returns the first commerce inventory warehouse item in the ordered set where companyId = ? and sku = ? and unitOfMeasureKey = ?.- Parameters:
companyId- the company IDsku- the skuunitOfMeasureKey- the unit of measure keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce inventory warehouse item
- Throws:
NoSuchInventoryWarehouseItemException- if a matching commerce inventory warehouse item could not be found
-
fetchByC_S_U_First
CommerceInventoryWarehouseItem fetchByC_S_U_First(long companyId, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns the first commerce inventory warehouse item in the ordered set where companyId = ? and sku = ? and unitOfMeasureKey = ?.- Parameters:
companyId- the company IDsku- the skuunitOfMeasureKey- the unit of measure keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce inventory warehouse item, or
nullif a matching commerce inventory warehouse item could not be found
-
removeByC_S_U
Removes all the commerce inventory warehouse items where companyId = ? and sku = ? and unitOfMeasureKey = ? from the database.- Parameters:
companyId- the company IDsku- the skuunitOfMeasureKey- the unit of measure key
-
countByC_S_U
Returns the number of commerce inventory warehouse items where companyId = ? and sku = ? and unitOfMeasureKey = ?.- Parameters:
companyId- the company IDsku- the skuunitOfMeasureKey- the unit of measure key- Returns:
- the number of matching commerce inventory warehouse items
-
findByCIWI_S_U
CommerceInventoryWarehouseItem findByCIWI_S_U(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) throws NoSuchInventoryWarehouseItemException Returns the commerce inventory warehouse item where commerceInventoryWarehouseId = ? and sku = ? and unitOfMeasureKey = ? or throws aNoSuchInventoryWarehouseItemExceptionif it could not be found.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse IDsku- the skuunitOfMeasureKey- the unit of measure key- Returns:
- the matching commerce inventory warehouse item
- Throws:
NoSuchInventoryWarehouseItemException- if a matching commerce inventory warehouse item could not be found
-
fetchByCIWI_S_U
CommerceInventoryWarehouseItem fetchByCIWI_S_U(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey, boolean useFinderCache) Returns the commerce inventory warehouse item where commerceInventoryWarehouseId = ? and sku = ? and unitOfMeasureKey = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse IDsku- the skuunitOfMeasureKey- the unit of measure keyuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce inventory warehouse item, or
nullif a matching commerce inventory warehouse item could not be found
-
removeByCIWI_S_U
CommerceInventoryWarehouseItem removeByCIWI_S_U(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) throws NoSuchInventoryWarehouseItemException Removes the commerce inventory warehouse item where commerceInventoryWarehouseId = ? and sku = ? and unitOfMeasureKey = ? from the database.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse IDsku- the skuunitOfMeasureKey- the unit of measure key- Returns:
- the commerce inventory warehouse item that was removed
- Throws:
NoSuchInventoryWarehouseItemException
-
countByCIWI_S_U
Returns the number of commerce inventory warehouse items where commerceInventoryWarehouseId = ? and sku = ? and unitOfMeasureKey = ?.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse IDsku- the skuunitOfMeasureKey- the unit of measure key- Returns:
- the number of matching commerce inventory warehouse items
-
findByERC_C
CommerceInventoryWarehouseItem findByERC_C(String externalReferenceCode, long companyId) throws NoSuchInventoryWarehouseItemException Returns the commerce inventory warehouse item where externalReferenceCode = ? and companyId = ? or throws aNoSuchInventoryWarehouseItemExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching commerce inventory warehouse item
- Throws:
NoSuchInventoryWarehouseItemException- if a matching commerce inventory warehouse item could not be found
-
fetchByERC_C
CommerceInventoryWarehouseItem fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce inventory warehouse item where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce inventory warehouse item, or
nullif a matching commerce inventory warehouse item could not be found
-
removeByERC_C
CommerceInventoryWarehouseItem removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchInventoryWarehouseItemException Removes the commerce inventory warehouse item where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the commerce inventory warehouse item that was removed
- Throws:
NoSuchInventoryWarehouseItemException
-
countByERC_C
Returns the number of commerce inventory warehouse items where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching commerce inventory warehouse items
-
create
Creates a new commerce inventory warehouse item with the primary key. Does not add the commerce inventory warehouse item to the database.- Parameters:
commerceInventoryWarehouseItemId- the primary key for the new commerce inventory warehouse item- Returns:
- the new commerce inventory warehouse item
-
remove
CommerceInventoryWarehouseItem remove(long commerceInventoryWarehouseItemId) throws NoSuchInventoryWarehouseItemException Removes the commerce inventory warehouse item with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceInventoryWarehouseItemId- the primary key of the commerce inventory warehouse item- Returns:
- the commerce inventory warehouse item that was removed
- Throws:
NoSuchInventoryWarehouseItemException- if a commerce inventory warehouse item with the primary key could not be found
-
updateImpl
CommerceInventoryWarehouseItem updateImpl(CommerceInventoryWarehouseItem commerceInventoryWarehouseItem) -
findByPrimaryKey
CommerceInventoryWarehouseItem findByPrimaryKey(long commerceInventoryWarehouseItemId) throws NoSuchInventoryWarehouseItemException Returns the commerce inventory warehouse item with the primary key or throws aNoSuchInventoryWarehouseItemExceptionif it could not be found.- Parameters:
commerceInventoryWarehouseItemId- the primary key of the commerce inventory warehouse item- Returns:
- the commerce inventory warehouse item
- Throws:
NoSuchInventoryWarehouseItemException- if a commerce inventory warehouse item with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce inventory warehouse item with the primary key or returnsnullif it could not be found.- Parameters:
commerceInventoryWarehouseItemId- the primary key of the commerce inventory warehouse item- Returns:
- the commerce inventory warehouse item, or
nullif a commerce inventory warehouse item with the primary key could not be found
-
fetchByCIWI_S_U
default CommerceInventoryWarehouseItem fetchByCIWI_S_U(long commerceInventoryWarehouseId, String sku, String unitOfMeasureKey) Returns the commerce inventory warehouse item where commerceInventoryWarehouseId = ? and sku = ? and unitOfMeasureKey = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse IDsku- the skuunitOfMeasureKey- the unit of measure key- Returns:
- the matching commerce inventory warehouse item, or
nullif a matching commerce inventory warehouse item could not be found
-
fetchByERC_C
Returns the commerce inventory warehouse item where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching commerce inventory warehouse item, or
nullif a matching commerce inventory warehouse item could not be found
-
findByUuid
Returns all the commerce inventory warehouse items where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce inventory warehouse items
-
findByUuid
Returns a range of all the commerce inventory warehouse items 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 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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (not inclusive)- Returns:
- the range of matching commerce inventory warehouse items
-
findByUuid
default List<CommerceInventoryWarehouseItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns an ordered range of all the commerce inventory warehouse items 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 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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce inventory warehouse items
-
findByUuid_C
Returns all the commerce inventory warehouse items where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce inventory warehouse items
-
findByUuid_C
default List<CommerceInventoryWarehouseItem> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce inventory warehouse items 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 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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (not inclusive)- Returns:
- the range of matching commerce inventory warehouse items
-
findByUuid_C
default List<CommerceInventoryWarehouseItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns an ordered range of all the commerce inventory warehouse items 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 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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce inventory warehouse items
-
findByCompanyId
Returns all the commerce inventory warehouse items where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching commerce inventory warehouse items
-
findByCompanyId
Returns a range of all the commerce inventory warehouse items where 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 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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (not inclusive)- Returns:
- the range of matching commerce inventory warehouse items
-
findByCompanyId
default List<CommerceInventoryWarehouseItem> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns an ordered range of all the commerce inventory warehouse items where 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 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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce inventory warehouse items
-
findByCommerceInventoryWarehouseId
default List<CommerceInventoryWarehouseItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId) Returns all the commerce inventory warehouse items where commerceInventoryWarehouseId = ?.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse ID- Returns:
- the matching commerce inventory warehouse items
-
findByCommerceInventoryWarehouseId
default List<CommerceInventoryWarehouseItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end) Returns a range of all the commerce inventory warehouse items where commerceInventoryWarehouseId = ?.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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse IDstart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (not inclusive)- Returns:
- the range of matching commerce inventory warehouse items
-
findByCommerceInventoryWarehouseId
default List<CommerceInventoryWarehouseItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns an ordered range of all the commerce inventory warehouse items where commerceInventoryWarehouseId = ?.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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
commerceInventoryWarehouseId- the commerce inventory warehouse IDstart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce inventory warehouse items
-
findByC_S_U
default List<CommerceInventoryWarehouseItem> findByC_S_U(long companyId, String sku, String unitOfMeasureKey) Returns all the commerce inventory warehouse items where companyId = ? and sku = ? and unitOfMeasureKey = ?.- Parameters:
companyId- the company IDsku- the skuunitOfMeasureKey- the unit of measure key- Returns:
- the matching commerce inventory warehouse items
-
findByC_S_U
default List<CommerceInventoryWarehouseItem> findByC_S_U(long companyId, String sku, String unitOfMeasureKey, int start, int end) Returns a range of all the commerce inventory warehouse items where companyId = ? and sku = ? and unitOfMeasureKey = ?.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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
companyId- the company IDsku- the skuunitOfMeasureKey- the unit of measure keystart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (not inclusive)- Returns:
- the range of matching commerce inventory warehouse items
-
findByC_S_U
default List<CommerceInventoryWarehouseItem> findByC_S_U(long companyId, String sku, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouseItem> orderByComparator) Returns an ordered range of all the commerce inventory warehouse items where companyId = ? and sku = ? and unitOfMeasureKey = ?.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.inventory.model.impl.CommerceInventoryWarehouseItemModelImpl.- Parameters:
companyId- the company IDsku- the skuunitOfMeasureKey- the unit of measure keystart- the lower bound of the range of commerce inventory warehouse itemsend- the upper bound of the range of commerce inventory warehouse items (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce inventory warehouse items
-