All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.commerce.bom.service.http.CommerceBOMFolderApplicationRelServiceSoap Maven / Gradle / Ivy

There is a newer version: 5.0.3
Show newest version
/**
 * 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.bom.service.http;

import com.liferay.commerce.bom.service.CommerceBOMFolderApplicationRelServiceUtil;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;

import java.rmi.RemoteException;

/**
 * Provides the SOAP utility for the
 * CommerceBOMFolderApplicationRelServiceUtil service
 * utility. The static methods of this class call the same methods of the
 * service utility. However, the signatures are different because it is
 * difficult for SOAP to support certain types.
 *
 * 

* ServiceBuilder follows certain rules in translating the methods. For example, * if the method in the service utility returns a java.util.List, * that is translated to an array of * com.liferay.commerce.bom.model.CommerceBOMFolderApplicationRelSoap. If the method in the * service utility returns a * com.liferay.commerce.bom.model.CommerceBOMFolderApplicationRel, that is translated to a * com.liferay.commerce.bom.model.CommerceBOMFolderApplicationRelSoap. Methods that SOAP * cannot safely wire are skipped. *

* *

* The benefits of using the SOAP utility is that it is cross platform * compatible. SOAP allows different languages like Java, .NET, C++, PHP, and * even Perl, to call the generated services. One drawback of SOAP is that it is * slow because it needs to serialize all calls into a text format (XML). *

* *

* You can see a list of services at http://localhost:8080/api/axis. Set the * property axis.servlet.hosts.allowed in portal.properties to configure * security. *

* *

* The SOAP utility is only generated for remote services. *

* * @author Luca Pellizzon * @see CommerceBOMFolderApplicationRelServiceHttp * @deprecated As of Athanasius (7.3.x), with no direct replacement * @generated */ @Deprecated public class CommerceBOMFolderApplicationRelServiceSoap { public static com.liferay.commerce.bom.model.CommerceBOMFolderApplicationRelSoap addCommerceBOMFolderApplicationRel( long userId, long commerceBOMFolderId, long commerceApplicationModelId) throws RemoteException { try { com.liferay.commerce.bom.model.CommerceBOMFolderApplicationRel returnValue = CommerceBOMFolderApplicationRelServiceUtil. addCommerceBOMFolderApplicationRel( userId, commerceBOMFolderId, commerceApplicationModelId); return com.liferay.commerce.bom.model. CommerceBOMFolderApplicationRelSoap.toSoapModel(returnValue); } catch (Exception exception) { _log.error(exception, exception); throw new RemoteException(exception.getMessage()); } } public static void deleteCommerceBOMFolderApplicationRel( long commerceBOMFolderApplicationRelId) throws RemoteException { try { CommerceBOMFolderApplicationRelServiceUtil. deleteCommerceBOMFolderApplicationRel( commerceBOMFolderApplicationRelId); } catch (Exception exception) { _log.error(exception, exception); throw new RemoteException(exception.getMessage()); } } public static com.liferay.commerce.bom.model.CommerceBOMFolderApplicationRelSoap[] getCommerceBOMFolderApplicationRelsByCAMId( long commerceApplicationModelId, int start, int end) throws RemoteException { try { java.util.List returnValue = CommerceBOMFolderApplicationRelServiceUtil. getCommerceBOMFolderApplicationRelsByCAMId( commerceApplicationModelId, start, end); return com.liferay.commerce.bom.model. CommerceBOMFolderApplicationRelSoap.toSoapModels(returnValue); } catch (Exception exception) { _log.error(exception, exception); throw new RemoteException(exception.getMessage()); } } public static com.liferay.commerce.bom.model.CommerceBOMFolderApplicationRelSoap[] getCommerceBOMFolderApplicationRelsByCommerceBOMFolderId( long commerceBOMFolderId, int start, int end) throws RemoteException { try { java.util.List returnValue = CommerceBOMFolderApplicationRelServiceUtil. getCommerceBOMFolderApplicationRelsByCommerceBOMFolderId( commerceBOMFolderId, start, end); return com.liferay.commerce.bom.model. CommerceBOMFolderApplicationRelSoap.toSoapModels(returnValue); } catch (Exception exception) { _log.error(exception, exception); throw new RemoteException(exception.getMessage()); } } public static int getCommerceBOMFolderApplicationRelsCountByCAMId( long commerceApplicationModelId) throws RemoteException { try { int returnValue = CommerceBOMFolderApplicationRelServiceUtil. getCommerceBOMFolderApplicationRelsCountByCAMId( commerceApplicationModelId); return returnValue; } catch (Exception exception) { _log.error(exception, exception); throw new RemoteException(exception.getMessage()); } } public static int getCommerceBOMFolderApplicationRelsCountByCommerceBOMFolderId( long commerceBOMFolderId) throws RemoteException { try { int returnValue = CommerceBOMFolderApplicationRelServiceUtil. getCommerceBOMFolderApplicationRelsCountByCommerceBOMFolderId( commerceBOMFolderId); return returnValue; } catch (Exception exception) { _log.error(exception, exception); throw new RemoteException(exception.getMessage()); } } private static Log _log = LogFactoryUtil.getLog( CommerceBOMFolderApplicationRelServiceSoap.class); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy