Class CommercePriceEntryLocalServiceWrapper

java.lang.Object
com.liferay.commerce.price.list.service.CommercePriceEntryLocalServiceWrapper
All Implemented Interfaces:
CommercePriceEntryLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceEntry>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryLocalService>

public class CommercePriceEntryLocalServiceWrapper extends Object implements CommercePriceEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryLocalService>
Provides a wrapper for CommercePriceEntryLocalService.
See Also:
Generated:
  • Constructor Details

    • CommercePriceEntryLocalServiceWrapper

      public CommercePriceEntryLocalServiceWrapper()
    • CommercePriceEntryLocalServiceWrapper

      public CommercePriceEntryLocalServiceWrapper(CommercePriceEntryLocalService commercePriceEntryLocalService)
  • Method Details

    • addCommercePriceEntry

      public CommercePriceEntry addCommercePriceEntry(CommercePriceEntry commercePriceEntry)
      Adds the commerce price entry to the database. Also notifies the appropriate model listeners.

      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.

      Specified by:
      addCommercePriceEntry in interface CommercePriceEntryLocalService
      Parameters:
      commercePriceEntry - the commerce price entry
      Returns:
      the commerce price entry that was added
    • addCommercePriceEntry

      public CommercePriceEntry addCommercePriceEntry(String externalReferenceCode, long cProductId, String cpInstanceUuid, long commercePriceListId, BigDecimal price, boolean priceOnApplication, BigDecimal promoPrice, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCommercePriceEntry in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommercePriceEntry

      public CommercePriceEntry addCommercePriceEntry(String externalReferenceCode, long cProductId, String cpInstanceUuid, long commercePriceListId, boolean discountDiscovery, BigDecimal discountLevel1, BigDecimal discountLevel2, BigDecimal discountLevel3, BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, BigDecimal price, boolean priceOnApplication, BigDecimal promoPrice, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCommercePriceEntry in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCommercePriceEntry

      public CommercePriceEntry addOrUpdateCommercePriceEntry(String externalReferenceCode, long commercePriceEntryId, long cProductId, String cpInstanceUuid, long commercePriceListId, boolean discountDiscovery, BigDecimal discountLevel1, BigDecimal discountLevel2, BigDecimal discountLevel3, BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, BigDecimal price, boolean priceOnApplication, BigDecimal promoPrice, String skuExternalReferenceCode, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addOrUpdateCommercePriceEntry in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkCommercePriceEntries

      public void checkCommercePriceEntries() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      checkCommercePriceEntries in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createCommercePriceEntry

      public CommercePriceEntry createCommercePriceEntry(long commercePriceEntryId)
      Creates a new commerce price entry with the primary key. Does not add the commerce price entry to the database.
      Specified by:
      createCommercePriceEntry in interface CommercePriceEntryLocalService
      Parameters:
      commercePriceEntryId - the primary key for the new commerce price entry
      Returns:
      the new commerce price entry
    • createPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface CommercePriceEntryLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommercePriceEntries

      public void deleteCommercePriceEntries(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCommercePriceEntries in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommercePriceEntries

      public void deleteCommercePriceEntries(String cpInstanceUuid) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCommercePriceEntries in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommercePriceEntries

      public void deleteCommercePriceEntries(String cpInstanceUuid, BigDecimal quantity, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCommercePriceEntries in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommercePriceEntry

      public CommercePriceEntry deleteCommercePriceEntry(CommercePriceEntry commercePriceEntry) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the commerce price entry from the database. Also notifies the appropriate model listeners.

      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.

      Specified by:
      deleteCommercePriceEntry in interface CommercePriceEntryLocalService
      Parameters:
      commercePriceEntry - the commerce price entry
      Returns:
      the commerce price entry that was removed
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommercePriceEntry

      public CommercePriceEntry deleteCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the commerce price entry with the primary key from the database. Also notifies the appropriate model listeners.

      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.

      Specified by:
      deleteCommercePriceEntry in interface CommercePriceEntryLocalService
      Parameters:
      commercePriceEntryId - the primary key of the commerce price entry
      Returns:
      the commerce price entry that was removed
      Throws:
      PortalException - if a commerce price entry with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deletePersistedModel

      public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deletePersistedModel in interface CommercePriceEntryLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface CommercePriceEntryLocalService
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQueryCount

      public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface CommercePriceEntryLocalService
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface CommercePriceEntryLocalService
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Specified by:
      dynamicQuery in interface CommercePriceEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the matching rows
    • dynamicQuery

      public <T> 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.

      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.

      Specified by:
      dynamicQuery in interface CommercePriceEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      Returns:
      the range of matching rows
    • dynamicQuery

      public <T> 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.

      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.

      Specified by:
      dynamicQuery in interface CommercePriceEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching rows
    • dynamicQueryCount

      public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface CommercePriceEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the number of rows matching the dynamic query
    • dynamicQueryCount

      public 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.
      Specified by:
      dynamicQueryCount in interface CommercePriceEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchCommercePriceEntry

      public CommercePriceEntry fetchCommercePriceEntry(long commercePriceEntryId)
      Specified by:
      fetchCommercePriceEntry in interface CommercePriceEntryLocalService
    • fetchCommercePriceEntry

      public CommercePriceEntry fetchCommercePriceEntry(long commercePriceListId, String cpInstanceUuid, int status, String unitOfMeasureKey)
      Specified by:
      fetchCommercePriceEntry in interface CommercePriceEntryLocalService
    • fetchCommercePriceEntry

      public CommercePriceEntry fetchCommercePriceEntry(long commercePriceListId, String cpInstanceUuid, String unitOfMeasureKey)
      Specified by:
      fetchCommercePriceEntry in interface CommercePriceEntryLocalService
    • fetchCommercePriceEntry

      public CommercePriceEntry fetchCommercePriceEntry(long commercePriceListId, String cpInstanceUuid, String unitOfMeasureKey, boolean useAncestor)
      Specified by:
      fetchCommercePriceEntry in interface CommercePriceEntryLocalService
    • fetchCommercePriceEntryByExternalReferenceCode

      public CommercePriceEntry fetchCommercePriceEntryByExternalReferenceCode(String externalReferenceCode, long companyId)
      Specified by:
      fetchCommercePriceEntryByExternalReferenceCode in interface CommercePriceEntryLocalService
    • fetchCommercePriceEntryByUuidAndCompanyId

      public CommercePriceEntry fetchCommercePriceEntryByUuidAndCompanyId(String uuid, long companyId)
      Returns the commerce price entry with the matching UUID and company.
      Specified by:
      fetchCommercePriceEntryByUuidAndCompanyId in interface CommercePriceEntryLocalService
      Parameters:
      uuid - the commerce price entry's UUID
      companyId - the primary key of the company
      Returns:
      the matching commerce price entry, or null if a matching commerce price entry could not be found
    • getActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
      Specified by:
      getActionableDynamicQuery in interface CommercePriceEntryLocalService
    • getCommercePriceEntries

      public List<CommercePriceEntry> getCommercePriceEntries(int start, int end)
      Returns a range of all the commerce price entries.

      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.

      Specified by:
      getCommercePriceEntries in interface CommercePriceEntryLocalService
      Parameters:
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      Returns:
      the range of commerce price entries
    • getCommercePriceEntries

      public List<CommercePriceEntry> getCommercePriceEntries(long commercePriceListId, int start, int end)
      Specified by:
      getCommercePriceEntries in interface CommercePriceEntryLocalService
    • getCommercePriceEntries

      public List<CommercePriceEntry> getCommercePriceEntries(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Specified by:
      getCommercePriceEntries in interface CommercePriceEntryLocalService
    • getCommercePriceEntries

      public List<CommercePriceEntry> getCommercePriceEntries(String cpInstanceUuid, BigDecimal quantity, String unitOfMeasureKey)
      Specified by:
      getCommercePriceEntries in interface CommercePriceEntryLocalService
    • getCommercePriceEntriesByCompanyId

      public List<CommercePriceEntry> getCommercePriceEntriesByCompanyId(long companyId, int start, int end)
      Specified by:
      getCommercePriceEntriesByCompanyId in interface CommercePriceEntryLocalService
    • getCommercePriceEntriesCount

      public int getCommercePriceEntriesCount()
      Returns the number of commerce price entries.
      Specified by:
      getCommercePriceEntriesCount in interface CommercePriceEntryLocalService
      Returns:
      the number of commerce price entries
    • getCommercePriceEntriesCount

      public int getCommercePriceEntriesCount(long commercePriceListId)
      Specified by:
      getCommercePriceEntriesCount in interface CommercePriceEntryLocalService
    • getCommercePriceEntriesCountByCompanyId

      public int getCommercePriceEntriesCountByCompanyId(long companyId)
      Specified by:
      getCommercePriceEntriesCountByCompanyId in interface CommercePriceEntryLocalService
    • getCommercePriceEntry

      public CommercePriceEntry getCommercePriceEntry(long commercePriceEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the commerce price entry with the primary key.
      Specified by:
      getCommercePriceEntry in interface CommercePriceEntryLocalService
      Parameters:
      commercePriceEntryId - the primary key of the commerce price entry
      Returns:
      the commerce price entry
      Throws:
      PortalException - if a commerce price entry with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceEntryByExternalReferenceCode

      public CommercePriceEntry getCommercePriceEntryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommercePriceEntryByExternalReferenceCode in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceEntryByUuidAndCompanyId

      public CommercePriceEntry getCommercePriceEntryByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the commerce price entry with the matching UUID and company.
      Specified by:
      getCommercePriceEntryByUuidAndCompanyId in interface CommercePriceEntryLocalService
      Parameters:
      uuid - the commerce price entry's UUID
      companyId - the primary key of the company
      Returns:
      the matching commerce price entry
      Throws:
      PortalException - if a matching commerce price entry could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getExportActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
      Specified by:
      getExportActionableDynamicQuery in interface CommercePriceEntryLocalService
    • getIndexableActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
      Specified by:
      getIndexableActionableDynamicQuery in interface CommercePriceEntryLocalService
    • getInstanceBaseCommercePriceEntry

      public CommercePriceEntry getInstanceBaseCommercePriceEntry(String cpInstanceUuid, String priceListType, String unitOfMeasureKey)
      Specified by:
      getInstanceBaseCommercePriceEntry in interface CommercePriceEntryLocalService
    • getInstanceCommercePriceEntries

      public List<CommercePriceEntry> getInstanceCommercePriceEntries(String cpInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Specified by:
      getInstanceCommercePriceEntries in interface CommercePriceEntryLocalService
    • getInstanceCommercePriceEntriesCount

      public int getInstanceCommercePriceEntriesCount(String cpInstanceUuid)
      Specified by:
      getInstanceCommercePriceEntriesCount in interface CommercePriceEntryLocalService
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface CommercePriceEntryLocalService
      Returns:
      the OSGi service identifier
    • getPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPersistedModel in interface CommercePriceEntryLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • search

      public com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext)
      Specified by:
      search in interface CommercePriceEntryLocalService
    • searchCommercePriceEntries

      public com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePriceEntry> searchCommercePriceEntries(long companyId, long commercePriceListId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCommercePriceEntries in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCommercePriceEntriesCount

      public int searchCommercePriceEntriesCount(long companyId, long commercePriceListId, String keywords) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCommercePriceEntriesCount in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • setHasTierPrice

      public CommercePriceEntry setHasTierPrice(long commercePriceEntryId, boolean hasTierPrice) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      setHasTierPrice in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • setHasTierPrice

      public CommercePriceEntry setHasTierPrice(long commercePriceEntryId, boolean hasTierPrice, boolean bulkPricing) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      setHasTierPrice in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommercePriceEntry

      public CommercePriceEntry updateCommercePriceEntry(CommercePriceEntry commercePriceEntry)
      Updates the commerce price entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      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.

      Specified by:
      updateCommercePriceEntry in interface CommercePriceEntryLocalService
      Parameters:
      commercePriceEntry - the commerce price entry
      Returns:
      the commerce price entry that was updated
    • updateCommercePriceEntry

      public CommercePriceEntry updateCommercePriceEntry(long commercePriceEntryId, boolean bulkPricing, boolean discountDiscovery, BigDecimal discountLevel1, BigDecimal discountLevel2, BigDecimal discountLevel3, BigDecimal discountLevel4, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, BigDecimal price, boolean priceOnApplication, BigDecimal promoPrice, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCommercePriceEntry in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateExternalReferenceCode

      public CommercePriceEntry updateExternalReferenceCode(String externalReferenceCode, CommercePriceEntry commercePriceEntry) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateExternalReferenceCode in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updatePricingInfo

      public CommercePriceEntry updatePricingInfo(long commercePriceEntryId, boolean bulkPricing, BigDecimal price, boolean priceOnApplication, BigDecimal promoPrice, String unitOfMeasureKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updatePricingInfo in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateStatus

      public CommercePriceEntry updateStatus(long userId, long commercePriceEntryId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, Map<String,Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateStatus in interface CommercePriceEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBasePersistence

      public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
      Specified by:
      getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getCTPersistence

      public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceEntry> getCTPersistence()
      Specified by:
      getCTPersistence in interface CommercePriceEntryLocalService
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceEntry>
    • getModelClass

      public Class<CommercePriceEntry> getModelClass()
      Specified by:
      getModelClass in interface CommercePriceEntryLocalService
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceEntry>
    • updateWithUnsafeFunction

      public <R, E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceEntry>,R,E> updateUnsafeFunction) throws E
      Specified by:
      updateWithUnsafeFunction in interface CommercePriceEntryLocalService
      Specified by:
      updateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceEntry>
      Throws:
      E extends Throwable
    • getWrappedService

      public CommercePriceEntryLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryLocalService>
    • setWrappedService

      public void setWrappedService(CommercePriceEntryLocalService commercePriceEntryLocalService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceEntryLocalService>