Interface CommercePricingClassService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
CommercePricingClassServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommercePricingClassService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CommercePricingClass. 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 TypeMethodDescriptionaddCommercePricingClass
(String externalReferenceCode, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCommercePricingClass
(String externalReferenceCode, long commercePricingClassId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) deleteCommercePricingClass
(long commercePricingClassId) fetchCommercePricingClass
(long commercePricingClassId) fetchCommercePricingClassByExternalReferenceCode
(String externalReferenceCode, long companyId) getCommercePricingClass
(long commercePricingClassId) int
getCommercePricingClassCountByCPDefinitionId
(long cpDefinitionId, String title) getCommercePricingClasses
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) int
getCommercePricingClassesCount
(long companyId) int
getCommercePricingClassesCount
(long cpDefinitionId, String title) Returns the OSGi service identifier.searchByCPDefinitionId
(long cpDefinitionId, String title, int start, int end) com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePricingClass>
searchCommercePricingClasses
(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) updateCommercePricingClass
(long commercePricingClassId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommercePricingClassExternalReferenceCode
(String externalReferenceCode, long commercePricingClassId)
-
Method Details
-
addCommercePricingClass
CommercePricingClass addCommercePricingClass(String externalReferenceCode, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommercePricingClass
CommercePricingClass addOrUpdateCommercePricingClass(String externalReferenceCode, long commercePricingClassId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommercePricingClass
CommercePricingClass deleteCommercePricingClass(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommercePricingClass
@Transactional(propagation=SUPPORTS, readOnly=true) CommercePricingClass fetchCommercePricingClass(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommercePricingClassByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) CommercePricingClass fetchCommercePricingClassByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClass
@Transactional(propagation=SUPPORTS, readOnly=true) CommercePricingClass getCommercePricingClass(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClassCountByCPDefinitionId
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommercePricingClassCountByCPDefinitionId(long cpDefinitionId, String title) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getCommercePricingClasses
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommercePricingClass> getCommercePricingClasses(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClassesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommercePricingClassesCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClassesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommercePricingClassesCount(long cpDefinitionId, String title) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
searchByCPDefinitionId
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommercePricingClass> searchByCPDefinitionId(long cpDefinitionId, String title, int start, int end) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
searchCommercePricingClasses
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePricingClass> searchCommercePricingClasses(long companyId, String keywords, 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
-
updateCommercePricingClass
CommercePricingClass updateCommercePricingClass(long commercePricingClassId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommercePricingClassExternalReferenceCode
CommercePricingClass updateCommercePricingClassExternalReferenceCode(String externalReferenceCode, long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-