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 |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommercePriceModifier |
fetchCommercePriceModifier(long commercePriceModifierId) |
CommercePriceModifier |
fetchCommercePriceModifierByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce price modifier with the matching external reference code and company.
|
CommercePriceModifier |
fetchCommercePriceModifierByReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
fetchCommercePriceModifierByExternalReferenceCode(long, String) |
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() |
CommercePriceModifier |
getCommercePriceModifier(long commercePriceModifierId)
Returns the commerce price modifier with the primary key.
|
CommercePriceModifier |
getCommercePriceModifierByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce price modifier with the matching external reference code and company.
|
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.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) |
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) |
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 CommercePriceModifierLocalService
commercePriceModifier
- 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 CommercePriceModifierLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommercePriceModifierLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommercePriceModifierLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommercePriceModifierLocalService
com.liferay.portal.kernel.exception.PortalException
public void checkCommercePriceModifiers() throws com.liferay.portal.kernel.exception.PortalException
checkCommercePriceModifiers
in interface CommercePriceModifierLocalService
com.liferay.portal.kernel.exception.PortalException
public CommercePriceModifier createCommercePriceModifier(long commercePriceModifierId)
createCommercePriceModifier
in interface CommercePriceModifierLocalService
commercePriceModifierId
- 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 CommercePriceModifierLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public 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 CommercePriceModifierLocalService
commercePriceModifier
- the commerce price modifierPortalException
public 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 CommercePriceModifierLocalService
commercePriceModifierId
- 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 CommercePriceModifierLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommercePriceModifiersByCommercePriceListId(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommercePriceModifiersByCommercePriceListId
in interface CommercePriceModifierLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface CommercePriceModifierLocalService
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 CommercePriceModifierLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface CommercePriceModifierLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface CommercePriceModifierLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface CommercePriceModifierLocalService
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.pricing.model.impl.CommercePriceModifierModelImpl
.
dynamicQuery
in interface CommercePriceModifierLocalService
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.pricing.model.impl.CommercePriceModifierModelImpl
.
dynamicQuery
in interface CommercePriceModifierLocalService
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 CommercePriceModifierLocalService
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 CommercePriceModifierLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic CommercePriceModifier fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchByExternalReferenceCode
in interface CommercePriceModifierLocalService
public CommercePriceModifier fetchCommercePriceModifier(long commercePriceModifierId)
fetchCommercePriceModifier
in interface CommercePriceModifierLocalService
public CommercePriceModifier fetchCommercePriceModifierByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommercePriceModifierByExternalReferenceCode
in interface CommercePriceModifierLocalService
companyId
- the primary key of the companyexternalReferenceCode
- the commerce price modifier's external reference codenull
if a matching commerce price modifier could not be found@Deprecated public CommercePriceModifier fetchCommercePriceModifierByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommercePriceModifierByExternalReferenceCode(long, String)
fetchCommercePriceModifierByReferenceCode
in interface CommercePriceModifierLocalService
public CommercePriceModifier fetchCommercePriceModifierByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCommercePriceModifierByUuidAndGroupId
in interface CommercePriceModifierLocalService
uuid
- 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 CommercePriceModifierLocalService
public CommercePriceModifier getCommercePriceModifier(long commercePriceModifierId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceModifier
in interface CommercePriceModifierLocalService
commercePriceModifierId
- the primary key of the commerce price modifierPortalException
- if a commerce price modifier with the primary key could not be foundpublic CommercePriceModifier getCommercePriceModifierByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceModifierByExternalReferenceCode
in interface CommercePriceModifierLocalService
companyId
- the primary key of the companyexternalReferenceCode
- the commerce price modifier's external reference codePortalException
- if a matching commerce price modifier could not be foundpublic CommercePriceModifier getCommercePriceModifierByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceModifierByUuidAndGroupId
in interface CommercePriceModifierLocalService
uuid
- 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 CommercePriceModifierLocalService
start
- 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 CommercePriceModifierLocalService
public java.util.List<CommercePriceModifier> getCommercePriceModifiers(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator)
getCommercePriceModifiers
in interface CommercePriceModifierLocalService
public java.util.List<CommercePriceModifier> getCommercePriceModifiers(long companyId, java.lang.String target)
getCommercePriceModifiers
in interface CommercePriceModifierLocalService
public java.util.List<CommercePriceModifier> getCommercePriceModifiersByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCommercePriceModifiersByUuidAndCompanyId
in interface CommercePriceModifierLocalService
uuid
- 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 CommercePriceModifierLocalService
uuid
- 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 CommercePriceModifierLocalService
public int getCommercePriceModifiersCount(long commercePriceListId)
getCommercePriceModifiersCount
in interface CommercePriceModifierLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface CommercePriceModifierLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface CommercePriceModifierLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommercePriceModifierLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface CommercePriceModifierLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public java.util.List<CommercePriceModifier> getQualifiedCommercePriceModifiers(long commercePriceListId, long cpDefinitionId)
getQualifiedCommercePriceModifiers
in interface CommercePriceModifierLocalService
public 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 CommercePriceModifierLocalService
commercePriceModifier
- 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 CommercePriceModifierLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommercePriceModifierLocalService
com.liferay.portal.kernel.exception.PortalException
public 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>