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 java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
140         long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
141         boolean andOperator, boolean excludeZeroViewCount,
142         java.util.Date publishDate, java.util.Date expirationDate, int start,
143         int end) throws com.liferay.portal.SystemException {
144         return _tagsAssetLocalService.getAssets(groupId, classNameIds,
145             entryIds, notEntryIds, andOperator, excludeZeroViewCount,
146             publishDate, expirationDate, start, end);
147     }
148 
149     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
150         long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
151         boolean andOperator, boolean excludeZeroViewCount, int start, int end)
152         throws com.liferay.portal.SystemException {
153         return _tagsAssetLocalService.getAssets(groupId, classNameIds,
154             entryIds, notEntryIds, andOperator, excludeZeroViewCount, start, end);
155     }
156 
157     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
158         long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
159         boolean andOperator, java.lang.String orderByCol1,
160         java.lang.String orderByCol2, java.lang.String orderByType1,
161         java.lang.String orderByType2, boolean excludeZeroViewCount,
162         java.util.Date publishDate, java.util.Date expirationDate, int start,
163         int end) throws com.liferay.portal.SystemException {
164         return _tagsAssetLocalService.getAssets(groupId, classNameIds,
165             entryIds, notEntryIds, andOperator, orderByCol1, orderByCol2,
166             orderByType1, orderByType2, excludeZeroViewCount, publishDate,
167             expirationDate, start, end);
168     }
169 
170     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
171         long[] entryIds, long[] notEntryIds, boolean andOperator,
172         boolean excludeZeroViewCount, java.util.Date publishDate,
173         java.util.Date expirationDate, int start, int end)
174         throws com.liferay.portal.SystemException {
175         return _tagsAssetLocalService.getAssets(entryIds, notEntryIds,
176             andOperator, excludeZeroViewCount, publishDate, expirationDate,
177             start, end);
178     }
179 
180     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
181         long[] entryIds, long[] notEntryIds, boolean andOperator,
182         boolean excludeZeroViewCount, int start, int end)
183         throws com.liferay.portal.SystemException {
184         return _tagsAssetLocalService.getAssets(entryIds, notEntryIds,
185             andOperator, excludeZeroViewCount, start, end);
186     }
187 
188     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
189         long[] entryIds, long[] notEntryIds, boolean andOperator,
190         java.lang.String orderByCol1, java.lang.String orderByCol2,
191         java.lang.String orderByType1, java.lang.String orderByType2,
192         boolean excludeZeroViewCount, java.util.Date publishDate,
193         java.util.Date expirationDate, int start, int end)
194         throws com.liferay.portal.SystemException {
195         return _tagsAssetLocalService.getAssets(entryIds, notEntryIds,
196             andOperator, orderByCol1, orderByCol2, orderByType1, orderByType2,
197             excludeZeroViewCount, publishDate, expirationDate, start, end);
198     }
199 
200     public int getAssetsCount(long groupId, long[] entryIds,
201         long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount)
202         throws com.liferay.portal.SystemException {
203         return _tagsAssetLocalService.getAssetsCount(groupId, entryIds,
204             notEntryIds, andOperator, excludeZeroViewCount);
205     }
206 
207     public int getAssetsCount(long groupId, long[] classNameIds,
208         long[] entryIds, long[] notEntryIds, boolean andOperator,
209         boolean excludeZeroViewCount, java.util.Date publishDate,
210         java.util.Date expirationDate)
211         throws com.liferay.portal.SystemException {
212         return _tagsAssetLocalService.getAssetsCount(groupId, classNameIds,
213             entryIds, notEntryIds, andOperator, excludeZeroViewCount,
214             publishDate, expirationDate);
215     }
216 
217     public int getAssetsCount(long[] entryIds, long[] notEntryIds,
218         boolean andOperator, boolean excludeZeroViewCount)
219         throws com.liferay.portal.SystemException {
220         return _tagsAssetLocalService.getAssetsCount(entryIds, notEntryIds,
221             andOperator, excludeZeroViewCount);
222     }
223 
224     public int getAssetsCount(long[] entryIds, long[] notEntryIds,
225         boolean andOperator, boolean excludeZeroViewCount,
226         java.util.Date publishDate, java.util.Date expirationDate)
227         throws com.liferay.portal.SystemException {
228         return _tagsAssetLocalService.getAssetsCount(entryIds, notEntryIds,
229             andOperator, excludeZeroViewCount, publishDate, expirationDate);
230     }
231 
232     public com.liferay.portlet.tags.model.TagsAssetType[] getAssetTypes(
233         java.lang.String languageId) {
234         return _tagsAssetLocalService.getAssetTypes(languageId);
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 }