public class CommerceMLForecastAlertEntryLocalServiceWrapper extends java.lang.Object implements CommerceMLForecastAlertEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceMLForecastAlertEntryLocalService>
CommerceMLForecastAlertEntryLocalService.CommerceMLForecastAlertEntryLocalService| Constructor and Description |
|---|
CommerceMLForecastAlertEntryLocalServiceWrapper(CommerceMLForecastAlertEntryLocalService commerceMLForecastAlertEntryLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceMLForecastAlertEntry |
addCommerceMLForecastAlertEntry(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry)
Adds the commerce ml forecast alert entry to the database.
|
CommerceMLForecastAlertEntry |
createCommerceMLForecastAlertEntry(long commerceMLForecastAlertEntryId)
Creates a new commerce ml forecast alert entry with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceMLForecastAlertEntry |
deleteCommerceMLForecastAlertEntry(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry)
Deletes the commerce ml forecast alert entry from the database.
|
CommerceMLForecastAlertEntry |
deleteCommerceMLForecastAlertEntry(long commerceMLForecastAlertEntryId)
Deletes the commerce ml forecast alert entry with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
CommerceMLForecastAlertEntry |
fetchCommerceMLForecastAlertEntry(long commerceMLForecastAlertEntryId) |
CommerceMLForecastAlertEntry |
fetchCommerceMLForecastAlertEntryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the commerce ml forecast alert entry with the matching UUID and company.
|
java.util.List<CommerceMLForecastAlertEntry> |
getAboveThresholdCommerceMLForecastAlertEntries(long companyId,
long[] commerceAccountIds,
double relativeChange,
int status,
int start,
int end) |
int |
getAboveThresholdCommerceMLForecastAlertEntriesCount(long companyId,
long[] commerceAccountIds,
double relativeChange,
int status) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
java.util.List<CommerceMLForecastAlertEntry> |
getBelowThresholdCommerceMLForecastAlertEntries(long companyId,
long[] commerceAccountIds,
double relativeChange,
int status,
int start,
int end) |
int |
getBelowThresholdCommerceMLForecastAlertEntriesCount(long companyId,
long[] commerceAccountIds,
double relativeChange,
int status) |
java.util.List<CommerceMLForecastAlertEntry> |
getCommerceMLForecastAlertEntries(int start,
int end)
Returns a range of all the commerce ml forecast alert entries.
|
java.util.List<CommerceMLForecastAlertEntry> |
getCommerceMLForecastAlertEntries(long companyId,
long[] commerceAccountIds,
int status,
int start,
int end) |
int |
getCommerceMLForecastAlertEntriesCount()
Returns the number of commerce ml forecast alert entries.
|
int |
getCommerceMLForecastAlertEntriesCount(long companyId,
long[] commerceAccountIds,
int status) |
CommerceMLForecastAlertEntry |
getCommerceMLForecastAlertEntry(long commerceMLForecastAlertEntryId)
Returns the commerce ml forecast alert entry with the primary key.
|
CommerceMLForecastAlertEntry |
getCommerceMLForecastAlertEntryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the commerce ml forecast alert entry with the matching UUID and company.
|
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceMLForecastAlertEntryLocalService |
getWrappedService() |
void |
setWrappedService(CommerceMLForecastAlertEntryLocalService commerceMLForecastAlertEntryLocalService) |
CommerceMLForecastAlertEntry |
updateCommerceMLForecastAlertEntry(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry)
Updates the commerce ml forecast alert entry in the database or adds it if it does not yet exist.
|
CommerceMLForecastAlertEntry |
updateStatus(long userId,
long commerceMLForecastAlertEntryId,
int status) |
CommerceMLForecastAlertEntry |
upsertCommerceMLForecastAlertEntry(long companyId,
long userId,
long commerceAccountId,
java.util.Date timestamp,
float actual,
float forecast,
float relativeChange) |
public CommerceMLForecastAlertEntryLocalServiceWrapper(CommerceMLForecastAlertEntryLocalService commerceMLForecastAlertEntryLocalService)
public CommerceMLForecastAlertEntry addCommerceMLForecastAlertEntry(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry)
Important: Inspect CommerceMLForecastAlertEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addCommerceMLForecastAlertEntry in interface CommerceMLForecastAlertEntryLocalServicecommerceMLForecastAlertEntry - the commerce ml forecast alert entrypublic CommerceMLForecastAlertEntry createCommerceMLForecastAlertEntry(long commerceMLForecastAlertEntryId)
createCommerceMLForecastAlertEntry in interface CommerceMLForecastAlertEntryLocalServicecommerceMLForecastAlertEntryId - the primary key for the new commerce ml forecast alert entrypublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CommerceMLForecastAlertEntryLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceMLForecastAlertEntry deleteCommerceMLForecastAlertEntry(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry)
Important: Inspect CommerceMLForecastAlertEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteCommerceMLForecastAlertEntry in interface CommerceMLForecastAlertEntryLocalServicecommerceMLForecastAlertEntry - the commerce ml forecast alert entrypublic CommerceMLForecastAlertEntry deleteCommerceMLForecastAlertEntry(long commerceMLForecastAlertEntryId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceMLForecastAlertEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteCommerceMLForecastAlertEntry in interface CommerceMLForecastAlertEntryLocalServicecommerceMLForecastAlertEntryId - the primary key of the commerce ml forecast alert entryPortalException - if a commerce ml forecast alert entry with the primary key could not be foundpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommerceMLForecastAlertEntryLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommerceMLForecastAlertEntryLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommerceMLForecastAlertEntryLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceMLForecastAlertEntryLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceMLForecastAlertEntryLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.machine.learning.forecast.alert.model.impl.CommerceMLForecastAlertEntryModelImpl.
dynamicQuery in interface CommerceMLForecastAlertEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.machine.learning.forecast.alert.model.impl.CommerceMLForecastAlertEntryModelImpl.
dynamicQuery in interface CommerceMLForecastAlertEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface CommerceMLForecastAlertEntryLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceMLForecastAlertEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommerceMLForecastAlertEntry fetchCommerceMLForecastAlertEntry(long commerceMLForecastAlertEntryId)
fetchCommerceMLForecastAlertEntry in interface CommerceMLForecastAlertEntryLocalServicepublic CommerceMLForecastAlertEntry fetchCommerceMLForecastAlertEntryByUuidAndCompanyId(java.lang.String uuid, long companyId)
fetchCommerceMLForecastAlertEntryByUuidAndCompanyId in interface CommerceMLForecastAlertEntryLocalServiceuuid - the commerce ml forecast alert entry's UUIDcompanyId - the primary key of the companynull if a matching commerce ml forecast alert entry could not be foundpublic java.util.List<CommerceMLForecastAlertEntry> getAboveThresholdCommerceMLForecastAlertEntries(long companyId, long[] commerceAccountIds, double relativeChange, int status, int start, int end)
getAboveThresholdCommerceMLForecastAlertEntries in interface CommerceMLForecastAlertEntryLocalServicepublic int getAboveThresholdCommerceMLForecastAlertEntriesCount(long companyId,
long[] commerceAccountIds,
double relativeChange,
int status)
getAboveThresholdCommerceMLForecastAlertEntriesCount in interface CommerceMLForecastAlertEntryLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommerceMLForecastAlertEntryLocalServicepublic java.util.List<CommerceMLForecastAlertEntry> getBelowThresholdCommerceMLForecastAlertEntries(long companyId, long[] commerceAccountIds, double relativeChange, int status, int start, int end)
getBelowThresholdCommerceMLForecastAlertEntries in interface CommerceMLForecastAlertEntryLocalServicepublic int getBelowThresholdCommerceMLForecastAlertEntriesCount(long companyId,
long[] commerceAccountIds,
double relativeChange,
int status)
getBelowThresholdCommerceMLForecastAlertEntriesCount in interface CommerceMLForecastAlertEntryLocalServicepublic java.util.List<CommerceMLForecastAlertEntry> getCommerceMLForecastAlertEntries(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.machine.learning.forecast.alert.model.impl.CommerceMLForecastAlertEntryModelImpl.
getCommerceMLForecastAlertEntries in interface CommerceMLForecastAlertEntryLocalServicestart - 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)public java.util.List<CommerceMLForecastAlertEntry> getCommerceMLForecastAlertEntries(long companyId, long[] commerceAccountIds, int status, int start, int end)
getCommerceMLForecastAlertEntries in interface CommerceMLForecastAlertEntryLocalServicepublic int getCommerceMLForecastAlertEntriesCount()
getCommerceMLForecastAlertEntriesCount in interface CommerceMLForecastAlertEntryLocalServicepublic int getCommerceMLForecastAlertEntriesCount(long companyId,
long[] commerceAccountIds,
int status)
getCommerceMLForecastAlertEntriesCount in interface CommerceMLForecastAlertEntryLocalServicepublic CommerceMLForecastAlertEntry getCommerceMLForecastAlertEntry(long commerceMLForecastAlertEntryId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceMLForecastAlertEntry in interface CommerceMLForecastAlertEntryLocalServicecommerceMLForecastAlertEntryId - the primary key of the commerce ml forecast alert entryPortalException - if a commerce ml forecast alert entry with the primary key could not be foundpublic CommerceMLForecastAlertEntry getCommerceMLForecastAlertEntryByUuidAndCompanyId(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceMLForecastAlertEntryByUuidAndCompanyId in interface CommerceMLForecastAlertEntryLocalServiceuuid - the commerce ml forecast alert entry's UUIDcompanyId - the primary key of the companyPortalException - if a matching commerce ml forecast alert entry could not be foundpublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface CommerceMLForecastAlertEntryLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceMLForecastAlertEntryLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceMLForecastAlertEntryLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceMLForecastAlertEntryLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceMLForecastAlertEntry updateCommerceMLForecastAlertEntry(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry)
Important: Inspect CommerceMLForecastAlertEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateCommerceMLForecastAlertEntry in interface CommerceMLForecastAlertEntryLocalServicecommerceMLForecastAlertEntry - the commerce ml forecast alert entrypublic CommerceMLForecastAlertEntry updateStatus(long userId, long commerceMLForecastAlertEntryId, int status) throws com.liferay.portal.kernel.exception.PortalException
updateStatus in interface CommerceMLForecastAlertEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceMLForecastAlertEntry upsertCommerceMLForecastAlertEntry(long companyId, long userId, long commerceAccountId, java.util.Date timestamp, float actual, float forecast, float relativeChange) throws com.liferay.portal.kernel.exception.PortalException
upsertCommerceMLForecastAlertEntry in interface CommerceMLForecastAlertEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceMLForecastAlertEntryLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceMLForecastAlertEntryLocalService>public void setWrappedService(CommerceMLForecastAlertEntryLocalService commerceMLForecastAlertEntryLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceMLForecastAlertEntryLocalService>