@ProviderType
public class CommerceDiscountRelServiceUtil
extends java.lang.Object
com.liferay.commerce.discount.service.impl.CommerceDiscountRelServiceImpl and is the
primary 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.CommerceDiscountRelService,
com.liferay.commerce.discount.service.base.CommerceDiscountRelServiceBaseImpl,
com.liferay.commerce.discount.service.impl.CommerceDiscountRelServiceImpl| Constructor and Description |
|---|
CommerceDiscountRelServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static CommerceDiscountRel |
addCommerceDiscountRel(long commerceDiscountId,
java.lang.String className,
long classPK,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCommerceDiscountRel(long commerceDiscountRelId) |
static long[] |
getClassPKs(long commerceDiscountId,
java.lang.String className) |
static CommerceDiscountRel |
getCommerceDiscountRel(long commerceDiscountRelId) |
static java.util.List<CommerceDiscountRel> |
getCommerceDiscountRels(long commerceDiscountId,
java.lang.String className) |
static java.util.List<CommerceDiscountRel> |
getCommerceDiscountRels(long commerceDiscountId,
java.lang.String className,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountRel> orderByComparator) |
static int |
getCommerceDiscountRelsCount(long commerceDiscountId,
java.lang.String className) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceDiscountRelService |
getService() |
public static CommerceDiscountRel addCommerceDiscountRel(long commerceDiscountId, java.lang.String className, long classPK, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteCommerceDiscountRel(long commerceDiscountRelId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static long[] getClassPKs(long commerceDiscountId,
java.lang.String className)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceDiscountRel getCommerceDiscountRel(long commerceDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CommerceDiscountRel> getCommerceDiscountRels(long commerceDiscountId, java.lang.String className) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CommerceDiscountRel> getCommerceDiscountRels(long commerceDiscountId, java.lang.String className, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountRel> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCommerceDiscountRelsCount(long commerceDiscountId,
java.lang.String className)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static CommerceDiscountRelService getService()