Class CommercePriceListLocalServiceWrapper

java.lang.Object
com.liferay.commerce.price.list.service.CommercePriceListLocalServiceWrapper
All Implemented Interfaces:
CommercePriceListLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceList>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceListLocalService>

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

    • CommercePriceListLocalServiceWrapper

      public CommercePriceListLocalServiceWrapper()
    • CommercePriceListLocalServiceWrapper

      public CommercePriceListLocalServiceWrapper(CommercePriceListLocalService commercePriceListLocalService)
  • Method Details

    • addCatalogBaseCommercePriceList

      public CommercePriceList addCatalogBaseCommercePriceList(long userId, long groupId, String commerceCurrencyCode, String name, String type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCatalogBaseCommercePriceList in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommercePriceList

      public CommercePriceList addCommercePriceList(CommercePriceList commercePriceList)
      Adds the commerce price list to the database. Also notifies the appropriate model listeners.

      Important: Inspect CommercePriceListLocalServiceImpl 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:
      addCommercePriceList in interface CommercePriceListLocalService
      Parameters:
      commercePriceList - the commerce price list
      Returns:
      the commerce price list that was added
    • addCommercePriceList

      public CommercePriceList addCommercePriceList(String externalReferenceCode, long userId, long groupId, long parentCommercePriceListId, boolean catalogBasePriceList, String commerceCurrencyCode, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, String name, boolean netPrice, boolean neverExpire, double priority, String type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCommercePriceList in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCommercePriceList

      public CommercePriceList addOrUpdateCommercePriceList(String externalReferenceCode, long userId, long groupId, long commercePriceListId, long parentCommercePriceListId, boolean catalogBasePriceList, String commerceCurrencyCode, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, String name, boolean netPrice, boolean neverExpire, double priority, String type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addOrUpdateCommercePriceList in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkCommercePriceLists

      public void checkCommercePriceLists() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      checkCommercePriceLists in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • cleanPriceListCache

      public void cleanPriceListCache()
      Specified by:
      cleanPriceListCache in interface CommercePriceListLocalService
    • createCommercePriceList

      public CommercePriceList createCommercePriceList(long commercePriceListId)
      Creates a new commerce price list with the primary key. Does not add the commerce price list to the database.
      Specified by:
      createCommercePriceList in interface CommercePriceListLocalService
      Parameters:
      commercePriceListId - the primary key for the new commerce price list
      Returns:
      the new commerce price list
    • createPersistedModel

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

      public CommercePriceList deleteCommercePriceList(CommercePriceList commercePriceList) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the commerce price list from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommercePriceListLocalServiceImpl 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:
      deleteCommercePriceList in interface CommercePriceListLocalService
      Parameters:
      commercePriceList - the commerce price list
      Returns:
      the commerce price list that was removed
    • deleteCommercePriceList

      public CommercePriceList deleteCommercePriceList(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the commerce price list with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommercePriceListLocalServiceImpl 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:
      deleteCommercePriceList in interface CommercePriceListLocalService
      Parameters:
      commercePriceListId - the primary key of the commerce price list
      Returns:
      the commerce price list that was removed
    • deleteCommercePriceLists

      public void deleteCommercePriceLists(long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCommercePriceLists in interface CommercePriceListLocalService
      Throws:
      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 CommercePriceListLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface CommercePriceListLocalService
      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 CommercePriceListLocalService
      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 CommercePriceListLocalService
    • 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 CommercePriceListLocalService
      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.CommercePriceListModelImpl.

      Specified by:
      dynamicQuery in interface CommercePriceListLocalService
      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.CommercePriceListModelImpl.

      Specified by:
      dynamicQuery in interface CommercePriceListLocalService
      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 CommercePriceListLocalService
      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 CommercePriceListLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchCatalogBaseCommercePriceList

      public CommercePriceList fetchCatalogBaseCommercePriceList(long groupId)
      Specified by:
      fetchCatalogBaseCommercePriceList in interface CommercePriceListLocalService
    • fetchCatalogBaseCommercePriceListByType

      public CommercePriceList fetchCatalogBaseCommercePriceListByType(long groupId, String type)
      Specified by:
      fetchCatalogBaseCommercePriceListByType in interface CommercePriceListLocalService
    • fetchCommercePriceList

      public CommercePriceList fetchCommercePriceList(long commercePriceListId)
      Specified by:
      fetchCommercePriceList in interface CommercePriceListLocalService
    • fetchCommercePriceListByExternalReferenceCode

      public CommercePriceList fetchCommercePriceListByExternalReferenceCode(String externalReferenceCode, long companyId)
      Specified by:
      fetchCommercePriceListByExternalReferenceCode in interface CommercePriceListLocalService
    • fetchCommercePriceListByUuidAndGroupId

      public CommercePriceList fetchCommercePriceListByUuidAndGroupId(String uuid, long groupId)
      Returns the commerce price list matching the UUID and group.
      Specified by:
      fetchCommercePriceListByUuidAndGroupId in interface CommercePriceListLocalService
      Parameters:
      uuid - the commerce price list's UUID
      groupId - the primary key of the group
      Returns:
      the matching commerce price list, or null if a matching commerce price list could not be found
    • forceDeleteCommercePriceList

      public CommercePriceList forceDeleteCommercePriceList(CommercePriceList commercePriceList) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      forceDeleteCommercePriceList in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getActionableDynamicQuery

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

      public CommercePriceList getCatalogBaseCommercePriceList(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCatalogBaseCommercePriceList in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCatalogBaseCommercePriceListByType

      public CommercePriceList getCatalogBaseCommercePriceListByType(long groupId, String type) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCatalogBaseCommercePriceListByType in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceList

      public CommercePriceList getCommercePriceList(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the commerce price list with the primary key.
      Specified by:
      getCommercePriceList in interface CommercePriceListLocalService
      Parameters:
      commercePriceListId - the primary key of the commerce price list
      Returns:
      the commerce price list
    • getCommercePriceList

      public CommercePriceList getCommercePriceList(long groupId, long commerceAccountId, long[] commerceAccountGroupIds) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommercePriceList in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceListByAccountAndChannelId

      @Deprecated public CommercePriceList getCommercePriceListByAccountAndChannelId(long groupId, long commerceAccountId, long commerceChannelId, String type)
      Deprecated.
      As of Cavanaugh (7.4.x)
      Specified by:
      getCommercePriceListByAccountAndChannelId in interface CommercePriceListLocalService
    • getCommercePriceListByAccountGroupIds

      @Deprecated public CommercePriceList getCommercePriceListByAccountGroupIds(long groupId, long[] commerceAccountGroupIds, String type)
      Deprecated.
      As of Cavanaugh (7.4.x)
      Specified by:
      getCommercePriceListByAccountGroupIds in interface CommercePriceListLocalService
    • getCommercePriceListByAccountGroupsAndChannelId

      @Deprecated public CommercePriceList getCommercePriceListByAccountGroupsAndChannelId(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, String type)
      Deprecated.
      As of Cavanaugh (7.4.x)
      Specified by:
      getCommercePriceListByAccountGroupsAndChannelId in interface CommercePriceListLocalService
    • getCommercePriceListByAccountId

      @Deprecated public CommercePriceList getCommercePriceListByAccountId(long groupId, long commerceAccountId, String type)
      Deprecated.
      As of Cavanaugh (7.4.x)
      Specified by:
      getCommercePriceListByAccountId in interface CommercePriceListLocalService
    • getCommercePriceListByChannelId

      @Deprecated public CommercePriceList getCommercePriceListByChannelId(long groupId, long commerceChannelId, String type)
      Deprecated.
      As of Cavanaugh (7.4.x)
      Specified by:
      getCommercePriceListByChannelId in interface CommercePriceListLocalService
    • getCommercePriceListByExternalReferenceCode

      public CommercePriceList getCommercePriceListByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommercePriceListByExternalReferenceCode in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceListByLowestPrice

      public CommercePriceList getCommercePriceListByLowestPrice(long groupId, long commerceAccountId, long[] commerceAccountGroupIds, long commerceChannelId, long commerceOrderTypeId, String cpInstanceUuid, String currencyCode, String type, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommercePriceListByLowestPrice in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceListByUnqualified

      @Deprecated public CommercePriceList getCommercePriceListByUnqualified(long groupId, String type)
      Deprecated.
      As of Cavanaugh (7.4.x)
      Specified by:
      getCommercePriceListByUnqualified in interface CommercePriceListLocalService
    • getCommercePriceListByUuidAndGroupId

      public CommercePriceList getCommercePriceListByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the commerce price list matching the UUID and group.
      Specified by:
      getCommercePriceListByUuidAndGroupId in interface CommercePriceListLocalService
      Parameters:
      uuid - the commerce price list's UUID
      groupId - the primary key of the group
      Returns:
      the matching commerce price list
    • getCommercePriceLists

      public List<CommercePriceList> getCommercePriceLists(int start, int end)
      Returns a range of all the commerce price lists.

      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.CommercePriceListModelImpl.

      Specified by:
      getCommercePriceLists in interface CommercePriceListLocalService
      Parameters:
      start - the lower bound of the range of commerce price lists
      end - the upper bound of the range of commerce price lists (not inclusive)
      Returns:
      the range of commerce price lists
    • getCommercePriceLists

      public List<CommercePriceList> getCommercePriceLists(long companyId, int start, int end)
      Specified by:
      getCommercePriceLists in interface CommercePriceListLocalService
    • getCommercePriceLists

      public List<CommercePriceList> getCommercePriceLists(long[] groupIds, long companyId, int start, int end)
      Specified by:
      getCommercePriceLists in interface CommercePriceListLocalService
    • getCommercePriceLists

      public List<CommercePriceList> getCommercePriceLists(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
      Specified by:
      getCommercePriceLists in interface CommercePriceListLocalService
    • getCommercePriceListsByAccountAndChannelAndOrderTypeId

      public List<CommercePriceList> getCommercePriceListsByAccountAndChannelAndOrderTypeId(long groupId, long commerceAccountId, long commerceChannelId, long commerceOrderTypeId, String currencyCode, String type)
      Specified by:
      getCommercePriceListsByAccountAndChannelAndOrderTypeId in interface CommercePriceListLocalService
    • getCommercePriceListsByAccountAndChannelId

      public List<CommercePriceList> getCommercePriceListsByAccountAndChannelId(long groupId, long commerceAccountId, long commerceChannelId, String currencyCode, String type)
      Specified by:
      getCommercePriceListsByAccountAndChannelId in interface CommercePriceListLocalService
    • getCommercePriceListsByAccountAndOrderTypeId

      public List<CommercePriceList> getCommercePriceListsByAccountAndOrderTypeId(long groupId, long commerceAccountId, long commerceOrderTypeId, String currencyCode, String type)
      Specified by:
      getCommercePriceListsByAccountAndOrderTypeId in interface CommercePriceListLocalService
    • getCommercePriceListsByAccountGroupIds

      public List<CommercePriceList> getCommercePriceListsByAccountGroupIds(long groupId, long[] commerceAccountGroupIds, String currencyCode, String type)
      Specified by:
      getCommercePriceListsByAccountGroupIds in interface CommercePriceListLocalService
    • getCommercePriceListsByAccountGroupsAndChannelAndOrderTypeId

      public List<CommercePriceList> getCommercePriceListsByAccountGroupsAndChannelAndOrderTypeId(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, long commerceOrderTypeId, String currencyCode, String type)
      Specified by:
      getCommercePriceListsByAccountGroupsAndChannelAndOrderTypeId in interface CommercePriceListLocalService
    • getCommercePriceListsByAccountGroupsAndChannelId

      public List<CommercePriceList> getCommercePriceListsByAccountGroupsAndChannelId(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, String currencyCode, String type)
      Specified by:
      getCommercePriceListsByAccountGroupsAndChannelId in interface CommercePriceListLocalService
    • getCommercePriceListsByAccountGroupsAndOrderTypeId

      public List<CommercePriceList> getCommercePriceListsByAccountGroupsAndOrderTypeId(long groupId, long[] commerceAccountGroupIds, long commerceOrderTypeId, String currencyCode, String type)
      Specified by:
      getCommercePriceListsByAccountGroupsAndOrderTypeId in interface CommercePriceListLocalService
    • getCommercePriceListsByAccountId

      public List<CommercePriceList> getCommercePriceListsByAccountId(long groupId, long commerceAccountId, String currencyCode, String type)
      Specified by:
      getCommercePriceListsByAccountId in interface CommercePriceListLocalService
    • getCommercePriceListsByChannelAndOrderTypeId

      public List<CommercePriceList> getCommercePriceListsByChannelAndOrderTypeId(long groupId, long commerceChannelId, long commerceOrderTypeId, String currencyCode, String type)
      Specified by:
      getCommercePriceListsByChannelAndOrderTypeId in interface CommercePriceListLocalService
    • getCommercePriceListsByChannelId

      public List<CommercePriceList> getCommercePriceListsByChannelId(long groupId, long commerceChannelId, String currencyCode, String type)
      Specified by:
      getCommercePriceListsByChannelId in interface CommercePriceListLocalService
    • getCommercePriceListsByOrderTypeId

      public List<CommercePriceList> getCommercePriceListsByOrderTypeId(long groupId, long commerceOrderTypeId, String currencyCode, String type)
      Specified by:
      getCommercePriceListsByOrderTypeId in interface CommercePriceListLocalService
    • getCommercePriceListsByUnqualified

      public List<CommercePriceList> getCommercePriceListsByUnqualified(long groupId, String currencyCode, String type)
      Specified by:
      getCommercePriceListsByUnqualified in interface CommercePriceListLocalService
    • getCommercePriceListsByUuidAndCompanyId

      public List<CommercePriceList> getCommercePriceListsByUuidAndCompanyId(String uuid, long companyId)
      Returns all the commerce price lists matching the UUID and company.
      Specified by:
      getCommercePriceListsByUuidAndCompanyId in interface CommercePriceListLocalService
      Parameters:
      uuid - the UUID of the commerce price lists
      companyId - the primary key of the company
      Returns:
      the matching commerce price lists, or an empty list if no matches were found
    • getCommercePriceListsByUuidAndCompanyId

      public List<CommercePriceList> getCommercePriceListsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
      Returns a range of commerce price lists matching the UUID and company.
      Specified by:
      getCommercePriceListsByUuidAndCompanyId in interface CommercePriceListLocalService
      Parameters:
      uuid - the UUID of the commerce price lists
      companyId - the primary key of the company
      start - the lower bound of the range of commerce price lists
      end - the upper bound of the range of commerce price lists (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the range of matching commerce price lists, or an empty list if no matches were found
    • getCommercePriceListsCount

      public int getCommercePriceListsCount()
      Returns the number of commerce price lists.
      Specified by:
      getCommercePriceListsCount in interface CommercePriceListLocalService
      Returns:
      the number of commerce price lists
    • getCommercePriceListsCount

      public int getCommercePriceListsCount(long commercePricingClassId, String name)
      Specified by:
      getCommercePriceListsCount in interface CommercePriceListLocalService
    • getCommercePriceListsCount

      public int getCommercePriceListsCount(long[] groupIds, long companyId, int status)
      Specified by:
      getCommercePriceListsCount in interface CommercePriceListLocalService
    • getExportActionableDynamicQuery

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

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

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface CommercePriceListLocalService
      Specified by:
      getOSGiServiceIdentifier in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
      Specified by:
      getOSGiServiceIdentifier in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceListLocalService>
      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 CommercePriceListLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • search

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

      public List<CommercePriceList> searchByCommercePricingClassId(long commercePricingClassId, String name, int start, int end)
      Specified by:
      searchByCommercePricingClassId in interface CommercePriceListLocalService
    • searchCommercePriceLists

      public com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePriceList> searchCommercePriceLists(long companyId, long[] groupIds, String keywords, int status, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCommercePriceLists in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCommercePriceListsCount

      public int searchCommercePriceListsCount(long companyId, long[] groupIds, String keywords, int status) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCommercePriceListsCount in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • setCatalogBasePriceList

      public CommercePriceList setCatalogBasePriceList(long commercePriceListId, boolean catalogBasePriceList) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      setCatalogBasePriceList in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • setCatalogBasePriceList

      public void setCatalogBasePriceList(long groupId, long commercePriceListId, String type) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      setCatalogBasePriceList in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommercePriceList

      public CommercePriceList updateCommercePriceList(CommercePriceList commercePriceList)
      Updates the commerce price list in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect CommercePriceListLocalServiceImpl 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:
      updateCommercePriceList in interface CommercePriceListLocalService
      Parameters:
      commercePriceList - the commerce price list
      Returns:
      the commerce price list that was updated
    • updateCommercePriceList

      public CommercePriceList updateCommercePriceList(long commercePriceListId, long parentCommercePriceListId, boolean catalogBasePriceList, String commerceCurrencyCode, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, String name, boolean netPrice, boolean neverExpire, double priority, String type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCommercePriceList in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommercePriceListCurrencies

      public void updateCommercePriceListCurrencies(long companyId, String oldCommerceCurrencyCode, String newCommerceCurrencyCode) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCommercePriceListCurrencies in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateExternalReferenceCode

      public CommercePriceList updateExternalReferenceCode(CommercePriceList commercePriceList, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateExternalReferenceCode in interface CommercePriceListLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateStatus

      public CommercePriceList updateStatus(long userId, long commercePriceListId, 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 CommercePriceListLocalService
      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<CommercePriceList> getCTPersistence()
      Specified by:
      getCTPersistence in interface CommercePriceListLocalService
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceList>
    • getModelClass

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

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

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

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