Interface CommerceInventoryWarehousePersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceInventoryWarehouse>

@ProviderType public interface CommerceInventoryWarehousePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceInventoryWarehouse>
The persistence interface for the commerce inventory warehouse service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      Returns all the commerce inventory warehouses where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce inventory warehouses
    • findByUuid

      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

      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

      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

      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
    • fetchByUuid_First

      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

      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
    • fetchByUuid_Last

      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

      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
    • filterFindByUuid

      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

      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

      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

      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
    • removeByUuid

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

      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

      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

      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

      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

      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

      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

      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
    • fetchByUuid_C_First

      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

      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
    • fetchByUuid_C_Last

      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

      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
    • filterFindByUuid_C

      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

      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

      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

      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
    • removeByUuid_C

      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

      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

      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

      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

      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

      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

      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

      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
    • fetchByCompanyId_First

      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

      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
    • fetchByCompanyId_Last

      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

      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
    • filterFindByCompanyId

      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

      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

      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

      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
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the commerce inventory warehouses where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      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

      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

      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

      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

      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

      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

      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
    • fetchByC_A_First

      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

      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
    • fetchByC_A_Last

      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

      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
    • filterFindByC_A

      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

      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

      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

      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
    • removeByC_A

      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

      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

      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

      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

      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

      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

      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

      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
    • fetchByC_C_First

      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

      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
    • fetchByC_C_Last

      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

      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
    • filterFindByC_C

      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

      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

      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

      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
    • removeByC_C

      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

      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

      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

      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

      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

      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

      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

      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
    • fetchByC_A_C_First

      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

      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
    • fetchByC_A_C_Last

      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

      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
    • filterFindByC_A_C

      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

      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

      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

      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
    • removeByC_A_C

      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

      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

      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

      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
    • fetchByERC_C

      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

      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

      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

      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

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

      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

      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

      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
    • updateImpl

      CommerceInventoryWarehouse updateImpl(CommerceInventoryWarehouse commerceInventoryWarehouse)
    • findByPrimaryKey

      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
    • fetchByPrimaryKey

      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

      Returns all the commerce inventory warehouses.
      Returns:
      the commerce inventory warehouses
    • findAll

      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

      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

      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

      void removeAll()
      Removes all the commerce inventory warehouses from the database.
    • countAll

      int countAll()
      Returns the number of commerce inventory warehouses.
      Returns:
      the number of commerce inventory warehouses