@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommercePriceModifierService
extends com.liferay.portal.kernel.service.BaseService
CommercePriceModifierServiceUtil
Modifier and Type | Method and Description |
---|---|
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 |
addOrUpdateCommercePriceModifier(java.lang.String externalReferenceCode,
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 |
deleteCommercePriceModifier(long commercePriceModifierId) |
CommercePriceModifier |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommercePriceModifier |
fetchCommercePriceModifier(long commercePriceModifierId) |
CommercePriceModifier |
getCommercePriceModifier(long commercePriceModifierId) |
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)
Deprecated.
As of Athanasius (7.3.x)
|
int |
getCommercePriceModifiersCount()
Deprecated.
As of Athanasius (7.3.x)
|
int |
getCommercePriceModifiersCount(long commercePriceListId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePriceModifier> |
searchCommercePriceModifiers(long companyId,
java.lang.String keywords,
int status,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort)
Deprecated.
As of Athanasius (7.3.x)
|
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 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
com.liferay.portal.kernel.exception.PortalException
CommercePriceModifier addOrUpdateCommercePriceModifier(java.lang.String externalReferenceCode, 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
com.liferay.portal.kernel.exception.PortalException
CommercePriceModifier deleteCommercePriceModifier(long commercePriceModifierId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CommercePriceModifier fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CommercePriceModifier fetchCommercePriceModifier(long commercePriceModifierId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CommercePriceModifier getCommercePriceModifier(long commercePriceModifierId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommercePriceModifier> getCommercePriceModifiers(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifier> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommercePriceModifier> getCommercePriceModifiers(long companyId, java.lang.String target) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) int getCommercePriceModifiersCount() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommercePriceModifiersCount(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePriceModifier> searchCommercePriceModifiers(long companyId, java.lang.String keywords, int status, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException