1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.asset.service;
16  
17  
18  /**
19   * <a href="AssetTagLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link AssetTagLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       AssetTagLocalService
32   * @generated
33   */
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      public java.util.List<Object> dynamicQuery(
63          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
64          throws com.liferay.portal.kernel.exception.SystemException {
65          return _assetTagLocalService.dynamicQuery(dynamicQuery);
66      }
67  
68      public java.util.List<Object> dynamicQuery(
69          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70          int end) throws com.liferay.portal.kernel.exception.SystemException {
71          return _assetTagLocalService.dynamicQuery(dynamicQuery, start, end);
72      }
73  
74      public java.util.List<Object> dynamicQuery(
75          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
76          int end,
77          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78          throws com.liferay.portal.kernel.exception.SystemException {
79          return _assetTagLocalService.dynamicQuery(dynamicQuery, start, end,
80              orderByComparator);
81      }
82  
83      public int dynamicQueryCount(
84          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
85          throws com.liferay.portal.kernel.exception.SystemException {
86          return _assetTagLocalService.dynamicQueryCount(dynamicQuery);
87      }
88  
89      public com.liferay.portlet.asset.model.AssetTag getAssetTag(long tagId)
90          throws com.liferay.portal.kernel.exception.PortalException,
91              com.liferay.portal.kernel.exception.SystemException {
92          return _assetTagLocalService.getAssetTag(tagId);
93      }
94  
95      public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(
96          int start, int end)
97          throws com.liferay.portal.kernel.exception.SystemException {
98          return _assetTagLocalService.getAssetTags(start, end);
99      }
100 
101     public int getAssetTagsCount()
102         throws com.liferay.portal.kernel.exception.SystemException {
103         return _assetTagLocalService.getAssetTagsCount();
104     }
105 
106     public com.liferay.portlet.asset.model.AssetTag updateAssetTag(
107         com.liferay.portlet.asset.model.AssetTag assetTag)
108         throws com.liferay.portal.kernel.exception.SystemException {
109         return _assetTagLocalService.updateAssetTag(assetTag);
110     }
111 
112     public com.liferay.portlet.asset.model.AssetTag updateAssetTag(
113         com.liferay.portlet.asset.model.AssetTag assetTag, boolean merge)
114         throws com.liferay.portal.kernel.exception.SystemException {
115         return _assetTagLocalService.updateAssetTag(assetTag, merge);
116     }
117 
118     public com.liferay.portlet.asset.model.AssetTag addTag(long userId,
119         java.lang.String name, java.lang.String[] tagProperties,
120         com.liferay.portal.service.ServiceContext serviceContext)
121         throws com.liferay.portal.kernel.exception.PortalException,
122             com.liferay.portal.kernel.exception.SystemException {
123         return _assetTagLocalService.addTag(userId, name, tagProperties,
124             serviceContext);
125     }
126 
127     public void addTagResources(com.liferay.portlet.asset.model.AssetTag tag,
128         boolean addCommunityPermissions, boolean addGuestPermissions)
129         throws com.liferay.portal.kernel.exception.PortalException,
130             com.liferay.portal.kernel.exception.SystemException {
131         _assetTagLocalService.addTagResources(tag, addCommunityPermissions,
132             addGuestPermissions);
133     }
134 
135     public void addTagResources(com.liferay.portlet.asset.model.AssetTag tag,
136         java.lang.String[] communityPermissions,
137         java.lang.String[] guestPermissions)
138         throws com.liferay.portal.kernel.exception.PortalException,
139             com.liferay.portal.kernel.exception.SystemException {
140         _assetTagLocalService.addTagResources(tag, communityPermissions,
141             guestPermissions);
142     }
143 
144     public void checkTags(long userId, long groupId, java.lang.String[] names)
145         throws com.liferay.portal.kernel.exception.PortalException,
146             com.liferay.portal.kernel.exception.SystemException {
147         _assetTagLocalService.checkTags(userId, groupId, names);
148     }
149 
150     public com.liferay.portlet.asset.model.AssetTag decrementAssetCount(
151         long tagId, long classNameId)
152         throws com.liferay.portal.kernel.exception.PortalException,
153             com.liferay.portal.kernel.exception.SystemException {
154         return _assetTagLocalService.decrementAssetCount(tagId, classNameId);
155     }
156 
157     public void deleteTag(com.liferay.portlet.asset.model.AssetTag tag)
158         throws com.liferay.portal.kernel.exception.PortalException,
159             com.liferay.portal.kernel.exception.SystemException {
160         _assetTagLocalService.deleteTag(tag);
161     }
162 
163     public void deleteTag(long tagId)
164         throws com.liferay.portal.kernel.exception.PortalException,
165             com.liferay.portal.kernel.exception.SystemException {
166         _assetTagLocalService.deleteTag(tagId);
167     }
168 
169     public java.util.List<com.liferay.portlet.asset.model.AssetTag> getEntryTags(
170         long entryId)
171         throws com.liferay.portal.kernel.exception.SystemException {
172         return _assetTagLocalService.getEntryTags(entryId);
173     }
174 
175     public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
176         long groupId)
177         throws com.liferay.portal.kernel.exception.SystemException {
178         return _assetTagLocalService.getGroupTags(groupId);
179     }
180 
181     public com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
182         throws com.liferay.portal.kernel.exception.PortalException,
183             com.liferay.portal.kernel.exception.SystemException {
184         return _assetTagLocalService.getTag(tagId);
185     }
186 
187     public com.liferay.portlet.asset.model.AssetTag getTag(long groupId,
188         java.lang.String name)
189         throws com.liferay.portal.kernel.exception.PortalException,
190             com.liferay.portal.kernel.exception.SystemException {
191         return _assetTagLocalService.getTag(groupId, name);
192     }
193 
194     public long[] getTagIds(long groupId, java.lang.String[] names)
195         throws com.liferay.portal.kernel.exception.PortalException,
196             com.liferay.portal.kernel.exception.SystemException {
197         return _assetTagLocalService.getTagIds(groupId, names);
198     }
199 
200     public java.lang.String[] getTagNames()
201         throws com.liferay.portal.kernel.exception.SystemException {
202         return _assetTagLocalService.getTagNames();
203     }
204 
205     public java.lang.String[] getTagNames(long classNameId, long classPK)
206         throws com.liferay.portal.kernel.exception.SystemException {
207         return _assetTagLocalService.getTagNames(classNameId, classPK);
208     }
209 
210     public java.lang.String[] getTagNames(java.lang.String className,
211         long classPK)
212         throws com.liferay.portal.kernel.exception.SystemException {
213         return _assetTagLocalService.getTagNames(className, classPK);
214     }
215 
216     public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags()
217         throws com.liferay.portal.kernel.exception.SystemException {
218         return _assetTagLocalService.getTags();
219     }
220 
221     public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
222         long classNameId, long classPK)
223         throws com.liferay.portal.kernel.exception.SystemException {
224         return _assetTagLocalService.getTags(classNameId, classPK);
225     }
226 
227     public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
228         long groupId, long classNameId, java.lang.String name)
229         throws com.liferay.portal.kernel.exception.SystemException {
230         return _assetTagLocalService.getTags(groupId, classNameId, name);
231     }
232 
233     public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
234         long groupId, long classNameId, java.lang.String name, int start,
235         int end) throws com.liferay.portal.kernel.exception.SystemException {
236         return _assetTagLocalService.getTags(groupId, classNameId, name, start,
237             end);
238     }
239 
240     public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
241         java.lang.String className, long classPK)
242         throws com.liferay.portal.kernel.exception.SystemException {
243         return _assetTagLocalService.getTags(className, classPK);
244     }
245 
246     public int getTagsSize(long groupId, long classNameId, java.lang.String name)
247         throws com.liferay.portal.kernel.exception.SystemException {
248         return _assetTagLocalService.getTagsSize(groupId, classNameId, name);
249     }
250 
251     public boolean hasTag(long groupId, java.lang.String name)
252         throws com.liferay.portal.kernel.exception.PortalException,
253             com.liferay.portal.kernel.exception.SystemException {
254         return _assetTagLocalService.hasTag(groupId, name);
255     }
256 
257     public com.liferay.portlet.asset.model.AssetTag incrementAssetCount(
258         long tagId, long classNameId)
259         throws com.liferay.portal.kernel.exception.PortalException,
260             com.liferay.portal.kernel.exception.SystemException {
261         return _assetTagLocalService.incrementAssetCount(tagId, classNameId);
262     }
263 
264     public void mergeTags(long fromTagId, long toTagId)
265         throws com.liferay.portal.kernel.exception.PortalException,
266             com.liferay.portal.kernel.exception.SystemException {
267         _assetTagLocalService.mergeTags(fromTagId, toTagId);
268     }
269 
270     public com.liferay.portal.kernel.json.JSONArray search(long groupId,
271         java.lang.String name, java.lang.String[] tagProperties, int start,
272         int end) throws com.liferay.portal.kernel.exception.SystemException {
273         return _assetTagLocalService.search(groupId, name, tagProperties,
274             start, end);
275     }
276 
277     public com.liferay.portlet.asset.model.AssetTag updateTag(long userId,
278         long tagId, java.lang.String name, java.lang.String[] tagProperties,
279         com.liferay.portal.service.ServiceContext serviceContext)
280         throws com.liferay.portal.kernel.exception.PortalException,
281             com.liferay.portal.kernel.exception.SystemException {
282         return _assetTagLocalService.updateTag(userId, tagId, name,
283             tagProperties, serviceContext);
284     }
285 
286     public AssetTagLocalService getWrappedAssetTagLocalService() {
287         return _assetTagLocalService;
288     }
289 
290     private AssetTagLocalService _assetTagLocalService;
291 }