public class CommercePriceListLocalServiceWrapper extends java.lang.Object implements CommercePriceListLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceListLocalService>
CommercePriceListLocalService.CommercePriceListLocalService| Constructor and Description |
|---|
CommercePriceListLocalServiceWrapper() |
CommercePriceListLocalServiceWrapper(CommercePriceListLocalService commercePriceListLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommercePriceList |
addCatalogBaseCommercePriceList(long groupId,
long userId,
long commerceCurrencyId,
java.lang.String type,
java.lang.String name,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePriceList |
addCommerceCatalogBasePriceList(long groupId,
long userId,
long commerceCurrencyId,
java.lang.String type,
java.lang.String name,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Athanasius (7.3.x)
|
CommercePriceList |
addCommercePriceList(CommercePriceList commercePriceList)
Adds the commerce price list to the database.
|
CommercePriceList |
addCommercePriceList(java.lang.String externalReferenceCode,
long groupId,
long userId,
long commerceCurrencyId,
boolean netPrice,
java.lang.String type,
long parentCommercePriceListId,
boolean catalogBasePriceList,
java.lang.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) |
CommercePriceList |
addOrUpdateCommercePriceList(java.lang.String externalReferenceCode,
long groupId,
long userId,
long commercePriceListId,
long commerceCurrencyId,
boolean netPrice,
java.lang.String type,
long parentCommercePriceListId,
boolean catalogBasePriceList,
java.lang.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) |
void |
checkCommercePriceLists() |
void |
cleanPriceListCache(long companyId) |
CommercePriceList |
createCommercePriceList(long commercePriceListId)
Creates a new commerce price list with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommercePriceList |
deleteCommercePriceList(CommercePriceList commercePriceList)
Deletes the commerce price list from the database.
|
CommercePriceList |
deleteCommercePriceList(long commercePriceListId)
Deletes the commerce price list with the primary key from the database.
|
void |
deleteCommercePriceLists(long companyId) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
CommercePriceList |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommercePriceList |
fetchCatalogBaseCommercePriceList(long groupId) |
CommercePriceList |
fetchCatalogBaseCommercePriceListByType(long groupId,
java.lang.String type) |
CommercePriceList |
fetchCommerceCatalogBasePriceList(long groupId)
Deprecated.
As of Athanasius (7.3.x)
|
CommercePriceList |
fetchCommerceCatalogBasePriceListByType(long groupId,
java.lang.String type)
Deprecated.
As of Athanasius (7.3.x)
|
CommercePriceList |
fetchCommercePriceList(long commercePriceListId) |
CommercePriceList |
fetchCommercePriceListByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce price list with the matching external reference code and company.
|
CommercePriceList |
fetchCommercePriceListByReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
fetchCommercePriceListByExternalReferenceCode(long, String) |
CommercePriceList |
fetchCommercePriceListByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the commerce price list matching the UUID and group.
|
CommercePriceList |
forceDeleteCommercePriceList(CommercePriceList commercePriceList) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
CommercePriceList |
getCatalogBaseCommercePriceList(long groupId) |
CommercePriceList |
getCatalogBaseCommercePriceListByType(long groupId,
java.lang.String type) |
CommercePriceList |
getCommerceCatalogBasePriceList(long groupId)
Deprecated.
As of Athanasius (7.3.x)
|
CommercePriceList |
getCommerceCatalogBasePriceListByType(long groupId,
java.lang.String type)
Deprecated.
As of Athanasius (7.3.x)
|
CommercePriceList |
getCommercePriceList(long commercePriceListId)
Returns the commerce price list with the primary key.
|
java.util.Optional<CommercePriceList> |
getCommercePriceList(long companyId,
long groupId,
long commerceAccountId,
long[] commerceAccountGroupIds) |
CommercePriceList |
getCommercePriceListByAccountAndChannelAndOrderTypeId(long groupId,
long commerceAccountId,
long commerceChannelId,
long commerceOrderTypeId,
java.lang.String type) |
CommercePriceList |
getCommercePriceListByAccountAndChannelId(long groupId,
long commerceAccountId,
long commerceChannelId,
java.lang.String type) |
CommercePriceList |
getCommercePriceListByAccountAndOrderTypeId(long groupId,
long commerceAccountId,
long commerceOrderTypeId,
java.lang.String type) |
CommercePriceList |
getCommercePriceListByAccountGroupAndOrderTypeId(long groupId,
long[] commerceAccountGroupIds,
long commerceOrderTypeId,
java.lang.String type) |
CommercePriceList |
getCommercePriceListByAccountGroupIds(long groupId,
long[] commerceAccountGroupIds,
java.lang.String type) |
CommercePriceList |
getCommercePriceListByAccountGroupsAndChannelAndOrderTypeId(long groupId,
long[] commerceAccountGroupIds,
long commerceChannelId,
long commerceOrderTypeId,
java.lang.String type) |
CommercePriceList |
getCommercePriceListByAccountGroupsAndChannelId(long groupId,
long[] commerceAccountGroupIds,
long commerceChannelId,
java.lang.String type) |
CommercePriceList |
getCommercePriceListByAccountGroupsAndOrderTypeId(long groupId,
long[] commerceAccountGroupIds,
long commerceOrderTypeId,
java.lang.String type) |
CommercePriceList |
getCommercePriceListByAccountId(long groupId,
long commerceAccountId,
java.lang.String type) |
CommercePriceList |
getCommercePriceListByChannelAndOrderTypeId(long groupId,
long commerceChannelId,
long commerceOrderTypeId,
java.lang.String type) |
CommercePriceList |
getCommercePriceListByChannelId(long groupId,
long commerceChannelId,
java.lang.String type) |
CommercePriceList |
getCommercePriceListByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce price list with the matching external reference code and company.
|
CommercePriceList |
getCommercePriceListByLowestPrice(long groupId,
long commerceAccountId,
long[] commerceAccountGroupIds,
long commerceChannelId,
long commerceOrderTypeId,
java.lang.String cPInstanceUuid,
java.lang.String type) |
CommercePriceList |
getCommercePriceListByOrderTypeId(long groupId,
long commerceOrderTypeId,
java.lang.String type) |
CommercePriceList |
getCommercePriceListByUnqualified(long groupId,
java.lang.String type) |
CommercePriceList |
getCommercePriceListByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the commerce price list matching the UUID and group.
|
java.util.List<CommercePriceList> |
getCommercePriceLists(int start,
int end)
Returns a range of all the commerce price lists.
|
java.util.List<CommercePriceList> |
getCommercePriceLists(long[] groupIds,
long companyId,
int start,
int end) |
java.util.List<CommercePriceList> |
getCommercePriceLists(long[] groupIds,
long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) |
java.util.List<CommercePriceList> |
getCommercePriceLists(long companyId,
int start,
int end) |
java.util.List<CommercePriceList> |
getCommercePriceListsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the commerce price lists matching the UUID and company.
|
java.util.List<CommercePriceList> |
getCommercePriceListsByUuidAndCompanyId(java.lang.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.
|
int |
getCommercePriceListsCount()
Returns the number of commerce price lists.
|
int |
getCommercePriceListsCount(long[] groupIds,
long companyId,
int status) |
int |
getCommercePriceListsCount(long commercePricingClassId,
java.lang.String name) |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceList> |
getCTPersistence() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.Class<CommercePriceList> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
CommercePriceListLocalService |
getWrappedService() |
com.liferay.portal.kernel.search.Hits |
search(com.liferay.portal.kernel.search.SearchContext searchContext) |
java.util.List<CommercePriceList> |
searchByCommercePricingClassId(long commercePricingClassId,
java.lang.String name,
int start,
int end) |
com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePriceList> |
searchCommercePriceLists(long companyId,
long[] groupIds,
java.lang.String keywords,
int status,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
int |
searchCommercePriceListsCount(long companyId,
long[] groupIds,
java.lang.String keywords,
int status) |
CommercePriceList |
setCatalogBasePriceList(long commercePriceListId,
boolean catalogBasePriceList) |
void |
setCatalogBasePriceList(long groupId,
long commercePriceListId,
java.lang.String type) |
void |
setWrappedService(CommercePriceListLocalService commercePriceListLocalService) |
CommercePriceList |
updateCommercePriceList(CommercePriceList commercePriceList)
Updates the commerce price list in the database or adds it if it does not yet exist.
|
CommercePriceList |
updateCommercePriceList(long commercePriceListId,
long commerceCurrencyId,
boolean netPrice,
long parentCommercePriceListId,
java.lang.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) |
CommercePriceList |
updateCommercePriceList(long commercePriceListId,
long commerceCurrencyId,
boolean netPrice,
java.lang.String type,
long parentCommercePriceListId,
boolean catalogBasePriceList,
java.lang.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) |
void |
updateCommercePriceListCurrencies(long commerceCurrencyId) |
CommercePriceList |
updateExternalReferenceCode(CommercePriceList commercePriceList,
java.lang.String externalReferenceCode) |
CommercePriceList |
updateStatus(long userId,
long commercePriceListId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceList>,R,E> updateUnsafeFunction) |
public CommercePriceListLocalServiceWrapper()
public CommercePriceListLocalServiceWrapper(CommercePriceListLocalService commercePriceListLocalService)
public CommercePriceList addCatalogBaseCommercePriceList(long groupId, long userId, long commerceCurrencyId, java.lang.String type, java.lang.String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCatalogBaseCommercePriceList in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public CommercePriceList addCommerceCatalogBasePriceList(long groupId, long userId, long commerceCurrencyId, java.lang.String type, java.lang.String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceCatalogBasePriceList in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceList addCommercePriceList(CommercePriceList commercePriceList)
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.
addCommercePriceList in interface CommercePriceListLocalServicecommercePriceList - the commerce price listpublic CommercePriceList addCommercePriceList(java.lang.String externalReferenceCode, long groupId, long userId, long commerceCurrencyId, boolean netPrice, java.lang.String type, long parentCommercePriceListId, boolean catalogBasePriceList, java.lang.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
addCommercePriceList in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceList addOrUpdateCommercePriceList(java.lang.String externalReferenceCode, long groupId, long userId, long commercePriceListId, long commerceCurrencyId, boolean netPrice, java.lang.String type, long parentCommercePriceListId, boolean catalogBasePriceList, java.lang.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
addOrUpdateCommercePriceList in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void checkCommercePriceLists()
throws com.liferay.portal.kernel.exception.PortalException
checkCommercePriceLists in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void cleanPriceListCache(long companyId)
cleanPriceListCache in interface CommercePriceListLocalServicepublic CommercePriceList createCommercePriceList(long commercePriceListId)
createCommercePriceList in interface CommercePriceListLocalServicecommercePriceListId - the primary key for the new commerce price listpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CommercePriceListLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommercePriceList deleteCommercePriceList(CommercePriceList commercePriceList) throws com.liferay.portal.kernel.exception.PortalException
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.
deleteCommercePriceList in interface CommercePriceListLocalServicecommercePriceList - the commerce price listPortalExceptionpublic CommercePriceList deleteCommercePriceList(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
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.
deleteCommercePriceList in interface CommercePriceListLocalServicecommercePriceListId - the primary key of the commerce price listPortalException - if a commerce price list with the primary key could not be foundpublic void deleteCommercePriceLists(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommercePriceLists in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommercePriceListLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommercePriceListLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommercePriceListLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommercePriceListLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommercePriceListLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.price.list.model.impl.CommercePriceListModelImpl.
dynamicQuery in interface CommercePriceListLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.price.list.model.impl.CommercePriceListModelImpl.
dynamicQuery in interface CommercePriceListLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface CommercePriceListLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommercePriceListLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommercePriceList fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchByExternalReferenceCode in interface CommercePriceListLocalServicepublic CommercePriceList fetchCatalogBaseCommercePriceList(long groupId) throws com.liferay.portal.kernel.exception.PortalException
fetchCatalogBaseCommercePriceList in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceList fetchCatalogBaseCommercePriceListByType(long groupId, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
fetchCatalogBaseCommercePriceListByType in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public CommercePriceList fetchCommerceCatalogBasePriceList(long groupId) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceCatalogBasePriceList in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public CommercePriceList fetchCommerceCatalogBasePriceListByType(long groupId, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceCatalogBasePriceListByType in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceList fetchCommercePriceList(long commercePriceListId)
fetchCommercePriceList in interface CommercePriceListLocalServicepublic CommercePriceList fetchCommercePriceListByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommercePriceListByExternalReferenceCode in interface CommercePriceListLocalServicecompanyId - the primary key of the companyexternalReferenceCode - the commerce price list's external reference codenull if a matching commerce price list could not be found@Deprecated public CommercePriceList fetchCommercePriceListByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommercePriceListByExternalReferenceCode(long, String)fetchCommercePriceListByReferenceCode in interface CommercePriceListLocalServicepublic CommercePriceList fetchCommercePriceListByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCommercePriceListByUuidAndGroupId in interface CommercePriceListLocalServiceuuid - the commerce price list's UUIDgroupId - the primary key of the groupnull if a matching commerce price list could not be foundpublic CommercePriceList forceDeleteCommercePriceList(CommercePriceList commercePriceList) throws com.liferay.portal.kernel.exception.PortalException
forceDeleteCommercePriceList in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommercePriceListLocalServicepublic CommercePriceList getCatalogBaseCommercePriceList(long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCatalogBaseCommercePriceList in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceList getCatalogBaseCommercePriceListByType(long groupId, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
getCatalogBaseCommercePriceListByType in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public CommercePriceList getCommerceCatalogBasePriceList(long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceCatalogBasePriceList in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public CommercePriceList getCommerceCatalogBasePriceListByType(long groupId, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
getCommerceCatalogBasePriceListByType in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceList getCommercePriceList(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceList in interface CommercePriceListLocalServicecommercePriceListId - the primary key of the commerce price listPortalException - if a commerce price list with the primary key could not be foundpublic java.util.Optional<CommercePriceList> getCommercePriceList(long companyId, long groupId, long commerceAccountId, long[] commerceAccountGroupIds) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceList in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceList getCommercePriceListByAccountAndChannelAndOrderTypeId(long groupId, long commerceAccountId, long commerceChannelId, long commerceOrderTypeId, java.lang.String type)
getCommercePriceListByAccountAndChannelAndOrderTypeId in interface CommercePriceListLocalServicepublic CommercePriceList getCommercePriceListByAccountAndChannelId(long groupId, long commerceAccountId, long commerceChannelId, java.lang.String type)
getCommercePriceListByAccountAndChannelId in interface CommercePriceListLocalServicepublic CommercePriceList getCommercePriceListByAccountAndOrderTypeId(long groupId, long commerceAccountId, long commerceOrderTypeId, java.lang.String type)
getCommercePriceListByAccountAndOrderTypeId in interface CommercePriceListLocalServicepublic CommercePriceList getCommercePriceListByAccountGroupAndOrderTypeId(long groupId, long[] commerceAccountGroupIds, long commerceOrderTypeId, java.lang.String type)
getCommercePriceListByAccountGroupAndOrderTypeId in interface CommercePriceListLocalServicepublic CommercePriceList getCommercePriceListByAccountGroupIds(long groupId, long[] commerceAccountGroupIds, java.lang.String type)
getCommercePriceListByAccountGroupIds in interface CommercePriceListLocalServicepublic CommercePriceList getCommercePriceListByAccountGroupsAndChannelAndOrderTypeId(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, long commerceOrderTypeId, java.lang.String type)
getCommercePriceListByAccountGroupsAndChannelAndOrderTypeId in interface CommercePriceListLocalServicepublic CommercePriceList getCommercePriceListByAccountGroupsAndChannelId(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, java.lang.String type)
getCommercePriceListByAccountGroupsAndChannelId in interface CommercePriceListLocalServicepublic CommercePriceList getCommercePriceListByAccountGroupsAndOrderTypeId(long groupId, long[] commerceAccountGroupIds, long commerceOrderTypeId, java.lang.String type)
getCommercePriceListByAccountGroupsAndOrderTypeId in interface CommercePriceListLocalServicepublic CommercePriceList getCommercePriceListByAccountId(long groupId, long commerceAccountId, java.lang.String type)
getCommercePriceListByAccountId in interface CommercePriceListLocalServicepublic CommercePriceList getCommercePriceListByChannelAndOrderTypeId(long groupId, long commerceChannelId, long commerceOrderTypeId, java.lang.String type)
getCommercePriceListByChannelAndOrderTypeId in interface CommercePriceListLocalServicepublic CommercePriceList getCommercePriceListByChannelId(long groupId, long commerceChannelId, java.lang.String type)
getCommercePriceListByChannelId in interface CommercePriceListLocalServicepublic CommercePriceList getCommercePriceListByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceListByExternalReferenceCode in interface CommercePriceListLocalServicecompanyId - the primary key of the companyexternalReferenceCode - the commerce price list's external reference codePortalException - if a matching commerce price list could not be foundpublic CommercePriceList getCommercePriceListByLowestPrice(long groupId, long commerceAccountId, long[] commerceAccountGroupIds, long commerceChannelId, long commerceOrderTypeId, java.lang.String cPInstanceUuid, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceListByLowestPrice in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceList getCommercePriceListByOrderTypeId(long groupId, long commerceOrderTypeId, java.lang.String type)
getCommercePriceListByOrderTypeId in interface CommercePriceListLocalServicepublic CommercePriceList getCommercePriceListByUnqualified(long groupId, java.lang.String type)
getCommercePriceListByUnqualified in interface CommercePriceListLocalServicepublic CommercePriceList getCommercePriceListByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceListByUuidAndGroupId in interface CommercePriceListLocalServiceuuid - the commerce price list's UUIDgroupId - the primary key of the groupPortalException - if a matching commerce price list could not be foundpublic java.util.List<CommercePriceList> getCommercePriceLists(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.price.list.model.impl.CommercePriceListModelImpl.
getCommercePriceLists in interface CommercePriceListLocalServicestart - the lower bound of the range of commerce price listsend - the upper bound of the range of commerce price lists (not inclusive)public java.util.List<CommercePriceList> getCommercePriceLists(long companyId, int start, int end)
getCommercePriceLists in interface CommercePriceListLocalServicepublic java.util.List<CommercePriceList> getCommercePriceLists(long[] groupIds, long companyId, int start, int end)
getCommercePriceLists in interface CommercePriceListLocalServicepublic java.util.List<CommercePriceList> getCommercePriceLists(long[] groupIds, long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
getCommercePriceLists in interface CommercePriceListLocalServicepublic java.util.List<CommercePriceList> getCommercePriceListsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCommercePriceListsByUuidAndCompanyId in interface CommercePriceListLocalServiceuuid - the UUID of the commerce price listscompanyId - the primary key of the companypublic java.util.List<CommercePriceList> getCommercePriceListsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator)
getCommercePriceListsByUuidAndCompanyId in interface CommercePriceListLocalServiceuuid - 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 (optionally null)public int getCommercePriceListsCount()
getCommercePriceListsCount in interface CommercePriceListLocalServicepublic int getCommercePriceListsCount(long commercePricingClassId,
java.lang.String name)
getCommercePriceListsCount in interface CommercePriceListLocalServicepublic int getCommercePriceListsCount(long[] groupIds,
long companyId,
int status)
getCommercePriceListsCount in interface CommercePriceListLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface CommercePriceListLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommercePriceListLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommercePriceListLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommercePriceListLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext)
search in interface CommercePriceListLocalServicepublic java.util.List<CommercePriceList> searchByCommercePricingClassId(long commercePricingClassId, java.lang.String name, int start, int end)
searchByCommercePricingClassId in interface CommercePriceListLocalServicepublic com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePriceList> searchCommercePriceLists(long companyId, long[] groupIds, java.lang.String keywords, int status, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchCommercePriceLists in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int searchCommercePriceListsCount(long companyId,
long[] groupIds,
java.lang.String keywords,
int status)
throws com.liferay.portal.kernel.exception.PortalException
searchCommercePriceListsCount in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceList setCatalogBasePriceList(long commercePriceListId, boolean catalogBasePriceList) throws com.liferay.portal.kernel.exception.PortalException
setCatalogBasePriceList in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void setCatalogBasePriceList(long groupId,
long commercePriceListId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.PortalException
setCatalogBasePriceList in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceList updateCommercePriceList(CommercePriceList commercePriceList)
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.
updateCommercePriceList in interface CommercePriceListLocalServicecommercePriceList - the commerce price listpublic CommercePriceList updateCommercePriceList(long commercePriceListId, long commerceCurrencyId, boolean netPrice, long parentCommercePriceListId, java.lang.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
updateCommercePriceList in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceList updateCommercePriceList(long commercePriceListId, long commerceCurrencyId, boolean netPrice, java.lang.String type, long parentCommercePriceListId, boolean catalogBasePriceList, java.lang.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
updateCommercePriceList in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void updateCommercePriceListCurrencies(long commerceCurrencyId)
throws com.liferay.portal.kernel.exception.PortalException
updateCommercePriceListCurrencies in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceList updateExternalReferenceCode(CommercePriceList commercePriceList, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
updateExternalReferenceCode in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommercePriceList updateStatus(long userId, long commercePriceListId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, java.util.Map<java.lang.String,java.io.Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException
updateStatus in interface CommercePriceListLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceList> getCTPersistence()
getCTPersistence in interface CommercePriceListLocalServicegetCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceList>public java.lang.Class<CommercePriceList> getModelClass()
getModelClass in interface CommercePriceListLocalServicegetModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceList>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceList>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface CommercePriceListLocalServiceupdateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommercePriceList>E extends java.lang.Throwablepublic CommercePriceListLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceListLocalService>public void setWrappedService(CommercePriceListLocalService commercePriceListLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceListLocalService>