Class CPDefinitionLinkServiceUtil
java.lang.Object
com.liferay.commerce.product.service.CPDefinitionLinkServiceUtil
Provides the remote service utility for CPDefinitionLink. This utility wraps
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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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, 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, String type) static CPDefinitionLink
getCPDefinitionLink
(long cpDefinitionLinkId) static List<CPDefinitionLink>
getCPDefinitionLinks
(long cpDefinitionId) static List<CPDefinitionLink>
getCPDefinitionLinks
(long cpDefinitionId, int status) static List<CPDefinitionLink>
getCPDefinitionLinks
(long cpDefinitionId, int start, int end) static List<CPDefinitionLink>
getCPDefinitionLinks
(long cpDefinitionId, int status, int start, int end) static List<CPDefinitionLink>
getCPDefinitionLinks
(long cpDefinitionId, String type) static List<CPDefinitionLink>
getCPDefinitionLinks
(long cpDefinitionId, String type, int status) static List<CPDefinitionLink>
getCPDefinitionLinks
(long cpDefinitionId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) static List<CPDefinitionLink>
getCPDefinitionLinks
(long cpDefinitionId, 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, String type) static int
getCPDefinitionLinksCount
(long cpDefinitionId, String type, int status) static String
Returns the OSGi service identifier.static CPDefinitionLinkService
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, String type, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
CPDefinitionLinkServiceUtil
public CPDefinitionLinkServiceUtil()
-
-
Method Details
-
addCPDefinitionLink
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, String type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCPDefinitionLink
public static void deleteCPDefinitionLink(long cpDefinitionLinkId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPDefinitionLink
public static CPDefinitionLink fetchCPDefinitionLink(long cpDefinitionLinkId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCPDefinitionLink
public static CPDefinitionLink fetchCPDefinitionLink(long cpDefinitionId, long cProductId, String type) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLink
public static CPDefinitionLink getCPDefinitionLink(long cpDefinitionLinkId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLinks
public static List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLinks
public static List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLinks
public static List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLinks
public static List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLinks
public static List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, String type) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLinks
public static List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, String type, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLinks
public static List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLinks
public static List<CPDefinitionLink> getCPDefinitionLinks(long cpDefinitionId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLinksCount
public static int getCPDefinitionLinksCount(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLinksCount
public static int getCPDefinitionLinksCount(long cpDefinitionId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLinksCount
public static int getCPDefinitionLinksCount(long cpDefinitionId, String type) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionLinksCount
public static int getCPDefinitionLinksCount(long cpDefinitionId, String type, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateCPDefinitionLink
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCPDefinitionLinks
public static void updateCPDefinitionLinks(long cpDefinitionId, long[] cpDefinitionIds2, String type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-