1   /**
2    * Copyright (c) 2000-2008 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 provides static methods for the
36   * <code>com.liferay.portlet.tags.service.TagsAssetLocalService</code>
37   * bean. The static methods of this class calls the same methods of the bean
38   * instance. It's convenient to be able to just write one line to call a method
39   * on a bean instead of writing a lookup call and a method call.
40   * </p>
41   *
42   * <p>
43   * <code>com.liferay.portlet.tags.service.TagsAssetLocalServiceFactory</code>
44   * is responsible for the lookup of the bean.
45   * </p>
46   *
47   * @author Brian Wing Shun Chan
48   *
49   * @see com.liferay.portlet.tags.service.TagsAssetLocalService
50   * @see com.liferay.portlet.tags.service.TagsAssetLocalServiceFactory
51   *
52   */
53  public class TagsAssetLocalServiceUtil {
54      public static com.liferay.portlet.tags.model.TagsAsset addTagsAsset(
55          com.liferay.portlet.tags.model.TagsAsset model)
56          throws com.liferay.portal.SystemException {
57          TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
58  
59          return tagsAssetLocalService.addTagsAsset(model);
60      }
61  
62      public static java.util.List dynamicQuery(
63          com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
64          throws com.liferay.portal.SystemException {
65          TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
66  
67          return tagsAssetLocalService.dynamicQuery(queryInitializer);
68      }
69  
70      public static java.util.List dynamicQuery(
71          com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
72          int begin, int end) throws com.liferay.portal.SystemException {
73          TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
74  
75          return tagsAssetLocalService.dynamicQuery(queryInitializer, begin, end);
76      }
77  
78      public static com.liferay.portlet.tags.model.TagsAsset updateTagsAsset(
79          com.liferay.portlet.tags.model.TagsAsset model)
80          throws com.liferay.portal.SystemException {
81          TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
82  
83          return tagsAssetLocalService.updateTagsAsset(model);
84      }
85  
86      public static com.liferay.portlet.tags.service.persistence.TagsAssetPersistence getTagsAssetPersistence() {
87          TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
88  
89          return tagsAssetLocalService.getTagsAssetPersistence();
90      }
91  
92      public static void setTagsAssetPersistence(
93          com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence) {
94          TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
95  
96          tagsAssetLocalService.setTagsAssetPersistence(tagsAssetPersistence);
97      }
98  
99      public static com.liferay.portlet.tags.service.persistence.TagsAssetFinder getTagsAssetFinder() {
100         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
101 
102         return tagsAssetLocalService.getTagsAssetFinder();
103     }
104 
105     public static void setTagsAssetFinder(
106         com.liferay.portlet.tags.service.persistence.TagsAssetFinder tagsAssetFinder) {
107         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
108 
109         tagsAssetLocalService.setTagsAssetFinder(tagsAssetFinder);
110     }
111 
112     public static com.liferay.portlet.tags.service.persistence.TagsEntryPersistence getTagsEntryPersistence() {
113         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
114 
115         return tagsAssetLocalService.getTagsEntryPersistence();
116     }
117 
118     public static void setTagsEntryPersistence(
119         com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence) {
120         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
121 
122         tagsAssetLocalService.setTagsEntryPersistence(tagsEntryPersistence);
123     }
124 
125     public static com.liferay.portlet.tags.service.persistence.TagsEntryFinder getTagsEntryFinder() {
126         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
127 
128         return tagsAssetLocalService.getTagsEntryFinder();
129     }
130 
131     public static void setTagsEntryFinder(
132         com.liferay.portlet.tags.service.persistence.TagsEntryFinder tagsEntryFinder) {
133         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
134 
135         tagsAssetLocalService.setTagsEntryFinder(tagsEntryFinder);
136     }
137 
138     public static com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence getTagsPropertyPersistence() {
139         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
140 
141         return tagsAssetLocalService.getTagsPropertyPersistence();
142     }
143 
144     public static void setTagsPropertyPersistence(
145         com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence tagsPropertyPersistence) {
146         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
147 
148         tagsAssetLocalService.setTagsPropertyPersistence(tagsPropertyPersistence);
149     }
150 
151     public static com.liferay.portlet.tags.service.persistence.TagsPropertyFinder getTagsPropertyFinder() {
152         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
153 
154         return tagsAssetLocalService.getTagsPropertyFinder();
155     }
156 
157     public static void setTagsPropertyFinder(
158         com.liferay.portlet.tags.service.persistence.TagsPropertyFinder tagsPropertyFinder) {
159         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
160 
161         tagsAssetLocalService.setTagsPropertyFinder(tagsPropertyFinder);
162     }
163 
164     public static com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder getTagsPropertyKeyFinder() {
165         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
166 
167         return tagsAssetLocalService.getTagsPropertyKeyFinder();
168     }
169 
170     public static void setTagsPropertyKeyFinder(
171         com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder tagsPropertyKeyFinder) {
172         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
173 
174         tagsAssetLocalService.setTagsPropertyKeyFinder(tagsPropertyKeyFinder);
175     }
176 
177     public static com.liferay.portlet.tags.service.persistence.TagsSourcePersistence getTagsSourcePersistence() {
178         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
179 
180         return tagsAssetLocalService.getTagsSourcePersistence();
181     }
182 
183     public static void setTagsSourcePersistence(
184         com.liferay.portlet.tags.service.persistence.TagsSourcePersistence tagsSourcePersistence) {
185         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
186 
187         tagsAssetLocalService.setTagsSourcePersistence(tagsSourcePersistence);
188     }
189 
190     public static com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence() {
191         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
192 
193         return tagsAssetLocalService.getCompanyPersistence();
194     }
195 
196     public static void setCompanyPersistence(
197         com.liferay.portal.service.persistence.CompanyPersistence companyPersistence) {
198         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
199 
200         tagsAssetLocalService.setCompanyPersistence(companyPersistence);
201     }
202 
203     public static com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence() {
204         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
205 
206         return tagsAssetLocalService.getGroupPersistence();
207     }
208 
209     public static void setGroupPersistence(
210         com.liferay.portal.service.persistence.GroupPersistence groupPersistence) {
211         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
212 
213         tagsAssetLocalService.setGroupPersistence(groupPersistence);
214     }
215 
216     public static com.liferay.portal.service.persistence.GroupFinder getGroupFinder() {
217         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
218 
219         return tagsAssetLocalService.getGroupFinder();
220     }
221 
222     public static void setGroupFinder(
223         com.liferay.portal.service.persistence.GroupFinder groupFinder) {
224         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
225 
226         tagsAssetLocalService.setGroupFinder(groupFinder);
227     }
228 
229     public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
230         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
231 
232         return tagsAssetLocalService.getUserPersistence();
233     }
234 
235     public static void setUserPersistence(
236         com.liferay.portal.service.persistence.UserPersistence userPersistence) {
237         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
238 
239         tagsAssetLocalService.setUserPersistence(userPersistence);
240     }
241 
242     public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
243         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
244 
245         return tagsAssetLocalService.getUserFinder();
246     }
247 
248     public static void setUserFinder(
249         com.liferay.portal.service.persistence.UserFinder userFinder) {
250         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
251 
252         tagsAssetLocalService.setUserFinder(userFinder);
253     }
254 
255     public static com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence getBlogsEntryPersistence() {
256         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
257 
258         return tagsAssetLocalService.getBlogsEntryPersistence();
259     }
260 
261     public static void setBlogsEntryPersistence(
262         com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence blogsEntryPersistence) {
263         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
264 
265         tagsAssetLocalService.setBlogsEntryPersistence(blogsEntryPersistence);
266     }
267 
268     public static com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder getBlogsEntryFinder() {
269         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
270 
271         return tagsAssetLocalService.getBlogsEntryFinder();
272     }
273 
274     public static void setBlogsEntryFinder(
275         com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder blogsEntryFinder) {
276         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
277 
278         tagsAssetLocalService.setBlogsEntryFinder(blogsEntryFinder);
279     }
280 
281     public static com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence getBookmarksEntryPersistence() {
282         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
283 
284         return tagsAssetLocalService.getBookmarksEntryPersistence();
285     }
286 
287     public static void setBookmarksEntryPersistence(
288         com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence bookmarksEntryPersistence) {
289         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
290 
291         tagsAssetLocalService.setBookmarksEntryPersistence(bookmarksEntryPersistence);
292     }
293 
294     public static com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder getBookmarksEntryFinder() {
295         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
296 
297         return tagsAssetLocalService.getBookmarksEntryFinder();
298     }
299 
300     public static void setBookmarksEntryFinder(
301         com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder bookmarksEntryFinder) {
302         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
303 
304         tagsAssetLocalService.setBookmarksEntryFinder(bookmarksEntryFinder);
305     }
306 
307     public static com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence getDLFileEntryPersistence() {
308         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
309 
310         return tagsAssetLocalService.getDLFileEntryPersistence();
311     }
312 
313     public static void setDLFileEntryPersistence(
314         com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence dlFileEntryPersistence) {
315         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
316 
317         tagsAssetLocalService.setDLFileEntryPersistence(dlFileEntryPersistence);
318     }
319 
320     public static com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder getDLFileEntryFinder() {
321         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
322 
323         return tagsAssetLocalService.getDLFileEntryFinder();
324     }
325 
326     public static void setDLFileEntryFinder(
327         com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder dlFileEntryFinder) {
328         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
329 
330         tagsAssetLocalService.setDLFileEntryFinder(dlFileEntryFinder);
331     }
332 
333     public static com.liferay.portlet.journal.service.persistence.JournalArticlePersistence getJournalArticlePersistence() {
334         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
335 
336         return tagsAssetLocalService.getJournalArticlePersistence();
337     }
338 
339     public static void setJournalArticlePersistence(
340         com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence) {
341         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
342 
343         tagsAssetLocalService.setJournalArticlePersistence(journalArticlePersistence);
344     }
345 
346     public static com.liferay.portlet.journal.service.persistence.JournalArticleFinder getJournalArticleFinder() {
347         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
348 
349         return tagsAssetLocalService.getJournalArticleFinder();
350     }
351 
352     public static void setJournalArticleFinder(
353         com.liferay.portlet.journal.service.persistence.JournalArticleFinder journalArticleFinder) {
354         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
355 
356         tagsAssetLocalService.setJournalArticleFinder(journalArticleFinder);
357     }
358 
359     public static com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
360         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
361 
362         return tagsAssetLocalService.getJournalArticleResourcePersistence();
363     }
364 
365     public static void setJournalArticleResourcePersistence(
366         com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence) {
367         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
368 
369         tagsAssetLocalService.setJournalArticleResourcePersistence(journalArticleResourcePersistence);
370     }
371 
372     public static com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence getMBMessagePersistence() {
373         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
374 
375         return tagsAssetLocalService.getMBMessagePersistence();
376     }
377 
378     public static void setMBMessagePersistence(
379         com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence) {
380         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
381 
382         tagsAssetLocalService.setMBMessagePersistence(mbMessagePersistence);
383     }
384 
385     public static com.liferay.portlet.messageboards.service.persistence.MBMessageFinder getMBMessageFinder() {
386         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
387 
388         return tagsAssetLocalService.getMBMessageFinder();
389     }
390 
391     public static void setMBMessageFinder(
392         com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder) {
393         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
394 
395         tagsAssetLocalService.setMBMessageFinder(mbMessageFinder);
396     }
397 
398     public static com.liferay.portlet.wiki.service.persistence.WikiPagePersistence getWikiPagePersistence() {
399         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
400 
401         return tagsAssetLocalService.getWikiPagePersistence();
402     }
403 
404     public static void setWikiPagePersistence(
405         com.liferay.portlet.wiki.service.persistence.WikiPagePersistence wikiPagePersistence) {
406         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
407 
408         tagsAssetLocalService.setWikiPagePersistence(wikiPagePersistence);
409     }
410 
411     public static com.liferay.portlet.wiki.service.persistence.WikiPageFinder getWikiPageFinder() {
412         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
413 
414         return tagsAssetLocalService.getWikiPageFinder();
415     }
416 
417     public static void setWikiPageFinder(
418         com.liferay.portlet.wiki.service.persistence.WikiPageFinder wikiPageFinder) {
419         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
420 
421         tagsAssetLocalService.setWikiPageFinder(wikiPageFinder);
422     }
423 
424     public static com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence getWikiPageResourcePersistence() {
425         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
426 
427         return tagsAssetLocalService.getWikiPageResourcePersistence();
428     }
429 
430     public static void setWikiPageResourcePersistence(
431         com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence wikiPageResourcePersistence) {
432         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
433 
434         tagsAssetLocalService.setWikiPageResourcePersistence(wikiPageResourcePersistence);
435     }
436 
437     public static void afterPropertiesSet() {
438         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
439 
440         tagsAssetLocalService.afterPropertiesSet();
441     }
442 
443     public static void deleteAsset(long assetId)
444         throws com.liferay.portal.PortalException, 
445             com.liferay.portal.SystemException {
446         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
447 
448         tagsAssetLocalService.deleteAsset(assetId);
449     }
450 
451     public static void deleteAsset(java.lang.String className, long classPK)
452         throws com.liferay.portal.PortalException, 
453             com.liferay.portal.SystemException {
454         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
455 
456         tagsAssetLocalService.deleteAsset(className, classPK);
457     }
458 
459     public static void deleteAsset(
460         com.liferay.portlet.tags.model.TagsAsset asset)
461         throws com.liferay.portal.PortalException, 
462             com.liferay.portal.SystemException {
463         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
464 
465         tagsAssetLocalService.deleteAsset(asset);
466     }
467 
468     public static com.liferay.portlet.tags.model.TagsAsset getAsset(
469         long assetId)
470         throws com.liferay.portal.PortalException, 
471             com.liferay.portal.SystemException {
472         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
473 
474         return tagsAssetLocalService.getAsset(assetId);
475     }
476 
477     public static com.liferay.portlet.tags.model.TagsAsset getAsset(
478         java.lang.String className, long classPK)
479         throws com.liferay.portal.PortalException, 
480             com.liferay.portal.SystemException {
481         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
482 
483         return tagsAssetLocalService.getAsset(className, classPK);
484     }
485 
486     public static com.liferay.portlet.tags.model.TagsAssetType[] getAssetTypes(
487         java.lang.String languageId) {
488         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
489 
490         return tagsAssetLocalService.getAssetTypes(languageId);
491     }
492 
493     public static java.util.List getAssets(long[] entryIds, long[] notEntryIds,
494         boolean andOperator, boolean excludeZeroViewCount, int begin, int end)
495         throws com.liferay.portal.SystemException {
496         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
497 
498         return tagsAssetLocalService.getAssets(entryIds, notEntryIds,
499             andOperator, excludeZeroViewCount, begin, end);
500     }
501 
502     public static java.util.List getAssets(long groupId, long[] classNameIds,
503         long[] entryIds, long[] notEntryIds, boolean andOperator,
504         boolean excludeZeroViewCount, int begin, int end)
505         throws com.liferay.portal.SystemException {
506         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
507 
508         return tagsAssetLocalService.getAssets(groupId, classNameIds, entryIds,
509             notEntryIds, andOperator, excludeZeroViewCount, begin, end);
510     }
511 
512     public static java.util.List getAssets(long[] entryIds, long[] notEntryIds,
513         boolean andOperator, boolean excludeZeroViewCount,
514         java.util.Date publishDate, java.util.Date expirationDate, int begin,
515         int end) throws com.liferay.portal.SystemException {
516         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
517 
518         return tagsAssetLocalService.getAssets(entryIds, notEntryIds,
519             andOperator, excludeZeroViewCount, publishDate, expirationDate,
520             begin, end);
521     }
522 
523     public static java.util.List getAssets(long groupId, long[] classNameIds,
524         long[] entryIds, long[] notEntryIds, boolean andOperator,
525         boolean excludeZeroViewCount, java.util.Date publishDate,
526         java.util.Date expirationDate, int begin, int end)
527         throws com.liferay.portal.SystemException {
528         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
529 
530         return tagsAssetLocalService.getAssets(groupId, classNameIds, entryIds,
531             notEntryIds, andOperator, excludeZeroViewCount, publishDate,
532             expirationDate, begin, end);
533     }
534 
535     public static java.util.List getAssets(long[] entryIds, long[] notEntryIds,
536         boolean andOperator, java.lang.String orderByCol1,
537         java.lang.String orderByCol2, java.lang.String orderByType1,
538         java.lang.String orderByType2, boolean excludeZeroViewCount,
539         java.util.Date publishDate, java.util.Date expirationDate, int begin,
540         int end) throws com.liferay.portal.SystemException {
541         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
542 
543         return tagsAssetLocalService.getAssets(entryIds, notEntryIds,
544             andOperator, orderByCol1, orderByCol2, orderByType1, orderByType2,
545             excludeZeroViewCount, publishDate, expirationDate, begin, end);
546     }
547 
548     public static java.util.List getAssets(long groupId, long[] classNameIds,
549         long[] entryIds, long[] notEntryIds, boolean andOperator,
550         java.lang.String orderByCol1, java.lang.String orderByCol2,
551         java.lang.String orderByType1, java.lang.String orderByType2,
552         boolean excludeZeroViewCount, java.util.Date publishDate,
553         java.util.Date expirationDate, int begin, int end)
554         throws com.liferay.portal.SystemException {
555         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
556 
557         return tagsAssetLocalService.getAssets(groupId, classNameIds, entryIds,
558             notEntryIds, andOperator, orderByCol1, orderByCol2, orderByType1,
559             orderByType2, excludeZeroViewCount, publishDate, expirationDate,
560             begin, end);
561     }
562 
563     public static int getAssetsCount(long[] entryIds, long[] notEntryIds,
564         boolean andOperator, boolean excludeZeroViewCount)
565         throws com.liferay.portal.SystemException {
566         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
567 
568         return tagsAssetLocalService.getAssetsCount(entryIds, notEntryIds,
569             andOperator, excludeZeroViewCount);
570     }
571 
572     public static int getAssetsCount(long groupId, long[] entryIds,
573         long[] notEntryIds, boolean andOperator, boolean excludeZeroViewCount)
574         throws com.liferay.portal.SystemException {
575         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
576 
577         return tagsAssetLocalService.getAssetsCount(groupId, entryIds,
578             notEntryIds, andOperator, excludeZeroViewCount);
579     }
580 
581     public static int getAssetsCount(long[] entryIds, long[] notEntryIds,
582         boolean andOperator, boolean excludeZeroViewCount,
583         java.util.Date publishDate, java.util.Date expirationDate)
584         throws com.liferay.portal.SystemException {
585         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
586 
587         return tagsAssetLocalService.getAssetsCount(entryIds, notEntryIds,
588             andOperator, excludeZeroViewCount, publishDate, expirationDate);
589     }
590 
591     public static int getAssetsCount(long groupId, long[] classNameIds,
592         long[] entryIds, long[] notEntryIds, boolean andOperator,
593         boolean excludeZeroViewCount, java.util.Date publishDate,
594         java.util.Date expirationDate)
595         throws com.liferay.portal.SystemException {
596         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
597 
598         return tagsAssetLocalService.getAssetsCount(groupId, classNameIds,
599             entryIds, notEntryIds, andOperator, excludeZeroViewCount,
600             publishDate, expirationDate);
601     }
602 
603     public static com.liferay.portlet.tags.model.TagsAssetDisplay[] getCompanyAssetDisplays(
604         long companyId, int begin, int end, java.lang.String languageId)
605         throws com.liferay.portal.PortalException, 
606             com.liferay.portal.SystemException {
607         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
608 
609         return tagsAssetLocalService.getCompanyAssetDisplays(companyId, begin,
610             end, languageId);
611     }
612 
613     public static java.util.List getCompanyAssets(long companyId, int begin,
614         int end) throws com.liferay.portal.SystemException {
615         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
616 
617         return tagsAssetLocalService.getCompanyAssets(companyId, begin, end);
618     }
619 
620     public static int getCompanyAssetsCount(long companyId)
621         throws com.liferay.portal.SystemException {
622         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
623 
624         return tagsAssetLocalService.getCompanyAssetsCount(companyId);
625     }
626 
627     public static java.util.List getTopViewedAssets(
628         java.lang.String className, boolean asc, int begin, int end)
629         throws com.liferay.portal.SystemException {
630         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
631 
632         return tagsAssetLocalService.getTopViewedAssets(className, asc, begin,
633             end);
634     }
635 
636     public static java.util.List getTopViewedAssets(
637         java.lang.String[] className, boolean asc, int begin, int end)
638         throws com.liferay.portal.SystemException {
639         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
640 
641         return tagsAssetLocalService.getTopViewedAssets(className, asc, begin,
642             end);
643     }
644 
645     public static com.liferay.portlet.tags.model.TagsAsset incrementViewCounter(
646         java.lang.String className, long classPK)
647         throws com.liferay.portal.PortalException, 
648             com.liferay.portal.SystemException {
649         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
650 
651         return tagsAssetLocalService.incrementViewCounter(className, classPK);
652     }
653 
654     public static com.liferay.portal.kernel.search.Hits search(long companyId,
655         java.lang.String portletId, java.lang.String keywords)
656         throws com.liferay.portal.SystemException {
657         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
658 
659         return tagsAssetLocalService.search(companyId, portletId, keywords);
660     }
661 
662     public static com.liferay.portlet.tags.model.TagsAssetDisplay[] searchAssetDisplays(
663         long companyId, java.lang.String portletId, java.lang.String keywords,
664         java.lang.String languageId, int begin, int end)
665         throws com.liferay.portal.PortalException, 
666             com.liferay.portal.SystemException {
667         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
668 
669         return tagsAssetLocalService.searchAssetDisplays(companyId, portletId,
670             keywords, languageId, begin, end);
671     }
672 
673     public static int searchAssetDisplaysCount(long companyId,
674         java.lang.String portletId, java.lang.String keywords,
675         java.lang.String languageId) throws com.liferay.portal.SystemException {
676         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
677 
678         return tagsAssetLocalService.searchAssetDisplaysCount(companyId,
679             portletId, keywords, languageId);
680     }
681 
682     public static com.liferay.portlet.tags.model.TagsAsset updateAsset(
683         long userId, long groupId, java.lang.String className, long classPK,
684         java.lang.String[] entryNames)
685         throws com.liferay.portal.PortalException, 
686             com.liferay.portal.SystemException {
687         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
688 
689         return tagsAssetLocalService.updateAsset(userId, groupId, className,
690             classPK, entryNames);
691     }
692 
693     public static com.liferay.portlet.tags.model.TagsAsset updateAsset(
694         long userId, long groupId, java.lang.String className, long classPK,
695         java.lang.String[] entryNames, java.util.Date startDate,
696         java.util.Date endDate, java.util.Date publishDate,
697         java.util.Date expirationDate, java.lang.String mimeType,
698         java.lang.String title, java.lang.String description,
699         java.lang.String summary, java.lang.String url, int height, int width,
700         java.lang.Integer priority)
701         throws com.liferay.portal.PortalException, 
702             com.liferay.portal.SystemException {
703         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
704 
705         return tagsAssetLocalService.updateAsset(userId, groupId, className,
706             classPK, entryNames, startDate, endDate, publishDate,
707             expirationDate, mimeType, title, description, summary, url, height,
708             width, priority);
709     }
710 
711     public static com.liferay.portlet.tags.model.TagsAsset updateAsset(
712         long userId, long groupId, java.lang.String className, long classPK,
713         java.lang.String[] entryNames, java.util.Date startDate,
714         java.util.Date endDate, java.util.Date publishDate,
715         java.util.Date expirationDate, java.lang.String mimeType,
716         java.lang.String title, java.lang.String description,
717         java.lang.String summary, java.lang.String url, int height, int width,
718         java.lang.Integer priority, boolean sync)
719         throws com.liferay.portal.PortalException, 
720             com.liferay.portal.SystemException {
721         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
722 
723         return tagsAssetLocalService.updateAsset(userId, groupId, className,
724             classPK, entryNames, startDate, endDate, publishDate,
725             expirationDate, mimeType, title, description, summary, url, height,
726             width, priority, sync);
727     }
728 
729     public static void validate(java.lang.String className,
730         java.lang.String[] entryNames)
731         throws com.liferay.portal.PortalException {
732         TagsAssetLocalService tagsAssetLocalService = TagsAssetLocalServiceFactory.getService();
733 
734         tagsAssetLocalService.validate(className, entryNames);
735     }
736 }