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) void
deleteCommercePriceEntry
(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) int
getCommercePriceEntriesCount
(long commercePriceListId) getCommercePriceEntry
(long commercePriceEntryId) getInstanceBaseCommercePriceEntry
(String cpInstanceUuid, String priceListType, String unitOfMeasureKey) getInstanceCommercePriceEntries
(long cpInstanceId, int start, int end) int
getInstanceCommercePriceEntriesCount
(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) int
searchCommercePriceEntriesCount
(long companyId, long commercePriceListId, String keywords) void
setWrappedService
(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:
addCommercePriceEntry
in 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:
addCommercePriceEntry
in 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:
addOrUpdateCommercePriceEntry
in 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:
addOrUpdateCommercePriceEntry
in interfaceCommercePriceEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommercePriceEntry
public void deleteCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommercePriceEntry
in interfaceCommercePriceEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommercePriceEntry
public CommercePriceEntry fetchCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommercePriceEntry
in 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:
fetchCommercePriceEntryByExternalReferenceCode
in 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:
getCommercePriceEntries
in 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:
getCommercePriceEntries
in interfaceCommercePriceEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceEntriesCount
public int getCommercePriceEntriesCount(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePriceEntriesCount
in interfaceCommercePriceEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceEntry
public CommercePriceEntry getCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePriceEntry
in interfaceCommercePriceEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getInstanceBaseCommercePriceEntry
public CommercePriceEntry getInstanceBaseCommercePriceEntry(String cpInstanceUuid, String priceListType, String unitOfMeasureKey) - Specified by:
getInstanceBaseCommercePriceEntry
in interfaceCommercePriceEntryService
-
getInstanceCommercePriceEntries
public List<CommercePriceEntry> getInstanceCommercePriceEntries(long cpInstanceId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getInstanceCommercePriceEntries
in interfaceCommercePriceEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getInstanceCommercePriceEntriesCount
public int getInstanceCommercePriceEntriesCount(long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getInstanceCommercePriceEntriesCount
in interfaceCommercePriceEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in 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:
searchCommercePriceEntries
in 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:
searchCommercePriceEntriesCount
in 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:
updateCommercePriceEntry
in 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:
updateExternalReferenceCode
in 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:
updatePricingInfo
in interfaceCommercePriceEntryService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryService>
-