Class CommerceInventoryWarehouseUtil
com.liferay.commerce.inventory.service.persistence.impl.CommerceInventoryWarehousePersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CommerceInventoryWarehouse commerceInventoryWarehouse) Caches the commerce inventory warehouse in the entity cache if it is enabled.static void
cacheResult
(List<CommerceInventoryWarehouse> commerceInventoryWarehouses) Caches the commerce inventory warehouses in the entity cache if it is enabled.static void
static void
clearCache
(CommerceInventoryWarehouse commerceInventoryWarehouse) static int
countAll()
Returns the number of commerce inventory warehouses.static int
countByC_A
(long companyId, boolean active) Returns the number of commerce inventory warehouses where companyId = ? and active = ?.static int
countByC_A_C
(long companyId, boolean active, String countryTwoLettersISOCode) Returns the number of commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static int
countByC_C
(long companyId, String countryTwoLettersISOCode) Returns the number of commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.static int
countByCompanyId
(long companyId) Returns the number of commerce inventory warehouses where companyId = ?.static int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of commerce inventory warehouses where externalReferenceCode = ? and companyId = ?.static int
countByUuid
(String uuid) Returns the number of commerce inventory warehouses where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce inventory warehouses where uuid = ? and companyId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommerceInventoryWarehouse
create
(long commerceInventoryWarehouseId) Creates a new commerce inventory warehouse with the primary key.static CommerceInventoryWarehouse
fetchByC_A_C_First
(long companyId, boolean active, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static CommerceInventoryWarehouse
fetchByC_A_C_Last
(long companyId, boolean active, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static CommerceInventoryWarehouse
fetchByC_A_First
(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where companyId = ? and active = ?.static CommerceInventoryWarehouse
fetchByC_A_Last
(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where companyId = ? and active = ?.static CommerceInventoryWarehouse
fetchByC_C_First
(long companyId, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.static CommerceInventoryWarehouse
fetchByC_C_Last
(long companyId, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.static CommerceInventoryWarehouse
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where companyId = ?.static CommerceInventoryWarehouse
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where companyId = ?.static CommerceInventoryWarehouse
fetchByERC_C
(String externalReferenceCode, long companyId) Returns the commerce inventory warehouse where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.static CommerceInventoryWarehouse
fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce inventory warehouse where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.static CommerceInventoryWarehouse
fetchByPrimaryKey
(long commerceInventoryWarehouseId) Returns the commerce inventory warehouse with the primary key or returnsnull
if it could not be found.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static CommerceInventoryWarehouse
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where uuid = ? and companyId = ?.static CommerceInventoryWarehouse
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where uuid = ? and companyId = ?.static CommerceInventoryWarehouse
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where uuid = ?.static CommerceInventoryWarehouse
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where uuid = ?.static int
filterCountByC_A
(long companyId, boolean active) Returns the number of commerce inventory warehouses that the user has permission to view where companyId = ? and active = ?.static int
filterCountByC_A_C
(long companyId, boolean active, String countryTwoLettersISOCode) Returns the number of commerce inventory warehouses that the user has permission to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static int
filterCountByC_C
(long companyId, String countryTwoLettersISOCode) Returns the number of commerce inventory warehouses that the user has permission to view where companyId = ? and countryTwoLettersISOCode = ?.static int
filterCountByCompanyId
(long companyId) Returns the number of commerce inventory warehouses that the user has permission to view where companyId = ?.static int
filterCountByUuid
(String uuid) Returns the number of commerce inventory warehouses that the user has permission to view where uuid = ?.static int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of commerce inventory warehouses that the user has permission to view where uuid = ? and companyId = ?.static List<CommerceInventoryWarehouse>
filterFindByC_A
(long companyId, boolean active) Returns all the commerce inventory warehouses that the user has permission to view where companyId = ? and active = ?.static List<CommerceInventoryWarehouse>
filterFindByC_A
(long companyId, boolean active, int start, int end) Returns a range of all the commerce inventory warehouses that the user has permission to view where companyId = ? and active = ?.static List<CommerceInventoryWarehouse>
filterFindByC_A
(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where companyId = ? and active = ?.static List<CommerceInventoryWarehouse>
filterFindByC_A_C
(long companyId, boolean active, String countryTwoLettersISOCode) Returns all the commerce inventory warehouses that the user has permission to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static List<CommerceInventoryWarehouse>
filterFindByC_A_C
(long companyId, boolean active, String countryTwoLettersISOCode, int start, int end) Returns a range of all the commerce inventory warehouses that the user has permission to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static List<CommerceInventoryWarehouse>
filterFindByC_A_C
(long companyId, boolean active, String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static CommerceInventoryWarehouse[]
filterFindByC_A_C_PrevAndNext
(long commerceInventoryWarehouseId, long companyId, boolean active, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static CommerceInventoryWarehouse[]
filterFindByC_A_PrevAndNext
(long commerceInventoryWarehouseId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where companyId = ? and active = ?.static List<CommerceInventoryWarehouse>
filterFindByC_C
(long companyId, String countryTwoLettersISOCode) Returns all the commerce inventory warehouses that the user has permission to view where companyId = ? and countryTwoLettersISOCode = ?.static List<CommerceInventoryWarehouse>
filterFindByC_C
(long companyId, String countryTwoLettersISOCode, int start, int end) Returns a range of all the commerce inventory warehouses that the user has permission to view where companyId = ? and countryTwoLettersISOCode = ?.static List<CommerceInventoryWarehouse>
filterFindByC_C
(long companyId, String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where companyId = ? and countryTwoLettersISOCode = ?.static CommerceInventoryWarehouse[]
filterFindByC_C_PrevAndNext
(long commerceInventoryWarehouseId, long companyId, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where companyId = ? and countryTwoLettersISOCode = ?.static List<CommerceInventoryWarehouse>
filterFindByCompanyId
(long companyId) Returns all the commerce inventory warehouses that the user has permission to view where companyId = ?.static List<CommerceInventoryWarehouse>
filterFindByCompanyId
(long companyId, int start, int end) Returns a range of all the commerce inventory warehouses that the user has permission to view where companyId = ?.static List<CommerceInventoryWarehouse>
filterFindByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where companyId = ?.static CommerceInventoryWarehouse[]
filterFindByCompanyId_PrevAndNext
(long commerceInventoryWarehouseId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where companyId = ?.static List<CommerceInventoryWarehouse>
filterFindByUuid
(String uuid) Returns all the commerce inventory warehouses that the user has permission to view where uuid = ?.static List<CommerceInventoryWarehouse>
filterFindByUuid
(String uuid, int start, int end) Returns a range of all the commerce inventory warehouses that the user has permission to view where uuid = ?.static List<CommerceInventoryWarehouse>
filterFindByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where uuid = ?.static List<CommerceInventoryWarehouse>
filterFindByUuid_C
(String uuid, long companyId) Returns all the commerce inventory warehouses that the user has permission to view where uuid = ? and companyId = ?.static List<CommerceInventoryWarehouse>
filterFindByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce inventory warehouses that the user has permission to view where uuid = ? and companyId = ?.static List<CommerceInventoryWarehouse>
filterFindByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where uuid = ? and companyId = ?.static CommerceInventoryWarehouse[]
filterFindByUuid_C_PrevAndNext
(long commerceInventoryWarehouseId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where uuid = ? and companyId = ?.static CommerceInventoryWarehouse[]
filterFindByUuid_PrevAndNext
(long commerceInventoryWarehouseId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where uuid = ?.static List<CommerceInventoryWarehouse>
findAll()
Returns all the commerce inventory warehouses.static List<CommerceInventoryWarehouse>
findAll
(int start, int end) Returns a range of all the commerce inventory warehouses.static List<CommerceInventoryWarehouse>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses.static List<CommerceInventoryWarehouse>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouses.static List<CommerceInventoryWarehouse>
findByC_A
(long companyId, boolean active) Returns all the commerce inventory warehouses where companyId = ? and active = ?.static List<CommerceInventoryWarehouse>
findByC_A
(long companyId, boolean active, int start, int end) Returns a range of all the commerce inventory warehouses where companyId = ? and active = ?.static List<CommerceInventoryWarehouse>
findByC_A
(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses where companyId = ? and active = ?.static List<CommerceInventoryWarehouse>
findByC_A
(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouses where companyId = ? and active = ?.static List<CommerceInventoryWarehouse>
findByC_A_C
(long companyId, boolean active, String countryTwoLettersISOCode) Returns all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static List<CommerceInventoryWarehouse>
findByC_A_C
(long companyId, boolean active, String countryTwoLettersISOCode, int start, int end) Returns a range of all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static List<CommerceInventoryWarehouse>
findByC_A_C
(long companyId, boolean active, String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static List<CommerceInventoryWarehouse>
findByC_A_C
(long companyId, boolean active, String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static CommerceInventoryWarehouse
findByC_A_C_First
(long companyId, boolean active, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static CommerceInventoryWarehouse
findByC_A_C_Last
(long companyId, boolean active, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static CommerceInventoryWarehouse[]
findByC_A_C_PrevAndNext
(long commerceInventoryWarehouseId, long companyId, boolean active, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.static CommerceInventoryWarehouse
findByC_A_First
(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where companyId = ? and active = ?.static CommerceInventoryWarehouse
findByC_A_Last
(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where companyId = ? and active = ?.static CommerceInventoryWarehouse[]
findByC_A_PrevAndNext
(long commerceInventoryWarehouseId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where companyId = ? and active = ?.static List<CommerceInventoryWarehouse>
Returns all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.static List<CommerceInventoryWarehouse>
Returns a range of all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.static List<CommerceInventoryWarehouse>
findByC_C
(long companyId, String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.static List<CommerceInventoryWarehouse>
findByC_C
(long companyId, String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.static CommerceInventoryWarehouse
findByC_C_First
(long companyId, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.static CommerceInventoryWarehouse
findByC_C_Last
(long companyId, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.static CommerceInventoryWarehouse[]
findByC_C_PrevAndNext
(long commerceInventoryWarehouseId, long companyId, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.static List<CommerceInventoryWarehouse>
findByCompanyId
(long companyId) Returns all the commerce inventory warehouses where companyId = ?.static List<CommerceInventoryWarehouse>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the commerce inventory warehouses where companyId = ?.static List<CommerceInventoryWarehouse>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses where companyId = ?.static List<CommerceInventoryWarehouse>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouses where companyId = ?.static CommerceInventoryWarehouse
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where companyId = ?.static CommerceInventoryWarehouse
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where companyId = ?.static CommerceInventoryWarehouse[]
findByCompanyId_PrevAndNext
(long commerceInventoryWarehouseId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where companyId = ?.static CommerceInventoryWarehouse
findByERC_C
(String externalReferenceCode, long companyId) Returns the commerce inventory warehouse where externalReferenceCode = ? and companyId = ? or throws aNoSuchInventoryWarehouseException
if it could not be found.static CommerceInventoryWarehouse
findByPrimaryKey
(long commerceInventoryWarehouseId) Returns the commerce inventory warehouse with the primary key or throws aNoSuchInventoryWarehouseException
if it could not be found.static List<CommerceInventoryWarehouse>
findByUuid
(String uuid) Returns all the commerce inventory warehouses where uuid = ?.static List<CommerceInventoryWarehouse>
findByUuid
(String uuid, int start, int end) Returns a range of all the commerce inventory warehouses where uuid = ?.static List<CommerceInventoryWarehouse>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses where uuid = ?.static List<CommerceInventoryWarehouse>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouses where uuid = ?.static List<CommerceInventoryWarehouse>
findByUuid_C
(String uuid, long companyId) Returns all the commerce inventory warehouses where uuid = ? and companyId = ?.static List<CommerceInventoryWarehouse>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce inventory warehouses where uuid = ? and companyId = ?.static List<CommerceInventoryWarehouse>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses where uuid = ? and companyId = ?.static List<CommerceInventoryWarehouse>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouses where uuid = ? and companyId = ?.static CommerceInventoryWarehouse
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where uuid = ? and companyId = ?.static CommerceInventoryWarehouse
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where uuid = ? and companyId = ?.static CommerceInventoryWarehouse[]
findByUuid_C_PrevAndNext
(long commerceInventoryWarehouseId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where uuid = ? and companyId = ?.static CommerceInventoryWarehouse
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where uuid = ?.static CommerceInventoryWarehouse
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where uuid = ?.static CommerceInventoryWarehouse[]
findByUuid_PrevAndNext
(long commerceInventoryWarehouseId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where uuid = ?.static List<CommerceInventoryWarehouse>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommerceInventoryWarehouse>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommerceInventoryWarehouse>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) static CommerceInventoryWarehouse
remove
(long commerceInventoryWarehouseId) Removes the commerce inventory warehouse with the primary key from the database.static void
Removes all the commerce inventory warehouses from the database.static void
removeByC_A
(long companyId, boolean active) Removes all the commerce inventory warehouses where companyId = ? and active = ? from the database.static void
removeByC_A_C
(long companyId, boolean active, String countryTwoLettersISOCode) Removes all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ? from the database.static void
removeByC_C
(long companyId, String countryTwoLettersISOCode) Removes all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the commerce inventory warehouses where companyId = ? from the database.static CommerceInventoryWarehouse
removeByERC_C
(String externalReferenceCode, long companyId) Removes the commerce inventory warehouse where externalReferenceCode = ? and companyId = ? from the database.static void
removeByUuid
(String uuid) Removes all the commerce inventory warehouses where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce inventory warehouses where uuid = ? and companyId = ? from the database.static void
setPersistence
(CommerceInventoryWarehousePersistence persistence) static CommerceInventoryWarehouse
update
(CommerceInventoryWarehouse commerceInventoryWarehouse) static CommerceInventoryWarehouse
update
(CommerceInventoryWarehouse commerceInventoryWarehouse, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceInventoryWarehouse
updateImpl
(CommerceInventoryWarehouse commerceInventoryWarehouse)
-
Constructor Details
-
CommerceInventoryWarehouseUtil
public CommerceInventoryWarehouseUtil()
-
-
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,CommerceInventoryWarehouse> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommerceInventoryWarehouse> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommerceInventoryWarehouse> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommerceInventoryWarehouse> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CommerceInventoryWarehouse update(CommerceInventoryWarehouse commerceInventoryWarehouse) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommerceInventoryWarehouse update(CommerceInventoryWarehouse commerceInventoryWarehouse, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the commerce inventory warehouses where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching commerce inventory warehouses
-
findByUuid
Returns a range of all the commerce inventory warehouses where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)- Returns:
- the range of matching commerce inventory warehouses
-
findByUuid
public static List<CommerceInventoryWarehouse> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce inventory warehouses
-
findByUuid
public static List<CommerceInventoryWarehouse> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouses where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (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 warehouses
-
findByUuid_First
public static CommerceInventoryWarehouse findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the first commerce inventory warehouse 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
- Throws:
NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundNoSuchInventoryWarehouseException
-
fetchByUuid_First
public static CommerceInventoryWarehouse fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse 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, or
null
if a matching commerce inventory warehouse could not be found
-
findByUuid_Last
public static CommerceInventoryWarehouse findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the last commerce inventory warehouse in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundNoSuchInventoryWarehouseException
-
fetchByUuid_Last
public static CommerceInventoryWarehouse fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce inventory warehouse, or
null
if a matching commerce inventory warehouse could not be found
-
findByUuid_PrevAndNext
public static CommerceInventoryWarehouse[] findByUuid_PrevAndNext(long commerceInventoryWarehouseId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where uuid = ?.- Parameters:
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehouseuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundNoSuchInventoryWarehouseException
-
filterFindByUuid
Returns all the commerce inventory warehouses that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching commerce inventory warehouses that the user has permission to view
-
filterFindByUuid
Returns a range of all the commerce inventory warehouses that the user has permission to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)- Returns:
- the range of matching commerce inventory warehouses that the user has permission to view
-
filterFindByUuid
public static List<CommerceInventoryWarehouse> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce inventory warehouses that the user has permission to view
-
filterFindByUuid_PrevAndNext
public static CommerceInventoryWarehouse[] filterFindByUuid_PrevAndNext(long commerceInventoryWarehouseId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where uuid = ?.- Parameters:
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehouseuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundNoSuchInventoryWarehouseException
-
removeByUuid
Removes all the commerce inventory warehouses where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of commerce inventory warehouses where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching commerce inventory warehouses
-
filterCountByUuid
Returns the number of commerce inventory warehouses that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching commerce inventory warehouses that the user has permission to view
-
findByUuid_C
Returns all the commerce inventory warehouses where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching commerce inventory warehouses
-
findByUuid_C
public static List<CommerceInventoryWarehouse> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce inventory warehouses where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)- Returns:
- the range of matching commerce inventory warehouses
-
findByUuid_C
public static List<CommerceInventoryWarehouse> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce inventory warehouses
-
findByUuid_C
public static List<CommerceInventoryWarehouse> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouses where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (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 warehouses
-
findByUuid_C_First
public static CommerceInventoryWarehouse findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the first commerce inventory warehouse 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
- Throws:
NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundNoSuchInventoryWarehouseException
-
fetchByUuid_C_First
public static CommerceInventoryWarehouse fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse 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, or
null
if a matching commerce inventory warehouse could not be found
-
findByUuid_C_Last
public static CommerceInventoryWarehouse findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the last commerce inventory warehouse 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 inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundNoSuchInventoryWarehouseException
-
fetchByUuid_C_Last
public static CommerceInventoryWarehouse fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse 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 inventory warehouse, or
null
if a matching commerce inventory warehouse could not be found
-
findByUuid_C_PrevAndNext
public static CommerceInventoryWarehouse[] findByUuid_C_PrevAndNext(long commerceInventoryWarehouseId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where uuid = ? and companyId = ?.- Parameters:
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehouseuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundNoSuchInventoryWarehouseException
-
filterFindByUuid_C
Returns all the commerce inventory warehouses that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching commerce inventory warehouses that the user has permission to view
-
filterFindByUuid_C
public static List<CommerceInventoryWarehouse> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce inventory warehouses that the user has permission to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)- Returns:
- the range of matching commerce inventory warehouses that the user has permission to view
-
filterFindByUuid_C
public static List<CommerceInventoryWarehouse> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce inventory warehouses that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
public static CommerceInventoryWarehouse[] filterFindByUuid_C_PrevAndNext(long commerceInventoryWarehouseId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehouseuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundNoSuchInventoryWarehouseException
-
removeByUuid_C
Removes all the commerce inventory warehouses where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of commerce inventory warehouses where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching commerce inventory warehouses
-
filterCountByUuid_C
Returns the number of commerce inventory warehouses that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching commerce inventory warehouses that the user has permission to view
-
findByCompanyId
Returns all the commerce inventory warehouses where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching commerce inventory warehouses
-
findByCompanyId
Returns a range of all the commerce inventory warehouses where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)- Returns:
- the range of matching commerce inventory warehouses
-
findByCompanyId
public static List<CommerceInventoryWarehouse> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce inventory warehouses
-
findByCompanyId
public static List<CommerceInventoryWarehouse> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouses where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (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 warehouses
-
findByCompanyId_First
public static CommerceInventoryWarehouse findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the first commerce inventory warehouse 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
- Throws:
NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundNoSuchInventoryWarehouseException
-
fetchByCompanyId_First
public static CommerceInventoryWarehouse fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse 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, or
null
if a matching commerce inventory warehouse could not be found
-
findByCompanyId_Last
public static CommerceInventoryWarehouse findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the last commerce inventory warehouse in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundNoSuchInventoryWarehouseException
-
fetchByCompanyId_Last
public static CommerceInventoryWarehouse fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce inventory warehouse, or
null
if a matching commerce inventory warehouse could not be found
-
findByCompanyId_PrevAndNext
public static CommerceInventoryWarehouse[] findByCompanyId_PrevAndNext(long commerceInventoryWarehouseId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where companyId = ?.- Parameters:
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundNoSuchInventoryWarehouseException
-
filterFindByCompanyId
Returns all the commerce inventory warehouses that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching commerce inventory warehouses that the user has permission to view
-
filterFindByCompanyId
public static List<CommerceInventoryWarehouse> filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the commerce inventory warehouses that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)- Returns:
- the range of matching commerce inventory warehouses that the user has permission to view
-
filterFindByCompanyId
public static List<CommerceInventoryWarehouse> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce inventory warehouses that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
public static CommerceInventoryWarehouse[] filterFindByCompanyId_PrevAndNext(long commerceInventoryWarehouseId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where companyId = ?.- Parameters:
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundNoSuchInventoryWarehouseException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the commerce inventory warehouses where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of commerce inventory warehouses where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching commerce inventory warehouses
-
filterCountByCompanyId
public static int filterCountByCompanyId(long companyId) Returns the number of commerce inventory warehouses that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching commerce inventory warehouses that the user has permission to view
-
findByC_A
Returns all the commerce inventory warehouses where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the active- Returns:
- the matching commerce inventory warehouses
-
findByC_A
public static List<CommerceInventoryWarehouse> findByC_A(long companyId, boolean active, int start, int end) Returns a range of all the commerce inventory warehouses where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)- Returns:
- the range of matching commerce inventory warehouses
-
findByC_A
public static List<CommerceInventoryWarehouse> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce inventory warehouses
-
findByC_A
public static List<CommerceInventoryWarehouse> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouses where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (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 warehouses
-
findByC_A_First
public static CommerceInventoryWarehouse findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the first commerce inventory warehouse in the ordered set where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundNoSuchInventoryWarehouseException
-
fetchByC_A_First
public static CommerceInventoryWarehouse fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce inventory warehouse, or
null
if a matching commerce inventory warehouse could not be found
-
findByC_A_Last
public static CommerceInventoryWarehouse findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the last commerce inventory warehouse in the ordered set where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundNoSuchInventoryWarehouseException
-
fetchByC_A_Last
public static CommerceInventoryWarehouse fetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce inventory warehouse, or
null
if a matching commerce inventory warehouse could not be found
-
findByC_A_PrevAndNext
public static CommerceInventoryWarehouse[] findByC_A_PrevAndNext(long commerceInventoryWarehouseId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where companyId = ? and active = ?.- Parameters:
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundNoSuchInventoryWarehouseException
-
filterFindByC_A
Returns all the commerce inventory warehouses that the user has permission to view where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the active- Returns:
- the matching commerce inventory warehouses that the user has permission to view
-
filterFindByC_A
public static List<CommerceInventoryWarehouse> filterFindByC_A(long companyId, boolean active, int start, int end) Returns a range of all the commerce inventory warehouses that the user has permission to view where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)- Returns:
- the range of matching commerce inventory warehouses that the user has permission to view
-
filterFindByC_A
public static List<CommerceInventoryWarehouse> filterFindByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce inventory warehouses that the user has permission to view
-
filterFindByC_A_PrevAndNext
public static CommerceInventoryWarehouse[] filterFindByC_A_PrevAndNext(long commerceInventoryWarehouseId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where companyId = ? and active = ?.- Parameters:
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundNoSuchInventoryWarehouseException
-
removeByC_A
public static void removeByC_A(long companyId, boolean active) Removes all the commerce inventory warehouses where companyId = ? and active = ? from the database.- Parameters:
companyId
- the company IDactive
- the active
-
countByC_A
public static int countByC_A(long companyId, boolean active) Returns the number of commerce inventory warehouses where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the active- Returns:
- the number of matching commerce inventory warehouses
-
filterCountByC_A
public static int filterCountByC_A(long companyId, boolean active) Returns the number of commerce inventory warehouses that the user has permission to view where companyId = ? and active = ?.- Parameters:
companyId
- the company IDactive
- the active- Returns:
- the number of matching commerce inventory warehouses that the user has permission to view
-
findByC_C
public static List<CommerceInventoryWarehouse> findByC_C(long companyId, String countryTwoLettersISOCode) Returns all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso code- Returns:
- the matching commerce inventory warehouses
-
findByC_C
public static List<CommerceInventoryWarehouse> findByC_C(long companyId, String countryTwoLettersISOCode, int start, int end) Returns a range of all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)- Returns:
- the range of matching commerce inventory warehouses
-
findByC_C
public static List<CommerceInventoryWarehouse> findByC_C(long companyId, String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce inventory warehouses
-
findByC_C
public static List<CommerceInventoryWarehouse> findByC_C(long companyId, String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (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 warehouses
-
findByC_C_First
public static CommerceInventoryWarehouse findByC_C_First(long companyId, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the first commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundNoSuchInventoryWarehouseException
-
fetchByC_C_First
public static CommerceInventoryWarehouse fetchByC_C_First(long companyId, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce inventory warehouse, or
null
if a matching commerce inventory warehouse could not be found
-
findByC_C_Last
public static CommerceInventoryWarehouse findByC_C_Last(long companyId, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the last commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundNoSuchInventoryWarehouseException
-
fetchByC_C_Last
public static CommerceInventoryWarehouse fetchByC_C_Last(long companyId, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce inventory warehouse, or
null
if a matching commerce inventory warehouse could not be found
-
findByC_C_PrevAndNext
public static CommerceInventoryWarehouse[] findByC_C_PrevAndNext(long commerceInventoryWarehouseId, long companyId, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where companyId = ? and countryTwoLettersISOCode = ?.- Parameters:
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundNoSuchInventoryWarehouseException
-
filterFindByC_C
public static List<CommerceInventoryWarehouse> filterFindByC_C(long companyId, String countryTwoLettersISOCode) Returns all the commerce inventory warehouses that the user has permission to view where companyId = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso code- Returns:
- the matching commerce inventory warehouses that the user has permission to view
-
filterFindByC_C
public static List<CommerceInventoryWarehouse> filterFindByC_C(long companyId, String countryTwoLettersISOCode, int start, int end) Returns a range of all the commerce inventory warehouses that the user has permission to view where companyId = ? and countryTwoLettersISOCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)- Returns:
- the range of matching commerce inventory warehouses that the user has permission to view
-
filterFindByC_C
public static List<CommerceInventoryWarehouse> filterFindByC_C(long companyId, String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where companyId = ? and countryTwoLettersISOCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce inventory warehouses that the user has permission to view
-
filterFindByC_C_PrevAndNext
public static CommerceInventoryWarehouse[] filterFindByC_C_PrevAndNext(long commerceInventoryWarehouseId, long companyId, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where companyId = ? and countryTwoLettersISOCode = ?.- Parameters:
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundNoSuchInventoryWarehouseException
-
removeByC_C
Removes all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ? from the database.- Parameters:
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso code
-
countByC_C
Returns the number of commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso code- Returns:
- the number of matching commerce inventory warehouses
-
filterCountByC_C
Returns the number of commerce inventory warehouses that the user has permission to view where companyId = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDcountryTwoLettersISOCode
- the country two letters iso code- Returns:
- the number of matching commerce inventory warehouses that the user has permission to view
-
findByC_A_C
public static List<CommerceInventoryWarehouse> findByC_A_C(long companyId, boolean active, String countryTwoLettersISOCode) Returns all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso code- Returns:
- the matching commerce inventory warehouses
-
findByC_A_C
public static List<CommerceInventoryWarehouse> findByC_A_C(long companyId, boolean active, String countryTwoLettersISOCode, int start, int end) Returns a range of all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)- Returns:
- the range of matching commerce inventory warehouses
-
findByC_A_C
public static List<CommerceInventoryWarehouse> findByC_A_C(long companyId, boolean active, String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce inventory warehouses
-
findByC_A_C
public static List<CommerceInventoryWarehouse> findByC_A_C(long companyId, boolean active, String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (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 warehouses
-
findByC_A_C_First
public static CommerceInventoryWarehouse findByC_A_C_First(long companyId, boolean active, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the first commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundNoSuchInventoryWarehouseException
-
fetchByC_A_C_First
public static CommerceInventoryWarehouse fetchByC_A_C_First(long companyId, boolean active, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the first commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce inventory warehouse, or
null
if a matching commerce inventory warehouse could not be found
-
findByC_A_C_Last
public static CommerceInventoryWarehouse findByC_A_C_Last(long companyId, boolean active, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the last commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundNoSuchInventoryWarehouseException
-
fetchByC_A_C_Last
public static CommerceInventoryWarehouse fetchByC_A_C_Last(long companyId, boolean active, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns the last commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce inventory warehouse, or
null
if a matching commerce inventory warehouse could not be found
-
findByC_A_C_PrevAndNext
public static CommerceInventoryWarehouse[] findByC_A_C_PrevAndNext(long commerceInventoryWarehouseId, long companyId, boolean active, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set where companyId = ? and active = ? and countryTwoLettersISOCode = ?.- Parameters:
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundNoSuchInventoryWarehouseException
-
filterFindByC_A_C
public static List<CommerceInventoryWarehouse> filterFindByC_A_C(long companyId, boolean active, String countryTwoLettersISOCode) Returns all the commerce inventory warehouses that the user has permission to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso code- Returns:
- the matching commerce inventory warehouses that the user has permission to view
-
filterFindByC_A_C
public static List<CommerceInventoryWarehouse> filterFindByC_A_C(long companyId, boolean active, String countryTwoLettersISOCode, int start, int end) Returns a range of all the commerce inventory warehouses that the user has permission to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)- Returns:
- the range of matching commerce inventory warehouses that the user has permission to view
-
filterFindByC_A_C
public static List<CommerceInventoryWarehouse> filterFindByC_A_C(long companyId, boolean active, String countryTwoLettersISOCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses that the user has permissions to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codestart
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce inventory warehouses that the user has permission to view
-
filterFindByC_A_C_PrevAndNext
public static CommerceInventoryWarehouse[] filterFindByC_A_C_PrevAndNext(long commerceInventoryWarehouseId, long companyId, boolean active, String countryTwoLettersISOCode, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) throws NoSuchInventoryWarehouseException Returns the commerce inventory warehouses before and after the current commerce inventory warehouse in the ordered set of commerce inventory warehouses that the user has permission to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.- Parameters:
commerceInventoryWarehouseId
- the primary key of the current commerce inventory warehousecompanyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundNoSuchInventoryWarehouseException
-
removeByC_A_C
Removes all the commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ? from the database.- Parameters:
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso code
-
countByC_A_C
Returns the number of commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso code- Returns:
- the number of matching commerce inventory warehouses
-
filterCountByC_A_C
public static int filterCountByC_A_C(long companyId, boolean active, String countryTwoLettersISOCode) Returns the number of commerce inventory warehouses that the user has permission to view where companyId = ? and active = ? and countryTwoLettersISOCode = ?.- Parameters:
companyId
- the company IDactive
- the activecountryTwoLettersISOCode
- the country two letters iso code- Returns:
- the number of matching commerce inventory warehouses that the user has permission to view
-
findByERC_C
public static CommerceInventoryWarehouse findByERC_C(String externalReferenceCode, long companyId) throws NoSuchInventoryWarehouseException Returns the commerce inventory warehouse where externalReferenceCode = ? and companyId = ? or throws aNoSuchInventoryWarehouseException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a matching commerce inventory warehouse could not be foundNoSuchInventoryWarehouseException
-
fetchByERC_C
Returns the commerce inventory warehouse where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce inventory warehouse, or
null
if a matching commerce inventory warehouse could not be found
-
fetchByERC_C
public static CommerceInventoryWarehouse fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce inventory warehouse where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce inventory warehouse, or
null
if a matching commerce inventory warehouse could not be found
-
removeByERC_C
public static CommerceInventoryWarehouse removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchInventoryWarehouseException Removes the commerce inventory warehouse where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the commerce inventory warehouse that was removed
- Throws:
NoSuchInventoryWarehouseException
-
countByERC_C
Returns the number of commerce inventory warehouses where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching commerce inventory warehouses
-
cacheResult
Caches the commerce inventory warehouse in the entity cache if it is enabled.- Parameters:
commerceInventoryWarehouse
- the commerce inventory warehouse
-
cacheResult
Caches the commerce inventory warehouses in the entity cache if it is enabled.- Parameters:
commerceInventoryWarehouses
- the commerce inventory warehouses
-
create
Creates a new commerce inventory warehouse with the primary key. Does not add the commerce inventory warehouse to the database.- Parameters:
commerceInventoryWarehouseId
- the primary key for the new commerce inventory warehouse- Returns:
- the new commerce inventory warehouse
-
remove
public static CommerceInventoryWarehouse remove(long commerceInventoryWarehouseId) throws NoSuchInventoryWarehouseException Removes the commerce inventory warehouse with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceInventoryWarehouseId
- the primary key of the commerce inventory warehouse- Returns:
- the commerce inventory warehouse that was removed
- Throws:
NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundNoSuchInventoryWarehouseException
-
updateImpl
public static CommerceInventoryWarehouse updateImpl(CommerceInventoryWarehouse commerceInventoryWarehouse) -
findByPrimaryKey
public static CommerceInventoryWarehouse findByPrimaryKey(long commerceInventoryWarehouseId) throws NoSuchInventoryWarehouseException Returns the commerce inventory warehouse with the primary key or throws aNoSuchInventoryWarehouseException
if it could not be found.- Parameters:
commerceInventoryWarehouseId
- the primary key of the commerce inventory warehouse- Returns:
- the commerce inventory warehouse
- Throws:
NoSuchInventoryWarehouseException
- if a commerce inventory warehouse with the primary key could not be foundNoSuchInventoryWarehouseException
-
fetchByPrimaryKey
Returns the commerce inventory warehouse with the primary key or returnsnull
if it could not be found.- Parameters:
commerceInventoryWarehouseId
- the primary key of the commerce inventory warehouse- Returns:
- the commerce inventory warehouse, or
null
if a commerce inventory warehouse with the primary key could not be found
-
findAll
Returns all the commerce inventory warehouses.- Returns:
- the commerce inventory warehouses
-
findAll
Returns a range of all the commerce inventory warehouses.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
start
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)- Returns:
- the range of commerce inventory warehouses
-
findAll
public static List<CommerceInventoryWarehouse> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator) Returns an ordered range of all the commerce inventory warehouses.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
start
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of commerce inventory warehouses
-
findAll
public static List<CommerceInventoryWarehouse> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryWarehouse> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce inventory warehouses.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceInventoryWarehouseModelImpl
.- Parameters:
start
- the lower bound of the range of commerce inventory warehousesend
- the upper bound of the range of commerce inventory warehouses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce inventory warehouses
-
removeAll
public static void removeAll()Removes all the commerce inventory warehouses from the database. -
countAll
public static int countAll()Returns the number of commerce inventory warehouses.- Returns:
- the number of commerce inventory warehouses
-
getPersistence
-
setPersistence
-