1
14
15 package com.liferay.portlet.asset.service;
16
17
18
34 public class AssetTagLocalServiceWrapper implements AssetTagLocalService {
35 public AssetTagLocalServiceWrapper(
36 AssetTagLocalService assetTagLocalService) {
37 _assetTagLocalService = assetTagLocalService;
38 }
39
40 public com.liferay.portlet.asset.model.AssetTag addAssetTag(
41 com.liferay.portlet.asset.model.AssetTag assetTag)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return _assetTagLocalService.addAssetTag(assetTag);
44 }
45
46 public com.liferay.portlet.asset.model.AssetTag createAssetTag(long tagId) {
47 return _assetTagLocalService.createAssetTag(tagId);
48 }
49
50 public void deleteAssetTag(long tagId)
51 throws com.liferay.portal.kernel.exception.PortalException,
52 com.liferay.portal.kernel.exception.SystemException {
53 _assetTagLocalService.deleteAssetTag(tagId);
54 }
55
56 public void deleteAssetTag(
57 com.liferay.portlet.asset.model.AssetTag assetTag)
58 throws com.liferay.portal.kernel.exception.SystemException {
59 _assetTagLocalService.deleteAssetTag(assetTag);
60 }
61
62 @SuppressWarnings("unchecked")
63 public java.util.List dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.kernel.exception.SystemException {
66 return _assetTagLocalService.dynamicQuery(dynamicQuery);
67 }
68
69 @SuppressWarnings("unchecked")
70 public java.util.List dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.kernel.exception.SystemException {
73 return _assetTagLocalService.dynamicQuery(dynamicQuery, start, end);
74 }
75
76 @SuppressWarnings("unchecked")
77 public java.util.List dynamicQuery(
78 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79 int end,
80 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81 throws com.liferay.portal.kernel.exception.SystemException {
82 return _assetTagLocalService.dynamicQuery(dynamicQuery, start, end,
83 orderByComparator);
84 }
85
86 public long dynamicQueryCount(
87 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88 throws com.liferay.portal.kernel.exception.SystemException {
89 return _assetTagLocalService.dynamicQueryCount(dynamicQuery);
90 }
91
92 public com.liferay.portlet.asset.model.AssetTag getAssetTag(long tagId)
93 throws com.liferay.portal.kernel.exception.PortalException,
94 com.liferay.portal.kernel.exception.SystemException {
95 return _assetTagLocalService.getAssetTag(tagId);
96 }
97
98 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(
99 int start, int end)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return _assetTagLocalService.getAssetTags(start, end);
102 }
103
104 public int getAssetTagsCount()
105 throws com.liferay.portal.kernel.exception.SystemException {
106 return _assetTagLocalService.getAssetTagsCount();
107 }
108
109 public com.liferay.portlet.asset.model.AssetTag updateAssetTag(
110 com.liferay.portlet.asset.model.AssetTag assetTag)
111 throws com.liferay.portal.kernel.exception.SystemException {
112 return _assetTagLocalService.updateAssetTag(assetTag);
113 }
114
115 public com.liferay.portlet.asset.model.AssetTag updateAssetTag(
116 com.liferay.portlet.asset.model.AssetTag assetTag, boolean merge)
117 throws com.liferay.portal.kernel.exception.SystemException {
118 return _assetTagLocalService.updateAssetTag(assetTag, merge);
119 }
120
121 public com.liferay.portlet.asset.model.AssetTag addTag(long userId,
122 java.lang.String name, java.lang.String[] tagProperties,
123 com.liferay.portal.service.ServiceContext serviceContext)
124 throws com.liferay.portal.kernel.exception.PortalException,
125 com.liferay.portal.kernel.exception.SystemException {
126 return _assetTagLocalService.addTag(userId, name, tagProperties,
127 serviceContext);
128 }
129
130 public void addTagResources(com.liferay.portlet.asset.model.AssetTag tag,
131 boolean addCommunityPermissions, boolean addGuestPermissions)
132 throws com.liferay.portal.kernel.exception.PortalException,
133 com.liferay.portal.kernel.exception.SystemException {
134 _assetTagLocalService.addTagResources(tag, addCommunityPermissions,
135 addGuestPermissions);
136 }
137
138 public void addTagResources(com.liferay.portlet.asset.model.AssetTag tag,
139 java.lang.String[] communityPermissions,
140 java.lang.String[] guestPermissions)
141 throws com.liferay.portal.kernel.exception.PortalException,
142 com.liferay.portal.kernel.exception.SystemException {
143 _assetTagLocalService.addTagResources(tag, communityPermissions,
144 guestPermissions);
145 }
146
147 public void checkTags(long userId, long groupId, java.lang.String[] names)
148 throws com.liferay.portal.kernel.exception.PortalException,
149 com.liferay.portal.kernel.exception.SystemException {
150 _assetTagLocalService.checkTags(userId, groupId, names);
151 }
152
153 public com.liferay.portlet.asset.model.AssetTag decrementAssetCount(
154 long tagId, long classNameId)
155 throws com.liferay.portal.kernel.exception.PortalException,
156 com.liferay.portal.kernel.exception.SystemException {
157 return _assetTagLocalService.decrementAssetCount(tagId, classNameId);
158 }
159
160 public void deleteTag(com.liferay.portlet.asset.model.AssetTag tag)
161 throws com.liferay.portal.kernel.exception.PortalException,
162 com.liferay.portal.kernel.exception.SystemException {
163 _assetTagLocalService.deleteTag(tag);
164 }
165
166 public void deleteTag(long tagId)
167 throws com.liferay.portal.kernel.exception.PortalException,
168 com.liferay.portal.kernel.exception.SystemException {
169 _assetTagLocalService.deleteTag(tagId);
170 }
171
172 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getEntryTags(
173 long entryId)
174 throws com.liferay.portal.kernel.exception.SystemException {
175 return _assetTagLocalService.getEntryTags(entryId);
176 }
177
178 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
179 long groupId)
180 throws com.liferay.portal.kernel.exception.SystemException {
181 return _assetTagLocalService.getGroupTags(groupId);
182 }
183
184 public com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _assetTagLocalService.getTag(tagId);
188 }
189
190 public com.liferay.portlet.asset.model.AssetTag getTag(long groupId,
191 java.lang.String name)
192 throws com.liferay.portal.kernel.exception.PortalException,
193 com.liferay.portal.kernel.exception.SystemException {
194 return _assetTagLocalService.getTag(groupId, name);
195 }
196
197 public long[] getTagIds(long groupId, java.lang.String[] names)
198 throws com.liferay.portal.kernel.exception.PortalException,
199 com.liferay.portal.kernel.exception.SystemException {
200 return _assetTagLocalService.getTagIds(groupId, names);
201 }
202
203 public java.lang.String[] getTagNames()
204 throws com.liferay.portal.kernel.exception.SystemException {
205 return _assetTagLocalService.getTagNames();
206 }
207
208 public java.lang.String[] getTagNames(long classNameId, long classPK)
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return _assetTagLocalService.getTagNames(classNameId, classPK);
211 }
212
213 public java.lang.String[] getTagNames(java.lang.String className,
214 long classPK)
215 throws com.liferay.portal.kernel.exception.SystemException {
216 return _assetTagLocalService.getTagNames(className, classPK);
217 }
218
219 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags()
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return _assetTagLocalService.getTags();
222 }
223
224 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
225 long classNameId, long classPK)
226 throws com.liferay.portal.kernel.exception.SystemException {
227 return _assetTagLocalService.getTags(classNameId, classPK);
228 }
229
230 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
231 long groupId, long classNameId, java.lang.String name)
232 throws com.liferay.portal.kernel.exception.SystemException {
233 return _assetTagLocalService.getTags(groupId, classNameId, name);
234 }
235
236 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
237 long groupId, long classNameId, java.lang.String name, int start,
238 int end) throws com.liferay.portal.kernel.exception.SystemException {
239 return _assetTagLocalService.getTags(groupId, classNameId, name, start,
240 end);
241 }
242
243 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
244 java.lang.String className, long classPK)
245 throws com.liferay.portal.kernel.exception.SystemException {
246 return _assetTagLocalService.getTags(className, classPK);
247 }
248
249 public int getTagsSize(long groupId, long classNameId, java.lang.String name)
250 throws com.liferay.portal.kernel.exception.SystemException {
251 return _assetTagLocalService.getTagsSize(groupId, classNameId, name);
252 }
253
254 public boolean hasTag(long groupId, java.lang.String name)
255 throws com.liferay.portal.kernel.exception.PortalException,
256 com.liferay.portal.kernel.exception.SystemException {
257 return _assetTagLocalService.hasTag(groupId, name);
258 }
259
260 public com.liferay.portlet.asset.model.AssetTag incrementAssetCount(
261 long tagId, long classNameId)
262 throws com.liferay.portal.kernel.exception.PortalException,
263 com.liferay.portal.kernel.exception.SystemException {
264 return _assetTagLocalService.incrementAssetCount(tagId, classNameId);
265 }
266
267 public void mergeTags(long fromTagId, long toTagId)
268 throws com.liferay.portal.kernel.exception.PortalException,
269 com.liferay.portal.kernel.exception.SystemException {
270 _assetTagLocalService.mergeTags(fromTagId, toTagId);
271 }
272
273 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
274 java.lang.String name, java.lang.String[] tagProperties, int start,
275 int end) throws com.liferay.portal.kernel.exception.SystemException {
276 return _assetTagLocalService.search(groupId, name, tagProperties,
277 start, end);
278 }
279
280 public com.liferay.portlet.asset.model.AssetTag updateTag(long userId,
281 long tagId, java.lang.String name, java.lang.String[] tagProperties,
282 com.liferay.portal.service.ServiceContext serviceContext)
283 throws com.liferay.portal.kernel.exception.PortalException,
284 com.liferay.portal.kernel.exception.SystemException {
285 return _assetTagLocalService.updateTag(userId, tagId, name,
286 tagProperties, serviceContext);
287 }
288
289 public AssetTagLocalService getWrappedAssetTagLocalService() {
290 return _assetTagLocalService;
291 }
292
293 private AssetTagLocalService _assetTagLocalService;
294 }