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) |
static void |
deleteCommerceDiscountRel(long commerceDiscountRelId) |
static CommerceDiscountRel |
fetchCommerceDiscountRel(java.lang.String className,
long classPK) |
static java.util.List<CommerceDiscountRel> |
getCategoriesByCommerceDiscountId(long commerceDiscountId,
java.lang.String name,
int start,
int end) |
static int |
getCategoriesByCommerceDiscountIdCount(long commerceDiscountId,
java.lang.String name) |
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.util.List<CommerceDiscountRel> |
getCommercePricingClassesByCommerceDiscountId(long commerceDiscountId,
java.lang.String title,
int start,
int end) |
static int |
getCommercePricingClassesByCommerceDiscountIdCount(long commerceDiscountId,
java.lang.String title) |
static java.util.List<CommerceDiscountRel> |
getCPDefinitionsByCommerceDiscountId(long commerceDiscountId,
java.lang.String name,
java.lang.String languageId,
int start,
int end) |
static int |
getCPDefinitionsByCommerceDiscountIdCount(long commerceDiscountId,
java.lang.String name,
java.lang.String languageId) |
static java.util.List<CommerceDiscountRel> |
getCPInstancesByCommerceDiscountId(long commerceDiscountId,
java.lang.String sku,
int start,
int end) |
static int |
getCPInstancesByCommerceDiscountIdCount(long commerceDiscountId,
java.lang.String sku) |
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.PortalException
public static void deleteCommerceDiscountRel(long commerceDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceDiscountRel fetchCommerceDiscountRel(java.lang.String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceDiscountRel> getCategoriesByCommerceDiscountId(long commerceDiscountId, java.lang.String name, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCategoriesByCommerceDiscountIdCount(long commerceDiscountId, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long[] getClassPKs(long commerceDiscountId, java.lang.String className) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceDiscountRel getCommerceDiscountRel(long commerceDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceDiscountRel> getCommerceDiscountRels(long commerceDiscountId, java.lang.String className) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public 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.PortalException
public static int getCommerceDiscountRelsCount(long commerceDiscountId, java.lang.String className) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceDiscountRel> getCommercePricingClassesByCommerceDiscountId(long commerceDiscountId, java.lang.String title, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommercePricingClassesByCommerceDiscountIdCount(long commerceDiscountId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceDiscountRel> getCPDefinitionsByCommerceDiscountId(long commerceDiscountId, java.lang.String name, java.lang.String languageId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCPDefinitionsByCommerceDiscountIdCount(long commerceDiscountId, java.lang.String name, java.lang.String languageId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceDiscountRel> getCPInstancesByCommerceDiscountId(long commerceDiscountId, java.lang.String sku, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCPInstancesByCommerceDiscountIdCount(long commerceDiscountId, java.lang.String sku) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static CommerceDiscountRelService getService()