Interface CommerceAvailabilityEstimatePersistence

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

@ProviderType public interface CommerceAvailabilityEstimatePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceAvailabilityEstimate>
The persistence interface for the commerce availability estimate service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      List<CommerceAvailabilityEstimate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (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 availability estimates
    • findByUuid_First

      CommerceAvailabilityEstimate findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
      Returns the first commerce availability estimate 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 availability estimate
      Throws:
      NoSuchAvailabilityEstimateException - if a matching commerce availability estimate could not be found
    • fetchByUuid_First

      CommerceAvailabilityEstimate fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
      Returns the first commerce availability estimate 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 availability estimate, or null if a matching commerce availability estimate could not be found
    • filterFindByUuid

      List<CommerceAvailabilityEstimate> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
      Returns an ordered range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce availability estimates that the user has permission to view
    • removeByUuid

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

      int countByUuid(String uuid)
      Returns the number of commerce availability estimates where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce availability estimates
    • filterCountByUuid

      int filterCountByUuid(String uuid)
      Returns the number of commerce availability estimates that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce availability estimates that the user has permission to view
    • findByUuid_C

      List<CommerceAvailabilityEstimate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (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 availability estimates
    • findByUuid_C_First

      CommerceAvailabilityEstimate findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
      Returns the first commerce availability estimate 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 availability estimate
      Throws:
      NoSuchAvailabilityEstimateException - if a matching commerce availability estimate could not be found
    • fetchByUuid_C_First

      CommerceAvailabilityEstimate fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
      Returns the first commerce availability estimate 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 availability estimate, or null if a matching commerce availability estimate could not be found
    • filterFindByUuid_C

      List<CommerceAvailabilityEstimate> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
      Returns an ordered range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce availability estimates that the user has permission to view
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the commerce availability estimates 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 availability estimates where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce availability estimates
    • filterCountByUuid_C

      int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of commerce availability estimates 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 availability estimates that the user has permission to view
    • findByCompanyId

      List<CommerceAvailabilityEstimate> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (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 availability estimates
    • findByCompanyId_First

      CommerceAvailabilityEstimate findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) throws NoSuchAvailabilityEstimateException
      Returns the first commerce availability estimate 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 availability estimate
      Throws:
      NoSuchAvailabilityEstimateException - if a matching commerce availability estimate could not be found
    • fetchByCompanyId_First

      CommerceAvailabilityEstimate fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
      Returns the first commerce availability estimate 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 availability estimate, or null if a matching commerce availability estimate could not be found
    • filterFindByCompanyId

      List<CommerceAvailabilityEstimate> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
      Returns an ordered range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce availability estimates that the user has permission to view
    • removeByCompanyId

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

      int countByCompanyId(long companyId)
      Returns the number of commerce availability estimates where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching commerce availability estimates
    • filterCountByCompanyId

      int filterCountByCompanyId(long companyId)
      Returns the number of commerce availability estimates that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching commerce availability estimates that the user has permission to view
    • findByERC_C

      CommerceAvailabilityEstimate findByERC_C(String externalReferenceCode, long companyId) throws NoSuchAvailabilityEstimateException
      Returns the commerce availability estimate where externalReferenceCode = ? and companyId = ? or throws a NoSuchAvailabilityEstimateException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching commerce availability estimate
      Throws:
      NoSuchAvailabilityEstimateException - if a matching commerce availability estimate could not be found
    • fetchByERC_C

      CommerceAvailabilityEstimate fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the commerce availability estimate 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 availability estimate, or null if a matching commerce availability estimate could not be found
    • removeByERC_C

      CommerceAvailabilityEstimate removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchAvailabilityEstimateException
      Removes the commerce availability estimate where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the commerce availability estimate that was removed
      Throws:
      NoSuchAvailabilityEstimateException
    • countByERC_C

      int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of commerce availability estimates where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching commerce availability estimates
    • create

      CommerceAvailabilityEstimate create(long commerceAvailabilityEstimateId)
      Creates a new commerce availability estimate with the primary key. Does not add the commerce availability estimate to the database.
      Parameters:
      commerceAvailabilityEstimateId - the primary key for the new commerce availability estimate
      Returns:
      the new commerce availability estimate
    • remove

      CommerceAvailabilityEstimate remove(long commerceAvailabilityEstimateId) throws NoSuchAvailabilityEstimateException
      Removes the commerce availability estimate with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceAvailabilityEstimateId - the primary key of the commerce availability estimate
      Returns:
      the commerce availability estimate that was removed
      Throws:
      NoSuchAvailabilityEstimateException - if a commerce availability estimate with the primary key could not be found
    • updateImpl

      CommerceAvailabilityEstimate updateImpl(CommerceAvailabilityEstimate commerceAvailabilityEstimate)
    • findByPrimaryKey

      CommerceAvailabilityEstimate findByPrimaryKey(long commerceAvailabilityEstimateId) throws NoSuchAvailabilityEstimateException
      Returns the commerce availability estimate with the primary key or throws a NoSuchAvailabilityEstimateException if it could not be found.
      Parameters:
      commerceAvailabilityEstimateId - the primary key of the commerce availability estimate
      Returns:
      the commerce availability estimate
      Throws:
      NoSuchAvailabilityEstimateException - if a commerce availability estimate with the primary key could not be found
    • fetchByPrimaryKey

      CommerceAvailabilityEstimate fetchByPrimaryKey(long commerceAvailabilityEstimateId)
      Returns the commerce availability estimate with the primary key or returns null if it could not be found.
      Parameters:
      commerceAvailabilityEstimateId - the primary key of the commerce availability estimate
      Returns:
      the commerce availability estimate, or null if a commerce availability estimate with the primary key could not be found
    • fetchByERC_C

      default CommerceAvailabilityEstimate fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the commerce availability estimate 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 availability estimate, or null if a matching commerce availability estimate could not be found
    • findByUuid

      default List<CommerceAvailabilityEstimate> findByUuid(String uuid)
      Returns all the commerce availability estimates where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce availability estimates
    • findByUuid

      default List<CommerceAvailabilityEstimate> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (not inclusive)
      Returns:
      the range of matching commerce availability estimates
    • findByUuid

      default List<CommerceAvailabilityEstimate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
      Returns an ordered range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce availability estimates
    • filterFindByUuid

      default List<CommerceAvailabilityEstimate> filterFindByUuid(String uuid)
      Returns all the commerce availability estimates that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce availability estimates that the user has permission to view
    • filterFindByUuid

      default List<CommerceAvailabilityEstimate> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (not inclusive)
      Returns:
      the range of matching commerce availability estimates that the user has permission to view
    • findByUuid_C

      default List<CommerceAvailabilityEstimate> findByUuid_C(String uuid, long companyId)
      Returns all the commerce availability estimates where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce availability estimates
    • findByUuid_C

      default List<CommerceAvailabilityEstimate> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (not inclusive)
      Returns:
      the range of matching commerce availability estimates
    • findByUuid_C

      default List<CommerceAvailabilityEstimate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
      Returns an ordered range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce availability estimates
    • filterFindByUuid_C

      default List<CommerceAvailabilityEstimate> filterFindByUuid_C(String uuid, long companyId)
      Returns all the commerce availability estimates that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce availability estimates that the user has permission to view
    • filterFindByUuid_C

      default List<CommerceAvailabilityEstimate> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (not inclusive)
      Returns:
      the range of matching commerce availability estimates that the user has permission to view
    • findByCompanyId

      default List<CommerceAvailabilityEstimate> findByCompanyId(long companyId)
      Returns all the commerce availability estimates where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching commerce availability estimates
    • findByCompanyId

      default List<CommerceAvailabilityEstimate> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (not inclusive)
      Returns:
      the range of matching commerce availability estimates
    • findByCompanyId

      default List<CommerceAvailabilityEstimate> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAvailabilityEstimate> orderByComparator)
      Returns an ordered range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce availability estimates
    • filterFindByCompanyId

      default List<CommerceAvailabilityEstimate> filterFindByCompanyId(long companyId)
      Returns all the commerce availability estimates that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching commerce availability estimates that the user has permission to view
    • filterFindByCompanyId

      default List<CommerceAvailabilityEstimate> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce availability estimates 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceAvailabilityEstimateModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce availability estimates
      end - the upper bound of the range of commerce availability estimates (not inclusive)
      Returns:
      the range of matching commerce availability estimates that the user has permission to view