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 CPDefinitionLinkaddCPDefinitionLink(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 voiddeleteCPDefinitionLink(long cpDefinitionLinkId) static CPDefinitionLinkfetchCPDefinitionLink(long cpDefinitionLinkId) static CPDefinitionLinkfetchCPDefinitionLink(long cpDefinitionId, long cProductId, String type) static CPDefinitionLinkgetCPDefinitionLink(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 intgetCPDefinitionLinksCount(long cpDefinitionId) static intgetCPDefinitionLinksCount(long cpDefinitionId, int status) static intgetCPDefinitionLinksCount(long cpDefinitionId, String type) static intgetCPDefinitionLinksCount(long cpDefinitionId, String type, int status) static StringReturns the OSGi service identifier.static CPDefinitionLinkServicestatic CPDefinitionLinkupdateCPDefinitionLink(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 voidupdateCPDefinitionLinks(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
-