Class CommerceMLForecastAlertEntryServiceUtil
java.lang.Object
com.liferay.commerce.machine.learning.forecast.alert.service.CommerceMLForecastAlertEntryServiceUtil
Provides the remote service utility for CommerceMLForecastAlertEntry. This utility wraps
com.liferay.commerce.machine.learning.forecast.alert.service.impl.CommerceMLForecastAlertEntryServiceImpl and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<CommerceMLForecastAlertEntry>getAboveThresholdCommerceMLForecastAlertEntries(long companyId, long userId, int status, double relativeChange, int start, int end) static intgetAboveThresholdCommerceMLForecastAlertEntriesCount(long companyId, long userId, int status, double relativeChange) static List<CommerceMLForecastAlertEntry>getBelowThresholdCommerceMLForecastAlertEntries(long companyId, long userId, int status, double relativeChange, int start, int end) static intgetBelowThresholdCommerceMLForecastAlertEntriesCount(long companyId, long userId, int status, double relativeChange) static List<CommerceMLForecastAlertEntry>getCommerceMLForecastAlertEntries(long companyId, long userId, int status, int start, int end) static intgetCommerceMLForecastAlertEntriesCount(long companyId, long userId, int status) static StringReturns the OSGi service identifier.static CommerceMLForecastAlertEntryupdateStatus(long commerceMLForecastAlertEntryId, int status)
-
Constructor Details
-
CommerceMLForecastAlertEntryServiceUtil
public CommerceMLForecastAlertEntryServiceUtil()
-
-
Method Details
-
getAboveThresholdCommerceMLForecastAlertEntries
public static List<CommerceMLForecastAlertEntry> getAboveThresholdCommerceMLForecastAlertEntries(long companyId, long userId, int status, double relativeChange, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAboveThresholdCommerceMLForecastAlertEntriesCount
public static int getAboveThresholdCommerceMLForecastAlertEntriesCount(long companyId, long userId, int status, double relativeChange) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBelowThresholdCommerceMLForecastAlertEntries
public static List<CommerceMLForecastAlertEntry> getBelowThresholdCommerceMLForecastAlertEntries(long companyId, long userId, int status, double relativeChange, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBelowThresholdCommerceMLForecastAlertEntriesCount
public static int getBelowThresholdCommerceMLForecastAlertEntriesCount(long companyId, long userId, int status, double relativeChange) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceMLForecastAlertEntries
public static List<CommerceMLForecastAlertEntry> getCommerceMLForecastAlertEntries(long companyId, long userId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceMLForecastAlertEntriesCount
public static int getCommerceMLForecastAlertEntriesCount(long companyId, long userId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateStatus
public static CommerceMLForecastAlertEntry updateStatus(long commerceMLForecastAlertEntryId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-