public class CommercePriceEntryServiceWrapper extends java.lang.Object implements CommercePriceEntryService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryService>
CommercePriceEntryService
.CommercePriceEntryService
Constructor and Description |
---|
CommercePriceEntryServiceWrapper() |
CommercePriceEntryServiceWrapper(CommercePriceEntryService commercePriceEntryService) |
Modifier and Type | Method and Description |
---|---|
CommercePriceEntry |
addCommercePriceEntry(java.lang.String externalReferenceCode,
long cpInstanceId,
long commercePriceListId,
java.math.BigDecimal price,
boolean priceOnApplication,
java.math.BigDecimal promoPrice,
java.lang.String unitOfMeasureKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePriceEntry |
addCommercePriceEntry(java.lang.String externalReferenceCode,
long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.math.BigDecimal price,
boolean discountDiscovery,
java.math.BigDecimal discountLevel1,
java.math.BigDecimal discountLevel2,
java.math.BigDecimal discountLevel3,
java.math.BigDecimal discountLevel4,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.lang.String unitOfMeasureKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePriceEntry |
addOrUpdateCommercePriceEntry(java.lang.String externalReferenceCode,
long commercePriceEntryId,
long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
java.lang.String skuExternalReferenceCode,
java.lang.String unitOfMeasureKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePriceEntry |
addOrUpdateCommercePriceEntry(java.lang.String externalReferenceCode,
long commercePriceEntryId,
long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
boolean discountDiscovery,
java.math.BigDecimal discountLevel1,
java.math.BigDecimal discountLevel2,
java.math.BigDecimal discountLevel3,
java.math.BigDecimal discountLevel4,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.math.BigDecimal price,
boolean priceOnApplication,
java.lang.String skuExternalReferenceCode,
java.lang.String unitOfMeasureKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteCommercePriceEntry(long commercePriceEntryId) |
CommercePriceEntry |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommercePriceEntry |
fetchCommercePriceEntry(long commercePriceEntryId) |
java.util.List<CommercePriceEntry> |
getCommercePriceEntries(long commercePriceListId,
int start,
int end) |
java.util.List<CommercePriceEntry> |
getCommercePriceEntries(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) |
int |
getCommercePriceEntriesCount(long commercePriceListId) |
CommercePriceEntry |
getCommercePriceEntry(long commercePriceEntryId) |
CommercePriceEntry |
getInstanceBaseCommercePriceEntry(java.lang.String cpInstanceUuid,
java.lang.String priceListType,
java.lang.String unitOfMeasureKey) |
java.util.List<CommercePriceEntry> |
getInstanceCommercePriceEntries(long cpInstanceId,
int start,
int end) |
int |
getInstanceCommercePriceEntriesCount(long cpInstanceId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommercePriceEntryService |
getWrappedService() |
com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePriceEntry> |
searchCommercePriceEntries(long companyId,
long commercePriceListId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
int |
searchCommercePriceEntriesCount(long companyId,
long commercePriceListId,
java.lang.String keywords) |
void |
setWrappedService(CommercePriceEntryService commercePriceEntryService) |
CommercePriceEntry |
updateCommercePriceEntry(long commercePriceEntryId,
boolean bulkPricing,
boolean discountDiscovery,
java.math.BigDecimal discountLevel1,
java.math.BigDecimal discountLevel2,
java.math.BigDecimal discountLevel3,
java.math.BigDecimal discountLevel4,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.math.BigDecimal price,
boolean priceOnApplication,
java.lang.String unitOfMeasureKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePriceEntry |
updateExternalReferenceCode(java.lang.String externalReferenceCode,
CommercePriceEntry commercePriceEntry) |
CommercePriceEntry |
updatePricingInfo(long commercePriceEntryId,
boolean bulkPricing,
java.math.BigDecimal price,
boolean priceOnApplication,
java.math.BigDecimal promoPrice,
java.lang.String unitOfMeasureKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public CommercePriceEntryServiceWrapper()
public CommercePriceEntryServiceWrapper(CommercePriceEntryService commercePriceEntryService)
public CommercePriceEntry addCommercePriceEntry(java.lang.String externalReferenceCode, long cpInstanceId, long commercePriceListId, java.math.BigDecimal price, boolean priceOnApplication, java.math.BigDecimal promoPrice, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommercePriceEntry
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public CommercePriceEntry addCommercePriceEntry(java.lang.String externalReferenceCode, long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, java.math.BigDecimal price, boolean discountDiscovery, java.math.BigDecimal discountLevel1, java.math.BigDecimal discountLevel2, java.math.BigDecimal discountLevel3, java.math.BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommercePriceEntry
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public CommercePriceEntry addOrUpdateCommercePriceEntry(java.lang.String externalReferenceCode, long commercePriceEntryId, long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, java.math.BigDecimal price, java.math.BigDecimal promoPrice, java.lang.String skuExternalReferenceCode, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCommercePriceEntry
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public CommercePriceEntry addOrUpdateCommercePriceEntry(java.lang.String externalReferenceCode, long commercePriceEntryId, long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, boolean discountDiscovery, java.math.BigDecimal discountLevel1, java.math.BigDecimal discountLevel2, java.math.BigDecimal discountLevel3, java.math.BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, java.math.BigDecimal price, boolean priceOnApplication, java.lang.String skuExternalReferenceCode, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCommercePriceEntry
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommercePriceEntry
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public CommercePriceEntry fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
fetchByExternalReferenceCode
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public CommercePriceEntry fetchCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
fetchCommercePriceEntry
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommercePriceEntry> getCommercePriceEntries(long commercePriceListId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceEntries
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommercePriceEntry> getCommercePriceEntries(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceEntries
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public int getCommercePriceEntriesCount(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceEntriesCount
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public CommercePriceEntry getCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceEntry
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public CommercePriceEntry getInstanceBaseCommercePriceEntry(java.lang.String cpInstanceUuid, java.lang.String priceListType, java.lang.String unitOfMeasureKey)
getInstanceBaseCommercePriceEntry
in interface CommercePriceEntryService
public java.util.List<CommercePriceEntry> getInstanceCommercePriceEntries(long cpInstanceId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getInstanceCommercePriceEntries
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public int getInstanceCommercePriceEntriesCount(long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException
getInstanceCommercePriceEntriesCount
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommercePriceEntryService
public com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePriceEntry> searchCommercePriceEntries(long companyId, long commercePriceListId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchCommercePriceEntries
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public int searchCommercePriceEntriesCount(long companyId, long commercePriceListId, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
searchCommercePriceEntriesCount
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public CommercePriceEntry updateCommercePriceEntry(long commercePriceEntryId, boolean bulkPricing, boolean discountDiscovery, java.math.BigDecimal discountLevel1, java.math.BigDecimal discountLevel2, java.math.BigDecimal discountLevel3, java.math.BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, java.math.BigDecimal price, boolean priceOnApplication, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommercePriceEntry
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public CommercePriceEntry updateExternalReferenceCode(java.lang.String externalReferenceCode, CommercePriceEntry commercePriceEntry) throws com.liferay.portal.kernel.exception.PortalException
updateExternalReferenceCode
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public CommercePriceEntry updatePricingInfo(long commercePriceEntryId, boolean bulkPricing, java.math.BigDecimal price, boolean priceOnApplication, java.math.BigDecimal promoPrice, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updatePricingInfo
in interface CommercePriceEntryService
com.liferay.portal.kernel.exception.PortalException
public CommercePriceEntryService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryService>
public void setWrappedService(CommercePriceEntryService commercePriceEntryService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryService>