Class CommercePriceEntryServiceWrapper
java.lang.Object
com.liferay.commerce.price.list.service.CommercePriceEntryServiceWrapper
- All Implemented Interfaces:
CommercePriceEntryService,com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryService>
public class CommercePriceEntryServiceWrapper
extends Object
implements CommercePriceEntryService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryService>
Provides a wrapper for
CommercePriceEntryService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommercePriceEntryServiceWrapper(CommercePriceEntryService commercePriceEntryService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommercePriceEntry(String externalReferenceCode, long cpInstanceId, long commercePriceListId, BigDecimal price, boolean priceOnApplication, BigDecimal promoPrice, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) addCommercePriceEntry(String externalReferenceCode, long cProductId, String cpInstanceUuid, long commercePriceListId, BigDecimal price, boolean discountDiscovery, BigDecimal discountLevel1, BigDecimal discountLevel2, BigDecimal discountLevel3, BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCommercePriceEntry(String externalReferenceCode, long commercePriceEntryId, long cProductId, String cpInstanceUuid, long commercePriceListId, boolean discountDiscovery, BigDecimal discountLevel1, BigDecimal discountLevel2, BigDecimal discountLevel3, BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, BigDecimal price, boolean priceOnApplication, String skuExternalReferenceCode, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCommercePriceEntry(String externalReferenceCode, long commercePriceEntryId, long cProductId, String cpInstanceUuid, long commercePriceListId, BigDecimal price, BigDecimal promoPrice, String skuExternalReferenceCode, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) voiddeleteCommercePriceEntry(long commercePriceEntryId) fetchCommercePriceEntry(long commercePriceEntryId) fetchCommercePriceEntryByExternalReferenceCode(String externalReferenceCode, long companyId) getCommercePriceEntries(long commercePriceListId, int start, int end) getCommercePriceEntries(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) intgetCommercePriceEntriesCount(long commercePriceListId) getCommercePriceEntry(long commercePriceEntryId) getInstanceBaseCommercePriceEntry(String cpInstanceUuid, String priceListType, String unitOfMeasureKey) getInstanceCommercePriceEntries(long cpInstanceId, int start, int end) intgetInstanceCommercePriceEntriesCount(long cpInstanceId) Returns the OSGi service identifier.com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePriceEntry>searchCommercePriceEntries(long companyId, long commercePriceListId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) intsearchCommercePriceEntriesCount(long companyId, long commercePriceListId, String keywords) voidsetWrappedService(CommercePriceEntryService commercePriceEntryService) updateCommercePriceEntry(long commercePriceEntryId, boolean bulkPricing, boolean discountDiscovery, BigDecimal discountLevel1, BigDecimal discountLevel2, BigDecimal discountLevel3, BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, BigDecimal price, boolean priceOnApplication, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateExternalReferenceCode(String externalReferenceCode, CommercePriceEntry commercePriceEntry) updatePricingInfo(long commercePriceEntryId, boolean bulkPricing, BigDecimal price, boolean priceOnApplication, BigDecimal promoPrice, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
CommercePriceEntryServiceWrapper
public CommercePriceEntryServiceWrapper() -
CommercePriceEntryServiceWrapper
-
-
Method Details
-
addCommercePriceEntry
public CommercePriceEntry addCommercePriceEntry(String externalReferenceCode, long cpInstanceId, long commercePriceListId, BigDecimal price, boolean priceOnApplication, BigDecimal promoPrice, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommercePriceEntryin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommercePriceEntry
public CommercePriceEntry addCommercePriceEntry(String externalReferenceCode, long cProductId, String cpInstanceUuid, long commercePriceListId, BigDecimal price, boolean discountDiscovery, BigDecimal discountLevel1, BigDecimal discountLevel2, BigDecimal discountLevel3, BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommercePriceEntryin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommercePriceEntry
public CommercePriceEntry addOrUpdateCommercePriceEntry(String externalReferenceCode, long commercePriceEntryId, long cProductId, String cpInstanceUuid, long commercePriceListId, BigDecimal price, BigDecimal promoPrice, String skuExternalReferenceCode, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addOrUpdateCommercePriceEntryin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommercePriceEntry
public CommercePriceEntry addOrUpdateCommercePriceEntry(String externalReferenceCode, long commercePriceEntryId, long cProductId, String cpInstanceUuid, long commercePriceListId, boolean discountDiscovery, BigDecimal discountLevel1, BigDecimal discountLevel2, BigDecimal discountLevel3, BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, BigDecimal price, boolean priceOnApplication, String skuExternalReferenceCode, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addOrUpdateCommercePriceEntryin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommercePriceEntry
public void deleteCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommercePriceEntryin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommercePriceEntry
public CommercePriceEntry fetchCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommercePriceEntryin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommercePriceEntryByExternalReferenceCode
public CommercePriceEntry fetchCommercePriceEntryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommercePriceEntryByExternalReferenceCodein interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceEntries
public List<CommercePriceEntry> getCommercePriceEntries(long commercePriceListId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePriceEntriesin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceEntries
public List<CommercePriceEntry> getCommercePriceEntries(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePriceEntriesin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceEntriesCount
public int getCommercePriceEntriesCount(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePriceEntriesCountin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceEntry
public CommercePriceEntry getCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePriceEntryin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getInstanceBaseCommercePriceEntry
public CommercePriceEntry getInstanceBaseCommercePriceEntry(String cpInstanceUuid, String priceListType, String unitOfMeasureKey) - Specified by:
getInstanceBaseCommercePriceEntryin interfaceCommercePriceEntryService
-
getInstanceCommercePriceEntries
public List<CommercePriceEntry> getInstanceCommercePriceEntries(long cpInstanceId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getInstanceCommercePriceEntriesin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getInstanceCommercePriceEntriesCount
public int getInstanceCommercePriceEntriesCount(long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getInstanceCommercePriceEntriesCountin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceCommercePriceEntryService- Returns:
- the OSGi service identifier
-
searchCommercePriceEntries
public com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePriceEntry> searchCommercePriceEntries(long companyId, long commercePriceListId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCommercePriceEntriesin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommercePriceEntriesCount
public int searchCommercePriceEntriesCount(long companyId, long commercePriceListId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCommercePriceEntriesCountin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommercePriceEntry
public CommercePriceEntry updateCommercePriceEntry(long commercePriceEntryId, boolean bulkPricing, boolean discountDiscovery, BigDecimal discountLevel1, BigDecimal discountLevel2, BigDecimal discountLevel3, BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, BigDecimal price, boolean priceOnApplication, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommercePriceEntryin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public CommercePriceEntry updateExternalReferenceCode(String externalReferenceCode, CommercePriceEntry commercePriceEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExternalReferenceCodein interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePricingInfo
public CommercePriceEntry updatePricingInfo(long commercePriceEntryId, boolean bulkPricing, BigDecimal price, boolean priceOnApplication, BigDecimal promoPrice, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updatePricingInfoin interfaceCommercePriceEntryService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryService>
-