public class CommercePriceEntryLocalServiceUtil
extends java.lang.Object
com.liferay.commerce.price.list.service.impl.CommercePriceEntryLocalServiceImpl
and
is an access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.CommercePriceEntryLocalService
Constructor and Description |
---|
CommercePriceEntryLocalServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CommercePriceEntry |
addCommercePriceEntry(CommercePriceEntry commercePriceEntry)
Adds the commerce price entry to the database.
|
static CommercePriceEntry |
addCommercePriceEntry(long cpInstanceId,
long commercePriceListId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x)
|
static CommercePriceEntry |
addCommercePriceEntry(long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommercePriceEntry |
addCommercePriceEntry(long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.lang.String externalReferenceCode,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
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)
|
static CommercePriceEntry |
addCommercePriceEntry(long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.lang.String externalReferenceCode,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
addCommercePriceEntry(String, long, String, long,
BigDecimal, BigDecimal, ServiceContext) |
static CommercePriceEntry |
addCommercePriceEntry(long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.lang.String externalReferenceCode,
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
|
static CommercePriceEntry |
addCommercePriceEntry(java.lang.String externalReferenceCode,
long cpInstanceId,
long commercePriceListId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x)
|
static CommercePriceEntry |
addCommercePriceEntry(java.lang.String externalReferenceCode,
long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
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) |
static CommercePriceEntry |
addCommercePriceEntry(java.lang.String externalReferenceCode,
long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static 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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommercePriceEntry |
addOrUpdateCommercePriceEntry(java.lang.String externalReferenceCode,
long commercePriceEntryId,
long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
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 skuExternalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static 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,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
This method is used to insert a new CommercePriceEntry or update an
existing one
|
static CommercePriceEntry |
addOrUpdateCommercePriceEntry(java.lang.String externalReferenceCode,
long commercePriceEntryId,
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 skuExternalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
checkCommercePriceEntries() |
static CommercePriceEntry |
createCommercePriceEntry(long commercePriceEntryId)
Creates a new commerce price entry with the primary key.
|
static com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
static void |
deleteCommercePriceEntries(long commercePriceListId) |
static void |
deleteCommercePriceEntries(java.lang.String cpInstanceUuid) |
static void |
deleteCommercePriceEntriesByCPInstanceId(long cpInstanceId)
Deprecated.
As of Mueller (7.2.x)
|
static CommercePriceEntry |
deleteCommercePriceEntry(CommercePriceEntry commercePriceEntry)
Deletes the commerce price entry from the database.
|
static CommercePriceEntry |
deleteCommercePriceEntry(long commercePriceEntryId)
Deletes the commerce price entry with the primary key from the database.
|
static com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
static <T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
static int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
static com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
static long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
static long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
static CommercePriceEntry |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
fetchByExternalReferenceCode(String, long) |
static CommercePriceEntry |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
static CommercePriceEntry |
fetchCommercePriceEntry(long commercePriceEntryId) |
static CommercePriceEntry |
fetchCommercePriceEntry(long cpInstanceId,
long commercePriceListId)
Deprecated.
As of Mueller (7.2.x)
|
static CommercePriceEntry |
fetchCommercePriceEntry(long cpInstanceId,
long commercePriceListId,
boolean useAncestor)
Deprecated.
As of Mueller (7.2.x)
|
static CommercePriceEntry |
fetchCommercePriceEntry(long commercePriceListId,
java.lang.String cpInstanceUuid) |
static CommercePriceEntry |
fetchCommercePriceEntry(long commercePriceListId,
java.lang.String cpInstanceUuid,
boolean useAncestor) |
static CommercePriceEntry |
fetchCommercePriceEntry(long commercePriceListId,
java.lang.String cpInstanceUuid,
int status) |
static CommercePriceEntry |
fetchCommercePriceEntryByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce price entry with the matching external reference code and company.
|
static CommercePriceEntry |
fetchCommercePriceEntryByReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
fetchCommercePriceEntryByExternalReferenceCode(long, String) |
static CommercePriceEntry |
fetchCommercePriceEntryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the commerce price entry with the matching UUID and company.
|
static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
static java.util.List<CommercePriceEntry> |
getCommercePriceEntries(int start,
int end)
Returns a range of all the commerce price entries.
|
static java.util.List<CommercePriceEntry> |
getCommercePriceEntries(long commercePriceListId,
int start,
int end) |
static java.util.List<CommercePriceEntry> |
getCommercePriceEntries(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) |
static java.util.List<CommercePriceEntry> |
getCommercePriceEntriesByCompanyId(long companyId,
int start,
int end) |
static int |
getCommercePriceEntriesCount()
Returns the number of commerce price entries.
|
static int |
getCommercePriceEntriesCount(long commercePriceListId) |
static int |
getCommercePriceEntriesCountByCompanyId(long companyId) |
static CommercePriceEntry |
getCommercePriceEntry(long commercePriceEntryId)
Returns the commerce price entry with the primary key.
|
static CommercePriceEntry |
getCommercePriceEntryByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce price entry with the matching external reference code and company.
|
static CommercePriceEntry |
getCommercePriceEntryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the commerce price entry with the matching UUID and company.
|
static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
static CommercePriceEntry |
getInstanceBaseCommercePriceEntry(java.lang.String cpInstanceUuid,
java.lang.String priceListType) |
static java.util.List<CommercePriceEntry> |
getInstanceCommercePriceEntries(long cpInstanceId,
int start,
int end)
Deprecated.
As of Mueller (7.2.x)
|
static java.util.List<CommercePriceEntry> |
getInstanceCommercePriceEntries(long cpInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
Deprecated.
As of Mueller (7.2.x)
|
static java.util.List<CommercePriceEntry> |
getInstanceCommercePriceEntries(java.lang.String cpInstanceUuid,
int start,
int end) |
static java.util.List<CommercePriceEntry> |
getInstanceCommercePriceEntries(java.lang.String cpInstanceUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) |
static int |
getInstanceCommercePriceEntriesCount(long cpInstanceId)
Deprecated.
As of Mueller (7.2.x)
|
static int |
getInstanceCommercePriceEntriesCount(java.lang.String cpInstanceUuid) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
static CommercePriceEntryLocalService |
getService() |
static com.liferay.portal.kernel.search.Hits |
search(com.liferay.portal.kernel.search.SearchContext searchContext) |
static 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) |
static int |
searchCommercePriceEntriesCount(long companyId,
long commercePriceListId,
java.lang.String keywords) |
static CommercePriceEntry |
setHasTierPrice(long commercePriceEntryId,
boolean hasTierPrice) |
static CommercePriceEntry |
setHasTierPrice(long commercePriceEntryId,
boolean hasTierPrice,
boolean bulkPricing) |
static CommercePriceEntry |
updateCommercePriceEntry(CommercePriceEntry commercePriceEntry)
Updates the commerce price entry in the database or adds it if it does not yet exist.
|
static CommercePriceEntry |
updateCommercePriceEntry(long commercePriceEntryId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
boolean discountDiscovery,
java.math.BigDecimal discountLevel1,
java.math.BigDecimal discountLevel2,
java.math.BigDecimal discountLevel3,
java.math.BigDecimal discountLevel4,
boolean bulkPricing,
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) |
static CommercePriceEntry |
updateCommercePriceEntry(long commercePriceEntryId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
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) |
static CommercePriceEntry |
updateCommercePriceEntry(long commercePriceEntryId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommercePriceEntry |
updateCommercePriceEntry(long commercePriceEntryId,
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommercePriceEntry |
updateExternalReferenceCode(CommercePriceEntry commercePriceEntry,
java.lang.String externalReferenceCode)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
updateExternalReferenceCode(String, CommercePriceEntry) |
static CommercePriceEntry |
updateExternalReferenceCode(java.lang.String externalReferenceCode,
CommercePriceEntry commercePriceEntry) |
static CommercePriceEntry |
updateStatus(long userId,
long commercePriceEntryId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext) |
static CommercePriceEntry |
upsertCommercePriceEntry(long commercePriceEntryId,
long cpInstanceId,
long commercePriceListId,
java.lang.String externalReferenceCode,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
java.lang.String skuExternalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x)
|
static CommercePriceEntry |
upsertCommercePriceEntry(long commercePriceEntryId,
long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.lang.String externalReferenceCode,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
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 skuExternalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
static CommercePriceEntry |
upsertCommercePriceEntry(long commercePriceEntryId,
long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.lang.String externalReferenceCode,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
java.lang.String skuExternalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
addOrUpdateCommercePriceEntry(String, long, long, String, long,
BigDecimal, BigDecimal, String, ServiceContext) |
static CommercePriceEntry |
upsertCommercePriceEntry(long commercePriceEntryId,
long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.lang.String externalReferenceCode,
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 skuExternalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
#addOrUpdateCommercePriceEntry(String, long, long, String, long,
BigDecimal, BigDecimal, BigDecimal, BigDecimal, int, int,
int, int, int, int, int, int, int, int, boolean, String,
ServiceContext) |
public static CommercePriceEntry addCommercePriceEntry(CommercePriceEntry commercePriceEntry)
Important: Inspect CommercePriceEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
commercePriceEntry
- the commerce price entry@Deprecated public static CommercePriceEntry addCommercePriceEntry(long cpInstanceId, long commercePriceListId, java.math.BigDecimal price, java.math.BigDecimal promoPrice, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommercePriceEntry addCommercePriceEntry(long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, java.math.BigDecimal price, java.math.BigDecimal promoPrice, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CommercePriceEntry addCommercePriceEntry(long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, java.lang.String externalReferenceCode, java.math.BigDecimal price, java.math.BigDecimal promoPrice, 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
addCommercePriceEntry(String, long, String, long,
BigDecimal, BigDecimal, boolean, BigDecimal, BigDecimal,
BigDecimal, BigDecimal, int, int, int, int, int, int, int,
int, int, int, boolean, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CommercePriceEntry addCommercePriceEntry(long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, java.lang.String externalReferenceCode, java.math.BigDecimal price, java.math.BigDecimal promoPrice, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommercePriceEntry(String, long, String, long,
BigDecimal, BigDecimal, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CommercePriceEntry addCommercePriceEntry(long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, java.lang.String externalReferenceCode, 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommercePriceEntry(String, long, String, long,
BigDecimal, boolean, BigDecimal, BigDecimal, BigDecimal,
BigDecimal, int, int, int, int, int, int, int, int, int,
int, boolean, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CommercePriceEntry addCommercePriceEntry(java.lang.String externalReferenceCode, long cpInstanceId, long commercePriceListId, java.math.BigDecimal price, java.math.BigDecimal promoPrice, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommercePriceEntry addCommercePriceEntry(java.lang.String externalReferenceCode, long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, java.math.BigDecimal price, java.math.BigDecimal promoPrice, 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
public static CommercePriceEntry addCommercePriceEntry(java.lang.String externalReferenceCode, long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, java.math.BigDecimal price, java.math.BigDecimal promoPrice, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommercePriceEntry addOrUpdateCommercePriceEntry(java.lang.String externalReferenceCode, long commercePriceEntryId, long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, java.math.BigDecimal price, java.math.BigDecimal promoPrice, 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 skuExternalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
externalReferenceCode
- - The external identifier code from a 3rd
party system to be able to locate the same entity in the portal
Only used when updating an entity; the first entity with a
matching reference code one will be updatedcommercePriceEntryId
- - Only used when updating an entity
the matching one will be updatedcProductId
- - Only used when adding a new entitycommercePriceListId
- - Only used when adding a new entity
to a price listprice
- promoPrice
- skuExternalReferenceCode
- - Only used when adding a new
entity, similar as cpInstanceId
but the external
identifier code from a 3rd party system. If cpInstanceId is used,
it doesn't have any effect, otherwise it tries to fetch the
CPInstance against the external code referenceserviceContext
- com.liferay.portal.kernel.exception.PortalException
public static CommercePriceEntry addOrUpdateCommercePriceEntry(java.lang.String externalReferenceCode, long commercePriceEntryId, 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 skuExternalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void checkCommercePriceEntries() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommercePriceEntry createCommercePriceEntry(long commercePriceEntryId)
commercePriceEntryId
- the primary key for the new commerce price entrypublic static com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCommercePriceEntries(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCommercePriceEntries(java.lang.String cpInstanceUuid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static void deleteCommercePriceEntriesByCPInstanceId(long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommercePriceEntry deleteCommercePriceEntry(CommercePriceEntry commercePriceEntry) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommercePriceEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
commercePriceEntry
- the commerce price entrycom.liferay.portal.kernel.exception.PortalException
public static CommercePriceEntry deleteCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommercePriceEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
commercePriceEntryId
- the primary key of the commerce price entrycom.liferay.portal.kernel.exception.PortalException
- if a commerce price entry with the primary key could not be foundpublic static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
public static int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
public static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querypublic static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.price.list.model.impl.CommercePriceEntryModelImpl
.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.price.list.model.impl.CommercePriceEntryModelImpl
.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querypublic static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query@Deprecated public static CommercePriceEntry fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchByExternalReferenceCode(String, long)
public static CommercePriceEntry fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
public static CommercePriceEntry fetchCommercePriceEntry(long commercePriceEntryId)
@Deprecated public static CommercePriceEntry fetchCommercePriceEntry(long cpInstanceId, long commercePriceListId)
@Deprecated public static CommercePriceEntry fetchCommercePriceEntry(long cpInstanceId, long commercePriceListId, boolean useAncestor)
public static CommercePriceEntry fetchCommercePriceEntry(long commercePriceListId, java.lang.String cpInstanceUuid)
public static CommercePriceEntry fetchCommercePriceEntry(long commercePriceListId, java.lang.String cpInstanceUuid, boolean useAncestor)
public static CommercePriceEntry fetchCommercePriceEntry(long commercePriceListId, java.lang.String cpInstanceUuid, int status)
public static CommercePriceEntry fetchCommercePriceEntryByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
companyId
- the primary key of the companyexternalReferenceCode
- the commerce price entry's external reference codenull
if a matching commerce price entry could not be found@Deprecated public static CommercePriceEntry fetchCommercePriceEntryByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommercePriceEntryByExternalReferenceCode(long, String)
public static CommercePriceEntry fetchCommercePriceEntryByUuidAndCompanyId(java.lang.String uuid, long companyId)
uuid
- the commerce price entry's UUIDcompanyId
- the primary key of the companynull
if a matching commerce price entry could not be foundpublic static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
public static java.util.List<CommercePriceEntry> getCommercePriceEntries(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.price.list.model.impl.CommercePriceEntryModelImpl
.
start
- the lower bound of the range of commerce price entriesend
- the upper bound of the range of commerce price entries (not inclusive)public static java.util.List<CommercePriceEntry> getCommercePriceEntries(long commercePriceListId, int start, int end)
public static java.util.List<CommercePriceEntry> getCommercePriceEntries(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
public static java.util.List<CommercePriceEntry> getCommercePriceEntriesByCompanyId(long companyId, int start, int end)
public static int getCommercePriceEntriesCount()
public static int getCommercePriceEntriesCount(long commercePriceListId)
public static int getCommercePriceEntriesCountByCompanyId(long companyId)
public static CommercePriceEntry getCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
commercePriceEntryId
- the primary key of the commerce price entrycom.liferay.portal.kernel.exception.PortalException
- if a commerce price entry with the primary key could not be foundpublic static CommercePriceEntry getCommercePriceEntryByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
companyId
- the primary key of the companyexternalReferenceCode
- the commerce price entry's external reference codecom.liferay.portal.kernel.exception.PortalException
- if a matching commerce price entry could not be foundpublic static CommercePriceEntry getCommercePriceEntryByUuidAndCompanyId(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
uuid
- the commerce price entry's UUIDcompanyId
- the primary key of the companycom.liferay.portal.kernel.exception.PortalException
- if a matching commerce price entry could not be foundpublic static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
public static CommercePriceEntry getInstanceBaseCommercePriceEntry(java.lang.String cpInstanceUuid, java.lang.String priceListType)
@Deprecated public static java.util.List<CommercePriceEntry> getInstanceCommercePriceEntries(long cpInstanceId, int start, int end)
@Deprecated public static java.util.List<CommercePriceEntry> getInstanceCommercePriceEntries(long cpInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
public static java.util.List<CommercePriceEntry> getInstanceCommercePriceEntries(java.lang.String cpInstanceUuid, int start, int end)
public static java.util.List<CommercePriceEntry> getInstanceCommercePriceEntries(java.lang.String cpInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
@Deprecated public static int getInstanceCommercePriceEntriesCount(long cpInstanceId)
public static int getInstanceCommercePriceEntriesCount(java.lang.String cpInstanceUuid)
public static java.lang.String getOSGiServiceIdentifier()
public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext)
public static 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
com.liferay.portal.kernel.exception.PortalException
public static int searchCommercePriceEntriesCount(long companyId, long commercePriceListId, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommercePriceEntry setHasTierPrice(long commercePriceEntryId, boolean hasTierPrice) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommercePriceEntry setHasTierPrice(long commercePriceEntryId, boolean hasTierPrice, boolean bulkPricing) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommercePriceEntry updateCommercePriceEntry(CommercePriceEntry commercePriceEntry)
Important: Inspect CommercePriceEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
commercePriceEntry
- the commerce price entrypublic static CommercePriceEntry updateCommercePriceEntry(long commercePriceEntryId, java.math.BigDecimal price, java.math.BigDecimal promoPrice, boolean discountDiscovery, java.math.BigDecimal discountLevel1, java.math.BigDecimal discountLevel2, java.math.BigDecimal discountLevel3, java.math.BigDecimal discountLevel4, boolean bulkPricing, 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
public static CommercePriceEntry updateCommercePriceEntry(long commercePriceEntryId, java.math.BigDecimal price, java.math.BigDecimal promoPrice, 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
public static CommercePriceEntry updateCommercePriceEntry(long commercePriceEntryId, java.math.BigDecimal price, java.math.BigDecimal promoPrice, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommercePriceEntry updateCommercePriceEntry(long commercePriceEntryId, 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CommercePriceEntry updateExternalReferenceCode(CommercePriceEntry commercePriceEntry, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
updateExternalReferenceCode(String, CommercePriceEntry)
com.liferay.portal.kernel.exception.PortalException
public static CommercePriceEntry updateExternalReferenceCode(java.lang.String externalReferenceCode, CommercePriceEntry commercePriceEntry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommercePriceEntry updateStatus(long userId, long commercePriceEntryId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, java.util.Map<java.lang.String,java.io.Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CommercePriceEntry upsertCommercePriceEntry(long commercePriceEntryId, long cpInstanceId, long commercePriceListId, java.lang.String externalReferenceCode, java.math.BigDecimal price, java.math.BigDecimal promoPrice, java.lang.String skuExternalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CommercePriceEntry upsertCommercePriceEntry(long commercePriceEntryId, long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, java.lang.String externalReferenceCode, java.math.BigDecimal price, java.math.BigDecimal promoPrice, 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 skuExternalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCommercePriceEntry(String, long, long, String, long,
BigDecimal, BigDecimal, boolean, BigDecimal, BigDecimal,
BigDecimal, BigDecimal, int, int, int, int, int, int, int,
int, int, int, boolean, String, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CommercePriceEntry upsertCommercePriceEntry(long commercePriceEntryId, long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, java.lang.String externalReferenceCode, java.math.BigDecimal price, java.math.BigDecimal promoPrice, java.lang.String skuExternalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCommercePriceEntry(String, long, long, String, long,
BigDecimal, BigDecimal, String, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static CommercePriceEntry upsertCommercePriceEntry(long commercePriceEntryId, long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, java.lang.String externalReferenceCode, 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 skuExternalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
#addOrUpdateCommercePriceEntry(String, long, long, String, long,
BigDecimal, BigDecimal, BigDecimal, BigDecimal, int, int,
int, int, int, int, int, int, int, int, boolean, String,
ServiceContext)
com.liferay.portal.kernel.exception.PortalException
public static CommercePriceEntryLocalService getService()