Class CommerceMLForecastAlertEntryUtil

java.lang.Object
com.liferay.commerce.machine.learning.forecast.alert.service.persistence.CommerceMLForecastAlertEntryUtil

public class CommerceMLForecastAlertEntryUtil extends Object
The persistence utility for the commerce ml forecast alert entry service. This utility wraps com.liferay.commerce.machine.learning.forecast.alert.service.persistence.impl.CommerceMLForecastAlertEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • CommerceMLForecastAlertEntryUtil

      public CommerceMLForecastAlertEntryUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,CommerceMLForecastAlertEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<CommerceMLForecastAlertEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<CommerceMLForecastAlertEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<CommerceMLForecastAlertEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static CommerceMLForecastAlertEntry update(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static CommerceMLForecastAlertEntry update(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<CommerceMLForecastAlertEntry> findByUuid(String uuid)
      Returns all the commerce ml forecast alert entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce ml forecast alert entries
    • findByUuid

      public static List<CommerceMLForecastAlertEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce ml forecast alert entries 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 CommerceMLForecastAlertEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      Returns:
      the range of matching commerce ml forecast alert entries
    • findByUuid

      public static List<CommerceMLForecastAlertEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns an ordered range of all the commerce ml forecast alert entries 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 CommerceMLForecastAlertEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce ml forecast alert entries
    • findByUuid

      public static List<CommerceMLForecastAlertEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce ml forecast alert entries 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 CommerceMLForecastAlertEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (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 ml forecast alert entries
    • findByUuid_First

      public static CommerceMLForecastAlertEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the first commerce ml forecast alert entry 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 ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a matching commerce ml forecast alert entry could not be found
      NoSuchMLForecastAlertEntryException
    • fetchByUuid_First

      public static CommerceMLForecastAlertEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns the first commerce ml forecast alert entry 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 ml forecast alert entry, or null if a matching commerce ml forecast alert entry could not be found
    • findByUuid_Last

      public static CommerceMLForecastAlertEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the last commerce ml forecast alert entry 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 ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a matching commerce ml forecast alert entry could not be found
      NoSuchMLForecastAlertEntryException
    • fetchByUuid_Last

      public static CommerceMLForecastAlertEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns the last commerce ml forecast alert entry 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 ml forecast alert entry, or null if a matching commerce ml forecast alert entry could not be found
    • findByUuid_PrevAndNext

      public static CommerceMLForecastAlertEntry[] findByUuid_PrevAndNext(long commerceMLForecastAlertEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the commerce ml forecast alert entries before and after the current commerce ml forecast alert entry in the ordered set where uuid = ?.
      Parameters:
      commerceMLForecastAlertEntryId - the primary key of the current commerce ml forecast alert entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a commerce ml forecast alert entry with the primary key could not be found
      NoSuchMLForecastAlertEntryException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the commerce ml forecast alert entries where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of commerce ml forecast alert entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce ml forecast alert entries
    • findByUuid_C

      public static List<CommerceMLForecastAlertEntry> findByUuid_C(String uuid, long companyId)
      Returns all the commerce ml forecast alert entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce ml forecast alert entries
    • findByUuid_C

      public static List<CommerceMLForecastAlertEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce ml forecast alert entries 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 CommerceMLForecastAlertEntryModelImpl.

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

      public static List<CommerceMLForecastAlertEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns an ordered range of all the commerce ml forecast alert entries 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 CommerceMLForecastAlertEntryModelImpl.

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

      public static List<CommerceMLForecastAlertEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce ml forecast alert entries 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 CommerceMLForecastAlertEntryModelImpl.

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

      public static CommerceMLForecastAlertEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the first commerce ml forecast alert entry 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 ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a matching commerce ml forecast alert entry could not be found
      NoSuchMLForecastAlertEntryException
    • fetchByUuid_C_First

      public static CommerceMLForecastAlertEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns the first commerce ml forecast alert entry 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 ml forecast alert entry, or null if a matching commerce ml forecast alert entry could not be found
    • findByUuid_C_Last

      public static CommerceMLForecastAlertEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the last commerce ml forecast alert entry 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 ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a matching commerce ml forecast alert entry could not be found
      NoSuchMLForecastAlertEntryException
    • fetchByUuid_C_Last

      public static CommerceMLForecastAlertEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns the last commerce ml forecast alert entry 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 ml forecast alert entry, or null if a matching commerce ml forecast alert entry could not be found
    • findByUuid_C_PrevAndNext

      public static CommerceMLForecastAlertEntry[] findByUuid_C_PrevAndNext(long commerceMLForecastAlertEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the commerce ml forecast alert entries before and after the current commerce ml forecast alert entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      commerceMLForecastAlertEntryId - the primary key of the current commerce ml forecast alert entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a commerce ml forecast alert entry with the primary key could not be found
      NoSuchMLForecastAlertEntryException
    • removeByUuid_C

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

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of commerce ml forecast alert entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce ml forecast alert entries
    • findByC_C_T

      public static CommerceMLForecastAlertEntry findByC_C_T(long companyId, long commerceAccountId, Date timestamp) throws NoSuchMLForecastAlertEntryException
      Returns the commerce ml forecast alert entry where companyId = ? and commerceAccountId = ? and timestamp = ? or throws a NoSuchMLForecastAlertEntryException if it could not be found.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      timestamp - the timestamp
      Returns:
      the matching commerce ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a matching commerce ml forecast alert entry could not be found
      NoSuchMLForecastAlertEntryException
    • fetchByC_C_T

      public static CommerceMLForecastAlertEntry fetchByC_C_T(long companyId, long commerceAccountId, Date timestamp)
      Returns the commerce ml forecast alert entry where companyId = ? and commerceAccountId = ? and timestamp = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      timestamp - the timestamp
      Returns:
      the matching commerce ml forecast alert entry, or null if a matching commerce ml forecast alert entry could not be found
    • fetchByC_C_T

      public static CommerceMLForecastAlertEntry fetchByC_C_T(long companyId, long commerceAccountId, Date timestamp, boolean useFinderCache)
      Returns the commerce ml forecast alert entry where companyId = ? and commerceAccountId = ? and timestamp = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      timestamp - the timestamp
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce ml forecast alert entry, or null if a matching commerce ml forecast alert entry could not be found
    • removeByC_C_T

      public static CommerceMLForecastAlertEntry removeByC_C_T(long companyId, long commerceAccountId, Date timestamp) throws NoSuchMLForecastAlertEntryException
      Removes the commerce ml forecast alert entry where companyId = ? and commerceAccountId = ? and timestamp = ? from the database.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      timestamp - the timestamp
      Returns:
      the commerce ml forecast alert entry that was removed
      Throws:
      NoSuchMLForecastAlertEntryException
    • countByC_C_T

      public static int countByC_C_T(long companyId, long commerceAccountId, Date timestamp)
      Returns the number of commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and timestamp = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      timestamp - the timestamp
      Returns:
      the number of matching commerce ml forecast alert entries
    • findByC_C_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_S(long companyId, long commerceAccountId, int status)
      Returns all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      status - the status
      Returns:
      the matching commerce ml forecast alert entries
    • findByC_C_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_S(long companyId, long commerceAccountId, int status, int start, int end)
      Returns a range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      Returns:
      the range of matching commerce ml forecast alert entries
    • findByC_C_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_S(long companyId, long commerceAccountId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns an ordered range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce ml forecast alert entries
    • findByC_C_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_S(long companyId, long commerceAccountId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (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 ml forecast alert entries
    • findByC_C_S_First

      public static CommerceMLForecastAlertEntry findByC_C_S_First(long companyId, long commerceAccountId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the first commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a matching commerce ml forecast alert entry could not be found
      NoSuchMLForecastAlertEntryException
    • fetchByC_C_S_First

      public static CommerceMLForecastAlertEntry fetchByC_C_S_First(long companyId, long commerceAccountId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns the first commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce ml forecast alert entry, or null if a matching commerce ml forecast alert entry could not be found
    • findByC_C_S_Last

      public static CommerceMLForecastAlertEntry findByC_C_S_Last(long companyId, long commerceAccountId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the last commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a matching commerce ml forecast alert entry could not be found
      NoSuchMLForecastAlertEntryException
    • fetchByC_C_S_Last

      public static CommerceMLForecastAlertEntry fetchByC_C_S_Last(long companyId, long commerceAccountId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns the last commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce ml forecast alert entry, or null if a matching commerce ml forecast alert entry could not be found
    • findByC_C_S_PrevAndNext

      public static CommerceMLForecastAlertEntry[] findByC_C_S_PrevAndNext(long commerceMLForecastAlertEntryId, long companyId, long commerceAccountId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the commerce ml forecast alert entries before and after the current commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and status = ?.
      Parameters:
      commerceMLForecastAlertEntryId - the primary key of the current commerce ml forecast alert entry
      companyId - the company ID
      commerceAccountId - the commerce account ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a commerce ml forecast alert entry with the primary key could not be found
      NoSuchMLForecastAlertEntryException
    • findByC_C_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_S(long companyId, long[] commerceAccountIds, int status)
      Returns all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = any ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      status - the status
      Returns:
      the matching commerce ml forecast alert entries
    • findByC_C_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_S(long companyId, long[] commerceAccountIds, int status, int start, int end)
      Returns a range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = any ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      Returns:
      the range of matching commerce ml forecast alert entries
    • findByC_C_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_S(long companyId, long[] commerceAccountIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns an ordered range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = any ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce ml forecast alert entries
    • findByC_C_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_S(long companyId, long[] commerceAccountIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and status = ?, optionally using the finder cache.

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

      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (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 ml forecast alert entries
    • removeByC_C_S

      public static void removeByC_C_S(long companyId, long commerceAccountId, int status)
      Removes all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and status = ? from the database.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      status - the status
    • countByC_C_S

      public static int countByC_C_S(long companyId, long commerceAccountId, int status)
      Returns the number of commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      status - the status
      Returns:
      the number of matching commerce ml forecast alert entries
    • countByC_C_S

      public static int countByC_C_S(long companyId, long[] commerceAccountIds, int status)
      Returns the number of commerce ml forecast alert entries where companyId = ? and commerceAccountId = any ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      status - the status
      Returns:
      the number of matching commerce ml forecast alert entries
    • findByC_C_GtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_GtRc_S(long companyId, long commerceAccountId, double relativeChange, int status)
      Returns all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and relativeChange > ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      Returns:
      the matching commerce ml forecast alert entries
    • findByC_C_GtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_GtRc_S(long companyId, long commerceAccountId, double relativeChange, int status, int start, int end)
      Returns a range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and relativeChange > ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      Returns:
      the range of matching commerce ml forecast alert entries
    • findByC_C_GtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_GtRc_S(long companyId, long commerceAccountId, double relativeChange, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns an ordered range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and relativeChange > ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce ml forecast alert entries
    • findByC_C_GtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_GtRc_S(long companyId, long commerceAccountId, double relativeChange, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and relativeChange > ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (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 ml forecast alert entries
    • findByC_C_GtRc_S_First

      public static CommerceMLForecastAlertEntry findByC_C_GtRc_S_First(long companyId, long commerceAccountId, double relativeChange, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the first commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and relativeChange > ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a matching commerce ml forecast alert entry could not be found
      NoSuchMLForecastAlertEntryException
    • fetchByC_C_GtRc_S_First

      public static CommerceMLForecastAlertEntry fetchByC_C_GtRc_S_First(long companyId, long commerceAccountId, double relativeChange, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns the first commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and relativeChange > ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce ml forecast alert entry, or null if a matching commerce ml forecast alert entry could not be found
    • findByC_C_GtRc_S_Last

      public static CommerceMLForecastAlertEntry findByC_C_GtRc_S_Last(long companyId, long commerceAccountId, double relativeChange, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the last commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and relativeChange > ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a matching commerce ml forecast alert entry could not be found
      NoSuchMLForecastAlertEntryException
    • fetchByC_C_GtRc_S_Last

      public static CommerceMLForecastAlertEntry fetchByC_C_GtRc_S_Last(long companyId, long commerceAccountId, double relativeChange, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns the last commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and relativeChange > ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce ml forecast alert entry, or null if a matching commerce ml forecast alert entry could not be found
    • findByC_C_GtRc_S_PrevAndNext

      public static CommerceMLForecastAlertEntry[] findByC_C_GtRc_S_PrevAndNext(long commerceMLForecastAlertEntryId, long companyId, long commerceAccountId, double relativeChange, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the commerce ml forecast alert entries before and after the current commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and relativeChange > ? and status = ?.
      Parameters:
      commerceMLForecastAlertEntryId - the primary key of the current commerce ml forecast alert entry
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a commerce ml forecast alert entry with the primary key could not be found
      NoSuchMLForecastAlertEntryException
    • findByC_C_GtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_GtRc_S(long companyId, long[] commerceAccountIds, double relativeChange, int status)
      Returns all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = any ? and relativeChange > ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      relativeChange - the relative change
      status - the status
      Returns:
      the matching commerce ml forecast alert entries
    • findByC_C_GtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_GtRc_S(long companyId, long[] commerceAccountIds, double relativeChange, int status, int start, int end)
      Returns a range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = any ? and relativeChange > ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      relativeChange - the relative change
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      Returns:
      the range of matching commerce ml forecast alert entries
    • findByC_C_GtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_GtRc_S(long companyId, long[] commerceAccountIds, double relativeChange, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns an ordered range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = any ? and relativeChange > ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      relativeChange - the relative change
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce ml forecast alert entries
    • findByC_C_GtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_GtRc_S(long companyId, long[] commerceAccountIds, double relativeChange, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and relativeChange > ? and status = ?, optionally using the finder cache.

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

      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      relativeChange - the relative change
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (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 ml forecast alert entries
    • removeByC_C_GtRc_S

      public static void removeByC_C_GtRc_S(long companyId, long commerceAccountId, double relativeChange, int status)
      Removes all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and relativeChange > ? and status = ? from the database.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
    • countByC_C_GtRc_S

      public static int countByC_C_GtRc_S(long companyId, long commerceAccountId, double relativeChange, int status)
      Returns the number of commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and relativeChange > ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      Returns:
      the number of matching commerce ml forecast alert entries
    • countByC_C_GtRc_S

      public static int countByC_C_GtRc_S(long companyId, long[] commerceAccountIds, double relativeChange, int status)
      Returns the number of commerce ml forecast alert entries where companyId = ? and commerceAccountId = any ? and relativeChange > ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      relativeChange - the relative change
      status - the status
      Returns:
      the number of matching commerce ml forecast alert entries
    • findByC_C_LtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_LtRc_S(long companyId, long commerceAccountId, double relativeChange, int status)
      Returns all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and relativeChange < ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      Returns:
      the matching commerce ml forecast alert entries
    • findByC_C_LtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_LtRc_S(long companyId, long commerceAccountId, double relativeChange, int status, int start, int end)
      Returns a range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and relativeChange < ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      Returns:
      the range of matching commerce ml forecast alert entries
    • findByC_C_LtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_LtRc_S(long companyId, long commerceAccountId, double relativeChange, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns an ordered range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and relativeChange < ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce ml forecast alert entries
    • findByC_C_LtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_LtRc_S(long companyId, long commerceAccountId, double relativeChange, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and relativeChange < ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (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 ml forecast alert entries
    • findByC_C_LtRc_S_First

      public static CommerceMLForecastAlertEntry findByC_C_LtRc_S_First(long companyId, long commerceAccountId, double relativeChange, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the first commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and relativeChange < ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a matching commerce ml forecast alert entry could not be found
      NoSuchMLForecastAlertEntryException
    • fetchByC_C_LtRc_S_First

      public static CommerceMLForecastAlertEntry fetchByC_C_LtRc_S_First(long companyId, long commerceAccountId, double relativeChange, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns the first commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and relativeChange < ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce ml forecast alert entry, or null if a matching commerce ml forecast alert entry could not be found
    • findByC_C_LtRc_S_Last

      public static CommerceMLForecastAlertEntry findByC_C_LtRc_S_Last(long companyId, long commerceAccountId, double relativeChange, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the last commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and relativeChange < ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a matching commerce ml forecast alert entry could not be found
      NoSuchMLForecastAlertEntryException
    • fetchByC_C_LtRc_S_Last

      public static CommerceMLForecastAlertEntry fetchByC_C_LtRc_S_Last(long companyId, long commerceAccountId, double relativeChange, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns the last commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and relativeChange < ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce ml forecast alert entry, or null if a matching commerce ml forecast alert entry could not be found
    • findByC_C_LtRc_S_PrevAndNext

      public static CommerceMLForecastAlertEntry[] findByC_C_LtRc_S_PrevAndNext(long commerceMLForecastAlertEntryId, long companyId, long commerceAccountId, double relativeChange, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) throws NoSuchMLForecastAlertEntryException
      Returns the commerce ml forecast alert entries before and after the current commerce ml forecast alert entry in the ordered set where companyId = ? and commerceAccountId = ? and relativeChange < ? and status = ?.
      Parameters:
      commerceMLForecastAlertEntryId - the primary key of the current commerce ml forecast alert entry
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a commerce ml forecast alert entry with the primary key could not be found
      NoSuchMLForecastAlertEntryException
    • findByC_C_LtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_LtRc_S(long companyId, long[] commerceAccountIds, double relativeChange, int status)
      Returns all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = any ? and relativeChange < ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      relativeChange - the relative change
      status - the status
      Returns:
      the matching commerce ml forecast alert entries
    • findByC_C_LtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_LtRc_S(long companyId, long[] commerceAccountIds, double relativeChange, int status, int start, int end)
      Returns a range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = any ? and relativeChange < ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      relativeChange - the relative change
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      Returns:
      the range of matching commerce ml forecast alert entries
    • findByC_C_LtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_LtRc_S(long companyId, long[] commerceAccountIds, double relativeChange, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns an ordered range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = any ? and relativeChange < ? and status = ?.

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

      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      relativeChange - the relative change
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce ml forecast alert entries
    • findByC_C_LtRc_S

      public static List<CommerceMLForecastAlertEntry> findByC_C_LtRc_S(long companyId, long[] commerceAccountIds, double relativeChange, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and relativeChange < ? and status = ?, optionally using the finder cache.

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

      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      relativeChange - the relative change
      status - the status
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (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 ml forecast alert entries
    • removeByC_C_LtRc_S

      public static void removeByC_C_LtRc_S(long companyId, long commerceAccountId, double relativeChange, int status)
      Removes all the commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and relativeChange < ? and status = ? from the database.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
    • countByC_C_LtRc_S

      public static int countByC_C_LtRc_S(long companyId, long commerceAccountId, double relativeChange, int status)
      Returns the number of commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and relativeChange < ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountId - the commerce account ID
      relativeChange - the relative change
      status - the status
      Returns:
      the number of matching commerce ml forecast alert entries
    • countByC_C_LtRc_S

      public static int countByC_C_LtRc_S(long companyId, long[] commerceAccountIds, double relativeChange, int status)
      Returns the number of commerce ml forecast alert entries where companyId = ? and commerceAccountId = any ? and relativeChange < ? and status = ?.
      Parameters:
      companyId - the company ID
      commerceAccountIds - the commerce account IDs
      relativeChange - the relative change
      status - the status
      Returns:
      the number of matching commerce ml forecast alert entries
    • cacheResult

      public static void cacheResult(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry)
      Caches the commerce ml forecast alert entry in the entity cache if it is enabled.
      Parameters:
      commerceMLForecastAlertEntry - the commerce ml forecast alert entry
    • cacheResult

      public static void cacheResult(List<CommerceMLForecastAlertEntry> commerceMLForecastAlertEntries)
      Caches the commerce ml forecast alert entries in the entity cache if it is enabled.
      Parameters:
      commerceMLForecastAlertEntries - the commerce ml forecast alert entries
    • create

      public static CommerceMLForecastAlertEntry create(long commerceMLForecastAlertEntryId)
      Creates a new commerce ml forecast alert entry with the primary key. Does not add the commerce ml forecast alert entry to the database.
      Parameters:
      commerceMLForecastAlertEntryId - the primary key for the new commerce ml forecast alert entry
      Returns:
      the new commerce ml forecast alert entry
    • remove

      public static CommerceMLForecastAlertEntry remove(long commerceMLForecastAlertEntryId) throws NoSuchMLForecastAlertEntryException
      Removes the commerce ml forecast alert entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceMLForecastAlertEntryId - the primary key of the commerce ml forecast alert entry
      Returns:
      the commerce ml forecast alert entry that was removed
      Throws:
      NoSuchMLForecastAlertEntryException - if a commerce ml forecast alert entry with the primary key could not be found
      NoSuchMLForecastAlertEntryException
    • updateImpl

      public static CommerceMLForecastAlertEntry updateImpl(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry)
    • findByPrimaryKey

      public static CommerceMLForecastAlertEntry findByPrimaryKey(long commerceMLForecastAlertEntryId) throws NoSuchMLForecastAlertEntryException
      Returns the commerce ml forecast alert entry with the primary key or throws a NoSuchMLForecastAlertEntryException if it could not be found.
      Parameters:
      commerceMLForecastAlertEntryId - the primary key of the commerce ml forecast alert entry
      Returns:
      the commerce ml forecast alert entry
      Throws:
      NoSuchMLForecastAlertEntryException - if a commerce ml forecast alert entry with the primary key could not be found
      NoSuchMLForecastAlertEntryException
    • fetchByPrimaryKey

      public static CommerceMLForecastAlertEntry fetchByPrimaryKey(long commerceMLForecastAlertEntryId)
      Returns the commerce ml forecast alert entry with the primary key or returns null if it could not be found.
      Parameters:
      commerceMLForecastAlertEntryId - the primary key of the commerce ml forecast alert entry
      Returns:
      the commerce ml forecast alert entry, or null if a commerce ml forecast alert entry with the primary key could not be found
    • findAll

      public static List<CommerceMLForecastAlertEntry> findAll()
      Returns all the commerce ml forecast alert entries.
      Returns:
      the commerce ml forecast alert entries
    • findAll

      public static List<CommerceMLForecastAlertEntry> findAll(int start, int end)
      Returns a range of all the commerce ml forecast alert entries.

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

      Parameters:
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      Returns:
      the range of commerce ml forecast alert entries
    • findAll

      public static List<CommerceMLForecastAlertEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator)
      Returns an ordered range of all the commerce ml forecast alert entries.

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

      Parameters:
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of commerce ml forecast alert entries
    • findAll

      public static List<CommerceMLForecastAlertEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce ml forecast alert entries.

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

      Parameters:
      start - the lower bound of the range of commerce ml forecast alert entries
      end - the upper bound of the range of commerce ml forecast alert entries (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 ml forecast alert entries
    • removeAll

      public static void removeAll()
      Removes all the commerce ml forecast alert entries from the database.
    • countAll

      public static int countAll()
      Returns the number of commerce ml forecast alert entries.
      Returns:
      the number of commerce ml forecast alert entries
    • getPersistence

      public static CommerceMLForecastAlertEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CommerceMLForecastAlertEntryPersistence persistence)