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.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceDiscountRelService |
getService() |
static void |
setService(CommerceDiscountRelService service) |
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 CommerceDiscountRel fetchCommerceDiscountRel(java.lang.String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CommerceDiscountRel> getCategoriesByCommerceDiscountId(long commerceDiscountId, java.lang.String name, int start, int end)
public static int getCategoriesByCommerceDiscountIdCount(long commerceDiscountId,
java.lang.String name)
public 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.util.List<CommerceDiscountRel> getCommercePricingClassesByCommerceDiscountId(long commerceDiscountId, java.lang.String title, int start, int end)
public static int getCommercePricingClassesByCommerceDiscountIdCount(long commerceDiscountId,
java.lang.String title)
public static java.util.List<CommerceDiscountRel> getCPDefinitionsByCommerceDiscountId(long commerceDiscountId, java.lang.String name, java.lang.String languageId, int start, int end)
public static int getCPDefinitionsByCommerceDiscountIdCount(long commerceDiscountId,
java.lang.String name,
java.lang.String languageId)
public static java.lang.String getOSGiServiceIdentifier()
public static CommerceDiscountRelService getService()
public static void setService(CommerceDiscountRelService service)