Class CommercePricingClassServiceUtil
java.lang.Object
com.liferay.commerce.pricing.service.CommercePricingClassServiceUtil
Provides the remote service utility for CommercePricingClass. This utility wraps
com.liferay.commerce.pricing.service.impl.CommercePricingClassServiceImpl and is an
access point for service operations in application layer code running on a
remote server. 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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommercePricingClassaddCommercePricingClass(String externalReferenceCode, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommercePricingClassaddOrUpdateCommercePricingClass(String externalReferenceCode, long commercePricingClassId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommercePricingClassdeleteCommercePricingClass(long commercePricingClassId) static CommercePricingClassfetchCommercePricingClass(long commercePricingClassId) static CommercePricingClassfetchCommercePricingClassByExternalReferenceCode(String externalReferenceCode, long companyId) static CommercePricingClassgetCommercePricingClass(long commercePricingClassId) static intgetCommercePricingClassCountByCPDefinitionId(long cpDefinitionId, String title) static List<CommercePricingClass>getCommercePricingClasses(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) static intgetCommercePricingClassesCount(long companyId) static intgetCommercePricingClassesCount(long cpDefinitionId, String title) static StringReturns the OSGi service identifier.static CommercePricingClassServicestatic List<CommercePricingClass>searchByCPDefinitionId(long cpDefinitionId, String title, int start, int end) static com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePricingClass>searchCommercePricingClasses(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) static CommercePricingClassupdateCommercePricingClass(long commercePricingClassId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommercePricingClassupdateCommercePricingClassExternalReferenceCode(String externalReferenceCode, long commercePricingClassId)
-
Constructor Details
-
CommercePricingClassServiceUtil
public CommercePricingClassServiceUtil()
-
-
Method Details
-
addCommercePricingClass
public static 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
public static 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
public static CommercePricingClass deleteCommercePricingClass(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommercePricingClass
public static CommercePricingClass fetchCommercePricingClass(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommercePricingClassByExternalReferenceCode
public static CommercePricingClass fetchCommercePricingClassByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClass
public static CommercePricingClass getCommercePricingClass(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClassCountByCPDefinitionId
public static int getCommercePricingClassCountByCPDefinitionId(long cpDefinitionId, String title) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getCommercePricingClasses
public static 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
public static int getCommercePricingClassesCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClassesCount
public static int getCommercePricingClassesCount(long cpDefinitionId, String title) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
searchByCPDefinitionId
public static 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
public static 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
public static 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
public static CommercePricingClass updateCommercePricingClassExternalReferenceCode(String externalReferenceCode, long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-