Interface CPDefinitionLocalService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<CPDefinition>
,com.liferay.portal.kernel.service.PersistedModelLocalService
- All Known Implementing Classes:
CPDefinitionLocalServiceWrapper
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddCPDefinition
(CPDefinition cpDefinition) Adds the cp definition to the database.addCPDefinition
(String externalReferenceCode, long groupId, long userId, Map<Locale, String> nameMap, Map<Locale, String> shortDescriptionMap, Map<Locale, String> descriptionMap, Map<Locale, String> urlTitleMap, Map<Locale, String> metaTitleMap, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, String productTypeName, boolean ignoreSKUCombinations, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics, String ddmStructureKey, boolean published, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String defaultSku, 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, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) addCPDefinition
(String externalReferenceCode, long groupId, long userId, Map<Locale, String> nameMap, Map<Locale, String> shortDescriptionMap, Map<Locale, String> descriptionMap, Map<Locale, String> urlTitleMap, Map<Locale, String> metaTitleMap, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, String productTypeName, boolean ignoreSKUCombinations, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics, String ddmStructureKey, boolean published, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String defaultSku, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCPDefinition
(String externalReferenceCode, long groupId, long userId, Map<Locale, String> nameMap, Map<Locale, String> shortDescriptionMap, Map<Locale, String> descriptionMap, Map<Locale, String> urlTitleMap, Map<Locale, String> metaTitleMap, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, String productTypeName, boolean ignoreSKUCombinations, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics, String ddmStructureKey, boolean published, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String defaultSku, 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, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCPDefinition
(String externalReferenceCode, long groupId, long userId, Map<Locale, String> nameMap, Map<Locale, String> shortDescriptionMap, Map<Locale, String> descriptionMap, Map<Locale, String> urlTitleMap, Map<Locale, String> metaTitleMap, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, String productTypeName, boolean ignoreSKUCombinations, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics, String ddmStructureKey, boolean published, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String defaultSku, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
cloneCPDefinition
(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.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) void
deleteAssetCategoryCPDefinition
(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.void
deleteCPDefinitions
(long companyId) void
deleteCPDefinitions
(long cProductId, int status) 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
<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.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.fetchCPDefinition
(long CPDefinitionId) fetchCPDefinitionByCProductExternalReferenceCode
(String externalReferenceCode, long companyId) fetchCPDefinitionByCProductId
(long cProductId) fetchCPDefinitionByUuidAndGroupId
(String uuid, long groupId) Returns the cp definition matching the UUID and group.fetchCPDefinitionLocalization
(long CPDefinitionId, String languageId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
getCPDefinition
(long CPDefinitionId) Returns the cp definition with the primary key.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 groupId, String productTypeName, String languageId, int status, 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.int
Returns the number of cp definitions.int
getCPDefinitionsCount
(long groupId, boolean subscriptionEnabled) int
getCPDefinitionsCount
(long groupId, int status) int
getCPDefinitionsCount
(long groupId, String productTypeName, String languageId, 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) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinition>
getDefaultImageCPAttachmentFileEntry
(long cpDefinitionId) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(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.IndexableActionableDynamicQuery
getLayoutPageTemplateEntryUuid
(long groupId, long cpDefinitionId) getLayoutUuid
(long groupId, long cpDefinitionId) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) getUrlTitleMap
(long cpDefinitionId) getUrlTitleMapAsXML
(long cpDefinitionId) boolean
hasChildCPDefinitions
(long cpDefinitionId) boolean
isPublishedCPDefinition
(long cpDefinitionId) boolean
isPublishedCPDefinition
(CPDefinition cpDefinition) boolean
isVersionable
(long cpDefinitionId) boolean
isVersionable
(long cpDefinitionId, javax.servlet.http.HttpServletRequest httpServletRequest) boolean
isVersionable
(CPDefinition cpDefinition) void
maintainVersionThreshold
(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) void
updateAsset
(long userId, CPDefinition cpDefinition, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds, Double priority) updateCPDefinition
(long cpDefinitionId, Map<Locale, String> nameMap, Map<Locale, String> shortDescriptionMap, Map<Locale, String> descriptionMap, Map<Locale, String> urlTitleMap, Map<Locale, String> metaTitleMap, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, boolean ignoreSKUCombinations, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics, String ddmStructureKey, boolean published, 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) updateCPDefinition
(long cpDefinitionId, Map<Locale, String> nameMap, Map<Locale, String> shortDescriptionMap, Map<Locale, String> descriptionMap, Map<Locale, String> urlTitleMap, Map<Locale, String> metaTitleMap, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, boolean ignoreSKUCombinations, String ddmStructureKey, boolean published, 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) 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 name, String shortDescription, String description, String metaTitle, String metaDescription, String metaKeywords) updateCPDefinitionLocalizations
(CPDefinition cpDefinition, Map<String, String> nameMap, Map<String, String> shortDescriptionMap, Map<String, String> descriptionMap, Map<String, String> metaTitleMap, Map<String, String> metaDescriptionMap, Map<String, String> metaKeywordsMap) void
updateCPDefinitionsByCPTaxCategoryId
(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 interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel, getBasePersistence
-
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.
- Parameters:
cpDefinition
- the cp definition- Returns:
- the cp definition that was added
-
addCPDefinition
@Indexable(type=REINDEX) CPDefinition addCPDefinition(String externalReferenceCode, long groupId, long userId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> shortDescriptionMap, Map<Locale, String> descriptionMap, Map<Locale, String> urlTitleMap, Map<Locale, String> metaTitleMap, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, String productTypeName, boolean ignoreSKUCombinations, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics, String ddmStructureKey, boolean published, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String defaultSku, 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, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCPDefinition
CPDefinition addCPDefinition(String externalReferenceCode, long groupId, long userId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> shortDescriptionMap, Map<Locale, String> descriptionMap, Map<Locale, String> urlTitleMap, Map<Locale, String> metaTitleMap, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, String productTypeName, boolean ignoreSKUCombinations, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics, String ddmStructureKey, boolean published, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String defaultSku, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCPDefinition
CPDefinition addOrUpdateCPDefinition(String externalReferenceCode, long groupId, long userId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> shortDescriptionMap, Map<Locale, String> descriptionMap, Map<Locale, String> urlTitleMap, Map<Locale, String> metaTitleMap, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, String productTypeName, boolean ignoreSKUCombinations, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics, String ddmStructureKey, boolean published, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String defaultSku, 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, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCPDefinition
CPDefinition addOrUpdateCPDefinition(String externalReferenceCode, long groupId, long userId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> shortDescriptionMap, Map<Locale, String> descriptionMap, Map<Locale, String> urlTitleMap, Map<Locale, String> metaTitleMap, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, String productTypeName, boolean ignoreSKUCombinations, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics, String ddmStructureKey, boolean published, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, String defaultSku, boolean subscriptionEnabled, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
checkCPDefinitions
void checkCPDefinitions() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
cloneCPDefinition
@Indexable(type=REINDEX) CPDefinition cloneCPDefinition(long userId, long cpDefinitionId, long groupId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyCPDefinition
CPDefinition copyCPDefinition(long sourceCPDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyCPDefinition
@Indexable(type=REINDEX) CPDefinition copyCPDefinition(long sourceCPDefinitionId, long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException - 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.- Parameters:
CPDefinitionId
- the primary key for the new cp definition- Returns:
- the new cp definition
-
createPersistedModel
com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAssetCategoryCPDefinition
void deleteAssetCategoryCPDefinition(long cpDefinitionId, long categoryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCPDefinition
@Indexable(type=DELETE) @SystemEvent(type=1) 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.
- Parameters:
cpDefinition
- the cp definition- Returns:
- the cp definition that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCPDefinition
@Indexable(type=DELETE) 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.
- Parameters:
CPDefinitionId
- the primary key of the cp definition- Returns:
- the cp definition that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a cp definition with the primary key could not be found
-
deleteCPDefinitions
void deleteCPDefinitions(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCPDefinitions
void deleteCPDefinitions(long cProductId, int status) -
deletePersistedModel
com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() -
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionModelImpl
.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionModelImpl
.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) 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.- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCPDefinition
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinition fetchCPDefinition(long CPDefinitionId) -
fetchCPDefinitionByCProductExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinition fetchCPDefinitionByCProductExternalReferenceCode(String externalReferenceCode, long companyId) -
fetchCPDefinitionByCProductId
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinition fetchCPDefinitionByCProductId(long cProductId) -
fetchCPDefinitionByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinition fetchCPDefinitionByUuidAndGroupId(String uuid, long groupId) Returns the cp definition matching the UUID and group.- Parameters:
uuid
- the cp definition's UUIDgroupId
- the primary key of the group- Returns:
- the matching cp definition, or
null
if a matching cp definition could not be found
-
fetchCPDefinitionLocalization
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinitionLocalization fetchCPDefinitionLocalization(long CPDefinitionId, String languageId) -
getActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() -
getCPDefinition
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinition getCPDefinition(long CPDefinitionId) throws com.liferay.portal.kernel.exception.PortalException Returns the cp definition with the primary key.- Parameters:
CPDefinitionId
- the primary key of the cp definition- Returns:
- the cp definition
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a cp definition with the primary key could not be found
-
getCPDefinitionByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinition getCPDefinitionByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the cp definition matching the UUID and group.- Parameters:
uuid
- the cp definition's UUIDgroupId
- the primary key of the group- Returns:
- the matching cp definition
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a matching cp definition could not be found
-
getCPDefinitionDescriptionMap
-
getCPDefinitionLocalization
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinitionLocalization getCPDefinitionLocalization(long CPDefinitionId, String languageId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLocalizationLanguageIds
-
getCPDefinitionLocalizations
@Transactional(propagation=SUPPORTS, readOnly=true) List<CPDefinitionLocalization> getCPDefinitionLocalizations(long CPDefinitionId) -
getCPDefinitionMetaDescriptionMap
-
getCPDefinitionMetaKeywordsMap
-
getCPDefinitionMetaTitleMap
-
getCPDefinitionNameMap
-
getCPDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) List<CPDefinition> getCPDefinitions(int start, int end) Returns a range of all the cp definitions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.model.impl.CPDefinitionModelImpl
.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) List<CPDefinition> getCPDefinitions(long groupId, boolean subscriptionEnabled) -
getCPDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) List<CPDefinition> getCPDefinitions(long groupId, int status, int start, int end) -
getCPDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) List<CPDefinition> getCPDefinitions(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) -
getCPDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) List<CPDefinition> getCPDefinitions(long groupId, String productTypeName, String languageId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) -
getCPDefinitionsByUuidAndCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) List<CPDefinition> getCPDefinitionsByUuidAndCompanyId(String uuid, long companyId) Returns all the cp definitions matching the UUID and company.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) int getCPDefinitionsCount()Returns the number of cp definitions.- Returns:
- the number of cp definitions
-
getCPDefinitionsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCPDefinitionsCount(long groupId, boolean subscriptionEnabled) -
getCPDefinitionsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCPDefinitionsCount(long groupId, int status) -
getCPDefinitionsCount
-
getCPDefinitionShortDescriptionMap
-
getCProductCPDefinition
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinition getCProductCPDefinition(long cProductId, int version) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCProductCPDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) List<CPDefinition> getCProductCPDefinitions(long cProductId, int status, int start, int end) -
getCProductCPDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) List<CPDefinition> getCProductCPDefinitions(long cProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) -
getDefaultImageCPAttachmentFileEntry
@Transactional(propagation=SUPPORTS, readOnly=true) CPAttachmentFileEntry getDefaultImageCPAttachmentFileEntry(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getExportActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) -
getFacets
-
getIndexableActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() -
getLayoutPageTemplateEntryUuid
@Transactional(propagation=SUPPORTS, readOnly=true) String getLayoutPageTemplateEntryUuid(long groupId, long cpDefinitionId) -
getLayoutUuid
@Transactional(propagation=SUPPORTS, readOnly=true) String getLayoutUuid(long groupId, long cpDefinitionId) -
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPersistedModel
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUrlTitleMap
-
getUrlTitleMapAsXML
@Transactional(propagation=SUPPORTS, readOnly=true) String getUrlTitleMapAsXML(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasChildCPDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasChildCPDefinitions(long cpDefinitionId) -
isPublishedCPDefinition
@Transactional(propagation=SUPPORTS, readOnly=true) boolean isPublishedCPDefinition(CPDefinition cpDefinition) -
isPublishedCPDefinition
@Transactional(propagation=SUPPORTS, readOnly=true) boolean isPublishedCPDefinition(long cpDefinitionId) -
isVersionable
@Transactional(propagation=SUPPORTS, readOnly=true) boolean isVersionable(CPDefinition cpDefinition) -
isVersionable
@Transactional(propagation=SUPPORTS, readOnly=true) boolean isVersionable(long cpDefinitionId) -
isVersionable
@Transactional(propagation=SUPPORTS, readOnly=true) boolean isVersionable(long cpDefinitionId, javax.servlet.http.HttpServletRequest httpServletRequest) -
maintainVersionThreshold
void maintainVersionThreshold(long cProductId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCPDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCPDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCPDefinitionsByChannelGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAsset
void updateAsset(long userId, CPDefinition cpDefinition, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds, Double priority) throws com.liferay.portal.kernel.exception.PortalException - 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.
- Parameters:
cpDefinition
- the cp definition- Returns:
- the cp definition that was updated
-
updateCPDefinition
@Indexable(type=REINDEX) CPDefinition updateCPDefinition(long cpDefinitionId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> shortDescriptionMap, Map<Locale, String> descriptionMap, Map<Locale, String> urlTitleMap, Map<Locale, String> metaTitleMap, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, boolean ignoreSKUCombinations, boolean shippable, boolean freeShipping, boolean shipSeparately, double shippingExtraPrice, double width, double height, double depth, double weight, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics, String ddmStructureKey, boolean published, 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
-
updateCPDefinition
CPDefinition updateCPDefinition(long cpDefinitionId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> shortDescriptionMap, Map<Locale, String> descriptionMap, Map<Locale, String> urlTitleMap, Map<Locale, String> metaTitleMap, Map<Locale, String> metaDescriptionMap, Map<Locale, String> metaKeywordsMap, boolean ignoreSKUCombinations, String ddmStructureKey, boolean published, 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
-
updateCPDefinitionAccountGroupFilter
@Indexable(type=REINDEX) CPDefinition updateCPDefinitionAccountGroupFilter(long cpDefinitionId, boolean enable) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionCategorization
@Indexable(type=REINDEX) CPDefinition updateCPDefinitionCategorization(long cpDefinitionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionChannelFilter
@Indexable(type=REINDEX) CPDefinition updateCPDefinitionChannelFilter(long cpDefinitionId, boolean enable) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionIgnoreSKUCombinations
@Indexable(type=REINDEX) CPDefinition updateCPDefinitionIgnoreSKUCombinations(long cpDefinitionId, boolean ignoreSKUCombinations, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionLocalization
CPDefinitionLocalization updateCPDefinitionLocalization(CPDefinition cpDefinition, String languageId, String name, String shortDescription, String description, String metaTitle, String metaDescription, String metaKeywords) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionLocalizations
List<CPDefinitionLocalization> updateCPDefinitionLocalizations(CPDefinition cpDefinition, Map<String, String> nameMap, Map<String, throws com.liferay.portal.kernel.exception.PortalExceptionString> shortDescriptionMap, Map<String, String> descriptionMap, Map<String, String> metaTitleMap, Map<String, String> metaDescriptionMap, Map<String, String> metaKeywordsMap) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionsByCPTaxCategoryId
void updateCPDefinitionsByCPTaxCategoryId(long cpTaxCategoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
CPDefinition updateExternalReferenceCode(String externalReferenceCode, long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateShippingInfo
@Indexable(type=REINDEX) 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
@Indexable(type=REINDEX) 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- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateSubscriptionInfo
@Indexable(type=REINDEX) 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateTaxCategoryInfo
CPDefinition updateTaxCategoryInfo(long cpDefinitionId, long cpTaxCategoryId, boolean taxExempt, boolean telcoOrElectronics) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCTPersistence
@Transactional(enabled=false) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinition> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CPDefinition>
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CPDefinition>
-
updateWithUnsafeFunction
@Transactional(rollbackFor=java.lang.Throwable.class) <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:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CPDefinition>
- Throws:
E extends Throwable
-