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 name, java.lang.String type, double version,
89          java.lang.String displayStyle, java.lang.String feedURL,
90          java.lang.String tagURL)
91          throws com.liferay.portal.kernel.exception.PortalException,
92              com.liferay.portal.kernel.exception.SystemException {
93          return _assetEntryService.getEntriesRSS(entryQuery, name, type,
94              version, displayStyle, feedURL, tagURL);
95      }
96  
97      public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
98          throws com.liferay.portal.kernel.exception.PortalException,
99              com.liferay.portal.kernel.exception.SystemException {
100         return _assetEntryService.getEntry(entryId);
101     }
102 
103     public void incrementViewCounter(java.lang.String className, long classPK)
104         throws com.liferay.portal.kernel.exception.PortalException,
105             com.liferay.portal.kernel.exception.SystemException {
106         _assetEntryService.incrementViewCounter(className, classPK);
107     }
108 
109     public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
110         long companyId, java.lang.String portletId, java.lang.String keywords,
111         java.lang.String languageId, int start, int end)
112         throws com.liferay.portal.kernel.exception.SystemException {
113         return _assetEntryService.searchEntryDisplays(companyId, portletId,
114             keywords, languageId, start, end);
115     }
116 
117     public int searchEntryDisplaysCount(long companyId,
118         java.lang.String portletId, java.lang.String keywords,
119         java.lang.String languageId)
120         throws com.liferay.portal.kernel.exception.SystemException {
121         return _assetEntryService.searchEntryDisplaysCount(companyId,
122             portletId, keywords, languageId);
123     }
124 
125     public com.liferay.portlet.asset.model.AssetEntry updateEntry(
126         long groupId, java.lang.String className, long classPK,
127         long[] categoryIds, java.lang.String[] tagNames, boolean visible,
128         java.util.Date startDate, java.util.Date endDate,
129         java.util.Date publishDate, java.util.Date expirationDate,
130         java.lang.String mimeType, java.lang.String title,
131         java.lang.String description, java.lang.String summary,
132         java.lang.String url, int height, int width,
133         java.lang.Integer priority, boolean sync)
134         throws com.liferay.portal.kernel.exception.PortalException,
135             com.liferay.portal.kernel.exception.SystemException {
136         return _assetEntryService.updateEntry(groupId, className, classPK,
137             categoryIds, tagNames, visible, startDate, endDate, publishDate,
138             expirationDate, mimeType, title, description, summary, url, height,
139             width, priority, sync);
140     }
141 
142     public AssetEntryService getWrappedAssetEntryService() {
143         return _assetEntryService;
144     }
145 
146     private AssetEntryService _assetEntryService;
147 }