public class CommerceOrderNoteServiceUtil
extends java.lang.Object
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.CommerceOrderNoteService
Constructor and Description |
---|
CommerceOrderNoteServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CommerceOrderNote |
addCommerceOrderNote(long commerceOrderId,
java.lang.String content,
boolean restricted,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceOrderNote |
addOrUpdateCommerceOrderNote(java.lang.String externalReferenceCode,
long commerceOrderNoteId,
long commerceOrderId,
java.lang.String content,
boolean restricted,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCommerceOrderNote(long commerceOrderNoteId) |
static CommerceOrderNote |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
static CommerceOrderNote |
fetchCommerceOrderNote(long commerceOrderNoteId) |
static CommerceOrderNote |
getCommerceOrderNote(long commerceOrderNoteId) |
static java.util.List<CommerceOrderNote> |
getCommerceOrderNotes(long commerceOrderId,
boolean restricted) |
static java.util.List<CommerceOrderNote> |
getCommerceOrderNotes(long commerceOrderId,
int start,
int end) |
static int |
getCommerceOrderNotesCount(long commerceOrderId) |
static int |
getCommerceOrderNotesCount(long commerceOrderId,
boolean restricted) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceOrderNoteService |
getService() |
static CommerceOrderNote |
updateCommerceOrderNote(long commerceOrderNoteId,
java.lang.String content,
boolean restricted) |
public static CommerceOrderNote addCommerceOrderNote(long commerceOrderId, java.lang.String content, boolean restricted, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrderNote addOrUpdateCommerceOrderNote(java.lang.String externalReferenceCode, long commerceOrderNoteId, long commerceOrderId, java.lang.String content, boolean restricted, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCommerceOrderNote(long commerceOrderNoteId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrderNote fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrderNote fetchCommerceOrderNote(long commerceOrderNoteId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrderNote getCommerceOrderNote(long commerceOrderNoteId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceOrderNote> getCommerceOrderNotes(long commerceOrderId, boolean restricted) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CommerceOrderNote> getCommerceOrderNotes(long commerceOrderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommerceOrderNotesCount(long commerceOrderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommerceOrderNotesCount(long commerceOrderId, boolean restricted) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static CommerceOrderNote updateCommerceOrderNote(long commerceOrderNoteId, java.lang.String content, boolean restricted) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CommerceOrderNoteService getService()