Class CommerceInventoryWarehouseUtil

java.lang.Object
com.liferay.commerce.inventory.service.persistence.CommerceInventoryWarehouseUtil

public class CommerceInventoryWarehouseUtil extends Object
The persistence utility for the commerce inventory warehouse service. This utility wraps 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 Details

    • CommerceInventoryWarehouseUtil

      public CommerceInventoryWarehouseUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(CommerceInventoryWarehouse commerceInventoryWarehouse)
      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

      public static List<CommerceInventoryWarehouse> findByUuid(String uuid)
      Returns all the commerce inventory warehouses where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce inventory warehouses
    • findByUuid

      public static List<CommerceInventoryWarehouse> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce inventory warehouses where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce inventory warehouses
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a matching commerce inventory warehouse could not be found
      NoSuchInventoryWarehouseException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a matching commerce inventory warehouse could not be found
      NoSuchInventoryWarehouseException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 warehouse
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a commerce inventory warehouse with the primary key could not be found
      NoSuchInventoryWarehouseException
    • filterFindByUuid

      public static List<CommerceInventoryWarehouse> filterFindByUuid(String uuid)
      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

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce inventory warehouses
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 warehouse
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a commerce inventory warehouse with the primary key could not be found
      NoSuchInventoryWarehouseException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the commerce inventory warehouses where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of commerce inventory warehouses where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce inventory warehouses
    • filterCountByUuid

      public static int filterCountByUuid(String uuid)
      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

      public static List<CommerceInventoryWarehouse> findByUuid_C(String uuid, long companyId)
      Returns all the commerce inventory warehouses where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce inventory warehouses
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a matching commerce inventory warehouse could not be found
      NoSuchInventoryWarehouseException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a matching commerce inventory warehouse could not be found
      NoSuchInventoryWarehouseException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 warehouse
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a commerce inventory warehouse with the primary key could not be found
      NoSuchInventoryWarehouseException
    • filterFindByUuid_C

      public 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 = ?.
      Parameters:
      uuid - the uuid
      companyId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce inventory warehouses
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 warehouse
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a commerce inventory warehouse with the primary key could not be found
      NoSuchInventoryWarehouseException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the commerce inventory warehouses where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of commerce inventory warehouses where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce inventory warehouses
    • filterCountByUuid_C

      public 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 = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce inventory warehouses that the user has permission to view
    • findByCompanyId

      public static List<CommerceInventoryWarehouse> findByCompanyId(long companyId)
      Returns all the commerce inventory warehouses where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching commerce inventory warehouses
    • findByCompanyId

      public static List<CommerceInventoryWarehouse> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce inventory warehouses where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce inventory warehouses
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a matching commerce inventory warehouse could not be found
      NoSuchInventoryWarehouseException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a matching commerce inventory warehouse could not be found
      NoSuchInventoryWarehouseException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 warehouse
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a commerce inventory warehouse with the primary key could not be found
      NoSuchInventoryWarehouseException
    • filterFindByCompanyId

      public static List<CommerceInventoryWarehouse> filterFindByCompanyId(long companyId)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce inventory warehouses
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 warehouse
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a commerce inventory warehouse with the primary key could not be found
      NoSuchInventoryWarehouseException
    • 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

      public static List<CommerceInventoryWarehouse> findByC_A(long companyId, boolean active)
      Returns all the commerce inventory warehouses where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of commerce inventory warehouses
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a matching commerce inventory warehouse could not be found
      NoSuchInventoryWarehouseException
    • 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 ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a matching commerce inventory warehouse could not be found
      NoSuchInventoryWarehouseException
    • 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 ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      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 warehouse
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a commerce inventory warehouse with the primary key could not be found
      NoSuchInventoryWarehouseException
    • filterFindByC_A

      public 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 = ?.
      Parameters:
      companyId - the company ID
      active - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of commerce inventory warehouses
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 warehouse
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a commerce inventory warehouse with the primary key could not be found
      NoSuchInventoryWarehouseException
    • 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 ID
      active - 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 ID
      active - 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 ID
      active - 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 ID
      countryTwoLettersISOCode - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      countryTwoLettersISOCode - the country two letters iso code
      start - the lower bound of the range of commerce inventory warehouses
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      countryTwoLettersISOCode - the country two letters iso code
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      countryTwoLettersISOCode - the country two letters iso code
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      countryTwoLettersISOCode - the country two letters iso code
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a matching commerce inventory warehouse could not be found
      NoSuchInventoryWarehouseException
    • 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 ID
      countryTwoLettersISOCode - the country two letters iso code
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      countryTwoLettersISOCode - the country two letters iso code
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a matching commerce inventory warehouse could not be found
      NoSuchInventoryWarehouseException
    • 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 ID
      countryTwoLettersISOCode - the country two letters iso code
      orderByComparator - the comparator to order the set by (optionally null)
      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 warehouse
      companyId - the company ID
      countryTwoLettersISOCode - the country two letters iso code
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a commerce inventory warehouse with the primary key could not be found
      NoSuchInventoryWarehouseException
    • 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 ID
      countryTwoLettersISOCode - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      countryTwoLettersISOCode - the country two letters iso code
      start - the lower bound of the range of commerce inventory warehouses
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      countryTwoLettersISOCode - the country two letters iso code
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 warehouse
      companyId - the company ID
      countryTwoLettersISOCode - the country two letters iso code
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a commerce inventory warehouse with the primary key could not be found
      NoSuchInventoryWarehouseException
    • removeByC_C

      public static void removeByC_C(long companyId, String countryTwoLettersISOCode)
      Removes all the commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ? from the database.
      Parameters:
      companyId - the company ID
      countryTwoLettersISOCode - the country two letters iso code
    • countByC_C

      public static int countByC_C(long companyId, String countryTwoLettersISOCode)
      Returns the number of commerce inventory warehouses where companyId = ? and countryTwoLettersISOCode = ?.
      Parameters:
      companyId - the company ID
      countryTwoLettersISOCode - the country two letters iso code
      Returns:
      the number of matching commerce inventory warehouses
    • filterCountByC_C

      public 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 = ?.
      Parameters:
      companyId - the company ID
      countryTwoLettersISOCode - 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 ID
      active - the active
      countryTwoLettersISOCode - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      countryTwoLettersISOCode - the country two letters iso code
      start - the lower bound of the range of commerce inventory warehouses
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      countryTwoLettersISOCode - the country two letters iso code
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      countryTwoLettersISOCode - the country two letters iso code
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      active - the active
      countryTwoLettersISOCode - the country two letters iso code
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a matching commerce inventory warehouse could not be found
      NoSuchInventoryWarehouseException
    • 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 ID
      active - the active
      countryTwoLettersISOCode - the country two letters iso code
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      active - the active
      countryTwoLettersISOCode - the country two letters iso code
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a matching commerce inventory warehouse could not be found
      NoSuchInventoryWarehouseException
    • 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 ID
      active - the active
      countryTwoLettersISOCode - the country two letters iso code
      orderByComparator - the comparator to order the set by (optionally null)
      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 warehouse
      companyId - the company ID
      active - the active
      countryTwoLettersISOCode - the country two letters iso code
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a commerce inventory warehouse with the primary key could not be found
      NoSuchInventoryWarehouseException
    • 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 ID
      active - the active
      countryTwoLettersISOCode - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      countryTwoLettersISOCode - the country two letters iso code
      start - the lower bound of the range of commerce inventory warehouses
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      countryTwoLettersISOCode - the country two letters iso code
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 warehouse
      companyId - the company ID
      active - the active
      countryTwoLettersISOCode - the country two letters iso code
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a commerce inventory warehouse with the primary key could not be found
      NoSuchInventoryWarehouseException
    • removeByC_A_C

      public 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.
      Parameters:
      companyId - the company ID
      active - the active
      countryTwoLettersISOCode - the country two letters iso code
    • countByC_A_C

      public static int countByC_A_C(long companyId, boolean active, String countryTwoLettersISOCode)
      Returns the number of commerce inventory warehouses where companyId = ? and active = ? and countryTwoLettersISOCode = ?.
      Parameters:
      companyId - the company ID
      active - the active
      countryTwoLettersISOCode - 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 ID
      active - the active
      countryTwoLettersISOCode - 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 a NoSuchInventoryWarehouseException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching commerce inventory warehouse
      Throws:
      NoSuchInventoryWarehouseException - if a matching commerce inventory warehouse could not be found
      NoSuchInventoryWarehouseException
    • fetchByERC_C

      public static CommerceInventoryWarehouse fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the commerce inventory warehouse where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - 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 code
      companyId - the company ID
      Returns:
      the commerce inventory warehouse that was removed
      Throws:
      NoSuchInventoryWarehouseException
    • countByERC_C

      public static int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of commerce inventory warehouses where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching commerce inventory warehouses
    • cacheResult

      public static void cacheResult(CommerceInventoryWarehouse commerceInventoryWarehouse)
      Caches the commerce inventory warehouse in the entity cache if it is enabled.
      Parameters:
      commerceInventoryWarehouse - the commerce inventory warehouse
    • cacheResult

      public static void cacheResult(List<CommerceInventoryWarehouse> commerceInventoryWarehouses)
      Caches the commerce inventory warehouses in the entity cache if it is enabled.
      Parameters:
      commerceInventoryWarehouses - the commerce inventory warehouses
    • create

      public static CommerceInventoryWarehouse create(long commerceInventoryWarehouseId)
      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 found
      NoSuchInventoryWarehouseException
    • 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 a NoSuchInventoryWarehouseException 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 found
      NoSuchInventoryWarehouseException
    • fetchByPrimaryKey

      public static CommerceInventoryWarehouse fetchByPrimaryKey(long commerceInventoryWarehouseId)
      Returns the commerce inventory warehouse with the primary key or returns null 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

      public static List<CommerceInventoryWarehouse> findAll()
      Returns all the commerce inventory warehouses.
      Returns:
      the commerce inventory warehouses
    • findAll

      public static List<CommerceInventoryWarehouse> findAll(int start, int end)
      Returns a range of all the commerce inventory warehouses.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      start - the lower bound of the range of commerce inventory warehouses
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceInventoryWarehouseModelImpl.

      Parameters:
      start - the lower bound of the range of commerce inventory warehouses
      end - the upper bound of the range of commerce inventory warehouses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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

      public static CommerceInventoryWarehousePersistence getPersistence()
    • setPersistence

      public static void setPersistence(CommerceInventoryWarehousePersistence persistence)