public class CommerceMLForecastAlertEntryLocalServiceWrapper extends java.lang.Object implements CommerceMLForecastAlertEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceMLForecastAlertEntryLocalService>
CommerceMLForecastAlertEntryLocalService
.CommerceMLForecastAlertEntryLocalService
Constructor and Description |
---|
CommerceMLForecastAlertEntryLocalServiceWrapper() |
CommerceMLForecastAlertEntryLocalServiceWrapper(CommerceMLForecastAlertEntryLocalService commerceMLForecastAlertEntryLocalService) |
Modifier and Type | Method and Description |
---|---|
CommerceMLForecastAlertEntry |
addCommerceMLForecastAlertEntry(CommerceMLForecastAlertEntry commerceMLForecastAlertEntry)
Adds the commerce ml forecast alert entry to the database.
|
CommerceMLForecastAlertEntry |
addOrUpdateCommerceMLForecastAlertEntry(long companyId,
long userId,
long commerceAccountId,
java.util.Date timestamp,
float actual,
float forecast,
float relativeChange) |
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) |
public CommerceMLForecastAlertEntryLocalServiceWrapper()
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 CommerceMLForecastAlertEntryLocalService
commerceMLForecastAlertEntry
- the commerce ml forecast alert entrypublic CommerceMLForecastAlertEntry addOrUpdateCommerceMLForecastAlertEntry(long companyId, long userId, long commerceAccountId, java.util.Date timestamp, float actual, float forecast, float relativeChange) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCommerceMLForecastAlertEntry
in interface CommerceMLForecastAlertEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceMLForecastAlertEntry createCommerceMLForecastAlertEntry(long commerceMLForecastAlertEntryId)
createCommerceMLForecastAlertEntry
in interface CommerceMLForecastAlertEntryLocalService
commerceMLForecastAlertEntryId
- 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 CommerceMLForecastAlertEntryLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public 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 CommerceMLForecastAlertEntryLocalService
commerceMLForecastAlertEntry
- 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 CommerceMLForecastAlertEntryLocalService
commerceMLForecastAlertEntryId
- 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 CommerceMLForecastAlertEntryLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface CommerceMLForecastAlertEntryLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface CommerceMLForecastAlertEntryLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface CommerceMLForecastAlertEntryLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface CommerceMLForecastAlertEntryLocalService
dynamicQuery
- 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 CommerceMLForecastAlertEntryLocalService
dynamicQuery
- 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 CommerceMLForecastAlertEntryLocalService
dynamicQuery
- 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 CommerceMLForecastAlertEntryLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface CommerceMLForecastAlertEntryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic CommerceMLForecastAlertEntry fetchCommerceMLForecastAlertEntry(long commerceMLForecastAlertEntryId)
fetchCommerceMLForecastAlertEntry
in interface CommerceMLForecastAlertEntryLocalService
public CommerceMLForecastAlertEntry fetchCommerceMLForecastAlertEntryByUuidAndCompanyId(java.lang.String uuid, long companyId)
fetchCommerceMLForecastAlertEntryByUuidAndCompanyId
in interface CommerceMLForecastAlertEntryLocalService
uuid
- 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 CommerceMLForecastAlertEntryLocalService
public int getAboveThresholdCommerceMLForecastAlertEntriesCount(long companyId, long[] commerceAccountIds, double relativeChange, int status)
getAboveThresholdCommerceMLForecastAlertEntriesCount
in interface CommerceMLForecastAlertEntryLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface CommerceMLForecastAlertEntryLocalService
public java.util.List<CommerceMLForecastAlertEntry> getBelowThresholdCommerceMLForecastAlertEntries(long companyId, long[] commerceAccountIds, double relativeChange, int status, int start, int end)
getBelowThresholdCommerceMLForecastAlertEntries
in interface CommerceMLForecastAlertEntryLocalService
public int getBelowThresholdCommerceMLForecastAlertEntriesCount(long companyId, long[] commerceAccountIds, double relativeChange, int status)
getBelowThresholdCommerceMLForecastAlertEntriesCount
in interface CommerceMLForecastAlertEntryLocalService
public 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 CommerceMLForecastAlertEntryLocalService
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)public java.util.List<CommerceMLForecastAlertEntry> getCommerceMLForecastAlertEntries(long companyId, long[] commerceAccountIds, int status, int start, int end)
getCommerceMLForecastAlertEntries
in interface CommerceMLForecastAlertEntryLocalService
public int getCommerceMLForecastAlertEntriesCount()
getCommerceMLForecastAlertEntriesCount
in interface CommerceMLForecastAlertEntryLocalService
public int getCommerceMLForecastAlertEntriesCount(long companyId, long[] commerceAccountIds, int status)
getCommerceMLForecastAlertEntriesCount
in interface CommerceMLForecastAlertEntryLocalService
public CommerceMLForecastAlertEntry getCommerceMLForecastAlertEntry(long commerceMLForecastAlertEntryId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceMLForecastAlertEntry
in interface CommerceMLForecastAlertEntryLocalService
commerceMLForecastAlertEntryId
- 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 CommerceMLForecastAlertEntryLocalService
uuid
- 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 CommerceMLForecastAlertEntryLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface CommerceMLForecastAlertEntryLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommerceMLForecastAlertEntryLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface CommerceMLForecastAlertEntryLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public 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 CommerceMLForecastAlertEntryLocalService
commerceMLForecastAlertEntry
- the commerce ml forecast alert entrypublic CommerceMLForecastAlertEntry updateStatus(long userId, long commerceMLForecastAlertEntryId, int status) throws com.liferay.portal.kernel.exception.PortalException
updateStatus
in interface CommerceMLForecastAlertEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public 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>