public class CommercePriceEntryLocalServiceWrapper extends java.lang.Object implements CommercePriceEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryLocalService>
CommercePriceEntryLocalService.CommercePriceEntryLocalService| Constructor and Description |
|---|
CommercePriceEntryLocalServiceWrapper() |
CommercePriceEntryLocalServiceWrapper(CommercePriceEntryLocalService commercePriceEntryLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommercePriceEntry |
addCommercePriceEntry(CommercePriceEntry commercePriceEntry)
Adds the commerce price entry to the database.
|
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)
|
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) |
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)
|
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) |
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.
|
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)
|
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) |
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) |
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) |
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) |
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
|
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) |
void |
checkCommercePriceEntries() |
CommercePriceEntry |
createCommercePriceEntry(long commercePriceEntryId)
Creates a new commerce price entry with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
void |
deleteCommercePriceEntries(long commercePriceListId) |
void |
deleteCommercePriceEntries(java.lang.String cpInstanceUuid) |
void |
deleteCommercePriceEntriesByCPInstanceId(long cpInstanceId)
Deprecated.
As of Mueller (7.2.x)
|
CommercePriceEntry |
deleteCommercePriceEntry(CommercePriceEntry commercePriceEntry)
Deletes the commerce price entry from the database.
|
CommercePriceEntry |
deleteCommercePriceEntry(long commercePriceEntryId)
Deletes the commerce price entry with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<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.
|
<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.
|
<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.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
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.
|
CommercePriceEntry |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
fetchByExternalReferenceCode(String, long) |
CommercePriceEntry |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommercePriceEntry |
fetchCommercePriceEntry(long commercePriceEntryId) |
CommercePriceEntry |
fetchCommercePriceEntry(long cpInstanceId,
long commercePriceListId)
Deprecated.
As of Mueller (7.2.x)
|
CommercePriceEntry |
fetchCommercePriceEntry(long cpInstanceId,
long commercePriceListId,
boolean useAncestor)
Deprecated.
As of Mueller (7.2.x)
|
CommercePriceEntry |
fetchCommercePriceEntry(long commercePriceListId,
java.lang.String cpInstanceUuid) |
CommercePriceEntry |
fetchCommercePriceEntry(long commercePriceListId,
java.lang.String cpInstanceUuid,
boolean useAncestor) |
CommercePriceEntry |
fetchCommercePriceEntry(long commercePriceListId,
java.lang.String cpInstanceUuid,
int status) |
CommercePriceEntry |
fetchCommercePriceEntryByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommercePriceEntry |
fetchCommercePriceEntryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the commerce price entry with the matching UUID and company.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
java.util.List<CommercePriceEntry> |
getCommercePriceEntries(int start,
int end)
Returns a range of all the commerce price entries.
|
java.util.List<CommercePriceEntry> |
getCommercePriceEntries(long commercePriceListId,
int start,
int end) |
java.util.List<CommercePriceEntry> |
getCommercePriceEntries(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) |
java.util.List<CommercePriceEntry> |
getCommercePriceEntriesByCompanyId(long companyId,
int start,
int end) |
int |
getCommercePriceEntriesCount()
Returns the number of commerce price entries.
|
int |
getCommercePriceEntriesCount(long commercePriceListId) |
int |
getCommercePriceEntriesCountByCompanyId(long companyId) |
CommercePriceEntry |
getCommercePriceEntry(long commercePriceEntryId)
Returns the commerce price entry with the primary key.
|
CommercePriceEntry |
getCommercePriceEntryByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommercePriceEntry |
getCommercePriceEntryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the commerce price entry with the matching UUID and company.
|
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceEntry> |
getCTPersistence() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
CommercePriceEntry |
getInstanceBaseCommercePriceEntry(java.lang.String cpInstanceUuid,
java.lang.String priceListType) |
java.util.List<CommercePriceEntry> |
getInstanceCommercePriceEntries(long cpInstanceId,
int start,
int end)
Deprecated.
As of Mueller (7.2.x)
|
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)
|
java.util.List<CommercePriceEntry> |
getInstanceCommercePriceEntries(java.lang.String cpInstanceUuid,
int start,
int end) |
java.util.List<CommercePriceEntry> |
getInstanceCommercePriceEntries(java.lang.String cpInstanceUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) |
int |
getInstanceCommercePriceEntriesCount(long cpInstanceId)
Deprecated.
As of Mueller (7.2.x)
|
int |
getInstanceCommercePriceEntriesCount(java.lang.String cpInstanceUuid) |
java.lang.Class<CommercePriceEntry> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
CommercePriceEntryLocalService |
getWrappedService() |
com.liferay.portal.kernel.search.Hits |
search(com.liferay.portal.kernel.search.SearchContext searchContext) |
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) |
int |
searchCommercePriceEntriesCount(long companyId,
long commercePriceListId,
java.lang.String keywords) |
CommercePriceEntry |
setHasTierPrice(long commercePriceEntryId,
boolean hasTierPrice) |
CommercePriceEntry |
setHasTierPrice(long commercePriceEntryId,
boolean hasTierPrice,
boolean bulkPricing) |
void |
setWrappedService(CommercePriceEntryLocalService commercePriceEntryLocalService) |
CommercePriceEntry |
updateCommercePriceEntry(CommercePriceEntry commercePriceEntry)
Updates the commerce price entry in the database or adds it if it does not yet exist.
|
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) |
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) |
CommercePriceEntry |
updateCommercePriceEntry(long commercePriceEntryId,
java.math.BigDecimal price,
java.math.BigDecimal promoPrice,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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) |
CommercePriceEntry |
updateExternalReferenceCode(CommercePriceEntry commercePriceEntry,
java.lang.String externalReferenceCode)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
updateExternalReferenceCode(String, CommercePriceEntry) |
CommercePriceEntry |
updateExternalReferenceCode(java.lang.String externalReferenceCode,
CommercePriceEntry commercePriceEntry) |
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) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceEntry>,R,E> updateUnsafeFunction) |
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)
|
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)
|
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) |
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 CommercePriceEntryLocalServiceWrapper()
public CommercePriceEntryLocalServiceWrapper(CommercePriceEntryLocalService commercePriceEntryLocalService)
public 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.
addCommercePriceEntry in interface CommercePriceEntryLocalServicecommercePriceEntry - the commerce price entry@Deprecated public 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
addCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
addCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public 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)addCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public 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)addCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public 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)addCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public 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
addCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
addCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
addCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
addCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
addOrUpdateCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
addOrUpdateCommercePriceEntry in interface CommercePriceEntryLocalServiceexternalReferenceCode - - 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 - PortalExceptionpublic 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
addOrUpdateCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void checkCommercePriceEntries()
throws com.liferay.portal.kernel.exception.PortalException
checkCommercePriceEntries in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceEntry createCommercePriceEntry(long commercePriceEntryId)
createCommercePriceEntry in interface CommercePriceEntryLocalServicecommercePriceEntryId - the primary key for the new commerce price entrypublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CommercePriceEntryLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic void deleteCommercePriceEntries(long commercePriceListId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommercePriceEntries in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCommercePriceEntries(java.lang.String cpInstanceUuid)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommercePriceEntries in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated
public void deleteCommercePriceEntriesByCPInstanceId(long cpInstanceId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommercePriceEntriesByCPInstanceId in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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.
deleteCommercePriceEntry in interface CommercePriceEntryLocalServicecommercePriceEntry - the commerce price entryPortalExceptionpublic 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.
deleteCommercePriceEntry in interface CommercePriceEntryLocalServicecommercePriceEntryId - the primary key of the commerce price entryPortalException - if a commerce price entry with the primary key could not be foundpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommercePriceEntryLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommercePriceEntryLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommercePriceEntryLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommercePriceEntryLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommercePriceEntryLocalServicedynamicQuery - the dynamic querypublic <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 in interface CommercePriceEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <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 in interface CommercePriceEntryLocalServicedynamicQuery - 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 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface CommercePriceEntryLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommercePriceEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query@Deprecated public CommercePriceEntry fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchByExternalReferenceCode(String, long)fetchByExternalReferenceCode in interface CommercePriceEntryLocalServicepublic CommercePriceEntry fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchByExternalReferenceCode in interface CommercePriceEntryLocalServicepublic CommercePriceEntry fetchCommercePriceEntry(long commercePriceEntryId)
fetchCommercePriceEntry in interface CommercePriceEntryLocalService@Deprecated public CommercePriceEntry fetchCommercePriceEntry(long cpInstanceId, long commercePriceListId)
fetchCommercePriceEntry in interface CommercePriceEntryLocalService@Deprecated public CommercePriceEntry fetchCommercePriceEntry(long cpInstanceId, long commercePriceListId, boolean useAncestor)
fetchCommercePriceEntry in interface CommercePriceEntryLocalServicepublic CommercePriceEntry fetchCommercePriceEntry(long commercePriceListId, java.lang.String cpInstanceUuid)
fetchCommercePriceEntry in interface CommercePriceEntryLocalServicepublic CommercePriceEntry fetchCommercePriceEntry(long commercePriceListId, java.lang.String cpInstanceUuid, boolean useAncestor)
fetchCommercePriceEntry in interface CommercePriceEntryLocalServicepublic CommercePriceEntry fetchCommercePriceEntry(long commercePriceListId, java.lang.String cpInstanceUuid, int status)
fetchCommercePriceEntry in interface CommercePriceEntryLocalServicepublic CommercePriceEntry fetchCommercePriceEntryByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchCommercePriceEntryByExternalReferenceCode in interface CommercePriceEntryLocalServicepublic CommercePriceEntry fetchCommercePriceEntryByUuidAndCompanyId(java.lang.String uuid, long companyId)
fetchCommercePriceEntryByUuidAndCompanyId in interface CommercePriceEntryLocalServiceuuid - the commerce price entry's UUIDcompanyId - the primary key of the companynull if a matching commerce price entry could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommercePriceEntryLocalServicepublic 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.
getCommercePriceEntries in interface CommercePriceEntryLocalServicestart - the lower bound of the range of commerce price entriesend - the upper bound of the range of commerce price entries (not inclusive)public java.util.List<CommercePriceEntry> getCommercePriceEntries(long commercePriceListId, int start, int end)
getCommercePriceEntries in interface CommercePriceEntryLocalServicepublic java.util.List<CommercePriceEntry> getCommercePriceEntries(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
getCommercePriceEntries in interface CommercePriceEntryLocalServicepublic java.util.List<CommercePriceEntry> getCommercePriceEntriesByCompanyId(long companyId, int start, int end)
getCommercePriceEntriesByCompanyId in interface CommercePriceEntryLocalServicepublic int getCommercePriceEntriesCount()
getCommercePriceEntriesCount in interface CommercePriceEntryLocalServicepublic int getCommercePriceEntriesCount(long commercePriceListId)
getCommercePriceEntriesCount in interface CommercePriceEntryLocalServicepublic int getCommercePriceEntriesCountByCompanyId(long companyId)
getCommercePriceEntriesCountByCompanyId in interface CommercePriceEntryLocalServicepublic CommercePriceEntry getCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceEntry in interface CommercePriceEntryLocalServicecommercePriceEntryId - the primary key of the commerce price entryPortalException - if a commerce price entry with the primary key could not be foundpublic CommercePriceEntry getCommercePriceEntryByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceEntryByExternalReferenceCode in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceEntry getCommercePriceEntryByUuidAndCompanyId(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceEntryByUuidAndCompanyId in interface CommercePriceEntryLocalServiceuuid - the commerce price entry's UUIDcompanyId - the primary key of the companyPortalException - if a matching commerce price entry could not be foundpublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface CommercePriceEntryLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommercePriceEntryLocalServicepublic CommercePriceEntry getInstanceBaseCommercePriceEntry(java.lang.String cpInstanceUuid, java.lang.String priceListType)
getInstanceBaseCommercePriceEntry in interface CommercePriceEntryLocalService@Deprecated public java.util.List<CommercePriceEntry> getInstanceCommercePriceEntries(long cpInstanceId, int start, int end)
getInstanceCommercePriceEntries in interface CommercePriceEntryLocalService@Deprecated public java.util.List<CommercePriceEntry> getInstanceCommercePriceEntries(long cpInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
getInstanceCommercePriceEntries in interface CommercePriceEntryLocalServicepublic java.util.List<CommercePriceEntry> getInstanceCommercePriceEntries(java.lang.String cpInstanceUuid, int start, int end)
getInstanceCommercePriceEntries in interface CommercePriceEntryLocalServicepublic java.util.List<CommercePriceEntry> getInstanceCommercePriceEntries(java.lang.String cpInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
getInstanceCommercePriceEntries in interface CommercePriceEntryLocalService@Deprecated public int getInstanceCommercePriceEntriesCount(long cpInstanceId)
getInstanceCommercePriceEntriesCount in interface CommercePriceEntryLocalServicepublic int getInstanceCommercePriceEntriesCount(java.lang.String cpInstanceUuid)
getInstanceCommercePriceEntriesCount in interface CommercePriceEntryLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommercePriceEntryLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommercePriceEntryLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext)
search in interface CommercePriceEntryLocalServicepublic 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
searchCommercePriceEntries in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int searchCommercePriceEntriesCount(long companyId,
long commercePriceListId,
java.lang.String keywords)
throws com.liferay.portal.kernel.exception.PortalException
searchCommercePriceEntriesCount in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceEntry setHasTierPrice(long commercePriceEntryId, boolean hasTierPrice) throws com.liferay.portal.kernel.exception.PortalException
setHasTierPrice in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceEntry setHasTierPrice(long commercePriceEntryId, boolean hasTierPrice, boolean bulkPricing) throws com.liferay.portal.kernel.exception.PortalException
setHasTierPrice in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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.
updateCommercePriceEntry in interface CommercePriceEntryLocalServicecommercePriceEntry - the commerce price entrypublic 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
updateCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
updateCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
updateCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
updateCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public CommercePriceEntry updateExternalReferenceCode(CommercePriceEntry commercePriceEntry, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
updateExternalReferenceCode(String, CommercePriceEntry)updateExternalReferenceCode in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceEntry updateExternalReferenceCode(java.lang.String externalReferenceCode, CommercePriceEntry commercePriceEntry) throws com.liferay.portal.kernel.exception.PortalException
updateExternalReferenceCode in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
updateStatus in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public 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
upsertCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public 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)upsertCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public 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)upsertCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public 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)upsertCommercePriceEntry in interface CommercePriceEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceEntry> getCTPersistence()
getCTPersistence in interface CommercePriceEntryLocalServicegetCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceEntry>public java.lang.Class<CommercePriceEntry> getModelClass()
getModelClass in interface CommercePriceEntryLocalServicegetModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceEntry>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceEntry>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface CommercePriceEntryLocalServiceupdateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceEntry>E extends java.lang.Throwablepublic CommercePriceEntryLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryLocalService>public void setWrappedService(CommercePriceEntryLocalService commercePriceEntryLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryLocalService>