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,
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 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 start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) |
static int |
getCPDefinitionLinksCount(long cpDefinitionId) |
static int |
getCPDefinitionLinksCount(long cpDefinitionId,
java.lang.String type) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CPDefinitionLinkService |
getService() |
static void |
setService(CPDefinitionLinkService service) |
static CPDefinitionLink |
updateCPDefinitionLink(long cpDefinitionLinkId,
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, 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.PortalException
public static void deleteCPDefinitionLink(long cpDefinitionLinkId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CPDefinitionLink fetchCPDefinitionLink(long cpDefinitionLinkId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CPDefinitionLink fetchCPDefinitionLink(long cpDefinitionId, long cProductId, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CPDefinitionLink getCPDefinitionLink(long cpDefinitionLinkId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public 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.PortalException
public static int getCPDefinitionLinksCount(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCPDefinitionLinksCount(long cpDefinitionId, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static CPDefinitionLink updateCPDefinitionLink(long cpDefinitionLinkId, double priority, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public 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.PortalException
public static CPDefinitionLinkService getService()
public static void setService(CPDefinitionLinkService service)