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, java.rmi.RemoteException {
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, java.rmi.RemoteException {
48          return _tagsAssetService.getAsset(assetId);
49      }
50  
51      public java.lang.String getAssetsRSS(long groupId, long[] classNameIds,
52          long[] entryIds, long[] notEntryIds, boolean andOperator,
53          java.lang.String orderByCol1, java.lang.String orderByCol2,
54          java.lang.String orderByType1, java.lang.String orderByType2,
55          boolean excludeZeroViewCount, java.util.Date publishDate,
56          java.util.Date expirationDate, int max, java.lang.String type,
57          double version, java.lang.String displayStyle,
58          java.lang.String feedURL, java.lang.String entryURL)
59          throws com.liferay.portal.PortalException,
60              com.liferay.portal.SystemException, java.rmi.RemoteException {
61          return _tagsAssetService.getAssetsRSS(groupId, classNameIds, entryIds,
62              notEntryIds, andOperator, orderByCol1, orderByCol2, orderByType1,
63              orderByType2, excludeZeroViewCount, publishDate, expirationDate,
64              max, type, version, displayStyle, feedURL, entryURL);
65      }
66  
67      public com.liferay.portlet.tags.model.TagsAssetType[] getAssetTypes(
68          java.lang.String languageId) throws java.rmi.RemoteException {
69          return _tagsAssetService.getAssetTypes(languageId);
70      }
71  
72      public com.liferay.portlet.tags.model.TagsAssetDisplay[] getCompanyAssetDisplays(
73          long companyId, int start, int end, java.lang.String languageId)
74          throws com.liferay.portal.SystemException, java.rmi.RemoteException {
75          return _tagsAssetService.getCompanyAssetDisplays(companyId, start, end,
76              languageId);
77      }
78  
79      public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getCompanyAssets(
80          long companyId, int start, int end)
81          throws com.liferay.portal.SystemException, java.rmi.RemoteException {
82          return _tagsAssetService.getCompanyAssets(companyId, start, end);
83      }
84  
85      public int getCompanyAssetsCount(long companyId)
86          throws com.liferay.portal.SystemException, java.rmi.RemoteException {
87          return _tagsAssetService.getCompanyAssetsCount(companyId);
88      }
89  
90      public java.lang.String getCompanyAssetsRSS(long companyId, int max,
91          java.lang.String type, 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, java.rmi.RemoteException {
95          return _tagsAssetService.getCompanyAssetsRSS(companyId, max, type,
96              version, displayStyle, feedURL, entryURL);
97      }
98  
99      public com.liferay.portlet.tags.model.TagsAsset incrementViewCounter(
100         java.lang.String className, long classPK)
101         throws com.liferay.portal.SystemException, java.rmi.RemoteException {
102         return _tagsAssetService.incrementViewCounter(className, classPK);
103     }
104 
105     public com.liferay.portlet.tags.model.TagsAssetDisplay[] searchAssetDisplays(
106         long companyId, java.lang.String portletId, java.lang.String keywords,
107         java.lang.String languageId, int start, int end)
108         throws com.liferay.portal.SystemException, java.rmi.RemoteException {
109         return _tagsAssetService.searchAssetDisplays(companyId, portletId,
110             keywords, languageId, start, end);
111     }
112 
113     public int searchAssetDisplaysCount(long companyId,
114         java.lang.String portletId, java.lang.String keywords,
115         java.lang.String languageId)
116         throws com.liferay.portal.SystemException, java.rmi.RemoteException {
117         return _tagsAssetService.searchAssetDisplaysCount(companyId, portletId,
118             keywords, languageId);
119     }
120 
121     public com.liferay.portlet.tags.model.TagsAsset updateAsset(long groupId,
122         java.lang.String className, long classPK,
123         java.lang.String[] entryNames, java.util.Date startDate,
124         java.util.Date endDate, java.util.Date publishDate,
125         java.util.Date expirationDate, java.lang.String mimeType,
126         java.lang.String title, java.lang.String description,
127         java.lang.String summary, java.lang.String url, int height, int width,
128         java.lang.Integer priority)
129         throws com.liferay.portal.PortalException,
130             com.liferay.portal.SystemException, java.rmi.RemoteException {
131         return _tagsAssetService.updateAsset(groupId, className, classPK,
132             entryNames, startDate, endDate, publishDate, expirationDate,
133             mimeType, title, description, summary, url, height, width, priority);
134     }
135 
136     public TagsAssetService getWrappedTagsAssetService() {
137         return _tagsAssetService;
138     }
139 
140     private TagsAssetService _tagsAssetService;
141 }