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.tags.service;
16  
17  
18  /**
19   * <a href="TagsAssetLocalServiceUtil.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 TagsAssetLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       TagsAssetLocalService
32   * @generated
33   */
34  public class TagsAssetLocalServiceWrapper implements TagsAssetLocalService {
35      public TagsAssetLocalServiceWrapper(
36          TagsAssetLocalService tagsAssetLocalService) {
37          _tagsAssetLocalService = tagsAssetLocalService;
38      }
39  
40      public com.liferay.portlet.tags.model.TagsAsset addTagsAsset(
41          com.liferay.portlet.tags.model.TagsAsset tagsAsset)
42          throws com.liferay.portal.SystemException {
43          return _tagsAssetLocalService.addTagsAsset(tagsAsset);
44      }
45  
46      public com.liferay.portlet.tags.model.TagsAsset createTagsAsset(
47          long assetId) {
48          return _tagsAssetLocalService.createTagsAsset(assetId);
49      }
50  
51      public void deleteTagsAsset(long assetId)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _tagsAssetLocalService.deleteTagsAsset(assetId);
55      }
56  
57      public void deleteTagsAsset(
58          com.liferay.portlet.tags.model.TagsAsset tagsAsset)
59          throws com.liferay.portal.SystemException {
60          _tagsAssetLocalService.deleteTagsAsset(tagsAsset);
61      }
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _tagsAssetLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.SystemException {
72          return _tagsAssetLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public java.util.List<Object> dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.SystemException {
80          return _tagsAssetLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public int dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.SystemException {
87          return _tagsAssetLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portlet.tags.model.TagsAsset getTagsAsset(long assetId)
91          throws com.liferay.portal.PortalException,
92              com.liferay.portal.SystemException {
93          return _tagsAssetLocalService.getTagsAsset(assetId);
94      }
95  
96      public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
97          int start, int end) throws com.liferay.portal.SystemException {
98          return _tagsAssetLocalService.getTagsAssets(start, end);
99      }
100 
101     public int getTagsAssetsCount() throws com.liferay.portal.SystemException {
102         return _tagsAssetLocalService.getTagsAssetsCount();
103     }
104 
105     public com.liferay.portlet.tags.model.TagsAsset updateTagsAsset(
106         com.liferay.portlet.tags.model.TagsAsset tagsAsset)
107         throws com.liferay.portal.SystemException {
108         return _tagsAssetLocalService.updateTagsAsset(tagsAsset);
109     }
110 
111     public com.liferay.portlet.tags.model.TagsAsset updateTagsAsset(
112         com.liferay.portlet.tags.model.TagsAsset tagsAsset, boolean merge)
113         throws com.liferay.portal.SystemException {
114         return _tagsAssetLocalService.updateTagsAsset(tagsAsset, merge);
115     }
116 
117     public void deleteAsset(long assetId)
118         throws com.liferay.portal.PortalException,
119             com.liferay.portal.SystemException {
120         _tagsAssetLocalService.deleteAsset(assetId);
121     }
122 
123     public void deleteAsset(java.lang.String className, long classPK)
124         throws com.liferay.portal.SystemException {
125         _tagsAssetLocalService.deleteAsset(className, classPK);
126     }
127 
128     public void deleteAsset(com.liferay.portlet.tags.model.TagsAsset asset)
129         throws com.liferay.portal.SystemException {
130         _tagsAssetLocalService.deleteAsset(asset);
131     }
132 
133     public com.liferay.portlet.tags.model.TagsAsset getAsset(long assetId)
134         throws com.liferay.portal.PortalException,
135             com.liferay.portal.SystemException {
136         return _tagsAssetLocalService.getAsset(assetId);
137     }
138 
139     public com.liferay.portlet.tags.model.TagsAsset getAsset(
140         java.lang.String className, long classPK)
141         throws com.liferay.portal.PortalException,
142             com.liferay.portal.SystemException {
143         return _tagsAssetLocalService.getAsset(className, classPK);
144     }
145 
146     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
147         long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
148         boolean andOperator, boolean excludeZeroViewCount,
149         java.util.Date publishDate, java.util.Date expirationDate, int start,
150         int end) throws com.liferay.portal.SystemException {
151         return _tagsAssetLocalService.getAssets(groupId, classNameIds,
152             entryIds, notEntryIds, andOperator, excludeZeroViewCount,
153             publishDate, expirationDate, start, end);
154     }
155 
156     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
157         long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
158         boolean andOperator, boolean excludeZeroViewCount, int start, int end)
159         throws com.liferay.portal.SystemException {
160         return _tagsAssetLocalService.getAssets(groupId, classNameIds,
161             entryIds, notEntryIds, andOperator, excludeZeroViewCount, start, end);
162     }
163 
164     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
165         long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
166         boolean andOperator, java.lang.String orderByCol1,
167         java.lang.String orderByCol2, java.lang.String orderByType1,
168         java.lang.String orderByType2, boolean excludeZeroViewCount,
169         java.util.Date publishDate, java.util.Date expirationDate, int start,
170         int end) throws com.liferay.portal.SystemException {
171         return _tagsAssetLocalService.getAssets(groupId, classNameIds,
172             entryIds, notEntryIds, andOperator, orderByCol1, orderByCol2,
173             orderByType1, orderByType2, excludeZeroViewCount, publishDate,
174             expirationDate, start, end);
175     }
176 
177     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
178         long[] entryIds, long[] notEntryIds, boolean andOperator,
179         boolean excludeZeroViewCount, java.util.Date publishDate,
180         java.util.Date expirationDate, int start, int end)
181         throws com.liferay.portal.SystemException {
182         return _tagsAssetLocalService.getAssets(entryIds, notEntryIds,
183             andOperator, excludeZeroViewCount, publishDate, expirationDate,
184             start, end);
185     }
186 
187     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
188         long[] entryIds, long[] notEntryIds, boolean andOperator,
189         boolean excludeZeroViewCount, int start, int end)
190         throws com.liferay.portal.SystemException {
191         return _tagsAssetLocalService.getAssets(entryIds, notEntryIds,
192             andOperator, excludeZeroViewCount, start, end);
193     }
194 
195     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
196         long[] entryIds, long[] notEntryIds, boolean andOperator,
197         java.lang.String orderByCol1, java.lang.String orderByCol2,
198         java.lang.String orderByType1, java.lang.String orderByType2,
199         boolean excludeZeroViewCount, java.util.Date publishDate,
200         java.util.Date expirationDate, int start, int end)
201         throws com.liferay.portal.SystemException {
202         return _tagsAssetLocalService.getAssets(entryIds, notEntryIds,
203             andOperator, orderByCol1, orderByCol2, orderByType1, orderByType2,
204             excludeZeroViewCount, publishDate, expirationDate, start, end);
205     }
206 
207     public int getAssetsCount(long groupId, long[] entryIds,
208         long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount)
209         throws com.liferay.portal.SystemException {
210         return _tagsAssetLocalService.getAssetsCount(groupId, entryIds,
211             notEntryIds, andOperator, excludeZeroViewCount);
212     }
213 
214     public int getAssetsCount(long groupId, long[] classNameIds,
215         long[] entryIds, long[] notEntryIds, boolean andOperator,
216         boolean excludeZeroViewCount, java.util.Date publishDate,
217         java.util.Date expirationDate)
218         throws com.liferay.portal.SystemException {
219         return _tagsAssetLocalService.getAssetsCount(groupId, classNameIds,
220             entryIds, notEntryIds, andOperator, excludeZeroViewCount,
221             publishDate, expirationDate);
222     }
223 
224     public int getAssetsCount(long[] entryIds, long[] notEntryIds,
225         boolean andOperator, boolean excludeZeroViewCount)
226         throws com.liferay.portal.SystemException {
227         return _tagsAssetLocalService.getAssetsCount(entryIds, notEntryIds,
228             andOperator, excludeZeroViewCount);
229     }
230 
231     public int getAssetsCount(long[] entryIds, long[] notEntryIds,
232         boolean andOperator, boolean excludeZeroViewCount,
233         java.util.Date publishDate, java.util.Date expirationDate)
234         throws com.liferay.portal.SystemException {
235         return _tagsAssetLocalService.getAssetsCount(entryIds, notEntryIds,
236             andOperator, excludeZeroViewCount, publishDate, expirationDate);
237     }
238 
239     public com.liferay.portlet.tags.model.TagsAssetType[] getAssetTypes(
240         java.lang.String languageId) {
241         return _tagsAssetLocalService.getAssetTypes(languageId);
242     }
243 
244     public com.liferay.portlet.tags.model.TagsAssetDisplay[] getCompanyAssetDisplays(
245         long companyId, int start, int end, java.lang.String languageId)
246         throws com.liferay.portal.SystemException {
247         return _tagsAssetLocalService.getCompanyAssetDisplays(companyId, start,
248             end, languageId);
249     }
250 
251     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getCompanyAssets(
252         long companyId, int start, int end)
253         throws com.liferay.portal.SystemException {
254         return _tagsAssetLocalService.getCompanyAssets(companyId, start, end);
255     }
256 
257     public int getCompanyAssetsCount(long companyId)
258         throws com.liferay.portal.SystemException {
259         return _tagsAssetLocalService.getCompanyAssetsCount(companyId);
260     }
261 
262     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTopViewedAssets(
263         java.lang.String className, boolean asc, int start, int end)
264         throws com.liferay.portal.SystemException {
265         return _tagsAssetLocalService.getTopViewedAssets(className, asc, start,
266             end);
267     }
268 
269     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTopViewedAssets(
270         java.lang.String[] className, boolean asc, int start, int end)
271         throws com.liferay.portal.SystemException {
272         return _tagsAssetLocalService.getTopViewedAssets(className, asc, start,
273             end);
274     }
275 
276     public com.liferay.portlet.tags.model.TagsAsset incrementViewCounter(
277         java.lang.String className, long classPK)
278         throws com.liferay.portal.SystemException {
279         return _tagsAssetLocalService.incrementViewCounter(className, classPK);
280     }
281 
282     public com.liferay.portal.kernel.search.Hits search(long companyId,
283         java.lang.String portletId, java.lang.String keywords, int start,
284         int end) throws com.liferay.portal.SystemException {
285         return _tagsAssetLocalService.search(companyId, portletId, keywords,
286             start, end);
287     }
288 
289     public com.liferay.portlet.tags.model.TagsAssetDisplay[] searchAssetDisplays(
290         long companyId, java.lang.String portletId, java.lang.String keywords,
291         java.lang.String languageId, int start, int end)
292         throws com.liferay.portal.SystemException {
293         return _tagsAssetLocalService.searchAssetDisplays(companyId, portletId,
294             keywords, languageId, start, end);
295     }
296 
297     public int searchAssetDisplaysCount(long companyId,
298         java.lang.String portletId, java.lang.String keywords,
299         java.lang.String languageId) throws com.liferay.portal.SystemException {
300         return _tagsAssetLocalService.searchAssetDisplaysCount(companyId,
301             portletId, keywords, languageId);
302     }
303 
304     public com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId,
305         long groupId, java.lang.String className, long classPK,
306         java.lang.String[] categoryNames, java.lang.String[] entryNames)
307         throws com.liferay.portal.PortalException,
308             com.liferay.portal.SystemException {
309         return _tagsAssetLocalService.updateAsset(userId, groupId, className,
310             classPK, categoryNames, entryNames);
311     }
312 
313     public com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId,
314         long groupId, java.lang.String className, long classPK,
315         java.lang.String[] categoryNames, java.lang.String[] entryNames,
316         boolean visible, java.util.Date startDate, java.util.Date endDate,
317         java.util.Date publishDate, java.util.Date expirationDate,
318         java.lang.String mimeType, java.lang.String title,
319         java.lang.String description, java.lang.String summary,
320         java.lang.String url, int height, int width, java.lang.Integer priority)
321         throws com.liferay.portal.PortalException,
322             com.liferay.portal.SystemException {
323         return _tagsAssetLocalService.updateAsset(userId, groupId, className,
324             classPK, categoryNames, entryNames, visible, startDate, endDate,
325             publishDate, expirationDate, mimeType, title, description, summary,
326             url, height, width, priority);
327     }
328 
329     public com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId,
330         long groupId, java.lang.String className, long classPK,
331         java.lang.String[] categoryNames, java.lang.String[] entryNames,
332         boolean visible, java.util.Date startDate, java.util.Date endDate,
333         java.util.Date publishDate, java.util.Date expirationDate,
334         java.lang.String mimeType, java.lang.String title,
335         java.lang.String description, java.lang.String summary,
336         java.lang.String url, int height, int width,
337         java.lang.Integer priority, boolean sync)
338         throws com.liferay.portal.PortalException,
339             com.liferay.portal.SystemException {
340         return _tagsAssetLocalService.updateAsset(userId, groupId, className,
341             classPK, categoryNames, entryNames, visible, startDate, endDate,
342             publishDate, expirationDate, mimeType, title, description, summary,
343             url, height, width, priority, sync);
344     }
345 
346     public com.liferay.portlet.tags.model.TagsAsset updateVisible(
347         java.lang.String className, long classPK, boolean visible)
348         throws com.liferay.portal.PortalException,
349             com.liferay.portal.SystemException {
350         return _tagsAssetLocalService.updateVisible(className, classPK, visible);
351     }
352 
353     public void validate(java.lang.String className,
354         java.lang.String[] entryNames)
355         throws com.liferay.portal.PortalException {
356         _tagsAssetLocalService.validate(className, entryNames);
357     }
358 
359     public TagsAssetLocalService getWrappedTagsAssetLocalService() {
360         return _tagsAssetLocalService;
361     }
362 
363     private TagsAssetLocalService _tagsAssetLocalService;
364 }