Interface CPDAvailabilityEstimatePersistence

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

@ProviderType public interface CPDAvailabilityEstimatePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPDAvailabilityEstimate>
The persistence interface for the cpd availability estimate service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

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

      List<CPDAvailabilityEstimate> findByUuid(String uuid, int start, int end)
      Returns a range of all the cpd 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 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 CPDAvailabilityEstimateModelImpl.

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

      List<CPDAvailabilityEstimate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
      Returns an ordered range of all the cpd 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 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 CPDAvailabilityEstimateModelImpl.

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

      List<CPDAvailabilityEstimate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cpd 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 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 CPDAvailabilityEstimateModelImpl.

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

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

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

      CPDAvailabilityEstimate findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
      Returns the last cpd availability estimate in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cpd availability estimate
      Throws:
      NoSuchCPDAvailabilityEstimateException - if a matching cpd availability estimate could not be found
    • fetchByUuid_Last

      CPDAvailabilityEstimate fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
      Returns the last cpd availability estimate in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cpd availability estimate, or null if a matching cpd availability estimate could not be found
    • findByUuid_PrevAndNext

      CPDAvailabilityEstimate[] findByUuid_PrevAndNext(long CPDAvailabilityEstimateId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
      Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where uuid = ?.
      Parameters:
      CPDAvailabilityEstimateId - the primary key of the current cpd availability estimate
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cpd availability estimate
      Throws:
      NoSuchCPDAvailabilityEstimateException - if a cpd availability estimate with the primary key could not be found
    • removeByUuid

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

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

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

      List<CPDAvailabilityEstimate> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the cpd 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 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 CPDAvailabilityEstimateModelImpl.

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

      List<CPDAvailabilityEstimate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
      Returns an ordered range of all the cpd 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 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 CPDAvailabilityEstimateModelImpl.

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

      List<CPDAvailabilityEstimate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cpd 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 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 CPDAvailabilityEstimateModelImpl.

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

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

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

      CPDAvailabilityEstimate findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
      Returns the last cpd 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 last matching cpd availability estimate
      Throws:
      NoSuchCPDAvailabilityEstimateException - if a matching cpd availability estimate could not be found
    • fetchByUuid_C_Last

      CPDAvailabilityEstimate fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
      Returns the last cpd 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 last matching cpd availability estimate, or null if a matching cpd availability estimate could not be found
    • findByUuid_C_PrevAndNext

      CPDAvailabilityEstimate[] findByUuid_C_PrevAndNext(long CPDAvailabilityEstimateId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
      Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      CPDAvailabilityEstimateId - the primary key of the current cpd availability estimate
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cpd availability estimate
      Throws:
      NoSuchCPDAvailabilityEstimateException - if a cpd availability estimate with the primary key could not be found
    • removeByUuid_C

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

      List<CPDAvailabilityEstimate> findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
      Returns all the cpd availability estimates where commerceAvailabilityEstimateId = ?.
      Parameters:
      commerceAvailabilityEstimateId - the commerce availability estimate ID
      Returns:
      the matching cpd availability estimates
    • findByCommerceAvailabilityEstimateId

      List<CPDAvailabilityEstimate> findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId, int start, int end)
      Returns a range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.

      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 CPDAvailabilityEstimateModelImpl.

      Parameters:
      commerceAvailabilityEstimateId - the commerce availability estimate ID
      start - the lower bound of the range of cpd availability estimates
      end - the upper bound of the range of cpd availability estimates (not inclusive)
      Returns:
      the range of matching cpd availability estimates
    • findByCommerceAvailabilityEstimateId

      List<CPDAvailabilityEstimate> findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
      Returns an ordered range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.

      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 CPDAvailabilityEstimateModelImpl.

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

      List<CPDAvailabilityEstimate> findByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cpd availability estimates where commerceAvailabilityEstimateId = ?.

      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 CPDAvailabilityEstimateModelImpl.

      Parameters:
      commerceAvailabilityEstimateId - the commerce availability estimate ID
      start - the lower bound of the range of cpd availability estimates
      end - the upper bound of the range of cpd 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 cpd availability estimates
    • findByCommerceAvailabilityEstimateId_First

      CPDAvailabilityEstimate findByCommerceAvailabilityEstimateId_First(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
      Returns the first cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
      Parameters:
      commerceAvailabilityEstimateId - the commerce availability estimate ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cpd availability estimate
      Throws:
      NoSuchCPDAvailabilityEstimateException - if a matching cpd availability estimate could not be found
    • fetchByCommerceAvailabilityEstimateId_First

      CPDAvailabilityEstimate fetchByCommerceAvailabilityEstimateId_First(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
      Returns the first cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
      Parameters:
      commerceAvailabilityEstimateId - the commerce availability estimate ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cpd availability estimate, or null if a matching cpd availability estimate could not be found
    • findByCommerceAvailabilityEstimateId_Last

      CPDAvailabilityEstimate findByCommerceAvailabilityEstimateId_Last(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
      Returns the last cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
      Parameters:
      commerceAvailabilityEstimateId - the commerce availability estimate ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cpd availability estimate
      Throws:
      NoSuchCPDAvailabilityEstimateException - if a matching cpd availability estimate could not be found
    • fetchByCommerceAvailabilityEstimateId_Last

      CPDAvailabilityEstimate fetchByCommerceAvailabilityEstimateId_Last(long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
      Returns the last cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
      Parameters:
      commerceAvailabilityEstimateId - the commerce availability estimate ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cpd availability estimate, or null if a matching cpd availability estimate could not be found
    • findByCommerceAvailabilityEstimateId_PrevAndNext

      CPDAvailabilityEstimate[] findByCommerceAvailabilityEstimateId_PrevAndNext(long CPDAvailabilityEstimateId, long commerceAvailabilityEstimateId, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator) throws NoSuchCPDAvailabilityEstimateException
      Returns the cpd availability estimates before and after the current cpd availability estimate in the ordered set where commerceAvailabilityEstimateId = ?.
      Parameters:
      CPDAvailabilityEstimateId - the primary key of the current cpd availability estimate
      commerceAvailabilityEstimateId - the commerce availability estimate ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cpd availability estimate
      Throws:
      NoSuchCPDAvailabilityEstimateException - if a cpd availability estimate with the primary key could not be found
    • removeByCommerceAvailabilityEstimateId

      void removeByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
      Removes all the cpd availability estimates where commerceAvailabilityEstimateId = ? from the database.
      Parameters:
      commerceAvailabilityEstimateId - the commerce availability estimate ID
    • countByCommerceAvailabilityEstimateId

      int countByCommerceAvailabilityEstimateId(long commerceAvailabilityEstimateId)
      Returns the number of cpd availability estimates where commerceAvailabilityEstimateId = ?.
      Parameters:
      commerceAvailabilityEstimateId - the commerce availability estimate ID
      Returns:
      the number of matching cpd availability estimates
    • findByCProductId

      CPDAvailabilityEstimate findByCProductId(long CProductId) throws NoSuchCPDAvailabilityEstimateException
      Returns the cpd availability estimate where CProductId = ? or throws a NoSuchCPDAvailabilityEstimateException if it could not be found.
      Parameters:
      CProductId - the c product ID
      Returns:
      the matching cpd availability estimate
      Throws:
      NoSuchCPDAvailabilityEstimateException - if a matching cpd availability estimate could not be found
    • fetchByCProductId

      CPDAvailabilityEstimate fetchByCProductId(long CProductId)
      Returns the cpd availability estimate where CProductId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CProductId - the c product ID
      Returns:
      the matching cpd availability estimate, or null if a matching cpd availability estimate could not be found
    • fetchByCProductId

      CPDAvailabilityEstimate fetchByCProductId(long CProductId, boolean useFinderCache)
      Returns the cpd availability estimate where CProductId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CProductId - the c product ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cpd availability estimate, or null if a matching cpd availability estimate could not be found
    • removeByCProductId

      CPDAvailabilityEstimate removeByCProductId(long CProductId) throws NoSuchCPDAvailabilityEstimateException
      Removes the cpd availability estimate where CProductId = ? from the database.
      Parameters:
      CProductId - the c product ID
      Returns:
      the cpd availability estimate that was removed
      Throws:
      NoSuchCPDAvailabilityEstimateException
    • countByCProductId

      int countByCProductId(long CProductId)
      Returns the number of cpd availability estimates where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      Returns:
      the number of matching cpd availability estimates
    • cacheResult

      void cacheResult(CPDAvailabilityEstimate cpdAvailabilityEstimate)
      Caches the cpd availability estimate in the entity cache if it is enabled.
      Parameters:
      cpdAvailabilityEstimate - the cpd availability estimate
    • cacheResult

      void cacheResult(List<CPDAvailabilityEstimate> cpdAvailabilityEstimates)
      Caches the cpd availability estimates in the entity cache if it is enabled.
      Parameters:
      cpdAvailabilityEstimates - the cpd availability estimates
    • create

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

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

      CPDAvailabilityEstimate updateImpl(CPDAvailabilityEstimate cpdAvailabilityEstimate)
    • findByPrimaryKey

      CPDAvailabilityEstimate findByPrimaryKey(long CPDAvailabilityEstimateId) throws NoSuchCPDAvailabilityEstimateException
      Returns the cpd availability estimate with the primary key or throws a NoSuchCPDAvailabilityEstimateException if it could not be found.
      Parameters:
      CPDAvailabilityEstimateId - the primary key of the cpd availability estimate
      Returns:
      the cpd availability estimate
      Throws:
      NoSuchCPDAvailabilityEstimateException - if a cpd availability estimate with the primary key could not be found
    • fetchByPrimaryKey

      CPDAvailabilityEstimate fetchByPrimaryKey(long CPDAvailabilityEstimateId)
      Returns the cpd availability estimate with the primary key or returns null if it could not be found.
      Parameters:
      CPDAvailabilityEstimateId - the primary key of the cpd availability estimate
      Returns:
      the cpd availability estimate, or null if a cpd availability estimate with the primary key could not be found
    • findAll

      Returns all the cpd availability estimates.
      Returns:
      the cpd availability estimates
    • findAll

      List<CPDAvailabilityEstimate> findAll(int start, int end)
      Returns a range of all the cpd availability estimates.

      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 CPDAvailabilityEstimateModelImpl.

      Parameters:
      start - the lower bound of the range of cpd availability estimates
      end - the upper bound of the range of cpd availability estimates (not inclusive)
      Returns:
      the range of cpd availability estimates
    • findAll

      List<CPDAvailabilityEstimate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator)
      Returns an ordered range of all the cpd availability estimates.

      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 CPDAvailabilityEstimateModelImpl.

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

      List<CPDAvailabilityEstimate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDAvailabilityEstimate> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cpd availability estimates.

      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 CPDAvailabilityEstimateModelImpl.

      Parameters:
      start - the lower bound of the range of cpd availability estimates
      end - the upper bound of the range of cpd 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 cpd availability estimates
    • removeAll

      void removeAll()
      Removes all the cpd availability estimates from the database.
    • countAll

      int countAll()
      Returns the number of cpd availability estimates.
      Returns:
      the number of cpd availability estimates