Interface CommerceTierPriceEntryService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
CommerceTierPriceEntryServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceTierPriceEntryService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CommerceTierPriceEntry. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddCommerceTierPriceEntry
(long commercePriceEntryId, BigDecimal price, BigDecimal promoPrice, BigDecimal minQuantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) addCommerceTierPriceEntry
(String externalReferenceCode, long commercePriceEntryId, BigDecimal price, BigDecimal minQuantity, 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) addCommerceTierPriceEntry
(String externalReferenceCode, long commercePriceEntryId, BigDecimal price, BigDecimal promoPrice, BigDecimal minQuantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCommerceTierPriceEntry
(String externalReferenceCode, long commerceTierPriceEntryId, long commercePriceEntryId, BigDecimal price, BigDecimal minQuantity, 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, String priceEntryExternalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCommerceTierPriceEntry
(String externalReferenceCode, long commerceTierPriceEntryId, long commercePriceEntryId, BigDecimal price, BigDecimal promoPrice, BigDecimal minQuantity, String priceEntryExternalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
deleteCommerceTierPriceEntry
(long commerceTierPriceEntryId) fetchCommerceTierPriceEntry
(long commerceTierPriceEntryId) fetchCommerceTierPriceEntryByExternalReferenceCode
(String externalReferenceCode, long companyId) getCommerceTierPriceEntries
(long commercePriceEntryId, int start, int end) getCommerceTierPriceEntries
(long commercePriceEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTierPriceEntry> orderByComparator) int
getCommerceTierPriceEntriesCount
(long commercePriceEntryId) int
getCommerceTierPriceEntriesCountByCompanyId
(long companyId) Deprecated.As of Athanasius (7.3.x)getCommerceTierPriceEntry
(long commerceTierPriceEntryId) Returns the OSGi service identifier.com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceTierPriceEntry>
searchCommerceTierPriceEntries
(long companyId, long commercePriceEntryId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) int
searchCommerceTierPriceEntriesCount
(long companyId, long commercePriceEntryId, String keywords) updateCommerceTierPriceEntry
(long commerceTierPriceEntryId, BigDecimal price, BigDecimal minQuantity, 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommerceTierPriceEntry
(long commerceTierPriceEntryId, BigDecimal price, BigDecimal promoPrice, BigDecimal minQuantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateExternalReferenceCode
(CommerceTierPriceEntry commerceTierPriceEntry, String externalReferenceCode)
-
Method Details
-
addCommerceTierPriceEntry
CommerceTierPriceEntry addCommerceTierPriceEntry(long commercePriceEntryId, BigDecimal price, BigDecimal promoPrice, BigDecimal minQuantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceTierPriceEntry
CommerceTierPriceEntry addCommerceTierPriceEntry(String externalReferenceCode, long commercePriceEntryId, BigDecimal price, BigDecimal promoPrice, BigDecimal minQuantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceTierPriceEntry
CommerceTierPriceEntry addCommerceTierPriceEntry(String externalReferenceCode, long commercePriceEntryId, BigDecimal price, BigDecimal minQuantity, 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceTierPriceEntry
CommerceTierPriceEntry addOrUpdateCommerceTierPriceEntry(String externalReferenceCode, long commerceTierPriceEntryId, long commercePriceEntryId, BigDecimal price, BigDecimal promoPrice, BigDecimal minQuantity, String priceEntryExternalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceTierPriceEntry
CommerceTierPriceEntry addOrUpdateCommerceTierPriceEntry(String externalReferenceCode, long commerceTierPriceEntryId, long commercePriceEntryId, BigDecimal price, BigDecimal minQuantity, 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, String priceEntryExternalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceTierPriceEntry
void deleteCommerceTierPriceEntry(long commerceTierPriceEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceTierPriceEntry
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceTierPriceEntry fetchCommerceTierPriceEntry(long commerceTierPriceEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceTierPriceEntryByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceTierPriceEntry fetchCommerceTierPriceEntryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceTierPriceEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceTierPriceEntry> getCommerceTierPriceEntries(long commercePriceEntryId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceTierPriceEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceTierPriceEntry> getCommerceTierPriceEntries(long commercePriceEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTierPriceEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceTierPriceEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceTierPriceEntriesCount(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceTierPriceEntriesCountByCompanyId
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceTierPriceEntriesCountByCompanyId(long companyId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceTierPriceEntry
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceTierPriceEntry getCommerceTierPriceEntry(long commerceTierPriceEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
searchCommerceTierPriceEntries
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceTierPriceEntry> searchCommerceTierPriceEntries(long companyId, long commercePriceEntryId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceTierPriceEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int searchCommerceTierPriceEntriesCount(long companyId, long commercePriceEntryId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceTierPriceEntry
CommerceTierPriceEntry updateCommerceTierPriceEntry(long commerceTierPriceEntryId, BigDecimal price, BigDecimal promoPrice, BigDecimal minQuantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceTierPriceEntry
CommerceTierPriceEntry updateCommerceTierPriceEntry(long commerceTierPriceEntryId, BigDecimal price, BigDecimal minQuantity, 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
CommerceTierPriceEntry updateExternalReferenceCode(CommerceTierPriceEntry commerceTierPriceEntry, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-