Package com.liferay.commerce.service
Interface CommerceOrderNoteService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
CommerceOrderNoteServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceOrderNoteService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CommerceOrderNote. 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 TypeMethodDescriptionaddCommerceOrderNote
(long commerceOrderId, String content, boolean restricted, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateCommerceOrderNote
(String externalReferenceCode, long commerceOrderNoteId, long commerceOrderId, String content, boolean restricted, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
deleteCommerceOrderNote
(long commerceOrderNoteId) fetchCommerceOrderNote
(long commerceOrderNoteId) fetchCommerceOrderNoteByExternalReferenceCode
(String externalReferenceCode, long companyId) getCommerceOrderNote
(long commerceOrderNoteId) getCommerceOrderNotes
(long commerceOrderId, boolean restricted) getCommerceOrderNotes
(long commerceOrderId, boolean restricted, int start, int end) getCommerceOrderNotes
(long commerceOrderId, int start, int end) int
getCommerceOrderNotesCount
(long commerceOrderId) int
getCommerceOrderNotesCount
(long commerceOrderId, boolean restricted) Returns the OSGi service identifier.updateCommerceOrderNote
(long commerceOrderNoteId, String content, boolean restricted)
-
Method Details
-
addCommerceOrderNote
CommerceOrderNote addCommerceOrderNote(long commerceOrderId, String content, boolean restricted, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceOrderNote
CommerceOrderNote addOrUpdateCommerceOrderNote(String externalReferenceCode, long commerceOrderNoteId, long commerceOrderId, String content, boolean restricted, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceOrderNote
void deleteCommerceOrderNote(long commerceOrderNoteId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderNote
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderNote fetchCommerceOrderNote(long commerceOrderNoteId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderNoteByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderNote fetchCommerceOrderNoteByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderNote
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceOrderNote getCommerceOrderNote(long commerceOrderNoteId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderNotes
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderNote> getCommerceOrderNotes(long commerceOrderId, boolean restricted) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderNotes
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderNote> getCommerceOrderNotes(long commerceOrderId, boolean restricted, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderNotes
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceOrderNote> getCommerceOrderNotes(long commerceOrderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderNotesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrderNotesCount(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderNotesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceOrderNotesCount(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
-
updateCommerceOrderNote
CommerceOrderNote updateCommerceOrderNote(long commerceOrderNoteId, String content, boolean restricted) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-