1
14
15 package com.liferay.portlet.asset.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.asset.service.AssetTagPropertyServiceUtil;
21
22 import java.rmi.RemoteException;
23
24
74 public class AssetTagPropertyServiceSoap {
75 public static com.liferay.portlet.asset.model.AssetTagPropertySoap addTagProperty(
76 long tagId, java.lang.String key, java.lang.String value)
77 throws RemoteException {
78 try {
79 com.liferay.portlet.asset.model.AssetTagProperty returnValue = AssetTagPropertyServiceUtil.addTagProperty(tagId,
80 key, value);
81
82 return com.liferay.portlet.asset.model.AssetTagPropertySoap.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 void deleteTagProperty(long tagPropertyId)
92 throws RemoteException {
93 try {
94 AssetTagPropertyServiceUtil.deleteTagProperty(tagPropertyId);
95 }
96 catch (Exception e) {
97 _log.error(e, e);
98
99 throw new RemoteException(e.getMessage());
100 }
101 }
102
103 public static com.liferay.portlet.asset.model.AssetTagPropertySoap[] getTagProperties(
104 long tagId) throws RemoteException {
105 try {
106 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> returnValue =
107 AssetTagPropertyServiceUtil.getTagProperties(tagId);
108
109 return com.liferay.portlet.asset.model.AssetTagPropertySoap.toSoapModels(returnValue);
110 }
111 catch (Exception e) {
112 _log.error(e, e);
113
114 throw new RemoteException(e.getMessage());
115 }
116 }
117
118 public static com.liferay.portlet.asset.model.AssetTagPropertySoap[] getTagPropertyValues(
119 long companyId, java.lang.String key) throws RemoteException {
120 try {
121 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> returnValue =
122 AssetTagPropertyServiceUtil.getTagPropertyValues(companyId, key);
123
124 return com.liferay.portlet.asset.model.AssetTagPropertySoap.toSoapModels(returnValue);
125 }
126 catch (Exception e) {
127 _log.error(e, e);
128
129 throw new RemoteException(e.getMessage());
130 }
131 }
132
133 public static com.liferay.portlet.asset.model.AssetTagPropertySoap updateTagProperty(
134 long tagPropertyId, java.lang.String key, java.lang.String value)
135 throws RemoteException {
136 try {
137 com.liferay.portlet.asset.model.AssetTagProperty returnValue = AssetTagPropertyServiceUtil.updateTagProperty(tagPropertyId,
138 key, value);
139
140 return com.liferay.portlet.asset.model.AssetTagPropertySoap.toSoapModel(returnValue);
141 }
142 catch (Exception e) {
143 _log.error(e, e);
144
145 throw new RemoteException(e.getMessage());
146 }
147 }
148
149 private static Log _log = LogFactoryUtil.getLog(AssetTagPropertyServiceSoap.class);
150 }