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 com.liferay.portlet.asset.model.AssetTag getAssetTag(long tagId)
75          throws com.liferay.portal.kernel.exception.PortalException,
76              com.liferay.portal.kernel.exception.SystemException {
77          return _assetTagLocalService.getAssetTag(tagId);
78      }
79  
80      public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(
81          int start, int end)
82          throws com.liferay.portal.kernel.exception.SystemException {
83          return _assetTagLocalService.getAssetTags(start, end);
84      }
85  
86      public int getAssetTagsCount()
87          throws com.liferay.portal.kernel.exception.SystemException {
88          return _assetTagLocalService.getAssetTagsCount();
89      }
90  
91      public com.liferay.portlet.asset.model.AssetTag updateAssetTag(
92          com.liferay.portlet.asset.model.AssetTag assetTag)
93          throws com.liferay.portal.kernel.exception.SystemException {
94          return _assetTagLocalService.updateAssetTag(assetTag);
95      }
96  
97      public com.liferay.portlet.asset.model.AssetTag updateAssetTag(
98          com.liferay.portlet.asset.model.AssetTag assetTag, boolean merge)
99          throws com.liferay.portal.kernel.exception.SystemException {
100         return _assetTagLocalService.updateAssetTag(assetTag, merge);
101     }
102 
103     public com.liferay.portlet.asset.model.AssetTag addTag(long userId,
104         java.lang.String name, java.lang.String[] tagProperties,
105         com.liferay.portal.service.ServiceContext serviceContext)
106         throws com.liferay.portal.kernel.exception.PortalException,
107             com.liferay.portal.kernel.exception.SystemException {
108         return _assetTagLocalService.addTag(userId, name, tagProperties,
109             serviceContext);
110     }
111 
112     public void addTagResources(com.liferay.portlet.asset.model.AssetTag tag,
113         boolean addCommunityPermissions, boolean addGuestPermissions)
114         throws com.liferay.portal.kernel.exception.PortalException,
115             com.liferay.portal.kernel.exception.SystemException {
116         _assetTagLocalService.addTagResources(tag, addCommunityPermissions,
117             addGuestPermissions);
118     }
119 
120     public void addTagResources(com.liferay.portlet.asset.model.AssetTag tag,
121         java.lang.String[] communityPermissions,
122         java.lang.String[] guestPermissions)
123         throws com.liferay.portal.kernel.exception.PortalException,
124             com.liferay.portal.kernel.exception.SystemException {
125         _assetTagLocalService.addTagResources(tag, communityPermissions,
126             guestPermissions);
127     }
128 
129     public void checkTags(long userId, long groupId, java.lang.String[] names)
130         throws com.liferay.portal.kernel.exception.PortalException,
131             com.liferay.portal.kernel.exception.SystemException {
132         _assetTagLocalService.checkTags(userId, groupId, names);
133     }
134 
135     public com.liferay.portlet.asset.model.AssetTag decrementAssetCount(
136         long tagId, long classNameId)
137         throws com.liferay.portal.kernel.exception.PortalException,
138             com.liferay.portal.kernel.exception.SystemException {
139         return _assetTagLocalService.decrementAssetCount(tagId, classNameId);
140     }
141 
142     public void deleteTag(com.liferay.portlet.asset.model.AssetTag tag)
143         throws com.liferay.portal.kernel.exception.PortalException,
144             com.liferay.portal.kernel.exception.SystemException {
145         _assetTagLocalService.deleteTag(tag);
146     }
147 
148     public void deleteTag(long tagId)
149         throws com.liferay.portal.kernel.exception.PortalException,
150             com.liferay.portal.kernel.exception.SystemException {
151         _assetTagLocalService.deleteTag(tagId);
152     }
153 
154     public java.util.List<com.liferay.portlet.asset.model.AssetTag> getEntryTags(
155         long entryId)
156         throws com.liferay.portal.kernel.exception.SystemException {
157         return _assetTagLocalService.getEntryTags(entryId);
158     }
159 
160     public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
161         long groupId)
162         throws com.liferay.portal.kernel.exception.SystemException {
163         return _assetTagLocalService.getGroupTags(groupId);
164     }
165 
166     public com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
167         throws com.liferay.portal.kernel.exception.PortalException,
168             com.liferay.portal.kernel.exception.SystemException {
169         return _assetTagLocalService.getTag(tagId);
170     }
171 
172     public com.liferay.portlet.asset.model.AssetTag getTag(long groupId,
173         java.lang.String name)
174         throws com.liferay.portal.kernel.exception.PortalException,
175             com.liferay.portal.kernel.exception.SystemException {
176         return _assetTagLocalService.getTag(groupId, name);
177     }
178 
179     public long[] getTagIds(long groupId, java.lang.String[] names)
180         throws com.liferay.portal.kernel.exception.PortalException,
181             com.liferay.portal.kernel.exception.SystemException {
182         return _assetTagLocalService.getTagIds(groupId, names);
183     }
184 
185     public java.lang.String[] getTagNames()
186         throws com.liferay.portal.kernel.exception.SystemException {
187         return _assetTagLocalService.getTagNames();
188     }
189 
190     public java.lang.String[] getTagNames(long classNameId, long classPK)
191         throws com.liferay.portal.kernel.exception.SystemException {
192         return _assetTagLocalService.getTagNames(classNameId, classPK);
193     }
194 
195     public java.lang.String[] getTagNames(java.lang.String className,
196         long classPK)
197         throws com.liferay.portal.kernel.exception.SystemException {
198         return _assetTagLocalService.getTagNames(className, classPK);
199     }
200 
201     public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags()
202         throws com.liferay.portal.kernel.exception.SystemException {
203         return _assetTagLocalService.getTags();
204     }
205 
206     public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
207         long classNameId, long classPK)
208         throws com.liferay.portal.kernel.exception.SystemException {
209         return _assetTagLocalService.getTags(classNameId, classPK);
210     }
211 
212     public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
213         long groupId, long classNameId, java.lang.String name)
214         throws com.liferay.portal.kernel.exception.SystemException {
215         return _assetTagLocalService.getTags(groupId, classNameId, name);
216     }
217 
218     public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
219         long groupId, long classNameId, java.lang.String name, int start,
220         int end) throws com.liferay.portal.kernel.exception.SystemException {
221         return _assetTagLocalService.getTags(groupId, classNameId, name, start,
222             end);
223     }
224 
225     public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
226         java.lang.String className, long classPK)
227         throws com.liferay.portal.kernel.exception.SystemException {
228         return _assetTagLocalService.getTags(className, classPK);
229     }
230 
231     public int getTagsSize(long groupId, long classNameId, java.lang.String name)
232         throws com.liferay.portal.kernel.exception.SystemException {
233         return _assetTagLocalService.getTagsSize(groupId, classNameId, name);
234     }
235 
236     public boolean hasTag(long groupId, java.lang.String name)
237         throws com.liferay.portal.kernel.exception.PortalException,
238             com.liferay.portal.kernel.exception.SystemException {
239         return _assetTagLocalService.hasTag(groupId, name);
240     }
241 
242     public com.liferay.portlet.asset.model.AssetTag incrementAssetCount(
243         long tagId, long classNameId)
244         throws com.liferay.portal.kernel.exception.PortalException,
245             com.liferay.portal.kernel.exception.SystemException {
246         return _assetTagLocalService.incrementAssetCount(tagId, classNameId);
247     }
248 
249     public void mergeTags(long fromTagId, long toTagId)
250         throws com.liferay.portal.kernel.exception.PortalException,
251             com.liferay.portal.kernel.exception.SystemException {
252         _assetTagLocalService.mergeTags(fromTagId, toTagId);
253     }
254 
255     public com.liferay.portal.kernel.json.JSONArray search(long groupId,
256         java.lang.String name, java.lang.String[] tagProperties, int start,
257         int end) throws com.liferay.portal.kernel.exception.SystemException {
258         return _assetTagLocalService.search(groupId, name, tagProperties,
259             start, end);
260     }
261 
262     public com.liferay.portlet.asset.model.AssetTag updateTag(long userId,
263         long tagId, java.lang.String name, java.lang.String[] tagProperties,
264         com.liferay.portal.service.ServiceContext serviceContext)
265         throws com.liferay.portal.kernel.exception.PortalException,
266             com.liferay.portal.kernel.exception.SystemException {
267         return _assetTagLocalService.updateTag(userId, tagId, name,
268             tagProperties, serviceContext);
269     }
270 
271     public AssetTagLocalService getWrappedAssetTagLocalService() {
272         return _assetTagLocalService;
273     }
274 
275     private AssetTagLocalService _assetTagLocalService;
276 }