@AccessControlled
@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
CommerceTierPriceEntryServiceUtil
Modifier and Type | Method and Description |
---|---|
CommerceTierPriceEntry |
addCommerceTierPriceEntry(long commercePriceEntryId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
int minQuantity,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceTierPriceEntry |
addCommerceTierPriceEntry(java.lang.String externalReferenceCode,
long commercePriceEntryId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
int minQuantity,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceTierPriceEntry |
addCommerceTierPriceEntry(java.lang.String externalReferenceCode,
long commercePriceEntryId,
java.math.BigDecimal price,
int minQuantity,
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceTierPriceEntry |
addOrUpdateCommerceTierPriceEntry(java.lang.String externalReferenceCode,
long commerceTierPriceEntryId,
long commercePriceEntryId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
int minQuantity,
java.lang.String priceEntryExternalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceTierPriceEntry |
addOrUpdateCommerceTierPriceEntry(java.lang.String externalReferenceCode,
long commerceTierPriceEntryId,
long commercePriceEntryId,
java.math.BigDecimal price,
int minQuantity,
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.lang.String priceEntryExternalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteCommerceTierPriceEntry(long commerceTierPriceEntryId) |
CommerceTierPriceEntry |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
java.util.List<CommerceTierPriceEntry> |
fetchCommerceTierPriceEntries(long companyId,
int start,
int end)
Deprecated.
As of Athanasius (7.3.x)
|
CommerceTierPriceEntry |
fetchCommerceTierPriceEntry(long commerceTierPriceEntryId) |
java.util.List<CommerceTierPriceEntry> |
getCommerceTierPriceEntries(long commercePriceEntryId,
int start,
int end) |
java.util.List<CommerceTierPriceEntry> |
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)
|
CommerceTierPriceEntry |
getCommerceTierPriceEntry(long commerceTierPriceEntryId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceTierPriceEntry> |
searchCommerceTierPriceEntries(long companyId,
long commercePriceEntryId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
int |
searchCommerceTierPriceEntriesCount(long companyId,
long commercePriceEntryId,
java.lang.String keywords) |
CommerceTierPriceEntry |
updateCommerceTierPriceEntry(long commerceTierPriceEntryId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
int minQuantity,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceTierPriceEntry |
updateCommerceTierPriceEntry(long commerceTierPriceEntryId,
java.math.BigDecimal price,
int minQuantity,
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceTierPriceEntry |
updateExternalReferenceCode(CommerceTierPriceEntry commerceTierPriceEntry,
java.lang.String externalReferenceCode) |
CommerceTierPriceEntry addCommerceTierPriceEntry(long commercePriceEntryId, java.math.BigDecimal price, java.math.BigDecimal promoPrice, int minQuantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceTierPriceEntry addCommerceTierPriceEntry(java.lang.String externalReferenceCode, long commercePriceEntryId, java.math.BigDecimal price, java.math.BigDecimal promoPrice, int minQuantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceTierPriceEntry addCommerceTierPriceEntry(java.lang.String externalReferenceCode, long commercePriceEntryId, java.math.BigDecimal price, int minQuantity, 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceTierPriceEntry addOrUpdateCommerceTierPriceEntry(java.lang.String externalReferenceCode, long commerceTierPriceEntryId, long commercePriceEntryId, java.math.BigDecimal price, java.math.BigDecimal promoPrice, int minQuantity, java.lang.String priceEntryExternalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceTierPriceEntry addOrUpdateCommerceTierPriceEntry(java.lang.String externalReferenceCode, long commerceTierPriceEntryId, long commercePriceEntryId, java.math.BigDecimal price, int minQuantity, 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.lang.String priceEntryExternalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteCommerceTierPriceEntry(long commerceTierPriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceTierPriceEntry fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceTierPriceEntry> fetchCommerceTierPriceEntries(long companyId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceTierPriceEntry fetchCommerceTierPriceEntry(long commerceTierPriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceTierPriceEntry> getCommerceTierPriceEntries(long commercePriceEntryId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<CommerceTierPriceEntry> getCommerceTierPriceEntries(long commercePriceEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTierPriceEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceTierPriceEntriesCount(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceTierPriceEntriesCountByCompanyId(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceTierPriceEntry getCommerceTierPriceEntry(long commerceTierPriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceTierPriceEntry> searchCommerceTierPriceEntries(long companyId, long commercePriceEntryId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int searchCommerceTierPriceEntriesCount(long companyId, long commercePriceEntryId, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceTierPriceEntry updateCommerceTierPriceEntry(long commerceTierPriceEntryId, java.math.BigDecimal price, java.math.BigDecimal promoPrice, int minQuantity, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceTierPriceEntry updateCommerceTierPriceEntry(long commerceTierPriceEntryId, java.math.BigDecimal price, int minQuantity, 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
CommerceTierPriceEntry updateExternalReferenceCode(CommerceTierPriceEntry commerceTierPriceEntry, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException