public class CommerceDiscountRelServiceUtil
extends java.lang.Object
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.CommerceDiscountRelService| 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)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
static void |
deleteCommerceDiscountRel(long commerceDiscountRelId) |
static CommerceDiscountRel |
fetchCommerceDiscountRel(java.lang.String className,
long classPK) |
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
CommerceDiscountRelServiceUtil to access the commerce discount rel remote service. Add custom service methods to com.liferay.commerce.discount.service.impl.CommerceDiscountRelServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.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 CommerceDiscountRel fetchCommerceDiscountRel(java.lang.String className, long classPK) 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()