Class CPDefinitionLocalServiceWrapper
- All Implemented Interfaces:
CPDefinitionLocalService,com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<CPDefinition>,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<CPDefinitionLocalService>
CPDefinitionLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCPDefinitionLocalServiceWrapper(CPDefinitionLocalService cpDefinitionLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddCPDefinition(CPDefinition cpDefinition) Adds the cp definition to the database.addCPDefinition(String externalReferenceCode, long userId, long groupId, long cpTaxCategoryId, boolean accountGroupFilterEnabled, boolean channelFilterEnabled, String ddmStructureKey, String defaultSku, long deliveryMaxSubscriptionCycles, boolean deliverySubscriptionEnabled, int deliverySubscriptionLength, String deliverySubscriptionType, com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties, double depth, Map<Locale, String> descriptionMap, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, boolean freeShipping, double height, boolean ignoreSKUCombinations, long maxSubscriptionCycles, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, Map<Locale, String> metaTitleMap, Map<Locale, String> nameMap, boolean neverExpire, String productTypeName, boolean published, boolean shipSeparately, boolean shippable, double shippingExtraPrice, Map<Locale, String> shortDescriptionMap, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, boolean taxExempt, boolean telcoOrElectronics, Map<Locale, String> urlTitleMap, double weight, double width, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCPDefinition(String externalReferenceCode, long userId, long groupId, long cpDefinitionId, long cpTaxCategoryId, boolean accountGroupFilterEnabled, boolean channelFilterEnabled, String ddmStructureKey, String defaultSku, long deliveryMaxSubscriptionCycles, boolean deliverySubscriptionEnabled, int deliverySubscriptionLength, String deliverySubscriptionType, com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties, double depth, Map<Locale, String> descriptionMap, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, boolean freeShipping, double height, boolean ignoreSKUCombinations, long maxSubscriptionCycles, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, Map<Locale, String> metaTitleMap, Map<Locale, String> nameMap, boolean neverExpire, String productTypeName, boolean published, boolean shipSeparately, boolean shippable, double shippingExtraPrice, Map<Locale, String> shortDescriptionMap, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, boolean taxExempt, boolean telcoOrElectronics, Map<Locale, String> urlTitleMap, double weight, double width, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidcloneCPDefinition(long userId, long cpDefinitionId, long groupId, com.liferay.portal.kernel.service.ServiceContext serviceContext) copyCPDefinition(long sourceCPDefinitionId) copyCPDefinition(long sourceCPDefinitionId, long groupId, int status) createCPDefinition(long CPDefinitionId) Creates a new cp definition with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) voiddeleteAssetCategoryCPDefinition(long cpDefinitionId, long categoryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) deleteCPDefinition(long CPDefinitionId) Deletes the cp definition with the primary key from the database.deleteCPDefinition(CPDefinition cpDefinition) Deletes the cp definition from the database.voiddeleteCPDefinitions(long companyId) voiddeleteCPDefinitions(long cProductId, int status) 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.fetchCPDefinition(long CPDefinitionId) fetchCPDefinitionByCProductExternalReferenceCode(String externalReferenceCode, long companyId, boolean excludeDraft) fetchCPDefinitionByCProductExternalReferenceCode(String externalReferenceCode, long companyId, int status) fetchCPDefinitionByCProductId(long cProductId, boolean excludeDraft) fetchCPDefinitionByCProductId(long cProductId, int status) fetchCPDefinitionByFriendlyURL(long groupId, String friendlyURL) fetchCPDefinitionByUuidAndGroupId(String uuid, long groupId) Returns the cp definition matching the UUID and group.fetchCPDefinitionLocalization(long CPDefinitionId, String languageId) findByExpirationDate(Date expirationDate, com.liferay.portal.kernel.dao.orm.QueryDefinition<CPDefinition> queryDefinition) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?> getCPDefinition(long CPDefinitionId) Returns the cp definition with the primary key.getCPDefinitionByCProductId(long cProductId) getCPDefinitionByUuidAndGroupId(String uuid, long groupId) Returns the cp definition matching the UUID and group.getCPDefinitionDescriptionMap(long cpDefinitionId) getCPDefinitionLocalization(long CPDefinitionId, String languageId) getCPDefinitionLocalizationLanguageIds(long cpDefinitionId) getCPDefinitionLocalizations(long CPDefinitionId) getCPDefinitionMetaDescriptionMap(long cpDefinitionId) getCPDefinitionMetaKeywordsMap(long cpDefinitionId) getCPDefinitionMetaTitleMap(long cpDefinitionId) getCPDefinitionNameMap(long cpDefinitionId) getCPDefinitions(int start, int end) Returns a range of all the cp definitions.getCPDefinitions(long groupId, boolean subscriptionEnabled) getCPDefinitions(long groupId, int status, int start, int end) getCPDefinitions(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) getCPDefinitions(long companyId, long accountEntryId, long[] accountGroupIds, long[] commerceChannelGroupIds, boolean published, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) getCPDefinitionsByUuidAndCompanyId(String uuid, long companyId) Returns all the cp definitions matching the UUID and company.getCPDefinitionsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) Returns a range of cp definitions matching the UUID and company.intReturns the number of cp definitions.intgetCPDefinitionsCount(long groupId, boolean subscriptionEnabled) intgetCPDefinitionsCount(long groupId, int status) getCPDefinitionShortDescriptionMap(long cpDefinitionId) getCProductCPDefinition(long cProductId, int version) getCProductCPDefinitions(long cProductId, int status, int start, int end) getCProductCPDefinitions(long cProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) intgetCProductCPDefinitionsCount(long cProductId, int status) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinition> getDefaultImageCPAttachmentFileEntry(long cpDefinitionId) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) List<com.liferay.portal.kernel.search.facet.Facet> getFacets(String filterFields, String filterValues, com.liferay.portal.kernel.search.SearchContext searchContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetLayoutPageTemplateEntryUuid(long groupId, long cpDefinitionId) getLayoutUuid(long groupId, long cpDefinitionId) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) getUrlTitleMap(long cpDefinitionId) getUrlTitleMapAsXML(long cpDefinitionId) booleanhasChildCPDefinitions(long cpDefinitionId) booleanisPublishedCPDefinition(long cpDefinitionId) booleanisPublishedCPDefinition(CPDefinition cpDefinition) booleanisVersionable(long cpDefinitionId) booleanisVersionable(long cpDefinitionId, jakarta.servlet.http.HttpServletRequest httpServletRequest) booleanisVersionable(CPDefinition cpDefinition) voidmaintainVersionThreshold(long companyId, long cProductId) com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinition> searchCPDefinitions(long companyId, long[] groupIds, String keywords, int status, boolean ignoreCommerceAccountGroup, int start, int end, com.liferay.portal.kernel.search.Sort sort) com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinition> searchCPDefinitions(long companyId, long[] groupIds, String keywords, String filterFields, String filterValues, int start, int end, com.liferay.portal.kernel.search.Sort sort) com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinition> searchCPDefinitionsByChannelGroupId(long companyId, long[] groupIds, long commerceChannelGroupId, String keywords, int status, boolean ignoreCommerceAccountGroup, int start, int end, com.liferay.portal.kernel.search.Sort sort) voidsetWrappedService(CPDefinitionLocalService cpDefinitionLocalService) voidupdateAsset(long userId, CPDefinition cpDefinition, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds, Double priority) updateCPDefinition(long cpDefinitionId, long cpTaxCategoryId, boolean accountGroupFilterEnabled, boolean channelFilterEnabled, String ddmStructureKey, double depth, Map<Locale, String> descriptionMap, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, boolean freeShipping, double height, boolean ignoreSKUCombinations, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, Map<Locale, String> metaTitleMap, Map<Locale, String> nameMap, boolean neverExpire, boolean published, boolean shipSeparately, boolean shippable, double shippingExtraPrice, Map<Locale, String> shortDescriptionMap, boolean taxExempt, boolean telcoOrElectronics, Map<Locale, String> urlTitleMap, double weight, double width, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCPDefinition(CPDefinition cpDefinition) Updates the cp definition in the database or adds it if it does not yet exist.updateCPDefinitionAccountGroupFilter(long cpDefinitionId, boolean enable) updateCPDefinitionCategorization(long cpDefinitionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCPDefinitionChannelFilter(long cpDefinitionId, boolean enable) updateCPDefinitionIgnoreSKUCombinations(long cpDefinitionId, boolean ignoreSKUCombinations, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCPDefinitionLocalization(CPDefinition cpDefinition, String languageId, String description, String metaDescription, String metaKeywords, String metaTitle, String name, String shortDescription) updateCPDefinitionLocalizations(CPDefinition cpDefinition, Map<String, String> descriptionMap, Map<String, String> metaDescriptionMap, Map<String, String> metaKeywordsMap, Map<String, String> metaTitleMap, Map<String, String> nameMap, Map<String, String> shortDescriptionMap) voidupdateCPDefinitionsByCPTaxCategoryId(long cpTaxCategoryId) updateExternalReferenceCode(String externalReferenceCode, long cpDefinitionId) updateShippingInfo(long cpDefinitionId, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateStatus(long userId, long cpDefinitionId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, Map<String, Serializable> workflowContext) updateSubscriptionInfo(long cpDefinitionId, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, boolean deliverySubscriptionEnabled, int deliverySubscriptionLength, String deliverySubscriptionType, com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties, long deliveryMaxSubscriptionCycles) updateTaxCategoryInfo(long cpDefinitionId, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinition>, 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
dslQuery, dslQueryCount, fetchPersistedModel, fetchPersistedModels
-
Constructor Details
-
CPDefinitionLocalServiceWrapper
public CPDefinitionLocalServiceWrapper() -
CPDefinitionLocalServiceWrapper
-
-
Method Details
-
addCPDefinition
Adds the cp definition to the database. Also notifies the appropriate model listeners.Important: Inspect CPDefinitionLocalServiceImpl 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:
addCPDefinitionin interfaceCPDefinitionLocalService- Parameters:
cpDefinition- the cp definition- Returns:
- the cp definition that was added
-
addCPDefinition
public CPDefinition addCPDefinition(String externalReferenceCode, long userId, long groupId, long cpTaxCategoryId, boolean accountGroupFilterEnabled, boolean channelFilterEnabled, String ddmStructureKey, String defaultSku, long deliveryMaxSubscriptionCycles, boolean deliverySubscriptionEnabled, int deliverySubscriptionLength, String deliverySubscriptionType, com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties, double depth, Map<Locale, String> descriptionMap, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, boolean freeShipping, double height, boolean ignoreSKUCombinations, long maxSubscriptionCycles, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, Map<Locale, String> metaTitleMap, Map<Locale, String> nameMap, boolean neverExpire, String productTypeName, boolean published, boolean shipSeparately, boolean shippable, double shippingExtraPrice, Map<Locale, String> shortDescriptionMap, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, boolean taxExempt, boolean telcoOrElectronics, Map<Locale, String> urlTitleMap, double weight, double width, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addCPDefinitionin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCPDefinition
public CPDefinition addOrUpdateCPDefinition(String externalReferenceCode, long userId, long groupId, long cpDefinitionId, long cpTaxCategoryId, boolean accountGroupFilterEnabled, boolean channelFilterEnabled, String ddmStructureKey, String defaultSku, long deliveryMaxSubscriptionCycles, boolean deliverySubscriptionEnabled, int deliverySubscriptionLength, String deliverySubscriptionType, com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties, double depth, Map<Locale, String> descriptionMap, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, boolean freeShipping, double height, boolean ignoreSKUCombinations, long maxSubscriptionCycles, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, Map<Locale, String> metaTitleMap, Map<Locale, String> nameMap, boolean neverExpire, String productTypeName, boolean published, boolean shipSeparately, boolean shippable, double shippingExtraPrice, Map<Locale, String> shortDescriptionMap, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, boolean taxExempt, boolean telcoOrElectronics, Map<Locale, String> urlTitleMap, double weight, double width, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addOrUpdateCPDefinitionin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
checkCPDefinitions
public void checkCPDefinitions() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
checkCPDefinitionsin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
cloneCPDefinition
public CPDefinition cloneCPDefinition(long userId, long cpDefinitionId, long groupId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
cloneCPDefinitionin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyCPDefinition
public CPDefinition copyCPDefinition(long sourceCPDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
copyCPDefinitionin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyCPDefinition
public CPDefinition copyCPDefinition(long sourceCPDefinitionId, long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
copyCPDefinitionin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCPDefinition
Creates a new cp definition with the primary key. Does not add the cp definition to the database.- Specified by:
createCPDefinitionin interfaceCPDefinitionLocalService- Parameters:
CPDefinitionId- the primary key for the new cp definition- Returns:
- the new cp definition
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceCPDefinitionLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
deleteAssetCategoryCPDefinition
public void deleteAssetCategoryCPDefinition(long cpDefinitionId, long categoryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteAssetCategoryCPDefinitionin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCPDefinition
public CPDefinition deleteCPDefinition(CPDefinition cpDefinition) throws com.liferay.portal.kernel.exception.PortalException Deletes the cp definition from the database. Also notifies the appropriate model listeners.Important: Inspect CPDefinitionLocalServiceImpl 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:
deleteCPDefinitionin interfaceCPDefinitionLocalService- Parameters:
cpDefinition- the cp definition- Returns:
- the cp definition that was removed
-
deleteCPDefinition
public CPDefinition deleteCPDefinition(long CPDefinitionId) throws com.liferay.portal.kernel.exception.PortalException Deletes the cp definition with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect CPDefinitionLocalServiceImpl 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:
deleteCPDefinitionin interfaceCPDefinitionLocalService- Parameters:
CPDefinitionId- the primary key of the cp definition- Returns:
- the cp definition that was removed
-
deleteCPDefinitions
public void deleteCPDefinitions(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCPDefinitionsin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCPDefinitions
public void deleteCPDefinitions(long cProductId, int status) - Specified by:
deleteCPDefinitionsin interfaceCPDefinitionLocalService
-
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 interfaceCPDefinitionLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceCPDefinitionLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceCPDefinitionLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceCPDefinitionLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceCPDefinitionLocalService- 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.product.model.impl.CPDefinitionModelImpl.- Specified by:
dynamicQueryin interfaceCPDefinitionLocalService- 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.product.model.impl.CPDefinitionModelImpl.- Specified by:
dynamicQueryin interfaceCPDefinitionLocalService- 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 interfaceCPDefinitionLocalService- 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 interfaceCPDefinitionLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCPDefinition
- Specified by:
fetchCPDefinitionin interfaceCPDefinitionLocalService
-
fetchCPDefinitionByCProductExternalReferenceCode
public CPDefinition fetchCPDefinitionByCProductExternalReferenceCode(String externalReferenceCode, long companyId, boolean excludeDraft) - Specified by:
fetchCPDefinitionByCProductExternalReferenceCodein interfaceCPDefinitionLocalService
-
fetchCPDefinitionByCProductExternalReferenceCode
public CPDefinition fetchCPDefinitionByCProductExternalReferenceCode(String externalReferenceCode, long companyId, int status) - Specified by:
fetchCPDefinitionByCProductExternalReferenceCodein interfaceCPDefinitionLocalService
-
fetchCPDefinitionByCProductId
- Specified by:
fetchCPDefinitionByCProductIdin interfaceCPDefinitionLocalService
-
fetchCPDefinitionByCProductId
- Specified by:
fetchCPDefinitionByCProductIdin interfaceCPDefinitionLocalService
-
fetchCPDefinitionByFriendlyURL
- Specified by:
fetchCPDefinitionByFriendlyURLin interfaceCPDefinitionLocalService
-
fetchCPDefinitionByUuidAndGroupId
Returns the cp definition matching the UUID and group.- Specified by:
fetchCPDefinitionByUuidAndGroupIdin interfaceCPDefinitionLocalService- Parameters:
uuid- the cp definition's UUIDgroupId- the primary key of the group- Returns:
- the matching cp definition, or
nullif a matching cp definition could not be found
-
fetchCPDefinitionLocalization
public CPDefinitionLocalization fetchCPDefinitionLocalization(long CPDefinitionId, String languageId) - Specified by:
fetchCPDefinitionLocalizationin interfaceCPDefinitionLocalService
-
findByExpirationDate
public List<CPDefinition> findByExpirationDate(Date expirationDate, com.liferay.portal.kernel.dao.orm.QueryDefinition<CPDefinition> queryDefinition) - Specified by:
findByExpirationDatein interfaceCPDefinitionLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceCPDefinitionLocalService
-
getCPDefinition
public CPDefinition getCPDefinition(long CPDefinitionId) throws com.liferay.portal.kernel.exception.PortalException Returns the cp definition with the primary key.- Specified by:
getCPDefinitionin interfaceCPDefinitionLocalService- Parameters:
CPDefinitionId- the primary key of the cp definition- Returns:
- the cp definition
-
getCPDefinitionByCProductId
public CPDefinition getCPDefinitionByCProductId(long cProductId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPDefinitionByCProductIdin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionByUuidAndGroupId
public CPDefinition getCPDefinitionByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the cp definition matching the UUID and group.- Specified by:
getCPDefinitionByUuidAndGroupIdin interfaceCPDefinitionLocalService- Parameters:
uuid- the cp definition's UUIDgroupId- the primary key of the group- Returns:
- the matching cp definition
-
getCPDefinitionDescriptionMap
- Specified by:
getCPDefinitionDescriptionMapin interfaceCPDefinitionLocalService
-
getCPDefinitionLocalization
public CPDefinitionLocalization getCPDefinitionLocalization(long CPDefinitionId, String languageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCPDefinitionLocalizationin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLocalizationLanguageIds
- Specified by:
getCPDefinitionLocalizationLanguageIdsin interfaceCPDefinitionLocalService
-
getCPDefinitionLocalizations
- Specified by:
getCPDefinitionLocalizationsin interfaceCPDefinitionLocalService
-
getCPDefinitionMetaDescriptionMap
- Specified by:
getCPDefinitionMetaDescriptionMapin interfaceCPDefinitionLocalService
-
getCPDefinitionMetaKeywordsMap
- Specified by:
getCPDefinitionMetaKeywordsMapin interfaceCPDefinitionLocalService
-
getCPDefinitionMetaTitleMap
- Specified by:
getCPDefinitionMetaTitleMapin interfaceCPDefinitionLocalService
-
getCPDefinitionNameMap
- Specified by:
getCPDefinitionNameMapin interfaceCPDefinitionLocalService
-
getCPDefinitions
Returns a range of all the cp definitions.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.product.model.impl.CPDefinitionModelImpl.- Specified by:
getCPDefinitionsin interfaceCPDefinitionLocalService- Parameters:
start- the lower bound of the range of cp definitionsend- the upper bound of the range of cp definitions (not inclusive)- Returns:
- the range of cp definitions
-
getCPDefinitions
- Specified by:
getCPDefinitionsin interfaceCPDefinitionLocalService
-
getCPDefinitions
- Specified by:
getCPDefinitionsin interfaceCPDefinitionLocalService
-
getCPDefinitions
public List<CPDefinition> getCPDefinitions(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) - Specified by:
getCPDefinitionsin interfaceCPDefinitionLocalService
-
getCPDefinitions
public List<CPDefinition> getCPDefinitions(long companyId, long accountEntryId, long[] accountGroupIds, long[] commerceChannelGroupIds, boolean published, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) - Specified by:
getCPDefinitionsin interfaceCPDefinitionLocalService
-
getCPDefinitionsByUuidAndCompanyId
Returns all the cp definitions matching the UUID and company.- Specified by:
getCPDefinitionsByUuidAndCompanyIdin interfaceCPDefinitionLocalService- Parameters:
uuid- the UUID of the cp definitionscompanyId- the primary key of the company- Returns:
- the matching cp definitions, or an empty list if no matches were found
-
getCPDefinitionsByUuidAndCompanyId
public List<CPDefinition> getCPDefinitionsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) Returns a range of cp definitions matching the UUID and company.- Specified by:
getCPDefinitionsByUuidAndCompanyIdin interfaceCPDefinitionLocalService- Parameters:
uuid- the UUID of the cp definitionscompanyId- the primary key of the companystart- the lower bound of the range of cp definitionsend- the upper bound of the range of cp definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the range of matching cp definitions, or an empty list if no matches were found
-
getCPDefinitionsCount
public int getCPDefinitionsCount()Returns the number of cp definitions.- Specified by:
getCPDefinitionsCountin interfaceCPDefinitionLocalService- Returns:
- the number of cp definitions
-
getCPDefinitionsCount
public int getCPDefinitionsCount(long groupId, boolean subscriptionEnabled) - Specified by:
getCPDefinitionsCountin interfaceCPDefinitionLocalService
-
getCPDefinitionsCount
public int getCPDefinitionsCount(long groupId, int status) - Specified by:
getCPDefinitionsCountin interfaceCPDefinitionLocalService
-
getCPDefinitionShortDescriptionMap
- Specified by:
getCPDefinitionShortDescriptionMapin interfaceCPDefinitionLocalService
-
getCProductCPDefinition
public CPDefinition getCProductCPDefinition(long cProductId, int version) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCProductCPDefinitionin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCProductCPDefinitions
- Specified by:
getCProductCPDefinitionsin interfaceCPDefinitionLocalService
-
getCProductCPDefinitions
public List<CPDefinition> getCProductCPDefinitions(long cProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) - Specified by:
getCProductCPDefinitionsin interfaceCPDefinitionLocalService
-
getCProductCPDefinitionsCount
public int getCProductCPDefinitionsCount(long cProductId, int status) - Specified by:
getCProductCPDefinitionsCountin interfaceCPDefinitionLocalService
-
getDefaultImageCPAttachmentFileEntry
public CPAttachmentFileEntry getDefaultImageCPAttachmentFileEntry(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getDefaultImageCPAttachmentFileEntryin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceCPDefinitionLocalService
-
getFacets
public List<com.liferay.portal.kernel.search.facet.Facet> getFacets(String filterFields, String filterValues, com.liferay.portal.kernel.search.SearchContext searchContext) - Specified by:
getFacetsin interfaceCPDefinitionLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceCPDefinitionLocalService
-
getLayoutPageTemplateEntryUuid
- Specified by:
getLayoutPageTemplateEntryUuidin interfaceCPDefinitionLocalService
-
getLayoutUuid
- Specified by:
getLayoutUuidin interfaceCPDefinitionLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceCPDefinitionLocalService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.service.ServiceWrapper<CPDefinitionLocalService>- 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 interfaceCPDefinitionLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getUrlTitleMap
- Specified by:
getUrlTitleMapin interfaceCPDefinitionLocalService
-
getUrlTitleMapAsXML
public String getUrlTitleMapAsXML(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getUrlTitleMapAsXMLin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasChildCPDefinitions
public boolean hasChildCPDefinitions(long cpDefinitionId) - Specified by:
hasChildCPDefinitionsin interfaceCPDefinitionLocalService
-
isPublishedCPDefinition
- Specified by:
isPublishedCPDefinitionin interfaceCPDefinitionLocalService
-
isPublishedCPDefinition
public boolean isPublishedCPDefinition(long cpDefinitionId) - Specified by:
isPublishedCPDefinitionin interfaceCPDefinitionLocalService
-
isVersionable
- Specified by:
isVersionablein interfaceCPDefinitionLocalService
-
isVersionable
public boolean isVersionable(long cpDefinitionId) - Specified by:
isVersionablein interfaceCPDefinitionLocalService
-
isVersionable
public boolean isVersionable(long cpDefinitionId, jakarta.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
isVersionablein interfaceCPDefinitionLocalService
-
maintainVersionThreshold
public void maintainVersionThreshold(long companyId, long cProductId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
maintainVersionThresholdin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCPDefinitions
public com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinition> searchCPDefinitions(long companyId, long[] groupIds, String keywords, int status, boolean ignoreCommerceAccountGroup, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCPDefinitionsin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCPDefinitions
public com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinition> searchCPDefinitions(long companyId, long[] groupIds, String keywords, String filterFields, String filterValues, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCPDefinitionsin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCPDefinitionsByChannelGroupId
public com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinition> searchCPDefinitionsByChannelGroupId(long companyId, long[] groupIds, long commerceChannelGroupId, String keywords, int status, boolean ignoreCommerceAccountGroup, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCPDefinitionsByChannelGroupIdin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAsset
public void updateAsset(long userId, CPDefinition cpDefinition, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds, Double priority) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateAssetin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinition
Updates the cp definition in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect CPDefinitionLocalServiceImpl 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:
updateCPDefinitionin interfaceCPDefinitionLocalService- Parameters:
cpDefinition- the cp definition- Returns:
- the cp definition that was updated
-
updateCPDefinition
public CPDefinition updateCPDefinition(long cpDefinitionId, long cpTaxCategoryId, boolean accountGroupFilterEnabled, boolean channelFilterEnabled, String ddmStructureKey, double depth, Map<Locale, String> descriptionMap, int displayDateDay, int displayDateHour, int displayDateMinute, int displayDateMonth, int displayDateYear, int expirationDateDay, int expirationDateHour, int expirationDateMinute, int expirationDateMonth, int expirationDateYear, boolean freeShipping, double height, boolean ignoreSKUCombinations, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, Map<Locale, String> metaTitleMap, Map<Locale, String> nameMap, boolean neverExpire, boolean published, boolean shipSeparately, boolean shippable, double shippingExtraPrice, Map<Locale, String> shortDescriptionMap, boolean taxExempt, boolean telcoOrElectronics, Map<Locale, String> urlTitleMap, double weight, double width, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
updateCPDefinitionin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionAccountGroupFilter
public CPDefinition updateCPDefinitionAccountGroupFilter(long cpDefinitionId, boolean enable) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCPDefinitionAccountGroupFilterin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionCategorization
public CPDefinition updateCPDefinitionCategorization(long cpDefinitionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCPDefinitionCategorizationin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionChannelFilter
public CPDefinition updateCPDefinitionChannelFilter(long cpDefinitionId, boolean enable) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCPDefinitionChannelFilterin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionIgnoreSKUCombinations
public CPDefinition updateCPDefinitionIgnoreSKUCombinations(long cpDefinitionId, boolean ignoreSKUCombinations, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCPDefinitionIgnoreSKUCombinationsin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionLocalization
public CPDefinitionLocalization updateCPDefinitionLocalization(CPDefinition cpDefinition, String languageId, String description, String metaDescription, String metaKeywords, String metaTitle, String name, String shortDescription) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCPDefinitionLocalizationin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionLocalizations
public List<CPDefinitionLocalization> updateCPDefinitionLocalizations(CPDefinition cpDefinition, Map<String, String> descriptionMap, Map<String, throws com.liferay.portal.kernel.exception.PortalExceptionString> metaDescriptionMap, Map<String, String> metaKeywordsMap, Map<String, String> metaTitleMap, Map<String, String> nameMap, Map<String, String> shortDescriptionMap) - Specified by:
updateCPDefinitionLocalizationsin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionsByCPTaxCategoryId
public void updateCPDefinitionsByCPTaxCategoryId(long cpTaxCategoryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCPDefinitionsByCPTaxCategoryIdin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public CPDefinition updateExternalReferenceCode(String externalReferenceCode, long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExternalReferenceCodein interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateShippingInfo
public CPDefinition updateShippingInfo(long cpDefinitionId, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateShippingInfoin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public CPDefinition updateStatus(long userId, long cpDefinitionId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, Map<String, Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
updateStatusin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateSubscriptionInfo
public CPDefinition updateSubscriptionInfo(long cpDefinitionId, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, boolean deliverySubscriptionEnabled, int deliverySubscriptionLength, String deliverySubscriptionType, com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties, long deliveryMaxSubscriptionCycles) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateSubscriptionInfoin interfaceCPDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateTaxCategoryInfo
public CPDefinition updateTaxCategoryInfo(long cpDefinitionId, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateTaxCategoryInfoin interfaceCPDefinitionLocalService- 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<CPDefinition> getCTPersistence()- Specified by:
getCTPersistencein interfaceCPDefinitionLocalService- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CPDefinition>
-
getModelClass
- Specified by:
getModelClassin interfaceCPDefinitionLocalService- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CPDefinition>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinition>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceCPDefinitionLocalService- Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CPDefinition>- Throws:
E
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CPDefinitionLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CPDefinitionLocalService>
-