public class CommerceDiscountAccountRelServiceUtil
extends java.lang.Object
com.liferay.commerce.discount.service.impl.CommerceDiscountAccountRelServiceImpl
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.CommerceDiscountAccountRelService
Constructor and Description |
---|
CommerceDiscountAccountRelServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CommerceDiscountAccountRel |
addCommerceDiscountAccountRel(long commerceDiscountId,
long commerceAccountId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCommerceDiscountAccountRel(long commerceDiscountAccountRelId) |
static void |
deleteCommerceDiscountAccountRelsByCommerceDiscountId(long commerceDiscountId) |
static CommerceDiscountAccountRel |
fetchCommerceDiscountAccountRel(long commerceAccountId,
long commerceDiscountId) |
static CommerceDiscountAccountRel |
getCommerceDiscountAccountRel(long commerceDiscountAccountRelId) |
static java.util.List<CommerceDiscountAccountRel> |
getCommerceDiscountAccountRels(long commerceDiscountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) |
static java.util.List<CommerceDiscountAccountRel> |
getCommerceDiscountAccountRels(long commerceDiscountId,
java.lang.String name,
int start,
int end) |
static int |
getCommerceDiscountAccountRelsCount(long commerceDiscountId) |
static int |
getCommerceDiscountAccountRelsCount(long commerceDiscountId,
java.lang.String name) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceDiscountAccountRelService |
getService() |
static void |
setService(CommerceDiscountAccountRelService service) |
public CommerceDiscountAccountRelServiceUtil()
public static CommerceDiscountAccountRel addCommerceDiscountAccountRel(long commerceDiscountId, long commerceAccountId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCommerceDiscountAccountRel(long commerceDiscountAccountRelId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCommerceDiscountAccountRelsByCommerceDiscountId(long commerceDiscountId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceDiscountAccountRel fetchCommerceDiscountAccountRel(long commerceAccountId, long commerceDiscountId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceDiscountAccountRel getCommerceDiscountAccountRel(long commerceDiscountAccountRelId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceDiscountAccountRel> getCommerceDiscountAccountRels(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountAccountRel> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceDiscountAccountRel> getCommerceDiscountAccountRels(long commerceDiscountId, java.lang.String name, int start, int end)
public static int getCommerceDiscountAccountRelsCount(long commerceDiscountId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommerceDiscountAccountRelsCount(long commerceDiscountId, java.lang.String name)
public static java.lang.String getOSGiServiceIdentifier()
public static CommerceDiscountAccountRelService getService()
public static void setService(CommerceDiscountAccountRelService service)