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.asset.service;
16  
17  
18  /**
19   * <a href="AssetEntryServiceUtil.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 AssetEntryService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       AssetEntryService
32   * @generated
33   */
34  public class AssetEntryServiceWrapper implements AssetEntryService {
35      public AssetEntryServiceWrapper(AssetEntryService assetEntryService) {
36          _assetEntryService = assetEntryService;
37      }
38  
39      public void deleteEntry(long entryId)
40          throws com.liferay.portal.kernel.exception.PortalException,
41              com.liferay.portal.kernel.exception.SystemException {
42          _assetEntryService.deleteEntry(entryId);
43      }
44  
45      public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
46          long companyId, int start, int end)
47          throws com.liferay.portal.kernel.exception.SystemException {
48          return _assetEntryService.getCompanyEntries(companyId, start, end);
49      }
50  
51      public int getCompanyEntriesCount(long companyId)
52          throws com.liferay.portal.kernel.exception.SystemException {
53          return _assetEntryService.getCompanyEntriesCount(companyId);
54      }
55  
56      public java.lang.String getCompanyEntriesRSS(long companyId, int max,
57          java.lang.String type, double version, java.lang.String displayStyle,
58          java.lang.String feedURL, java.lang.String tagURL)
59          throws com.liferay.portal.kernel.exception.PortalException,
60              com.liferay.portal.kernel.exception.SystemException {
61          return _assetEntryService.getCompanyEntriesRSS(companyId, max, type,
62              version, displayStyle, feedURL, tagURL);
63      }
64  
65      public com.liferay.portlet.asset.model.AssetEntryDisplay[] getCompanyEntryDisplays(
66          long companyId, int start, int end, java.lang.String languageId)
67          throws com.liferay.portal.kernel.exception.SystemException {
68          return _assetEntryService.getCompanyEntryDisplays(companyId, start,
69              end, languageId);
70      }
71  
72      public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
73          com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
74          throws com.liferay.portal.kernel.exception.PortalException,
75              com.liferay.portal.kernel.exception.SystemException {
76          return _assetEntryService.getEntries(entryQuery);
77      }
78  
79      public int getEntriesCount(
80          com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
81          throws com.liferay.portal.kernel.exception.PortalException,
82              com.liferay.portal.kernel.exception.SystemException {
83          return _assetEntryService.getEntriesCount(entryQuery);
84      }
85  
86      public java.lang.String getEntriesRSS(
87          com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery,
88          java.lang.String type, double version, java.lang.String displayStyle,
89          java.lang.String feedURL, java.lang.String tagURL)
90          throws com.liferay.portal.kernel.exception.PortalException,
91              com.liferay.portal.kernel.exception.SystemException {
92          return _assetEntryService.getEntriesRSS(entryQuery, type, version,
93              displayStyle, feedURL, tagURL);
94      }
95  
96      public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
97          throws com.liferay.portal.kernel.exception.PortalException,
98              com.liferay.portal.kernel.exception.SystemException {
99          return _assetEntryService.getEntry(entryId);
100     }
101 
102     public com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
103         java.lang.String className, long classPK)
104         throws com.liferay.portal.kernel.exception.SystemException {
105         return _assetEntryService.incrementViewCounter(className, classPK);
106     }
107 
108     public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
109         long companyId, java.lang.String portletId, java.lang.String keywords,
110         java.lang.String languageId, int start, int end)
111         throws com.liferay.portal.kernel.exception.SystemException {
112         return _assetEntryService.searchEntryDisplays(companyId, portletId,
113             keywords, languageId, start, end);
114     }
115 
116     public int searchEntryDisplaysCount(long companyId,
117         java.lang.String portletId, java.lang.String keywords,
118         java.lang.String languageId)
119         throws com.liferay.portal.kernel.exception.SystemException {
120         return _assetEntryService.searchEntryDisplaysCount(companyId,
121             portletId, keywords, languageId);
122     }
123 
124     public com.liferay.portlet.asset.model.AssetEntry updateEntry(
125         long groupId, java.lang.String className, long classPK,
126         long[] categoryIds, java.lang.String[] tagNames, boolean visible,
127         java.util.Date startDate, java.util.Date endDate,
128         java.util.Date publishDate, java.util.Date expirationDate,
129         java.lang.String mimeType, java.lang.String title,
130         java.lang.String description, java.lang.String summary,
131         java.lang.String url, int height, int width,
132         java.lang.Integer priority, boolean sync)
133         throws com.liferay.portal.kernel.exception.PortalException,
134             com.liferay.portal.kernel.exception.SystemException {
135         return _assetEntryService.updateEntry(groupId, className, classPK,
136             categoryIds, tagNames, visible, startDate, endDate, publishDate,
137             expirationDate, mimeType, title, description, summary, url, height,
138             width, priority, sync);
139     }
140 
141     public AssetEntryService getWrappedAssetEntryService() {
142         return _assetEntryService;
143     }
144 
145     private AssetEntryService _assetEntryService;
146 }