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