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