public class CPDefinitionLinkServiceUtil
extends java.lang.Object
com.liferay.commerce.product.service.impl.CPDefinitionLinkServiceImpl 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.CPDefinitionLinkService| Constructor and Description |
|---|
CPDefinitionLinkServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static CPDefinitionLink |
addCPDefinitionLink(long cpDefinitionId,
long cProductId,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
double priority,
java.lang.String type,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCPDefinitionLink(long cpDefinitionLinkId) |
static CPDefinitionLink |
fetchCPDefinitionLink(long cpDefinitionLinkId) |
static CPDefinitionLink |
fetchCPDefinitionLink(long cpDefinitionId,
long cProductId,
java.lang.String type) |
static CPDefinitionLink |
getCPDefinitionLink(long cpDefinitionLinkId) |
static java.util.List<CPDefinitionLink> |
getCPDefinitionLinks(long cpDefinitionId) |
static java.util.List<CPDefinitionLink> |
getCPDefinitionLinks(long cpDefinitionId,
int status) |
static java.util.List<CPDefinitionLink> |
getCPDefinitionLinks(long cpDefinitionId,
int start,
int end) |
static java.util.List<CPDefinitionLink> |
getCPDefinitionLinks(long cpDefinitionId,
int status,
int start,
int end) |
static java.util.List<CPDefinitionLink> |
getCPDefinitionLinks(long cpDefinitionId,
java.lang.String type) |
static java.util.List<CPDefinitionLink> |
getCPDefinitionLinks(long cpDefinitionId,
java.lang.String type,
int status) |
static java.util.List<CPDefinitionLink> |
getCPDefinitionLinks(long cpDefinitionId,
java.lang.String type,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) |
static java.util.List<CPDefinitionLink> |
getCPDefinitionLinks(long cpDefinitionId,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) |
static int |
getCPDefinitionLinksCount(long cpDefinitionId) |
static int |
getCPDefinitionLinksCount(long cpDefinitionId,
int status) |
static int |
getCPDefinitionLinksCount(long cpDefinitionId,
java.lang.String type) |
static int |
getCPDefinitionLinksCount(long cpDefinitionId,
java.lang.String type,
int status) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CPDefinitionLinkService |
getService() |
static CPDefinitionLink |
updateCPDefinitionLink(long cpDefinitionLinkId,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
double priority,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
updateCPDefinitionLinks(long cpDefinitionId,
long[] cpDefinitionIds2,
java.lang.String type,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static CPDefinitionLink addCPDefinitionLink(long cpDefinitionId, long cProductId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, double priority, java.lang.String type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteCPDefinitionLink(long cpDefinitionLinkId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CPDefinitionLink fetchCPDefinitionLink(long cpDefinitionLinkId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CPDefinitionLink fetchCPDefinitionLink(long cpDefinitionId, long cProductId, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CPDefinitionLink getCPDefinitionLink(long cpDefinitionLinkId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, java.lang.String type, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, java.lang.String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCPDefinitionLinksCount(long cpDefinitionId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCPDefinitionLinksCount(long cpDefinitionId,
int status)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCPDefinitionLinksCount(long cpDefinitionId,
java.lang.String type)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCPDefinitionLinksCount(long cpDefinitionId,
java.lang.String type,
int status)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static CPDefinitionLink updateCPDefinitionLink(long cpDefinitionLinkId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, double priority, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void updateCPDefinitionLinks(long cpDefinitionId,
long[] cpDefinitionIds2,
java.lang.String type,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CPDefinitionLinkService getService()