Class CommerceWishListItemServiceUtil
java.lang.Object
com.liferay.commerce.wish.list.service.CommerceWishListItemServiceUtil
Provides the remote service utility for CommerceWishListItem. This utility wraps
com.liferay.commerce.wish.list.service.impl.CommerceWishListItemServiceImpl 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 CommerceWishListItemaddCommerceWishListItem(long commerceAccountId, long commerceWishListId, String cpInstanceUuid, long cProductId, String json) static CommerceWishListItemaddOrUpdateCommerceWishListItem(long commerceAccountId, long commerceWishListId, String cpInstanceUuid, long cProductId, String json) static voiddeleteCommerceWishListItem(long commerceWishListItemId) static voiddeleteCommerceWishListItems(long commerceWishListId) static CommerceWishListItemgetCommerceWishListItem(long commerceWishListItemId) static CommerceWishListItemgetCommerceWishListItem(long commerceWishListId, String cpInstanceUuid, long cProductId) static intgetCommerceWishListItemByContainsCPInstanceCount(long commerceWishListId, String cpInstanceUuid) static intgetCommerceWishListItemByContainsCProductCount(long commerceWishListId, long cProductId) static List<CommerceWishListItem>getCommerceWishListItems(long commerceWishListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) static intgetCommerceWishListItemsCount(long commerceWishListId) static StringReturns the OSGi service identifier.static CommerceWishListItemServicestatic CommerceWishListItemupdateCommerceWishListItem(long commerceAccountId, long commerceWishListId, String cpInstanceUuid, long cProductId, String json)
-
Constructor Details
-
CommerceWishListItemServiceUtil
public CommerceWishListItemServiceUtil()
-
-
Method Details
-
addCommerceWishListItem
public static CommerceWishListItem addCommerceWishListItem(long commerceAccountId, long commerceWishListId, String cpInstanceUuid, long cProductId, String json) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceWishListItem
public static CommerceWishListItem addOrUpdateCommerceWishListItem(long commerceAccountId, long commerceWishListId, String cpInstanceUuid, long cProductId, String json) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceWishListItem
public static void deleteCommerceWishListItem(long commerceWishListItemId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceWishListItems
public static void deleteCommerceWishListItems(long commerceWishListId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceWishListItem
public static CommerceWishListItem getCommerceWishListItem(long commerceWishListItemId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceWishListItem
public static CommerceWishListItem getCommerceWishListItem(long commerceWishListId, String cpInstanceUuid, long cProductId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceWishListItemByContainsCPInstanceCount
public static int getCommerceWishListItemByContainsCPInstanceCount(long commerceWishListId, String cpInstanceUuid) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceWishListItemByContainsCProductCount
public static int getCommerceWishListItemByContainsCProductCount(long commerceWishListId, long cProductId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceWishListItems
public static List<CommerceWishListItem> getCommerceWishListItems(long commerceWishListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceWishListItemsCount
public static int getCommerceWishListItemsCount(long commerceWishListId) 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
-
updateCommerceWishListItem
public static CommerceWishListItem updateCommerceWishListItem(long commerceAccountId, long commerceWishListId, String cpInstanceUuid, long cProductId, String json) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-