1
22
23 package com.liferay.portlet.tags.service.http;
24
25 import com.liferay.portal.kernel.log.Log;
26 import com.liferay.portal.kernel.log.LogFactoryUtil;
27
28 import com.liferay.portlet.tags.service.TagsPropertyServiceUtil;
29
30 import java.rmi.RemoteException;
31
32
82 public class TagsPropertyServiceSoap {
83 public static com.liferay.portlet.tags.model.TagsPropertySoap addProperty(
84 long entryId, java.lang.String key, java.lang.String value)
85 throws RemoteException {
86 try {
87 com.liferay.portlet.tags.model.TagsProperty returnValue = TagsPropertyServiceUtil.addProperty(entryId,
88 key, value);
89
90 return com.liferay.portlet.tags.model.TagsPropertySoap.toSoapModel(returnValue);
91 }
92 catch (Exception e) {
93 _log.error(e, e);
94
95 throw new RemoteException(e.getMessage());
96 }
97 }
98
99 public static com.liferay.portlet.tags.model.TagsPropertySoap addProperty(
100 java.lang.String entryName, java.lang.String key, java.lang.String value)
101 throws RemoteException {
102 try {
103 com.liferay.portlet.tags.model.TagsProperty returnValue = TagsPropertyServiceUtil.addProperty(entryName,
104 key, value);
105
106 return com.liferay.portlet.tags.model.TagsPropertySoap.toSoapModel(returnValue);
107 }
108 catch (Exception e) {
109 _log.error(e, e);
110
111 throw new RemoteException(e.getMessage());
112 }
113 }
114
115 public static void deleteProperty(long propertyId)
116 throws RemoteException {
117 try {
118 TagsPropertyServiceUtil.deleteProperty(propertyId);
119 }
120 catch (Exception e) {
121 _log.error(e, e);
122
123 throw new RemoteException(e.getMessage());
124 }
125 }
126
127 public static com.liferay.portlet.tags.model.TagsPropertySoap[] getProperties(
128 long entryId) throws RemoteException {
129 try {
130 java.util.List<com.liferay.portlet.tags.model.TagsProperty> returnValue =
131 TagsPropertyServiceUtil.getProperties(entryId);
132
133 return com.liferay.portlet.tags.model.TagsPropertySoap.toSoapModels(returnValue);
134 }
135 catch (Exception e) {
136 _log.error(e, e);
137
138 throw new RemoteException(e.getMessage());
139 }
140 }
141
142 public static com.liferay.portlet.tags.model.TagsPropertySoap[] getPropertyValues(
143 long companyId, java.lang.String key) throws RemoteException {
144 try {
145 java.util.List<com.liferay.portlet.tags.model.TagsProperty> returnValue =
146 TagsPropertyServiceUtil.getPropertyValues(companyId, key);
147
148 return com.liferay.portlet.tags.model.TagsPropertySoap.toSoapModels(returnValue);
149 }
150 catch (Exception e) {
151 _log.error(e, e);
152
153 throw new RemoteException(e.getMessage());
154 }
155 }
156
157 public static com.liferay.portlet.tags.model.TagsPropertySoap updateProperty(
158 long propertyId, java.lang.String key, java.lang.String value)
159 throws RemoteException {
160 try {
161 com.liferay.portlet.tags.model.TagsProperty returnValue = TagsPropertyServiceUtil.updateProperty(propertyId,
162 key, value);
163
164 return com.liferay.portlet.tags.model.TagsPropertySoap.toSoapModel(returnValue);
165 }
166 catch (Exception e) {
167 _log.error(e, e);
168
169 throw new RemoteException(e.getMessage());
170 }
171 }
172
173 private static Log _log = LogFactoryUtil.getLog(TagsPropertyServiceSoap.class);
174 }