Class CommerceMLForecastAlertEntryUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry) Caches the commerce ml forecast alert entry in the entity cache if it is enabled.static voidcacheResult(List<CommerceMLForecastAlertEntry> commerceMLForecastAlertEntries) Caches the commerce ml forecast alert entries in the entity cache if it is enabled.static voidstatic voidclearCache(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry) static intcountAll()Returns the number of commerce ml forecast alert entries.static intcountByC_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 = ?.static intcountByC_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 = ?.static intcountByC_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 = ?.static intcountByC_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 = ?.static intcountByC_C_S(long companyId, long[] commerceAccountIds, int status) Returns the number of commerce ml forecast alert entries where companyId = ? and commerceAccountId = any ? and status = ?.static intcountByC_C_S(long companyId, long commerceAccountId, int status) Returns the number of commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and status = ?.static intcountByC_C_T(long companyId, long commerceAccountId, Date timestamp) Returns the number of commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and timestamp = ?.static intcountByUuid(String uuid) Returns the number of commerce ml forecast alert entries where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of commerce ml forecast alert entries where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommerceMLForecastAlertEntrycreate(long commerceMLForecastAlertEntryId) Creates a new commerce ml forecast alert entry with the primary key.static CommerceMLForecastAlertEntryfetchByC_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 = ?.static CommerceMLForecastAlertEntryfetchByC_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 = ?.static CommerceMLForecastAlertEntryfetchByC_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 = ?.static CommerceMLForecastAlertEntryfetchByC_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 = ?.static CommerceMLForecastAlertEntryfetchByC_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 = ?.static CommerceMLForecastAlertEntryfetchByC_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 = ?.static CommerceMLForecastAlertEntryfetchByC_C_T(long companyId, long commerceAccountId, Date timestamp) Returns the commerce ml forecast alert entry where companyId = ? and commerceAccountId = ? and timestamp = ? or returnsnullif it could not be found.static CommerceMLForecastAlertEntryfetchByC_C_T(long companyId, long commerceAccountId, Date timestamp, boolean useFinderCache) Returns the commerce ml forecast alert entry where companyId = ? and commerceAccountId = ? and timestamp = ? or returnsnullif it could not be found, optionally using the finder cache.static CommerceMLForecastAlertEntryfetchByPrimaryKey(long commerceMLForecastAlertEntryId) Returns the commerce ml forecast alert entry with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CommerceMLForecastAlertEntryfetchByUuid_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 = ?.static CommerceMLForecastAlertEntryfetchByUuid_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 = ?.static CommerceMLForecastAlertEntryfetchByUuid_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 = ?.static CommerceMLForecastAlertEntryfetchByUuid_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 = ?.static List<CommerceMLForecastAlertEntry>findAll()Returns all the commerce ml forecast alert entries.static List<CommerceMLForecastAlertEntry>findAll(int start, int end) Returns a range of all the commerce ml forecast alert entries.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.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.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 = ?.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 = ?.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 = ?.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.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 = ?.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 = ?.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 = ?.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 = ?.static CommerceMLForecastAlertEntryfindByC_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 = ?.static CommerceMLForecastAlertEntryfindByC_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 = ?.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) 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 = ?.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 = ?.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 = ?.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 = ?.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.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 = ?.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 = ?.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 = ?.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 = ?.static CommerceMLForecastAlertEntryfindByC_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 = ?.static CommerceMLForecastAlertEntryfindByC_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 = ?.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) 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 = ?.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 = ?.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 = ?.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 = ?.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.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 = ?.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 = ?.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 = ?.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 = ?.static CommerceMLForecastAlertEntryfindByC_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 = ?.static CommerceMLForecastAlertEntryfindByC_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 = ?.static CommerceMLForecastAlertEntry[]findByC_C_S_PrevAndNext(long commerceMLForecastAlertEntryId, long companyId, long commerceAccountId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) 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 = ?.static CommerceMLForecastAlertEntryfindByC_C_T(long companyId, long commerceAccountId, Date timestamp) Returns the commerce ml forecast alert entry where companyId = ? and commerceAccountId = ? and timestamp = ? or throws aNoSuchMLForecastAlertEntryExceptionif it could not be found.static CommerceMLForecastAlertEntryfindByPrimaryKey(long commerceMLForecastAlertEntryId) Returns the commerce ml forecast alert entry with the primary key or throws aNoSuchMLForecastAlertEntryExceptionif it could not be found.static List<CommerceMLForecastAlertEntry>findByUuid(String uuid) Returns all the commerce ml forecast alert entries where uuid = ?.static List<CommerceMLForecastAlertEntry>findByUuid(String uuid, int start, int end) Returns a range of all the commerce ml forecast alert entries where uuid = ?.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 = ?.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 = ?.static List<CommerceMLForecastAlertEntry>findByUuid_C(String uuid, long companyId) Returns all the commerce ml forecast alert entries where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.static CommerceMLForecastAlertEntryfindByUuid_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 = ?.static CommerceMLForecastAlertEntryfindByUuid_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 = ?.static CommerceMLForecastAlertEntry[]findByUuid_C_PrevAndNext(long commerceMLForecastAlertEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) 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 = ?.static CommerceMLForecastAlertEntryfindByUuid_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 = ?.static CommerceMLForecastAlertEntryfindByUuid_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 = ?.static CommerceMLForecastAlertEntry[]findByUuid_PrevAndNext(long commerceMLForecastAlertEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) Returns the commerce ml forecast alert entries before and after the current commerce ml forecast alert entry in the ordered set where uuid = ?.static List<CommerceMLForecastAlertEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommerceMLForecastAlertEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommerceMLForecastAlertEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceMLForecastAlertEntry> orderByComparator) static CommerceMLForecastAlertEntryremove(long commerceMLForecastAlertEntryId) Removes the commerce ml forecast alert entry with the primary key from the database.static voidRemoves all the commerce ml forecast alert entries from the database.static voidremoveByC_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.static voidremoveByC_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.static voidremoveByC_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.static CommerceMLForecastAlertEntryremoveByC_C_T(long companyId, long commerceAccountId, Date timestamp) Removes the commerce ml forecast alert entry where companyId = ? and commerceAccountId = ? and timestamp = ? from the database.static voidremoveByUuid(String uuid) Removes all the commerce ml forecast alert entries where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce ml forecast alert entries where uuid = ? and companyId = ? from the database.static voidsetPersistence(CommerceMLForecastAlertEntryPersistence persistence) static CommerceMLForecastAlertEntryupdate(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry) static CommerceMLForecastAlertEntryupdate(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceMLForecastAlertEntryupdateImpl(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry)
-
Constructor Details
-
CommerceMLForecastAlertEntryUtil
public CommerceMLForecastAlertEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
Returns all the commerce ml forecast alert entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce ml forecast alert entries
-
findByUuid
Returns a range of all the commerce ml forecast alert entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce ml forecast alert entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce ml forecast alert entry
- Throws:
NoSuchMLForecastAlertEntryException- if a matching commerce ml forecast alert entry could not be foundNoSuchMLForecastAlertEntryException
-
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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce ml forecast alert entry, or
nullif 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce ml forecast alert entry
- Throws:
NoSuchMLForecastAlertEntryException- if a matching commerce ml forecast alert entry could not be foundNoSuchMLForecastAlertEntryException
-
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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce ml forecast alert entry, or
nullif 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 entryuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- 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 foundNoSuchMLForecastAlertEntryException
-
removeByUuid
Removes all the commerce ml forecast alert entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
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
Returns all the commerce ml forecast alert entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce ml forecast alert entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce ml forecast alert entry
- Throws:
NoSuchMLForecastAlertEntryException- if a matching commerce ml forecast alert entry could not be foundNoSuchMLForecastAlertEntryException
-
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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce ml forecast alert entry, or
nullif 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce ml forecast alert entry
- Throws:
NoSuchMLForecastAlertEntryException- if a matching commerce ml forecast alert entry could not be foundNoSuchMLForecastAlertEntryException
-
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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce ml forecast alert entry, or
nullif 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 entryuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- 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 foundNoSuchMLForecastAlertEntryException
-
removeByUuid_C
Removes all the commerce ml forecast alert entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce ml forecast alert entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- 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 aNoSuchMLForecastAlertEntryExceptionif it could not be found.- Parameters:
companyId- the company IDcommerceAccountId- the commerce account IDtimestamp- the timestamp- Returns:
- the matching commerce ml forecast alert entry
- Throws:
NoSuchMLForecastAlertEntryException- if a matching commerce ml forecast alert entry could not be foundNoSuchMLForecastAlertEntryException
-
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 returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDcommerceAccountId- the commerce account IDtimestamp- the timestamp- Returns:
- the matching commerce ml forecast alert entry, or
nullif 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 returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDcommerceAccountId- the commerce account IDtimestamp- the timestampuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce ml forecast alert entry, or
nullif 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 IDcommerceAccountId- the commerce account IDtimestamp- the timestamp- Returns:
- the commerce ml forecast alert entry that was removed
- Throws:
NoSuchMLForecastAlertEntryException
-
countByC_C_T
Returns the number of commerce ml forecast alert entries where companyId = ? and commerceAccountId = ? and timestamp = ?.- Parameters:
companyId- the company IDcommerceAccountId- the commerce account IDtimestamp- 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 IDcommerceAccountId- the commerce account IDstatus- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountId- the commerce account IDstatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountId- the commerce account IDstatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountId- the commerce account IDstatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDcommerceAccountId- the commerce account IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce ml forecast alert entry
- Throws:
NoSuchMLForecastAlertEntryException- if a matching commerce ml forecast alert entry could not be foundNoSuchMLForecastAlertEntryException
-
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 IDcommerceAccountId- the commerce account IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce ml forecast alert entry, or
nullif 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 IDcommerceAccountId- the commerce account IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce ml forecast alert entry
- Throws:
NoSuchMLForecastAlertEntryException- if a matching commerce ml forecast alert entry could not be foundNoSuchMLForecastAlertEntryException
-
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 IDcommerceAccountId- the commerce account IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce ml forecast alert entry, or
nullif 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 entrycompanyId- the company IDcommerceAccountId- the commerce account IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- 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 foundNoSuchMLForecastAlertEntryException
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountIds- the commerce account IDsstatus- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountIds- the commerce account IDsstatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountIds- the commerce account IDsstatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountIds- the commerce account IDsstatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDcommerceAccountId- the commerce account IDstatus- 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 IDcommerceAccountId- the commerce account IDstatus- 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 IDcommerceAccountIds- the commerce account IDsstatus- 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 IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce ml forecast alert entry
- Throws:
NoSuchMLForecastAlertEntryException- if a matching commerce ml forecast alert entry could not be foundNoSuchMLForecastAlertEntryException
-
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 IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce ml forecast alert entry, or
nullif 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 IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce ml forecast alert entry
- Throws:
NoSuchMLForecastAlertEntryException- if a matching commerce ml forecast alert entry could not be foundNoSuchMLForecastAlertEntryException
-
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 IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce ml forecast alert entry, or
nullif 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 entrycompanyId- the company IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- 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 foundNoSuchMLForecastAlertEntryException
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountIds- the commerce account IDsrelativeChange- the relative changestatus- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountIds- the commerce account IDsrelativeChange- the relative changestatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountIds- the commerce account IDsrelativeChange- the relative changestatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountIds- the commerce account IDsrelativeChange- the relative changestatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- 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 IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- 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 IDcommerceAccountIds- the commerce account IDsrelativeChange- the relative changestatus- 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 IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce ml forecast alert entry
- Throws:
NoSuchMLForecastAlertEntryException- if a matching commerce ml forecast alert entry could not be foundNoSuchMLForecastAlertEntryException
-
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 IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce ml forecast alert entry, or
nullif 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 IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce ml forecast alert entry
- Throws:
NoSuchMLForecastAlertEntryException- if a matching commerce ml forecast alert entry could not be foundNoSuchMLForecastAlertEntryException
-
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 IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce ml forecast alert entry, or
nullif 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 entrycompanyId- the company IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- 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 foundNoSuchMLForecastAlertEntryException
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountIds- the commerce account IDsrelativeChange- the relative changestatus- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountIds- the commerce account IDsrelativeChange- the relative changestatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountIds- the commerce account IDsrelativeChange- the relative changestatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
companyId- the company IDcommerceAccountIds- the commerce account IDsrelativeChange- the relative changestatus- the statusstart- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- 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 IDcommerceAccountId- the commerce account IDrelativeChange- the relative changestatus- 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 IDcommerceAccountIds- the commerce account IDsrelativeChange- the relative changestatus- the status- Returns:
- the number of matching commerce ml forecast alert entries
-
cacheResult
Caches the commerce ml forecast alert entry in the entity cache if it is enabled.- Parameters:
commerceMLForecastAlertEntry- the commerce ml forecast alert entry
-
cacheResult
Caches the commerce ml forecast alert entries in the entity cache if it is enabled.- Parameters:
commerceMLForecastAlertEntries- the commerce ml forecast alert entries
-
create
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 foundNoSuchMLForecastAlertEntryException
-
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 aNoSuchMLForecastAlertEntryExceptionif 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 foundNoSuchMLForecastAlertEntryException
-
fetchByPrimaryKey
Returns the commerce ml forecast alert entry with the primary key or returnsnullif 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
nullif a commerce ml forecast alert entry with the primary key could not be found
-
findAll
Returns all the commerce ml forecast alert entries.- Returns:
- the commerce ml forecast alert entries
-
findAll
Returns a range of all the commerce ml forecast alert entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
start- the lower bound of the range of commerce ml forecast alert entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
start- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceMLForecastAlertEntryModelImpl.- Parameters:
start- the lower bound of the range of commerce ml forecast alert entriesend- the upper bound of the range of commerce ml forecast alert entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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
-
setPersistence
-