Package com.liferay.commerce.service
Class CommerceOrderAttachmentServiceUtil
java.lang.Object
com.liferay.commerce.service.CommerceOrderAttachmentServiceUtil
Provides the remote service utility for CommerceOrderAttachment. This utility wraps
com.liferay.commerce.service.impl.CommerceOrderAttachmentServiceImpl 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 CommerceOrderAttachmentaddCommerceOrderAttachment(long commerceOrderId, double priority, boolean restricted, String title, String type, String fileName, InputStream inputStream) static voiddeleteCommerceOrderAttachment(long commerceOrderAttachmentId) static CommerceOrderAttachmentfetchCommerceOrderAttachment(long commerceOrderAttachmentId) static CommerceOrderAttachmentfetchCommerceOrderAttachmentByExternalReferenceCode(String externalReferenceCode, long companyId) static CommerceOrderAttachmentgetCommerceOrderAttachment(long commerceOrderAttachmentId) static List<CommerceOrderAttachment> getCommerceOrderAttachments(long commerceOrderId, boolean restricted, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderAttachment> orderByComparator) static List<CommerceOrderAttachment> getCommerceOrderAttachments(long commerceOrderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderAttachment> orderByComparator) static intgetCommerceOrderAttachmentsCount(long commerceOrderId) static intgetCommerceOrderAttachmentsCount(long commerceOrderId, boolean restricted) static StringReturns the OSGi service identifier.static CommerceOrderAttachmentupdateCommerceOrderAttachment(long commerceOrderAttachmentId, double priority, boolean restricted, String title, String type)
-
Constructor Details
-
CommerceOrderAttachmentServiceUtil
public CommerceOrderAttachmentServiceUtil()
-
-
Method Details
-
addCommerceOrderAttachment
public static CommerceOrderAttachment addCommerceOrderAttachment(long commerceOrderId, double priority, boolean restricted, String title, String type, String fileName, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceOrderAttachment
public static void deleteCommerceOrderAttachment(long commerceOrderAttachmentId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderAttachment
public static CommerceOrderAttachment fetchCommerceOrderAttachment(long commerceOrderAttachmentId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderAttachmentByExternalReferenceCode
public static CommerceOrderAttachment fetchCommerceOrderAttachmentByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderAttachment
public static CommerceOrderAttachment getCommerceOrderAttachment(long commerceOrderAttachmentId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderAttachments
public static List<CommerceOrderAttachment> getCommerceOrderAttachments(long commerceOrderId, boolean restricted, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderAttachment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderAttachments
public static List<CommerceOrderAttachment> getCommerceOrderAttachments(long commerceOrderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderAttachment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderAttachmentsCount
public static int getCommerceOrderAttachmentsCount(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderAttachmentsCount
public static int getCommerceOrderAttachmentsCount(long commerceOrderId, boolean restricted) 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
-
updateCommerceOrderAttachment
public static CommerceOrderAttachment updateCommerceOrderAttachment(long commerceOrderAttachmentId, double priority, boolean restricted, String title, String type) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-