Class CommercePriceListLocalServiceWrapper
- All Implemented Interfaces:
CommercePriceListLocalService,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>
CommercePriceListLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommercePriceListLocalServiceWrapper(CommercePriceListLocalService commercePriceListLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddCatalogBaseCommercePriceList(long groupId, long userId, String commerceCurrencyCode, String type, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) addCommercePriceList(CommercePriceList commercePriceList) Adds the commerce price list to the database.addCommercePriceList(String externalReferenceCode, long groupId, long userId, String commerceCurrencyCode, boolean netPrice, String type, long parentCommercePriceListId, boolean catalogBasePriceList, String name, double priority, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCommercePriceList(String externalReferenceCode, long groupId, long userId, long commercePriceListId, String commerceCurrencyCode, boolean netPrice, String type, long parentCommercePriceListId, boolean catalogBasePriceList, String name, double priority, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidvoidcreateCommercePriceList(long commercePriceListId) Creates a new commerce price list with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deleteCommercePriceList(long commercePriceListId) Deletes the commerce price list with the primary key from the database.deleteCommercePriceList(CommercePriceList commercePriceList) Deletes the commerce price list from the database.voiddeleteCommercePriceLists(long companyId) com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<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.<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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.fetchCatalogBaseCommercePriceList(long groupId) fetchCatalogBaseCommercePriceListByType(long groupId, String type) fetchCommerceCatalogBasePriceList(long groupId) Deprecated.As of Athanasius (7.3.x)fetchCommerceCatalogBasePriceListByType(long groupId, String type) Deprecated.As of Athanasius (7.3.x)fetchCommercePriceList(long commercePriceListId) fetchCommercePriceListByExternalReferenceCode(String externalReferenceCode, long companyId) fetchCommercePriceListByUuidAndGroupId(String uuid, long groupId) Returns the commerce price list matching the UUID and group.forceDeleteCommercePriceList(CommercePriceList commercePriceList) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>getCatalogBaseCommercePriceList(long groupId) getCatalogBaseCommercePriceListByType(long groupId, String type) getCommerceCatalogBasePriceList(long groupId) Deprecated.As of Athanasius (7.3.x)getCommerceCatalogBasePriceListByType(long groupId, String type) Deprecated.As of Athanasius (7.3.x)getCommercePriceList(long commercePriceListId) Returns the commerce price list with the primary key.getCommercePriceList(long groupId, long commerceAccountId, long[] commerceAccountGroupIds) getCommercePriceListByAccountAndChannelAndOrderTypeId(long groupId, long commerceAccountId, long commerceChannelId, long commerceOrderTypeId, String type) Deprecated.As of Cavanaugh (7.4.x)getCommercePriceListByAccountAndChannelId(long groupId, long commerceAccountId, long commerceChannelId, String type) Deprecated.As of Cavanaugh (7.4.x)getCommercePriceListByAccountAndOrderTypeId(long groupId, long commerceAccountId, long commerceOrderTypeId, String type) Deprecated.As of Cavanaugh (7.4.x)getCommercePriceListByAccountGroupIds(long groupId, long[] commerceAccountGroupIds, String type) Deprecated.As of Cavanaugh (7.4.x)getCommercePriceListByAccountGroupsAndChannelAndOrderTypeId(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, long commerceOrderTypeId, String type) Deprecated.As of Cavanaugh (7.4.x)getCommercePriceListByAccountGroupsAndChannelId(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, String type) Deprecated.As of Cavanaugh (7.4.x)getCommercePriceListByAccountGroupsAndOrderTypeId(long groupId, long[] commerceAccountGroupIds, long commerceOrderTypeId, String type) Deprecated.As of Cavanaugh (7.4.x)getCommercePriceListByAccountId(long groupId, long commerceAccountId, String type) Deprecated.As of Cavanaugh (7.4.x)getCommercePriceListByChannelAndOrderTypeId(long groupId, long commerceChannelId, long commerceOrderTypeId, String type) Deprecated.As of Cavanaugh (7.4.x)getCommercePriceListByChannelId(long groupId, long commerceChannelId, String type) Deprecated.As of Cavanaugh (7.4.x)getCommercePriceListByExternalReferenceCode(String externalReferenceCode, long companyId) getCommercePriceListByLowestPrice(long groupId, long commerceAccountId, long[] commerceAccountGroupIds, long commerceChannelId, long commerceOrderTypeId, String cPInstanceUuid, String type, String unitOfMeasureKey) getCommercePriceListByOrderTypeId(long groupId, long commerceOrderTypeId, String type) Deprecated.As of Cavanaugh (7.4.x)getCommercePriceListByUnqualified(long groupId, String type) Deprecated.As of Cavanaugh (7.4.x)getCommercePriceListByUuidAndGroupId(String uuid, long groupId) Returns the commerce price list matching the UUID and group.getCommercePriceLists(int start, int end) Returns a range of all the commerce price lists.getCommercePriceLists(long[] groupIds, long companyId, int start, int end) getCommercePriceLists(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) getCommercePriceLists(long companyId, int start, int end) getCommercePriceListsByAccountAndChannelAndOrderTypeId(long groupId, long commerceAccountId, long commerceChannelId, long commerceOrderTypeId, String type) getCommercePriceListsByAccountAndChannelId(long groupId, long commerceAccountId, long commerceChannelId, String type) getCommercePriceListsByAccountAndOrderTypeId(long groupId, long commerceAccountId, long commerceOrderTypeId, String type) getCommercePriceListsByAccountGroupIds(long groupId, long[] commerceAccountGroupIds, String type) getCommercePriceListsByAccountGroupsAndChannelAndOrderTypeId(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, long commerceOrderTypeId, String type) getCommercePriceListsByAccountGroupsAndChannelId(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, String type) getCommercePriceListsByAccountGroupsAndOrderTypeId(long groupId, long[] commerceAccountGroupIds, long commerceOrderTypeId, String type) getCommercePriceListsByAccountId(long groupId, long commerceAccountId, String type) getCommercePriceListsByChannelAndOrderTypeId(long groupId, long commerceChannelId, long commerceOrderTypeId, String type) getCommercePriceListsByChannelId(long groupId, long commerceChannelId, String type) getCommercePriceListsByOrderTypeId(long groupId, long commerceOrderTypeId, String type) getCommercePriceListsByUnqualified(long groupId, String type) getCommercePriceListsByUuidAndCompanyId(String uuid, long companyId) Returns all the commerce price lists matching the UUID and company.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.intReturns the number of commerce price lists.intgetCommercePriceListsCount(long[] groupIds, long companyId, int status) intgetCommercePriceListsCount(long commercePricingClassId, String name) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceList>com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) com.liferay.portal.kernel.search.Hitssearch(com.liferay.portal.kernel.search.SearchContext searchContext) searchByCommercePricingClassId(long commercePricingClassId, String name, int start, int end) 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) intsearchCommercePriceListsCount(long companyId, long[] groupIds, String keywords, int status) setCatalogBasePriceList(long commercePriceListId, boolean catalogBasePriceList) voidsetCatalogBasePriceList(long groupId, long commercePriceListId, String type) voidsetWrappedService(CommercePriceListLocalService commercePriceListLocalService) updateCommercePriceList(long commercePriceListId, String commerceCurrencyCode, boolean netPrice, long parentCommercePriceListId, String name, double priority, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommercePriceList(long commercePriceListId, String commerceCurrencyCode, boolean netPrice, String type, long parentCommercePriceListId, boolean catalogBasePriceList, String name, double priority, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommercePriceList(CommercePriceList commercePriceList) Updates the commerce price list in the database or adds it if it does not yet exist.voidupdateCommercePriceListCurrencies(long companyId, String oldCommerceCurrencyCode, String newCommerceCurrencyCode) updateExternalReferenceCode(CommercePriceList commercePriceList, String externalReferenceCode) updateStatus(long userId, long commercePriceListId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, Map<String, Serializable> workflowContext) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceList>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
CommercePriceListLocalServiceWrapper
public CommercePriceListLocalServiceWrapper() -
CommercePriceListLocalServiceWrapper
public CommercePriceListLocalServiceWrapper(CommercePriceListLocalService commercePriceListLocalService)
-
-
Method Details
-
addCatalogBaseCommercePriceList
public CommercePriceList addCatalogBaseCommercePriceList(long groupId, long userId, String commerceCurrencyCode, String type, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCatalogBaseCommercePriceListin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommercePriceList
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:
addCommercePriceListin interfaceCommercePriceListLocalService- Parameters:
commercePriceList- the commerce price list- Returns:
- the commerce price list that was added
-
addCommercePriceList
public CommercePriceList addCommercePriceList(String externalReferenceCode, long groupId, long userId, String commerceCurrencyCode, boolean netPrice, String type, long parentCommercePriceListId, boolean catalogBasePriceList, String name, double priority, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommercePriceListin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommercePriceList
public CommercePriceList addOrUpdateCommercePriceList(String externalReferenceCode, long groupId, long userId, long commercePriceListId, String commerceCurrencyCode, boolean netPrice, String type, long parentCommercePriceListId, boolean catalogBasePriceList, String name, double priority, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addOrUpdateCommercePriceListin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
checkCommercePriceLists
public void checkCommercePriceLists() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
checkCommercePriceListsin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
cleanPriceListCache
public void cleanPriceListCache()- Specified by:
cleanPriceListCachein interfaceCommercePriceListLocalService
-
createCommercePriceList
Creates a new commerce price list with the primary key. Does not add the commerce price list to the database.- Specified by:
createCommercePriceListin interfaceCommercePriceListLocalService- 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:
createPersistedModelin interfaceCommercePriceListLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
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:
deleteCommercePriceListin interfaceCommercePriceListLocalService- Parameters:
commercePriceList- the commerce price list- Returns:
- the commerce price list that was removed
- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
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:
deleteCommercePriceListin interfaceCommercePriceListLocalService- Parameters:
commercePriceListId- the primary key of the commerce price list- Returns:
- the commerce price list that was removed
- Throws:
PortalException- if a commerce price list with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteCommercePriceLists
public void deleteCommercePriceLists(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommercePriceListsin interfaceCommercePriceListLocalService- 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:
deletePersistedModelin interfaceCommercePriceListLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceCommercePriceListLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceCommercePriceListLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceCommercePriceListLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceCommercePriceListLocalService- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.price.list.model.impl.CommercePriceListModelImpl.- Specified by:
dynamicQueryin interfaceCommercePriceListLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.price.list.model.impl.CommercePriceListModelImpl.- Specified by:
dynamicQueryin interfaceCommercePriceListLocalService- Parameters:
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 (optionallynull)- 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:
dynamicQueryCountin interfaceCommercePriceListLocalService- 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:
dynamicQueryCountin interfaceCommercePriceListLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCatalogBaseCommercePriceList
public CommercePriceList fetchCatalogBaseCommercePriceList(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCatalogBaseCommercePriceListin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCatalogBaseCommercePriceListByType
public CommercePriceList fetchCatalogBaseCommercePriceListByType(long groupId, String type) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCatalogBaseCommercePriceListByTypein interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceCatalogBasePriceList
@Deprecated public CommercePriceList fetchCommerceCatalogBasePriceList(long groupId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Specified by:
fetchCommerceCatalogBasePriceListin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceCatalogBasePriceListByType
@Deprecated public CommercePriceList fetchCommerceCatalogBasePriceListByType(long groupId, String type) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Specified by:
fetchCommerceCatalogBasePriceListByTypein interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommercePriceList
- Specified by:
fetchCommercePriceListin interfaceCommercePriceListLocalService
-
fetchCommercePriceListByExternalReferenceCode
public CommercePriceList fetchCommercePriceListByExternalReferenceCode(String externalReferenceCode, long companyId) - Specified by:
fetchCommercePriceListByExternalReferenceCodein interfaceCommercePriceListLocalService
-
fetchCommercePriceListByUuidAndGroupId
Returns the commerce price list matching the UUID and group.- Specified by:
fetchCommercePriceListByUuidAndGroupIdin interfaceCommercePriceListLocalService- Parameters:
uuid- the commerce price list's UUIDgroupId- the primary key of the group- Returns:
- the matching commerce price list, or
nullif a matching commerce price list could not be found
-
forceDeleteCommercePriceList
public CommercePriceList forceDeleteCommercePriceList(CommercePriceList commercePriceList) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
forceDeleteCommercePriceListin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceCommercePriceListLocalService
-
getCatalogBaseCommercePriceList
public CommercePriceList getCatalogBaseCommercePriceList(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCatalogBaseCommercePriceListin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCatalogBaseCommercePriceListByType
public CommercePriceList getCatalogBaseCommercePriceListByType(long groupId, String type) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCatalogBaseCommercePriceListByTypein interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCatalogBasePriceList
@Deprecated public CommercePriceList getCommerceCatalogBasePriceList(long groupId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Specified by:
getCommerceCatalogBasePriceListin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceCatalogBasePriceListByType
@Deprecated public CommercePriceList getCommerceCatalogBasePriceListByType(long groupId, String type) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Specified by:
getCommerceCatalogBasePriceListByTypein interfaceCommercePriceListLocalService- 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:
getCommercePriceListin interfaceCommercePriceListLocalService- Parameters:
commercePriceListId- the primary key of the commerce price list- Returns:
- the commerce price list
- Throws:
PortalException- if a commerce price list with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getCommercePriceList
public CommercePriceList getCommercePriceList(long groupId, long commerceAccountId, long[] commerceAccountGroupIds) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePriceListin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceListByAccountAndChannelAndOrderTypeId
@Deprecated public CommercePriceList getCommercePriceListByAccountAndChannelAndOrderTypeId(long groupId, long commerceAccountId, long commerceChannelId, long commerceOrderTypeId, String type) Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCommercePriceListByAccountAndChannelAndOrderTypeIdin interfaceCommercePriceListLocalService
-
getCommercePriceListByAccountAndChannelId
@Deprecated public CommercePriceList getCommercePriceListByAccountAndChannelId(long groupId, long commerceAccountId, long commerceChannelId, String type) Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCommercePriceListByAccountAndChannelIdin interfaceCommercePriceListLocalService
-
getCommercePriceListByAccountAndOrderTypeId
@Deprecated public CommercePriceList getCommercePriceListByAccountAndOrderTypeId(long groupId, long commerceAccountId, long commerceOrderTypeId, String type) Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCommercePriceListByAccountAndOrderTypeIdin interfaceCommercePriceListLocalService
-
getCommercePriceListByAccountGroupIds
@Deprecated public CommercePriceList getCommercePriceListByAccountGroupIds(long groupId, long[] commerceAccountGroupIds, String type) Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCommercePriceListByAccountGroupIdsin interfaceCommercePriceListLocalService
-
getCommercePriceListByAccountGroupsAndChannelAndOrderTypeId
@Deprecated public CommercePriceList getCommercePriceListByAccountGroupsAndChannelAndOrderTypeId(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, long commerceOrderTypeId, String type) Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCommercePriceListByAccountGroupsAndChannelAndOrderTypeIdin interfaceCommercePriceListLocalService
-
getCommercePriceListByAccountGroupsAndChannelId
@Deprecated public CommercePriceList getCommercePriceListByAccountGroupsAndChannelId(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, String type) Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCommercePriceListByAccountGroupsAndChannelIdin interfaceCommercePriceListLocalService
-
getCommercePriceListByAccountGroupsAndOrderTypeId
@Deprecated public CommercePriceList getCommercePriceListByAccountGroupsAndOrderTypeId(long groupId, long[] commerceAccountGroupIds, long commerceOrderTypeId, String type) Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCommercePriceListByAccountGroupsAndOrderTypeIdin interfaceCommercePriceListLocalService
-
getCommercePriceListByAccountId
@Deprecated public CommercePriceList getCommercePriceListByAccountId(long groupId, long commerceAccountId, String type) Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCommercePriceListByAccountIdin interfaceCommercePriceListLocalService
-
getCommercePriceListByChannelAndOrderTypeId
@Deprecated public CommercePriceList getCommercePriceListByChannelAndOrderTypeId(long groupId, long commerceChannelId, long commerceOrderTypeId, String type) Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCommercePriceListByChannelAndOrderTypeIdin interfaceCommercePriceListLocalService
-
getCommercePriceListByChannelId
@Deprecated public CommercePriceList getCommercePriceListByChannelId(long groupId, long commerceChannelId, String type) Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCommercePriceListByChannelIdin interfaceCommercePriceListLocalService
-
getCommercePriceListByExternalReferenceCode
public CommercePriceList getCommercePriceListByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePriceListByExternalReferenceCodein interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceListByLowestPrice
public CommercePriceList getCommercePriceListByLowestPrice(long groupId, long commerceAccountId, long[] commerceAccountGroupIds, long commerceChannelId, long commerceOrderTypeId, String cPInstanceUuid, String type, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommercePriceListByLowestPricein interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceListByOrderTypeId
@Deprecated public CommercePriceList getCommercePriceListByOrderTypeId(long groupId, long commerceOrderTypeId, String type) Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCommercePriceListByOrderTypeIdin interfaceCommercePriceListLocalService
-
getCommercePriceListByUnqualified
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCommercePriceListByUnqualifiedin interfaceCommercePriceListLocalService
-
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:
getCommercePriceListByUuidAndGroupIdin interfaceCommercePriceListLocalService- Parameters:
uuid- the commerce price list's UUIDgroupId- the primary key of the group- Returns:
- the matching commerce price list
- Throws:
PortalException- if a matching commerce price list could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getCommercePriceLists
Returns a range of all the commerce price lists.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.price.list.model.impl.CommercePriceListModelImpl.- Specified by:
getCommercePriceListsin interfaceCommercePriceListLocalService- Parameters:
start- the lower bound of the range of commerce price listsend- the upper bound of the range of commerce price lists (not inclusive)- Returns:
- the range of commerce price lists
-
getCommercePriceLists
- Specified by:
getCommercePriceListsin interfaceCommercePriceListLocalService
-
getCommercePriceLists
public List<CommercePriceList> getCommercePriceLists(long[] groupIds, long companyId, int start, int end) - Specified by:
getCommercePriceListsin interfaceCommercePriceListLocalService
-
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:
getCommercePriceListsin interfaceCommercePriceListLocalService
-
getCommercePriceListsByAccountAndChannelAndOrderTypeId
public List<CommercePriceList> getCommercePriceListsByAccountAndChannelAndOrderTypeId(long groupId, long commerceAccountId, long commerceChannelId, long commerceOrderTypeId, String type) - Specified by:
getCommercePriceListsByAccountAndChannelAndOrderTypeIdin interfaceCommercePriceListLocalService
-
getCommercePriceListsByAccountAndChannelId
public List<CommercePriceList> getCommercePriceListsByAccountAndChannelId(long groupId, long commerceAccountId, long commerceChannelId, String type) - Specified by:
getCommercePriceListsByAccountAndChannelIdin interfaceCommercePriceListLocalService
-
getCommercePriceListsByAccountAndOrderTypeId
public List<CommercePriceList> getCommercePriceListsByAccountAndOrderTypeId(long groupId, long commerceAccountId, long commerceOrderTypeId, String type) - Specified by:
getCommercePriceListsByAccountAndOrderTypeIdin interfaceCommercePriceListLocalService
-
getCommercePriceListsByAccountGroupIds
public List<CommercePriceList> getCommercePriceListsByAccountGroupIds(long groupId, long[] commerceAccountGroupIds, String type) - Specified by:
getCommercePriceListsByAccountGroupIdsin interfaceCommercePriceListLocalService
-
getCommercePriceListsByAccountGroupsAndChannelAndOrderTypeId
public List<CommercePriceList> getCommercePriceListsByAccountGroupsAndChannelAndOrderTypeId(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, long commerceOrderTypeId, String type) - Specified by:
getCommercePriceListsByAccountGroupsAndChannelAndOrderTypeIdin interfaceCommercePriceListLocalService
-
getCommercePriceListsByAccountGroupsAndChannelId
public List<CommercePriceList> getCommercePriceListsByAccountGroupsAndChannelId(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, String type) - Specified by:
getCommercePriceListsByAccountGroupsAndChannelIdin interfaceCommercePriceListLocalService
-
getCommercePriceListsByAccountGroupsAndOrderTypeId
public List<CommercePriceList> getCommercePriceListsByAccountGroupsAndOrderTypeId(long groupId, long[] commerceAccountGroupIds, long commerceOrderTypeId, String type) - Specified by:
getCommercePriceListsByAccountGroupsAndOrderTypeIdin interfaceCommercePriceListLocalService
-
getCommercePriceListsByAccountId
public List<CommercePriceList> getCommercePriceListsByAccountId(long groupId, long commerceAccountId, String type) - Specified by:
getCommercePriceListsByAccountIdin interfaceCommercePriceListLocalService
-
getCommercePriceListsByChannelAndOrderTypeId
public List<CommercePriceList> getCommercePriceListsByChannelAndOrderTypeId(long groupId, long commerceChannelId, long commerceOrderTypeId, String type) - Specified by:
getCommercePriceListsByChannelAndOrderTypeIdin interfaceCommercePriceListLocalService
-
getCommercePriceListsByChannelId
public List<CommercePriceList> getCommercePriceListsByChannelId(long groupId, long commerceChannelId, String type) - Specified by:
getCommercePriceListsByChannelIdin interfaceCommercePriceListLocalService
-
getCommercePriceListsByOrderTypeId
public List<CommercePriceList> getCommercePriceListsByOrderTypeId(long groupId, long commerceOrderTypeId, String type) - Specified by:
getCommercePriceListsByOrderTypeIdin interfaceCommercePriceListLocalService
-
getCommercePriceListsByUnqualified
- Specified by:
getCommercePriceListsByUnqualifiedin interfaceCommercePriceListLocalService
-
getCommercePriceListsByUuidAndCompanyId
Returns all the commerce price lists matching the UUID and company.- Specified by:
getCommercePriceListsByUuidAndCompanyIdin interfaceCommercePriceListLocalService- Parameters:
uuid- the UUID of the commerce price listscompanyId- 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:
getCommercePriceListsByUuidAndCompanyIdin interfaceCommercePriceListLocalService- Parameters:
uuid- the UUID of the commerce price listscompanyId- the primary key of the companystart- the lower bound of the range of commerce price listsend- the upper bound of the range of commerce price lists (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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:
getCommercePriceListsCountin interfaceCommercePriceListLocalService- Returns:
- the number of commerce price lists
-
getCommercePriceListsCount
- Specified by:
getCommercePriceListsCountin interfaceCommercePriceListLocalService
-
getCommercePriceListsCount
public int getCommercePriceListsCount(long[] groupIds, long companyId, int status) - Specified by:
getCommercePriceListsCountin interfaceCommercePriceListLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceCommercePriceListLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceCommercePriceListLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceCommercePriceListLocalService- 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:
getPersistedModelin interfaceCommercePriceListLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
search
public com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext) - Specified by:
searchin interfaceCommercePriceListLocalService
-
searchByCommercePricingClassId
public List<CommercePriceList> searchByCommercePricingClassId(long commercePricingClassId, String name, int start, int end) - Specified by:
searchByCommercePricingClassIdin interfaceCommercePriceListLocalService
-
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:
searchCommercePriceListsin interfaceCommercePriceListLocalService- 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:
searchCommercePriceListsCountin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
setCatalogBasePriceList
public CommercePriceList setCatalogBasePriceList(long commercePriceListId, boolean catalogBasePriceList) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
setCatalogBasePriceListin interfaceCommercePriceListLocalService- 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:
setCatalogBasePriceListin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommercePriceList
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:
updateCommercePriceListin interfaceCommercePriceListLocalService- Parameters:
commercePriceList- the commerce price list- Returns:
- the commerce price list that was updated
-
updateCommercePriceList
public CommercePriceList updateCommercePriceList(long commercePriceListId, String commerceCurrencyCode, boolean netPrice, long parentCommercePriceListId, String name, double priority, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommercePriceListin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommercePriceList
public CommercePriceList updateCommercePriceList(long commercePriceListId, String commerceCurrencyCode, boolean netPrice, String type, long parentCommercePriceListId, boolean catalogBasePriceList, String name, double priority, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommercePriceListin interfaceCommercePriceListLocalService- 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:
updateCommercePriceListCurrenciesin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public CommercePriceList updateExternalReferenceCode(CommercePriceList commercePriceList, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExternalReferenceCodein interfaceCommercePriceListLocalService- 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:
updateStatusin interfaceCommercePriceListLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceList> getCTPersistence()- Specified by:
getCTPersistencein interfaceCommercePriceListLocalService- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceList>
-
getModelClass
- Specified by:
getModelClassin interfaceCommercePriceListLocalService- Specified by:
getModelClassin interfacecom.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, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceCommercePriceListLocalService- Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceList>- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommercePriceListLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommercePriceListLocalService>
-