@CTAware
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommercePriceEntryLocalService
extends com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceEntry>, com.liferay.portal.kernel.service.PersistedModelLocalService
CommercePriceEntryLocalServiceUtil| Modifier and Type | Method and Description |
|---|---|
CommercePriceEntry |
addCommercePriceEntry(CommercePriceEntry commercePriceEntry)
Adds the commerce price entry to the database.
|
CommercePriceEntry |
addCommercePriceEntry(java.lang.String externalReferenceCode,
long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
java.math.BigDecimal price,
boolean priceOnApplication,
java.math.BigDecimal promoPrice,
java.lang.String unitOfMeasureKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePriceEntry |
addCommercePriceEntry(java.lang.String externalReferenceCode,
long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
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.math.BigDecimal price,
boolean priceOnApplication,
java.math.BigDecimal promoPrice,
java.lang.String unitOfMeasureKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePriceEntry |
addOrUpdateCommercePriceEntry(java.lang.String externalReferenceCode,
long commercePriceEntryId,
long cProductId,
java.lang.String cpInstanceUuid,
long commercePriceListId,
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.math.BigDecimal price,
boolean priceOnApplication,
java.math.BigDecimal promoPrice,
java.lang.String skuExternalReferenceCode,
java.lang.String unitOfMeasureKey,
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 |
deleteCommercePriceEntries(java.lang.String cpInstanceUuid,
java.math.BigDecimal quantity,
java.lang.String unitOfMeasureKey) |
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(java.lang.String externalReferenceCode,
long companyId) |
CommercePriceEntry |
fetchCommercePriceEntry(long commercePriceEntryId) |
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> |
getCommercePriceEntries(java.lang.String cpInstanceUuid,
java.math.BigDecimal quantity,
java.lang.String unitOfMeasureKey) |
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) |
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) |
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) |
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,
boolean priceOnApplication,
java.math.BigDecimal promoPrice,
java.lang.String unitOfMeasureKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePriceEntry |
updateCommercePriceEntry(long commercePriceEntryId,
boolean bulkPricing,
boolean discountDiscovery,
java.math.BigDecimal discountLevel1,
java.math.BigDecimal discountLevel2,
java.math.BigDecimal discountLevel3,
java.math.BigDecimal discountLevel4,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.math.BigDecimal price,
boolean priceOnApplication,
java.math.BigDecimal promoPrice,
java.lang.String unitOfMeasureKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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) |
@Indexable(type=REINDEX) 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@Indexable(type=REINDEX) CommercePriceEntry addCommercePriceEntry(java.lang.String externalReferenceCode, long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, java.math.BigDecimal price, boolean priceOnApplication, java.math.BigDecimal promoPrice, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Indexable(type=REINDEX) CommercePriceEntry addCommercePriceEntry(java.lang.String externalReferenceCode, long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, 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.math.BigDecimal price, boolean priceOnApplication, java.math.BigDecimal promoPrice, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommercePriceEntry addOrUpdateCommercePriceEntry(java.lang.String externalReferenceCode, long commercePriceEntryId, long cProductId, java.lang.String cpInstanceUuid, long commercePriceListId, 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.math.BigDecimal price, boolean priceOnApplication, java.math.BigDecimal promoPrice, java.lang.String skuExternalReferenceCode, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid checkCommercePriceEntries()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(enabled=false) CommercePriceEntry createCommercePriceEntry(long commercePriceEntryId)
commercePriceEntryId - the primary key for the new commerce price entrycom.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionvoid deleteCommercePriceEntries(long commercePriceListId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid deleteCommercePriceEntries(java.lang.String cpInstanceUuid)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid deleteCommercePriceEntries(java.lang.String cpInstanceUuid,
java.math.BigDecimal quantity,
java.lang.String unitOfMeasureKey)
@Indexable(type=DELETE) @SystemEvent(type=1) 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@Indexable(type=DELETE) 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 foundcom.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecom.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
<T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService@Transactional(propagation=SUPPORTS,
readOnly=true)
int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
@Transactional(propagation=SUPPORTS,
readOnly=true)
<T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery - the dynamic query@Transactional(propagation=SUPPORTS,
readOnly=true)
<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)@Transactional(propagation=SUPPORTS,
readOnly=true)
<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)@Transactional(propagation=SUPPORTS,
readOnly=true)
long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery - the dynamic query@Transactional(propagation=SUPPORTS,
readOnly=true)
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@Transactional(propagation=SUPPORTS,
readOnly=true)
CommercePriceEntry fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
CommercePriceEntry fetchCommercePriceEntry(long commercePriceEntryId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
CommercePriceEntry fetchCommercePriceEntry(long commercePriceListId,
java.lang.String cpInstanceUuid)
@Transactional(propagation=SUPPORTS,
readOnly=true)
CommercePriceEntry fetchCommercePriceEntry(long commercePriceListId,
java.lang.String cpInstanceUuid,
boolean useAncestor)
@Transactional(propagation=SUPPORTS,
readOnly=true)
CommercePriceEntry fetchCommercePriceEntry(long commercePriceListId,
java.lang.String cpInstanceUuid,
int status)
@Transactional(propagation=SUPPORTS,
readOnly=true)
CommercePriceEntry fetchCommercePriceEntryByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
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 found@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
@Transactional(propagation=SUPPORTS,
readOnly=true)
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)@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommercePriceEntry> getCommercePriceEntries(long commercePriceListId,
int start,
int end)
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommercePriceEntry> getCommercePriceEntries(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommercePriceEntry> getCommercePriceEntries(java.lang.String cpInstanceUuid,
java.math.BigDecimal quantity,
java.lang.String unitOfMeasureKey)
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommercePriceEntry> getCommercePriceEntriesByCompanyId(long companyId,
int start,
int end)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommercePriceEntriesCount()
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommercePriceEntriesCount(long commercePriceListId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommercePriceEntriesCountByCompanyId(long companyId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
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 found@Transactional(propagation=SUPPORTS,
readOnly=true)
CommercePriceEntry getCommercePriceEntryByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
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 found@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
@Transactional(propagation=SUPPORTS,
readOnly=true)
CommercePriceEntry getInstanceBaseCommercePriceEntry(java.lang.String cpInstanceUuid,
java.lang.String priceListType)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getInstanceCommercePriceEntriesCount(java.lang.String cpInstanceUuid)
java.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecom.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext)
@Transactional(propagation=SUPPORTS,
readOnly=true)
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@Transactional(propagation=SUPPORTS,
readOnly=true)
int searchCommercePriceEntriesCount(long companyId,
long commercePriceListId,
java.lang.String keywords)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Indexable(type=REINDEX) CommercePriceEntry setHasTierPrice(long commercePriceEntryId, boolean hasTierPrice) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommercePriceEntry setHasTierPrice(long commercePriceEntryId, boolean hasTierPrice, boolean bulkPricing) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Indexable(type=REINDEX) 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 entry@Indexable(type=REINDEX) CommercePriceEntry updateCommercePriceEntry(long commercePriceEntryId, java.math.BigDecimal price, boolean priceOnApplication, java.math.BigDecimal promoPrice, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Indexable(type=REINDEX) CommercePriceEntry updateCommercePriceEntry(long commercePriceEntryId, boolean bulkPricing, boolean discountDiscovery, java.math.BigDecimal discountLevel1, java.math.BigDecimal discountLevel2, java.math.BigDecimal discountLevel3, java.math.BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, java.math.BigDecimal price, boolean priceOnApplication, java.math.BigDecimal promoPrice, java.lang.String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Indexable(type=REINDEX) CommercePriceEntry updateExternalReferenceCode(java.lang.String externalReferenceCode, CommercePriceEntry commercePriceEntry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Indexable(type=REINDEX) 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@Transactional(enabled=false) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceEntry> getCTPersistence()
getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceEntry>@Transactional(enabled=false) java.lang.Class<CommercePriceEntry> getModelClass()
getModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceEntry>@Transactional(rollbackFor=java.lang.Throwable.class) <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 com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceEntry>E extends java.lang.Throwable