Package com.liferay.commerce.service
Class CommerceOrderAttachmentServiceWrapper
java.lang.Object
com.liferay.commerce.service.CommerceOrderAttachmentServiceWrapper
- All Implemented Interfaces:
CommerceOrderAttachmentService,com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderAttachmentService>
public class CommerceOrderAttachmentServiceWrapper
extends Object
implements CommerceOrderAttachmentService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderAttachmentService>
Provides a wrapper for
CommerceOrderAttachmentService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceOrderAttachmentServiceWrapper(CommerceOrderAttachmentService commerceOrderAttachmentService) -
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.voidsetWrappedService(CommerceOrderAttachmentService commerceOrderAttachmentService) updateCommerceOrderAttachment(long commerceOrderAttachmentId, double priority, boolean restricted, String title, String type)
-
Constructor Details
-
CommerceOrderAttachmentServiceWrapper
public CommerceOrderAttachmentServiceWrapper() -
CommerceOrderAttachmentServiceWrapper
public CommerceOrderAttachmentServiceWrapper(CommerceOrderAttachmentService commerceOrderAttachmentService)
-
-
Method Details
-
addCommerceOrderAttachment
public CommerceOrderAttachment addCommerceOrderAttachment(long commerceOrderId, double priority, boolean restricted, String title, String type, String fileName, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceOrderAttachmentin interfaceCommerceOrderAttachmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceOrderAttachment
public void deleteCommerceOrderAttachment(long commerceOrderAttachmentId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceOrderAttachmentin interfaceCommerceOrderAttachmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderAttachment
public CommerceOrderAttachment fetchCommerceOrderAttachment(long commerceOrderAttachmentId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceOrderAttachmentin interfaceCommerceOrderAttachmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderAttachmentByExternalReferenceCode
public CommerceOrderAttachment fetchCommerceOrderAttachmentByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceOrderAttachmentByExternalReferenceCodein interfaceCommerceOrderAttachmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderAttachment
public CommerceOrderAttachment getCommerceOrderAttachment(long commerceOrderAttachmentId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrderAttachmentin interfaceCommerceOrderAttachmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderAttachments
public 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 - Specified by:
getCommerceOrderAttachmentsin interfaceCommerceOrderAttachmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderAttachments
public List<CommerceOrderAttachment> getCommerceOrderAttachments(long commerceOrderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderAttachment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrderAttachmentsin interfaceCommerceOrderAttachmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderAttachmentsCount
public int getCommerceOrderAttachmentsCount(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrderAttachmentsCountin interfaceCommerceOrderAttachmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderAttachmentsCount
public int getCommerceOrderAttachmentsCount(long commerceOrderId, boolean restricted) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceOrderAttachmentsCountin interfaceCommerceOrderAttachmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceCommerceOrderAttachmentService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderAttachmentService>- Returns:
- the OSGi service identifier
-
updateCommerceOrderAttachment
public CommerceOrderAttachment updateCommerceOrderAttachment(long commerceOrderAttachmentId, double priority, boolean restricted, String title, String type) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceOrderAttachmentin interfaceCommerceOrderAttachmentService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderAttachmentService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderAttachmentService>
-