Package com.liferay.commerce.service
Interface CommerceOrderAttachmentService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
CommerceOrderAttachmentServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceOrderAttachmentService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CommerceOrderAttachment. 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:
-
Method Summary
Modifier and TypeMethodDescriptionaddCommerceOrderAttachment(long commerceOrderId, double priority, boolean restricted, String title, String type, String fileName, InputStream inputStream) voiddeleteCommerceOrderAttachment(long commerceOrderAttachmentId) fetchCommerceOrderAttachment(long commerceOrderAttachmentId) fetchCommerceOrderAttachmentByExternalReferenceCode(String externalReferenceCode, long companyId) getCommerceOrderAttachment(long commerceOrderAttachmentId) getCommerceOrderAttachments(long commerceOrderId, boolean restricted, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderAttachment> orderByComparator) getCommerceOrderAttachments(long commerceOrderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderAttachment> orderByComparator) intgetCommerceOrderAttachmentsCount(long commerceOrderId) intgetCommerceOrderAttachmentsCount(long commerceOrderId, boolean restricted) Returns the OSGi service identifier.updateCommerceOrderAttachment(long commerceOrderAttachmentId, double priority, boolean restricted, String title, String type)
-
Method Details
-
addCommerceOrderAttachment
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
void deleteCommerceOrderAttachment(long commerceOrderAttachmentId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderAttachment
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderAttachment fetchCommerceOrderAttachment(long commerceOrderAttachmentId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderAttachmentByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderAttachment fetchCommerceOrderAttachmentByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderAttachment
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderAttachment getCommerceOrderAttachment(long commerceOrderAttachmentId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderAttachments
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrderAttachmentsCount(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderAttachmentsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrderAttachmentsCount(long commerceOrderId, boolean restricted) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateCommerceOrderAttachment
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
-