Class CommerceDiscountRelServiceUtil
java.lang.Object
com.liferay.commerce.discount.service.CommerceDiscountRelServiceUtil
Provides the remote service utility for CommerceDiscountRel. This utility wraps
com.liferay.commerce.discount.service.impl.CommerceDiscountRelServiceImpl 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 CommerceDiscountReladdCommerceDiscountRel(long commerceDiscountId, String className, long classPK, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) static voiddeleteCommerceDiscountRel(long commerceDiscountRelId) static CommerceDiscountRelfetchCommerceDiscountRel(long commerceDiscountId, String className, long classPK) static CommerceDiscountRelfetchCommerceDiscountRel(String className, long classPK) static List<CommerceDiscountRel> getCategoriesByCommerceDiscountId(long commerceDiscountId, String name, int start, int end) static intgetCategoriesByCommerceDiscountIdCount(long commerceDiscountId, String name) static long[]getClassPKs(long commerceDiscountId, String className) static CommerceDiscountRelgetCommerceDiscountRel(long commerceDiscountRelId) static List<CommerceDiscountRel> getCommerceDiscountRels(long commerceDiscountId, String className) static List<CommerceDiscountRel> getCommerceDiscountRels(long commerceDiscountId, String className, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountRel> orderByComparator) static intgetCommerceDiscountRelsCount(long commerceDiscountId, String className) static List<CommerceDiscountRel> getCommercePricingClassesByCommerceDiscountId(long commerceDiscountId, String title, int start, int end) static intgetCommercePricingClassesByCommerceDiscountIdCount(long commerceDiscountId, String title) static List<CommerceDiscountRel> getCPDefinitionsByCommerceDiscountId(long commerceDiscountId, String name, String languageId, int start, int end) static intgetCPDefinitionsByCommerceDiscountIdCount(long commerceDiscountId, String name, String languageId) static List<CommerceDiscountRel> getCPInstancesByCommerceDiscountId(long commerceDiscountId, String sku, int start, int end) static intgetCPInstancesByCommerceDiscountIdCount(long commerceDiscountId, String sku) static StringReturns the OSGi service identifier.static CommerceDiscountRelService
-
Constructor Details
-
CommerceDiscountRelServiceUtil
public CommerceDiscountRelServiceUtil()
-
-
Method Details
-
addCommerceDiscountRel
public static CommerceDiscountRel addCommerceDiscountRel(long commerceDiscountId, String className, long classPK, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceDiscountRel
public static void deleteCommerceDiscountRel(long commerceDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceDiscountRel
public static CommerceDiscountRel fetchCommerceDiscountRel(long commerceDiscountId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceDiscountRel
public static CommerceDiscountRel fetchCommerceDiscountRel(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCategoriesByCommerceDiscountId
public static List<CommerceDiscountRel> getCategoriesByCommerceDiscountId(long commerceDiscountId, String name, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCategoriesByCommerceDiscountIdCount
public static int getCategoriesByCommerceDiscountIdCount(long commerceDiscountId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getClassPKs
public static long[] getClassPKs(long commerceDiscountId, String className) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRel
public static CommerceDiscountRel getCommerceDiscountRel(long commerceDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRels
public static List<CommerceDiscountRel> getCommerceDiscountRels(long commerceDiscountId, String className) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRels
public static List<CommerceDiscountRel> getCommerceDiscountRels(long commerceDiscountId, String className, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountRel> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountRelsCount
public static int getCommerceDiscountRelsCount(long commerceDiscountId, String className) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClassesByCommerceDiscountId
public static List<CommerceDiscountRel> getCommercePricingClassesByCommerceDiscountId(long commerceDiscountId, String title, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePricingClassesByCommerceDiscountIdCount
public static int getCommercePricingClassesByCommerceDiscountIdCount(long commerceDiscountId, String title) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionsByCommerceDiscountId
public static List<CommerceDiscountRel> getCPDefinitionsByCommerceDiscountId(long commerceDiscountId, String name, String languageId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionsByCommerceDiscountIdCount
public static int getCPDefinitionsByCommerceDiscountIdCount(long commerceDiscountId, String name, String languageId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPInstancesByCommerceDiscountId
public static List<CommerceDiscountRel> getCPInstancesByCommerceDiscountId(long commerceDiscountId, String sku, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPInstancesByCommerceDiscountIdCount
public static int getCPInstancesByCommerceDiscountIdCount(long commerceDiscountId, String sku) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getService
-