Package com.liferay.commerce.service
Class CommerceOrderNoteServiceUtil
java.lang.Object
com.liferay.commerce.service.CommerceOrderNoteServiceUtil
Provides the remote service utility for CommerceOrderNote. This utility wraps
com.liferay.commerce.service.impl.CommerceOrderNoteServiceImpl
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 CommerceOrderNote
addCommerceOrderNote
(long commerceOrderId, String content, boolean restricted, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceOrderNote
addOrUpdateCommerceOrderNote
(String externalReferenceCode, long commerceOrderNoteId, long commerceOrderId, String content, boolean restricted, com.liferay.portal.kernel.service.ServiceContext serviceContext) static void
deleteCommerceOrderNote
(long commerceOrderNoteId) static CommerceOrderNote
fetchCommerceOrderNote
(long commerceOrderNoteId) static CommerceOrderNote
fetchCommerceOrderNoteByExternalReferenceCode
(String externalReferenceCode, long companyId) static CommerceOrderNote
getCommerceOrderNote
(long commerceOrderNoteId) static List<CommerceOrderNote>
getCommerceOrderNotes
(long commerceOrderId, boolean restricted) static List<CommerceOrderNote>
getCommerceOrderNotes
(long commerceOrderId, boolean restricted, int start, int end) static List<CommerceOrderNote>
getCommerceOrderNotes
(long commerceOrderId, int start, int end) static int
getCommerceOrderNotesCount
(long commerceOrderId) static int
getCommerceOrderNotesCount
(long commerceOrderId, boolean restricted) static String
Returns the OSGi service identifier.static CommerceOrderNoteService
static CommerceOrderNote
updateCommerceOrderNote
(long commerceOrderNoteId, String content, boolean restricted)
-
Constructor Details
-
CommerceOrderNoteServiceUtil
public CommerceOrderNoteServiceUtil()
-
-
Method Details
-
addCommerceOrderNote
public static 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
public static 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
public static void deleteCommerceOrderNote(long commerceOrderNoteId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderNote
public static CommerceOrderNote fetchCommerceOrderNote(long commerceOrderNoteId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceOrderNoteByExternalReferenceCode
public static CommerceOrderNote fetchCommerceOrderNoteByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderNote
public static CommerceOrderNote getCommerceOrderNote(long commerceOrderNoteId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderNotes
public static List<CommerceOrderNote> getCommerceOrderNotes(long commerceOrderId, boolean restricted) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderNotes
public static 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
public static List<CommerceOrderNote> getCommerceOrderNotes(long commerceOrderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderNotesCount
public static int getCommerceOrderNotesCount(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceOrderNotesCount
public static int getCommerceOrderNotesCount(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
-
updateCommerceOrderNote
public static CommerceOrderNote updateCommerceOrderNote(long commerceOrderNoteId, String content, boolean restricted) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-