public class CommercePriceModifierLocalServiceWrapper extends java.lang.Object implements CommercePriceModifierLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceModifierLocalService>
CommercePriceModifierLocalService.CommercePriceModifierLocalService| Constructor and Description |
|---|
CommercePriceModifierLocalServiceWrapper() |
CommercePriceModifierLocalServiceWrapper(CommercePriceModifierLocalService commercePriceModifierLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommercePriceModifier |
addCommercePriceModifier(CommercePriceModifier commercePriceModifier)
Adds the commerce price modifier to the database.
|
CommercePriceModifier |
addCommercePriceModifier(long groupId,
java.lang.String title,
long commercePriceListId,
java.lang.String modifierType,
java.math.BigDecimal modifierAmount,
double priority,
boolean active,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePriceModifier |
addCommercePriceModifier(long groupId,
java.lang.String title,
java.lang.String target,
long commercePriceListId,
java.lang.String modifierType,
java.math.BigDecimal modifierAmount,
double priority,
boolean active,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePriceModifier |
addCommercePriceModifier(java.lang.String externalReferenceCode,
long groupId,
java.lang.String title,
java.lang.String target,
long commercePriceListId,
java.lang.String modifierType,
java.math.BigDecimal modifierAmount,
double priority,
boolean active,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePriceModifier |
addOrUpdateCommercePriceModifier(java.lang.String externalReferenceCode,
long userId,
long commercePriceModifierId,
long groupId,
java.lang.String title,
java.lang.String target,
long commercePriceListId,
java.lang.String modifierType,
java.math.BigDecimal modifierAmount,
double priority,
boolean active,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
checkCommercePriceModifiers() |
CommercePriceModifier |
createCommercePriceModifier(long commercePriceModifierId)
Creates a new commerce price modifier with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommercePriceModifier |
deleteCommercePriceModifier(CommercePriceModifier commercePriceModifier)
Deletes the commerce price modifier from the database.
|
CommercePriceModifier |
deleteCommercePriceModifier(long commercePriceModifierId)
Deletes the commerce price modifier with the primary key from the database.
|
void |
deleteCommercePriceModifiers(long companyId) |
void |
deleteCommercePriceModifiersByCommercePriceListId(long commercePriceListId) |
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.
|
CommercePriceModifier |
fetchCommercePriceModifier(long commercePriceModifierId) |
CommercePriceModifier |
fetchCommercePriceModifierByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommercePriceModifier |
fetchCommercePriceModifierByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the commerce price modifier matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
CommercePriceModifier |
getCommercePriceModifier(long commercePriceModifierId)
Returns the commerce price modifier with the primary key.
|
CommercePriceModifier |
getCommercePriceModifierByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommercePriceModifier |
getCommercePriceModifierByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the commerce price modifier matching the UUID and group.
|
java.util.List<CommercePriceModifier> |
getCommercePriceModifiers(int start,
int end)
Returns a range of all the commerce price modifiers.
|
java.util.List<CommercePriceModifier> |
getCommercePriceModifiers(long commercePriceListId) |
java.util.List<CommercePriceModifier> |
getCommercePriceModifiers(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) |
java.util.List<CommercePriceModifier> |
getCommercePriceModifiers(long companyId,
java.lang.String target) |
java.util.List<CommercePriceModifier> |
getCommercePriceModifiersByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the commerce price modifiers matching the UUID and company.
|
java.util.List<CommercePriceModifier> |
getCommercePriceModifiersByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
Returns a range of commerce price modifiers matching the UUID and company.
|
int |
getCommercePriceModifiersCount()
Returns the number of commerce price modifiers.
|
int |
getCommercePriceModifiersCount(long commercePriceListId) |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceModifier> |
getCTPersistence() |
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.Class<CommercePriceModifier> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<CommercePriceModifier> |
getQualifiedCommercePriceModifiers(long commercePriceListId,
long cpDefinitionId) |
CommercePriceModifierLocalService |
getWrappedService() |
void |
setWrappedService(CommercePriceModifierLocalService commercePriceModifierLocalService) |
CommercePriceModifier |
updateCommercePriceModifier(CommercePriceModifier commercePriceModifier)
Updates the commerce price modifier in the database or adds it if it does not yet exist.
|
CommercePriceModifier |
updateCommercePriceModifier(long commercePriceModifierId,
long groupId,
java.lang.String title,
java.lang.String target,
long commercePriceListId,
java.lang.String modifierType,
java.math.BigDecimal modifierAmount,
double priority,
boolean active,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePriceModifier |
updateStatus(long userId,
long commercePriceModifierId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceModifier>,R,E> updateUnsafeFunction) |
public CommercePriceModifierLocalServiceWrapper()
public CommercePriceModifierLocalServiceWrapper(CommercePriceModifierLocalService commercePriceModifierLocalService)
public CommercePriceModifier addCommercePriceModifier(CommercePriceModifier commercePriceModifier)
Important: Inspect CommercePriceModifierLocalServiceImpl 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.
addCommercePriceModifier in interface CommercePriceModifierLocalServicecommercePriceModifier - the commerce price modifierpublic CommercePriceModifier addCommercePriceModifier(long groupId, java.lang.String title, long commercePriceListId, java.lang.String modifierType, java.math.BigDecimal modifierAmount, double priority, boolean active, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommercePriceModifier in interface CommercePriceModifierLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceModifier addCommercePriceModifier(long groupId, java.lang.String title, java.lang.String target, long commercePriceListId, java.lang.String modifierType, java.math.BigDecimal modifierAmount, double priority, boolean active, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommercePriceModifier in interface CommercePriceModifierLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceModifier addCommercePriceModifier(java.lang.String externalReferenceCode, long groupId, java.lang.String title, java.lang.String target, long commercePriceListId, java.lang.String modifierType, java.math.BigDecimal modifierAmount, double priority, boolean active, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommercePriceModifier in interface CommercePriceModifierLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceModifier addOrUpdateCommercePriceModifier(java.lang.String externalReferenceCode, long userId, long commercePriceModifierId, long groupId, java.lang.String title, java.lang.String target, long commercePriceListId, java.lang.String modifierType, java.math.BigDecimal modifierAmount, double priority, boolean active, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCommercePriceModifier in interface CommercePriceModifierLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void checkCommercePriceModifiers()
throws com.liferay.portal.kernel.exception.PortalException
checkCommercePriceModifiers in interface CommercePriceModifierLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceModifier createCommercePriceModifier(long commercePriceModifierId)
createCommercePriceModifier in interface CommercePriceModifierLocalServicecommercePriceModifierId - the primary key for the new commerce price modifierpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CommercePriceModifierLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommercePriceModifier deleteCommercePriceModifier(CommercePriceModifier commercePriceModifier) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommercePriceModifierLocalServiceImpl 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.
deleteCommercePriceModifier in interface CommercePriceModifierLocalServicecommercePriceModifier - the commerce price modifierPortalExceptionpublic CommercePriceModifier deleteCommercePriceModifier(long commercePriceModifierId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommercePriceModifierLocalServiceImpl 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.
deleteCommercePriceModifier in interface CommercePriceModifierLocalServicecommercePriceModifierId - the primary key of the commerce price modifierPortalException - if a commerce price modifier with the primary key could not be foundpublic void deleteCommercePriceModifiers(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommercePriceModifiers in interface CommercePriceModifierLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCommercePriceModifiersByCommercePriceListId(long commercePriceListId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommercePriceModifiersByCommercePriceListId in interface CommercePriceModifierLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommercePriceModifierLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommercePriceModifierLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommercePriceModifierLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommercePriceModifierLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommercePriceModifierLocalServicedynamicQuery - 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.pricing.model.impl.CommercePriceModifierModelImpl.
dynamicQuery in interface CommercePriceModifierLocalServicedynamicQuery - 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.pricing.model.impl.CommercePriceModifierModelImpl.
dynamicQuery in interface CommercePriceModifierLocalServicedynamicQuery - 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 CommercePriceModifierLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommercePriceModifierLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommercePriceModifier fetchCommercePriceModifier(long commercePriceModifierId)
fetchCommercePriceModifier in interface CommercePriceModifierLocalServicepublic CommercePriceModifier fetchCommercePriceModifierByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchCommercePriceModifierByExternalReferenceCode in interface CommercePriceModifierLocalServicepublic CommercePriceModifier fetchCommercePriceModifierByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCommercePriceModifierByUuidAndGroupId in interface CommercePriceModifierLocalServiceuuid - the commerce price modifier's UUIDgroupId - the primary key of the groupnull if a matching commerce price modifier could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommercePriceModifierLocalServicepublic CommercePriceModifier getCommercePriceModifier(long commercePriceModifierId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceModifier in interface CommercePriceModifierLocalServicecommercePriceModifierId - the primary key of the commerce price modifierPortalException - if a commerce price modifier with the primary key could not be foundpublic CommercePriceModifier getCommercePriceModifierByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceModifierByExternalReferenceCode in interface CommercePriceModifierLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceModifier getCommercePriceModifierByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceModifierByUuidAndGroupId in interface CommercePriceModifierLocalServiceuuid - the commerce price modifier's UUIDgroupId - the primary key of the groupPortalException - if a matching commerce price modifier could not be foundpublic java.util.List<CommercePriceModifier> getCommercePriceModifiers(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.pricing.model.impl.CommercePriceModifierModelImpl.
getCommercePriceModifiers in interface CommercePriceModifierLocalServicestart - the lower bound of the range of commerce price modifiersend - the upper bound of the range of commerce price modifiers (not inclusive)public java.util.List<CommercePriceModifier> getCommercePriceModifiers(long commercePriceListId)
getCommercePriceModifiers in interface CommercePriceModifierLocalServicepublic java.util.List<CommercePriceModifier> getCommercePriceModifiers(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
getCommercePriceModifiers in interface CommercePriceModifierLocalServicepublic java.util.List<CommercePriceModifier> getCommercePriceModifiers(long companyId, java.lang.String target)
getCommercePriceModifiers in interface CommercePriceModifierLocalServicepublic java.util.List<CommercePriceModifier> getCommercePriceModifiersByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCommercePriceModifiersByUuidAndCompanyId in interface CommercePriceModifierLocalServiceuuid - the UUID of the commerce price modifierscompanyId - the primary key of the companypublic java.util.List<CommercePriceModifier> getCommercePriceModifiersByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
getCommercePriceModifiersByUuidAndCompanyId in interface CommercePriceModifierLocalServiceuuid - the UUID of the commerce price modifierscompanyId - the primary key of the companystart - the lower bound of the range of commerce price modifiersend - the upper bound of the range of commerce price modifiers (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getCommercePriceModifiersCount()
getCommercePriceModifiersCount in interface CommercePriceModifierLocalServicepublic int getCommercePriceModifiersCount(long commercePriceListId)
getCommercePriceModifiersCount in interface CommercePriceModifierLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface CommercePriceModifierLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommercePriceModifierLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommercePriceModifierLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommercePriceModifierLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic java.util.List<CommercePriceModifier> getQualifiedCommercePriceModifiers(long commercePriceListId, long cpDefinitionId)
getQualifiedCommercePriceModifiers in interface CommercePriceModifierLocalServicepublic CommercePriceModifier updateCommercePriceModifier(CommercePriceModifier commercePriceModifier)
Important: Inspect CommercePriceModifierLocalServiceImpl 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.
updateCommercePriceModifier in interface CommercePriceModifierLocalServicecommercePriceModifier - the commerce price modifierpublic CommercePriceModifier updateCommercePriceModifier(long commercePriceModifierId, long groupId, java.lang.String title, java.lang.String target, long commercePriceListId, java.lang.String modifierType, java.math.BigDecimal modifierAmount, double priority, boolean active, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommercePriceModifier in interface CommercePriceModifierLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceModifier updateStatus(long userId, long commercePriceModifierId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, java.util.Map<java.lang.String,java.io.Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException
updateStatus in interface CommercePriceModifierLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceModifier> getCTPersistence()
getCTPersistence in interface CommercePriceModifierLocalServicegetCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceModifier>public java.lang.Class<CommercePriceModifier> getModelClass()
getModelClass in interface CommercePriceModifierLocalServicegetModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceModifier>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceModifier>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface CommercePriceModifierLocalServiceupdateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceModifier>E extends java.lang.Throwablepublic CommercePriceModifierLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceModifierLocalService>public void setWrappedService(CommercePriceModifierLocalService commercePriceModifierLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceModifierLocalService>