Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.commerce.service;
import com.liferay.commerce.model.CommerceOrderNote;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.module.service.Snapshot;
import java.util.List;
/**
* 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.
*
* @author Alessio Antonio Rendina
* @see CommerceOrderNoteService
* @generated
*/
public class CommerceOrderNoteServiceUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Add custom service methods to com.liferay.commerce.service.impl.CommerceOrderNoteServiceImpl and rerun ServiceBuilder to regenerate this class.
*/
public static CommerceOrderNote addCommerceOrderNote(
long commerceOrderId, String content, boolean restricted,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws PortalException {
return getService().addCommerceOrderNote(
commerceOrderId, content, restricted, serviceContext);
}
public static CommerceOrderNote addOrUpdateCommerceOrderNote(
String externalReferenceCode, long commerceOrderNoteId,
long commerceOrderId, String content, boolean restricted,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws PortalException {
return getService().addOrUpdateCommerceOrderNote(
externalReferenceCode, commerceOrderNoteId, commerceOrderId,
content, restricted, serviceContext);
}
public static void deleteCommerceOrderNote(long commerceOrderNoteId)
throws PortalException {
getService().deleteCommerceOrderNote(commerceOrderNoteId);
}
public static CommerceOrderNote fetchCommerceOrderNote(
long commerceOrderNoteId)
throws PortalException {
return getService().fetchCommerceOrderNote(commerceOrderNoteId);
}
public static CommerceOrderNote
fetchCommerceOrderNoteByExternalReferenceCode(
String externalReferenceCode, long companyId)
throws PortalException {
return getService().fetchCommerceOrderNoteByExternalReferenceCode(
externalReferenceCode, companyId);
}
public static CommerceOrderNote getCommerceOrderNote(
long commerceOrderNoteId)
throws PortalException {
return getService().getCommerceOrderNote(commerceOrderNoteId);
}
public static List getCommerceOrderNotes(
long commerceOrderId, boolean restricted)
throws PortalException {
return getService().getCommerceOrderNotes(commerceOrderId, restricted);
}
public static List getCommerceOrderNotes(
long commerceOrderId, boolean restricted, int start, int end)
throws PortalException {
return getService().getCommerceOrderNotes(
commerceOrderId, restricted, start, end);
}
public static List getCommerceOrderNotes(
long commerceOrderId, int start, int end)
throws PortalException {
return getService().getCommerceOrderNotes(commerceOrderId, start, end);
}
public static int getCommerceOrderNotesCount(long commerceOrderId)
throws PortalException {
return getService().getCommerceOrderNotesCount(commerceOrderId);
}
public static int getCommerceOrderNotesCount(
long commerceOrderId, boolean restricted)
throws PortalException {
return getService().getCommerceOrderNotesCount(
commerceOrderId, restricted);
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
public static String getOSGiServiceIdentifier() {
return getService().getOSGiServiceIdentifier();
}
public static CommerceOrderNote updateCommerceOrderNote(
long commerceOrderNoteId, String content, boolean restricted)
throws PortalException {
return getService().updateCommerceOrderNote(
commerceOrderNoteId, content, restricted);
}
public static CommerceOrderNoteService getService() {
return _serviceSnapshot.get();
}
private static final Snapshot _serviceSnapshot =
new Snapshot<>(
CommerceOrderNoteServiceUtil.class, CommerceOrderNoteService.class);
}