Interface CPDefinitionService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
CPDefinitionServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CPDefinitionService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CPDefinition. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddCPDefinition(String externalReferenceCode, 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 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) cloneCPDefinition(long cpDefinitionId, long groupId, com.liferay.portal.kernel.service.ServiceContext serviceContext) copyCPDefinition(long sourceCPDefinitionId, long groupId, int status) voiddeleteAssetCategoryCPDefinition(long cpDefinitionId, long categoryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) voiddeleteCPDefinition(long cpDefinitionId) 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) getCPDefinition(long cpDefinitionId) getCPDefinitions(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) intgetCPDefinitionsCount(long groupId, int status) getCProductCPDefinition(long cProductId, int version) getCProductCPDefinitions(long cProductId, int status, int start, int end) getDefaultImageCPAttachmentFileEntry(long cpDefinitionId) Returns the OSGi service identifier.getUrlTitleMap(long cpDefinitionId) getUrlTitleMapAsXML(long cpDefinitionId) booleanisVersionable(CPDefinition cpDefinition) com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinition> searchCPDefinitions(long companyId, 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, 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 commerceChannelGroupId, String keywords, int status, boolean ignoreCommerceAccountGroup, int start, int end, com.liferay.portal.kernel.search.Sort sort) 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) updateCPDefinitionAccountGroupFilter(long cpDefinitionId, boolean enable) updateCPDefinitionCategorization(long cpDefinitionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCPDefinitionChannelFilter(long cpDefinitionId, boolean enable) 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 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)
-
Method Details
-
addCPDefinition
CPDefinition addCPDefinition(String externalReferenceCode, 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) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCPDefinition
CPDefinition addOrUpdateCPDefinition(String externalReferenceCode, 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) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
cloneCPDefinition
CPDefinition cloneCPDefinition(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, long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException - 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
void deleteCPDefinition(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPDefinition
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinition fetchCPDefinition(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPDefinitionByCProductExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinition fetchCPDefinitionByCProductExternalReferenceCode(String externalReferenceCode, long companyId, boolean excludeDraft) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPDefinitionByCProductExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinition fetchCPDefinitionByCProductExternalReferenceCode(String externalReferenceCode, long companyId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPDefinitionByCProductId
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinition fetchCPDefinitionByCProductId(long cProductId, boolean excludeDraft) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPDefinitionByCProductId
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinition fetchCPDefinitionByCProductId(long cProductId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinition
@Transactional(propagation=SUPPORTS, readOnly=true) CPDefinition getCPDefinition(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
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) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCPDefinitionsCount(long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
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) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDefaultImageCPAttachmentFileEntry
@Transactional(propagation=SUPPORTS, readOnly=true) CPAttachmentFileEntry getDefaultImageCPAttachmentFileEntry(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getUrlTitleMap
@Transactional(propagation=SUPPORTS, readOnly=true) Map<Locale,String> getUrlTitleMap(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUrlTitleMapAsXML
@Transactional(propagation=SUPPORTS, readOnly=true) String getUrlTitleMapAsXML(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
isVersionable
@Transactional(propagation=SUPPORTS, readOnly=true) boolean isVersionable(CPDefinition cpDefinition) 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, 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, 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 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
-
updateCPDefinition
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) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionAccountGroupFilter
CPDefinition updateCPDefinitionAccountGroupFilter(long cpDefinitionId, boolean enable) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionCategorization
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
CPDefinition updateCPDefinitionChannelFilter(long cpDefinitionId, boolean enable) 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
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
CPDefinition updateStatus(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
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
-