001
014
015 package com.liferay.portlet.expando.service.http;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.log.Log;
020 import com.liferay.portal.kernel.log.LogFactoryUtil;
021
022 import com.liferay.portlet.expando.service.ExpandoValueServiceUtil;
023
024 import java.rmi.RemoteException;
025
026
066 @ProviderType
067 public class ExpandoValueServiceSoap {
068 public static com.liferay.portlet.expando.model.ExpandoValueSoap addValue(
069 long companyId, java.lang.String className, java.lang.String tableName,
070 java.lang.String columnName, long classPK, java.lang.Object data)
071 throws RemoteException {
072 try {
073 com.liferay.portlet.expando.model.ExpandoValue returnValue = ExpandoValueServiceUtil.addValue(companyId,
074 className, tableName, columnName, classPK, data);
075
076 return com.liferay.portlet.expando.model.ExpandoValueSoap.toSoapModel(returnValue);
077 }
078 catch (Exception e) {
079 _log.error(e, e);
080
081 throw new RemoteException(e.getMessage());
082 }
083 }
084
085 public static com.liferay.portlet.expando.model.ExpandoValueSoap addValue(
086 long companyId, java.lang.String className, java.lang.String tableName,
087 java.lang.String columnName, long classPK, java.lang.String data)
088 throws RemoteException {
089 try {
090 com.liferay.portlet.expando.model.ExpandoValue returnValue = ExpandoValueServiceUtil.addValue(companyId,
091 className, tableName, columnName, classPK, data);
092
093 return com.liferay.portlet.expando.model.ExpandoValueSoap.toSoapModel(returnValue);
094 }
095 catch (Exception e) {
096 _log.error(e, e);
097
098 throw new RemoteException(e.getMessage());
099 }
100 }
101
102 public static java.lang.String getJSONData(long companyId,
103 java.lang.String className, java.lang.String tableName,
104 java.lang.String columnName, long classPK) throws RemoteException {
105 try {
106 com.liferay.portal.kernel.json.JSONObject returnValue = ExpandoValueServiceUtil.getJSONData(companyId,
107 className, tableName, columnName, classPK);
108
109 return returnValue.toString();
110 }
111 catch (Exception e) {
112 _log.error(e, e);
113
114 throw new RemoteException(e.getMessage());
115 }
116 }
117
118 private static Log _log = LogFactoryUtil.getLog(ExpandoValueServiceSoap.class);
119 }