1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.tags.service;
24  
25  
26  /**
27   * <a href="TagsAssetLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link TagsAssetLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       TagsAssetLocalService
40   * @generated
41   */
42  public class TagsAssetLocalServiceWrapper implements TagsAssetLocalService {
43      public TagsAssetLocalServiceWrapper(
44          TagsAssetLocalService tagsAssetLocalService) {
45          _tagsAssetLocalService = tagsAssetLocalService;
46      }
47  
48      public com.liferay.portlet.tags.model.TagsAsset addTagsAsset(
49          com.liferay.portlet.tags.model.TagsAsset tagsAsset)
50          throws com.liferay.portal.SystemException {
51          return _tagsAssetLocalService.addTagsAsset(tagsAsset);
52      }
53  
54      public com.liferay.portlet.tags.model.TagsAsset createTagsAsset(
55          long assetId) {
56          return _tagsAssetLocalService.createTagsAsset(assetId);
57      }
58  
59      public void deleteTagsAsset(long assetId)
60          throws com.liferay.portal.PortalException,
61              com.liferay.portal.SystemException {
62          _tagsAssetLocalService.deleteTagsAsset(assetId);
63      }
64  
65      public void deleteTagsAsset(
66          com.liferay.portlet.tags.model.TagsAsset tagsAsset)
67          throws com.liferay.portal.SystemException {
68          _tagsAssetLocalService.deleteTagsAsset(tagsAsset);
69      }
70  
71      public java.util.List<Object> dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
73          throws com.liferay.portal.SystemException {
74          return _tagsAssetLocalService.dynamicQuery(dynamicQuery);
75      }
76  
77      public java.util.List<Object> dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end) throws com.liferay.portal.SystemException {
80          return _tagsAssetLocalService.dynamicQuery(dynamicQuery, start, end);
81      }
82  
83      public com.liferay.portlet.tags.model.TagsAsset getTagsAsset(long assetId)
84          throws com.liferay.portal.PortalException,
85              com.liferay.portal.SystemException {
86          return _tagsAssetLocalService.getTagsAsset(assetId);
87      }
88  
89      public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
90          int start, int end) throws com.liferay.portal.SystemException {
91          return _tagsAssetLocalService.getTagsAssets(start, end);
92      }
93  
94      public int getTagsAssetsCount() throws com.liferay.portal.SystemException {
95          return _tagsAssetLocalService.getTagsAssetsCount();
96      }
97  
98      public com.liferay.portlet.tags.model.TagsAsset updateTagsAsset(
99          com.liferay.portlet.tags.model.TagsAsset tagsAsset)
100         throws com.liferay.portal.SystemException {
101         return _tagsAssetLocalService.updateTagsAsset(tagsAsset);
102     }
103 
104     public com.liferay.portlet.tags.model.TagsAsset updateTagsAsset(
105         com.liferay.portlet.tags.model.TagsAsset tagsAsset, boolean merge)
106         throws com.liferay.portal.SystemException {
107         return _tagsAssetLocalService.updateTagsAsset(tagsAsset, merge);
108     }
109 
110     public void deleteAsset(long assetId)
111         throws com.liferay.portal.PortalException,
112             com.liferay.portal.SystemException {
113         _tagsAssetLocalService.deleteAsset(assetId);
114     }
115 
116     public void deleteAsset(java.lang.String className, long classPK)
117         throws com.liferay.portal.SystemException {
118         _tagsAssetLocalService.deleteAsset(className, classPK);
119     }
120 
121     public void deleteAsset(com.liferay.portlet.tags.model.TagsAsset asset)
122         throws com.liferay.portal.SystemException {
123         _tagsAssetLocalService.deleteAsset(asset);
124     }
125 
126     public com.liferay.portlet.tags.model.TagsAsset getAsset(long assetId)
127         throws com.liferay.portal.PortalException,
128             com.liferay.portal.SystemException {
129         return _tagsAssetLocalService.getAsset(assetId);
130     }
131 
132     public com.liferay.portlet.tags.model.TagsAsset getAsset(
133         java.lang.String className, long classPK)
134         throws com.liferay.portal.PortalException,
135             com.liferay.portal.SystemException {
136         return _tagsAssetLocalService.getAsset(className, classPK);
137     }
138 
139     public com.liferay.portlet.tags.model.TagsAssetType[] getAssetTypes(
140         java.lang.String languageId) {
141         return _tagsAssetLocalService.getAssetTypes(languageId);
142     }
143 
144     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
145         long[] entryIds, long[] notEntryIds, boolean andOperator,
146         boolean excludeZeroViewCount, int start, int end)
147         throws com.liferay.portal.SystemException {
148         return _tagsAssetLocalService.getAssets(entryIds, notEntryIds,
149             andOperator, excludeZeroViewCount, start, end);
150     }
151 
152     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
153         long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
154         boolean andOperator, boolean excludeZeroViewCount, int start, int end)
155         throws com.liferay.portal.SystemException {
156         return _tagsAssetLocalService.getAssets(groupId, classNameIds,
157             entryIds, notEntryIds, andOperator, excludeZeroViewCount, start, end);
158     }
159 
160     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
161         long[] entryIds, long[] notEntryIds, boolean andOperator,
162         boolean excludeZeroViewCount, java.util.Date publishDate,
163         java.util.Date expirationDate, int start, int end)
164         throws com.liferay.portal.SystemException {
165         return _tagsAssetLocalService.getAssets(entryIds, notEntryIds,
166             andOperator, excludeZeroViewCount, publishDate, expirationDate,
167             start, end);
168     }
169 
170     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
171         long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
172         boolean andOperator, boolean excludeZeroViewCount,
173         java.util.Date publishDate, java.util.Date expirationDate, int start,
174         int end) throws com.liferay.portal.SystemException {
175         return _tagsAssetLocalService.getAssets(groupId, classNameIds,
176             entryIds, notEntryIds, andOperator, excludeZeroViewCount,
177             publishDate, expirationDate, start, end);
178     }
179 
180     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
181         long[] entryIds, long[] notEntryIds, boolean andOperator,
182         java.lang.String orderByCol1, java.lang.String orderByCol2,
183         java.lang.String orderByType1, java.lang.String orderByType2,
184         boolean excludeZeroViewCount, java.util.Date publishDate,
185         java.util.Date expirationDate, int start, int end)
186         throws com.liferay.portal.SystemException {
187         return _tagsAssetLocalService.getAssets(entryIds, notEntryIds,
188             andOperator, orderByCol1, orderByCol2, orderByType1, orderByType2,
189             excludeZeroViewCount, publishDate, expirationDate, start, end);
190     }
191 
192     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
193         long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
194         boolean andOperator, java.lang.String orderByCol1,
195         java.lang.String orderByCol2, java.lang.String orderByType1,
196         java.lang.String orderByType2, boolean excludeZeroViewCount,
197         java.util.Date publishDate, java.util.Date expirationDate, int start,
198         int end) throws com.liferay.portal.SystemException {
199         return _tagsAssetLocalService.getAssets(groupId, classNameIds,
200             entryIds, notEntryIds, andOperator, orderByCol1, orderByCol2,
201             orderByType1, orderByType2, excludeZeroViewCount, publishDate,
202             expirationDate, start, end);
203     }
204 
205     public int getAssetsCount(long[] entryIds, long[] notEntryIds,
206         boolean andOperator, boolean excludeZeroViewCount)
207         throws com.liferay.portal.SystemException {
208         return _tagsAssetLocalService.getAssetsCount(entryIds, notEntryIds,
209             andOperator, excludeZeroViewCount);
210     }
211 
212     public int getAssetsCount(long groupId, long[] entryIds,
213         long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount)
214         throws com.liferay.portal.SystemException {
215         return _tagsAssetLocalService.getAssetsCount(groupId, entryIds,
216             notEntryIds, andOperator, excludeZeroViewCount);
217     }
218 
219     public int getAssetsCount(long[] entryIds, long[] notEntryIds,
220         boolean andOperator, boolean excludeZeroViewCount,
221         java.util.Date publishDate, java.util.Date expirationDate)
222         throws com.liferay.portal.SystemException {
223         return _tagsAssetLocalService.getAssetsCount(entryIds, notEntryIds,
224             andOperator, excludeZeroViewCount, publishDate, expirationDate);
225     }
226 
227     public int getAssetsCount(long groupId, long[] classNameIds,
228         long[] entryIds, long[] notEntryIds, boolean andOperator,
229         boolean excludeZeroViewCount, java.util.Date publishDate,
230         java.util.Date expirationDate)
231         throws com.liferay.portal.SystemException {
232         return _tagsAssetLocalService.getAssetsCount(groupId, classNameIds,
233             entryIds, notEntryIds, andOperator, excludeZeroViewCount,
234             publishDate, expirationDate);
235     }
236 
237     public com.liferay.portlet.tags.model.TagsAssetDisplay[] getCompanyAssetDisplays(
238         long companyId, int start, int end, java.lang.String languageId)
239         throws com.liferay.portal.SystemException {
240         return _tagsAssetLocalService.getCompanyAssetDisplays(companyId, start,
241             end, languageId);
242     }
243 
244     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getCompanyAssets(
245         long companyId, int start, int end)
246         throws com.liferay.portal.SystemException {
247         return _tagsAssetLocalService.getCompanyAssets(companyId, start, end);
248     }
249 
250     public int getCompanyAssetsCount(long companyId)
251         throws com.liferay.portal.SystemException {
252         return _tagsAssetLocalService.getCompanyAssetsCount(companyId);
253     }
254 
255     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTopViewedAssets(
256         java.lang.String className, boolean asc, int start, int end)
257         throws com.liferay.portal.SystemException {
258         return _tagsAssetLocalService.getTopViewedAssets(className, asc, start,
259             end);
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 com.liferay.portlet.tags.model.TagsAsset incrementViewCounter(
270         java.lang.String className, long classPK)
271         throws com.liferay.portal.SystemException {
272         return _tagsAssetLocalService.incrementViewCounter(className, classPK);
273     }
274 
275     public com.liferay.portal.kernel.search.Hits search(long companyId,
276         java.lang.String portletId, java.lang.String keywords, int start,
277         int end) throws com.liferay.portal.SystemException {
278         return _tagsAssetLocalService.search(companyId, portletId, keywords,
279             start, end);
280     }
281 
282     public com.liferay.portlet.tags.model.TagsAssetDisplay[] searchAssetDisplays(
283         long companyId, java.lang.String portletId, java.lang.String keywords,
284         java.lang.String languageId, int start, int end)
285         throws com.liferay.portal.SystemException {
286         return _tagsAssetLocalService.searchAssetDisplays(companyId, portletId,
287             keywords, languageId, start, end);
288     }
289 
290     public int searchAssetDisplaysCount(long companyId,
291         java.lang.String portletId, java.lang.String keywords,
292         java.lang.String languageId) throws com.liferay.portal.SystemException {
293         return _tagsAssetLocalService.searchAssetDisplaysCount(companyId,
294             portletId, keywords, languageId);
295     }
296 
297     public com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId,
298         long groupId, java.lang.String className, long classPK,
299         java.lang.String[] categoryNames, java.lang.String[] entryNames)
300         throws com.liferay.portal.PortalException,
301             com.liferay.portal.SystemException {
302         return _tagsAssetLocalService.updateAsset(userId, groupId, className,
303             classPK, categoryNames, entryNames);
304     }
305 
306     public com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId,
307         long groupId, java.lang.String className, long classPK,
308         java.lang.String[] categoryNames, java.lang.String[] entryNames,
309         boolean visible, java.util.Date startDate, java.util.Date endDate,
310         java.util.Date publishDate, java.util.Date expirationDate,
311         java.lang.String mimeType, java.lang.String title,
312         java.lang.String description, java.lang.String summary,
313         java.lang.String url, int height, int width, java.lang.Integer priority)
314         throws com.liferay.portal.PortalException,
315             com.liferay.portal.SystemException {
316         return _tagsAssetLocalService.updateAsset(userId, groupId, className,
317             classPK, categoryNames, entryNames, visible, startDate, endDate,
318             publishDate, expirationDate, mimeType, title, description, summary,
319             url, height, width, priority);
320     }
321 
322     public com.liferay.portlet.tags.model.TagsAsset updateAsset(long userId,
323         long groupId, java.lang.String className, long classPK,
324         java.lang.String[] categoryNames, java.lang.String[] entryNames,
325         boolean visible, java.util.Date startDate, java.util.Date endDate,
326         java.util.Date publishDate, java.util.Date expirationDate,
327         java.lang.String mimeType, java.lang.String title,
328         java.lang.String description, java.lang.String summary,
329         java.lang.String url, int height, int width,
330         java.lang.Integer priority, boolean sync)
331         throws com.liferay.portal.PortalException,
332             com.liferay.portal.SystemException {
333         return _tagsAssetLocalService.updateAsset(userId, groupId, className,
334             classPK, categoryNames, entryNames, visible, startDate, endDate,
335             publishDate, expirationDate, mimeType, title, description, summary,
336             url, height, width, priority, sync);
337     }
338 
339     public com.liferay.portlet.tags.model.TagsAsset updateVisible(
340         java.lang.String className, long classPK, boolean visible)
341         throws com.liferay.portal.PortalException,
342             com.liferay.portal.SystemException {
343         return _tagsAssetLocalService.updateVisible(className, classPK, visible);
344     }
345 
346     public void validate(java.lang.String className,
347         java.lang.String[] entryNames)
348         throws com.liferay.portal.PortalException {
349         _tagsAssetLocalService.validate(className, entryNames);
350     }
351 
352     public TagsAssetLocalService getWrappedTagsAssetLocalService() {
353         return _tagsAssetLocalService;
354     }
355 
356     private TagsAssetLocalService _tagsAssetLocalService;
357 }