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="TagsAssetServiceUtil.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 TagsAssetService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       TagsAssetService
32   * @generated
33   */
34  public class TagsAssetServiceWrapper implements TagsAssetService {
35      public TagsAssetServiceWrapper(TagsAssetService tagsAssetService) {
36          _tagsAssetService = tagsAssetService;
37      }
38  
39      public void deleteAsset(long assetId)
40          throws com.liferay.portal.PortalException,
41              com.liferay.portal.SystemException {
42          _tagsAssetService.deleteAsset(assetId);
43      }
44  
45      public com.liferay.portlet.tags.model.TagsAsset getAsset(long assetId)
46          throws com.liferay.portal.PortalException,
47              com.liferay.portal.SystemException {
48          return _tagsAssetService.getAsset(assetId);
49      }
50  
51      public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getAssets(
52          long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds,
53          boolean andOperator, java.lang.String orderByCol1,
54          java.lang.String orderByCol2, java.lang.String orderByType1,
55          java.lang.String orderByType2, boolean excludeZeroViewCount,
56          java.util.Date publishDate, java.util.Date expirationDate, int start,
57          int end)
58          throws com.liferay.portal.PortalException,
59              com.liferay.portal.SystemException {
60          return _tagsAssetService.getAssets(groupId, classNameIds, entryIds,
61              notEntryIds, andOperator, orderByCol1, orderByCol2, orderByType1,
62              orderByType2, excludeZeroViewCount, publishDate, expirationDate,
63              start, end);
64      }
65  
66      public int getAssetsCount(long groupId, long[] classNameIds,
67          long[] entryIds, long[] notEntryIds, boolean andOperator,
68          boolean excludeZeroViewCount, java.util.Date publishDate,
69          java.util.Date expirationDate)
70          throws com.liferay.portal.PortalException,
71              com.liferay.portal.SystemException {
72          return _tagsAssetService.getAssetsCount(groupId, classNameIds,
73              entryIds, notEntryIds, andOperator, excludeZeroViewCount,
74              publishDate, expirationDate);
75      }
76  
77      public java.lang.String getAssetsRSS(long groupId, long[] classNameIds,
78          long[] entryIds, long[] notEntryIds, boolean andOperator,
79          java.lang.String orderByCol1, java.lang.String orderByCol2,
80          java.lang.String orderByType1, java.lang.String orderByType2,
81          boolean excludeZeroViewCount, java.util.Date publishDate,
82          java.util.Date expirationDate, int max, java.lang.String type,
83          double version, java.lang.String displayStyle,
84          java.lang.String feedURL, java.lang.String entryURL)
85          throws com.liferay.portal.PortalException,
86              com.liferay.portal.SystemException {
87          return _tagsAssetService.getAssetsRSS(groupId, classNameIds, entryIds,
88              notEntryIds, andOperator, orderByCol1, orderByCol2, orderByType1,
89              orderByType2, excludeZeroViewCount, publishDate, expirationDate,
90              max, type, version, displayStyle, feedURL, entryURL);
91      }
92  
93      public com.liferay.portlet.tags.model.TagsAssetType[] getAssetTypes(
94          java.lang.String languageId) {
95          return _tagsAssetService.getAssetTypes(languageId);
96      }
97  
98      public com.liferay.portlet.tags.model.TagsAssetDisplay[] getCompanyAssetDisplays(
99          long companyId, int start, int end, java.lang.String languageId)
100         throws com.liferay.portal.SystemException {
101         return _tagsAssetService.getCompanyAssetDisplays(companyId, start, end,
102             languageId);
103     }
104 
105     public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getCompanyAssets(
106         long companyId, int start, int end)
107         throws com.liferay.portal.SystemException {
108         return _tagsAssetService.getCompanyAssets(companyId, start, end);
109     }
110 
111     public int getCompanyAssetsCount(long companyId)
112         throws com.liferay.portal.SystemException {
113         return _tagsAssetService.getCompanyAssetsCount(companyId);
114     }
115 
116     public java.lang.String getCompanyAssetsRSS(long companyId, int max,
117         java.lang.String type, double version, java.lang.String displayStyle,
118         java.lang.String feedURL, java.lang.String entryURL)
119         throws com.liferay.portal.PortalException,
120             com.liferay.portal.SystemException {
121         return _tagsAssetService.getCompanyAssetsRSS(companyId, max, type,
122             version, displayStyle, feedURL, entryURL);
123     }
124 
125     public com.liferay.portlet.tags.model.TagsAsset incrementViewCounter(
126         java.lang.String className, long classPK)
127         throws com.liferay.portal.SystemException {
128         return _tagsAssetService.incrementViewCounter(className, classPK);
129     }
130 
131     public com.liferay.portlet.tags.model.TagsAssetDisplay[] searchAssetDisplays(
132         long companyId, java.lang.String portletId, java.lang.String keywords,
133         java.lang.String languageId, int start, int end)
134         throws com.liferay.portal.SystemException {
135         return _tagsAssetService.searchAssetDisplays(companyId, portletId,
136             keywords, languageId, start, end);
137     }
138 
139     public int searchAssetDisplaysCount(long companyId,
140         java.lang.String portletId, java.lang.String keywords,
141         java.lang.String languageId) throws com.liferay.portal.SystemException {
142         return _tagsAssetService.searchAssetDisplaysCount(companyId, portletId,
143             keywords, languageId);
144     }
145 
146     public com.liferay.portlet.tags.model.TagsAsset updateAsset(long groupId,
147         java.lang.String className, long classPK,
148         java.lang.String[] categoryNames, java.lang.String[] entryNames,
149         boolean visible, java.util.Date startDate, java.util.Date endDate,
150         java.util.Date publishDate, java.util.Date expirationDate,
151         java.lang.String mimeType, java.lang.String title,
152         java.lang.String description, java.lang.String summary,
153         java.lang.String url, int height, int width, java.lang.Integer priority)
154         throws com.liferay.portal.PortalException,
155             com.liferay.portal.SystemException {
156         return _tagsAssetService.updateAsset(groupId, className, classPK,
157             categoryNames, entryNames, visible, startDate, endDate,
158             publishDate, expirationDate, mimeType, title, description, summary,
159             url, height, width, priority);
160     }
161 
162     public TagsAssetService getWrappedTagsAssetService() {
163         return _tagsAssetService;
164     }
165 
166     private TagsAssetService _tagsAssetService;
167 }