com.liferay.commerce.service.CommerceShippingOptionAccountEntryRelServiceUtil Maven / Gradle / Ivy
/**
* 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.CommerceShippingOptionAccountEntryRel;
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 CommerceShippingOptionAccountEntryRel. This utility wraps
* com.liferay.commerce.service.impl.CommerceShippingOptionAccountEntryRelServiceImpl
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 CommerceShippingOptionAccountEntryRelService
* @generated
*/
public class CommerceShippingOptionAccountEntryRelServiceUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Add custom service methods to com.liferay.commerce.service.impl.CommerceShippingOptionAccountEntryRelServiceImpl
and rerun ServiceBuilder to regenerate this class.
*/
public static CommerceShippingOptionAccountEntryRel
addCommerceShippingOptionAccountEntryRel(
long accountEntryId, long commerceChannelId,
String commerceShippingMethodKey,
String commerceShippingOptionKey)
throws PortalException {
return getService().addCommerceShippingOptionAccountEntryRel(
accountEntryId, commerceChannelId, commerceShippingMethodKey,
commerceShippingOptionKey);
}
public static void deleteCommerceShippingOptionAccountEntryRel(
long commerceShippingOptionAccountEntryRelId)
throws PortalException {
getService().deleteCommerceShippingOptionAccountEntryRel(
commerceShippingOptionAccountEntryRelId);
}
public static CommerceShippingOptionAccountEntryRel
fetchCommerceShippingOptionAccountEntryRel(
long accountEntryId, long commerceChannelId)
throws PortalException {
return getService().fetchCommerceShippingOptionAccountEntryRel(
accountEntryId, commerceChannelId);
}
public static CommerceShippingOptionAccountEntryRel
getCommerceShippingOptionAccountEntryRel(
long commerceShippingOptionAccountEntryRelId)
throws PortalException {
return getService().getCommerceShippingOptionAccountEntryRel(
commerceShippingOptionAccountEntryRelId);
}
public static List
getCommerceShippingOptionAccountEntryRels(long accountEntryId)
throws Exception {
return getService().getCommerceShippingOptionAccountEntryRels(
accountEntryId);
}
public static int getCommerceShippingOptionAccountEntryRelsCount(
long accountEntryId)
throws Exception {
return getService().getCommerceShippingOptionAccountEntryRelsCount(
accountEntryId);
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
public static String getOSGiServiceIdentifier() {
return getService().getOSGiServiceIdentifier();
}
public static CommerceShippingOptionAccountEntryRel
updateCommerceShippingOptionAccountEntryRel(
long commerceShippingOptionAccountEntryRelId,
String commerceShippingMethodKey,
String commerceShippingOptionKey)
throws PortalException {
return getService().updateCommerceShippingOptionAccountEntryRel(
commerceShippingOptionAccountEntryRelId, commerceShippingMethodKey,
commerceShippingOptionKey);
}
public static CommerceShippingOptionAccountEntryRelService getService() {
return _serviceSnapshot.get();
}
private static final Snapshot
_serviceSnapshot = new Snapshot<>(
CommerceShippingOptionAccountEntryRelServiceUtil.class,
CommerceShippingOptionAccountEntryRelService.class);
}