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="AssetEntryLocalServiceUtil.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 AssetEntryLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       AssetEntryLocalService
32   * @generated
33   */
34  public class AssetEntryLocalServiceWrapper implements AssetEntryLocalService {
35      public AssetEntryLocalServiceWrapper(
36          AssetEntryLocalService assetEntryLocalService) {
37          _assetEntryLocalService = assetEntryLocalService;
38      }
39  
40      public com.liferay.portlet.asset.model.AssetEntry addAssetEntry(
41          com.liferay.portlet.asset.model.AssetEntry assetEntry)
42          throws com.liferay.portal.kernel.exception.SystemException {
43          return _assetEntryLocalService.addAssetEntry(assetEntry);
44      }
45  
46      public com.liferay.portlet.asset.model.AssetEntry createAssetEntry(
47          long entryId) {
48          return _assetEntryLocalService.createAssetEntry(entryId);
49      }
50  
51      public void deleteAssetEntry(long entryId)
52          throws com.liferay.portal.kernel.exception.PortalException,
53              com.liferay.portal.kernel.exception.SystemException {
54          _assetEntryLocalService.deleteAssetEntry(entryId);
55      }
56  
57      public void deleteAssetEntry(
58          com.liferay.portlet.asset.model.AssetEntry assetEntry)
59          throws com.liferay.portal.kernel.exception.SystemException {
60          _assetEntryLocalService.deleteAssetEntry(assetEntry);
61      }
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.kernel.exception.SystemException {
66          return _assetEntryLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.kernel.exception.SystemException {
72          return _assetEntryLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public java.util.List<Object> dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.kernel.exception.SystemException {
80          return _assetEntryLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public int dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.kernel.exception.SystemException {
87          return _assetEntryLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portlet.asset.model.AssetEntry getAssetEntry(
91          long entryId)
92          throws com.liferay.portal.kernel.exception.PortalException,
93              com.liferay.portal.kernel.exception.SystemException {
94          return _assetEntryLocalService.getAssetEntry(entryId);
95      }
96  
97      public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
98          int start, int end)
99          throws com.liferay.portal.kernel.exception.SystemException {
100         return _assetEntryLocalService.getAssetEntries(start, end);
101     }
102 
103     public int getAssetEntriesCount()
104         throws com.liferay.portal.kernel.exception.SystemException {
105         return _assetEntryLocalService.getAssetEntriesCount();
106     }
107 
108     public com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
109         com.liferay.portlet.asset.model.AssetEntry assetEntry)
110         throws com.liferay.portal.kernel.exception.SystemException {
111         return _assetEntryLocalService.updateAssetEntry(assetEntry);
112     }
113 
114     public com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
115         com.liferay.portlet.asset.model.AssetEntry assetEntry, boolean merge)
116         throws com.liferay.portal.kernel.exception.SystemException {
117         return _assetEntryLocalService.updateAssetEntry(assetEntry, merge);
118     }
119 
120     public void deleteEntry(com.liferay.portlet.asset.model.AssetEntry entry)
121         throws com.liferay.portal.kernel.exception.SystemException {
122         _assetEntryLocalService.deleteEntry(entry);
123     }
124 
125     public void deleteEntry(long entryId)
126         throws com.liferay.portal.kernel.exception.PortalException,
127             com.liferay.portal.kernel.exception.SystemException {
128         _assetEntryLocalService.deleteEntry(entryId);
129     }
130 
131     public void deleteEntry(java.lang.String className, long classPK)
132         throws com.liferay.portal.kernel.exception.SystemException {
133         _assetEntryLocalService.deleteEntry(className, classPK);
134     }
135 
136     public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAncestorEntries(
137         long entryId)
138         throws com.liferay.portal.kernel.exception.PortalException,
139             com.liferay.portal.kernel.exception.SystemException {
140         return _assetEntryLocalService.getAncestorEntries(entryId);
141     }
142 
143     public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getChildEntries(
144         long entryId)
145         throws com.liferay.portal.kernel.exception.PortalException,
146             com.liferay.portal.kernel.exception.SystemException {
147         return _assetEntryLocalService.getChildEntries(entryId);
148     }
149 
150     public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
151         long companyId, int start, int end)
152         throws com.liferay.portal.kernel.exception.SystemException {
153         return _assetEntryLocalService.getCompanyEntries(companyId, start, end);
154     }
155 
156     public int getCompanyEntriesCount(long companyId)
157         throws com.liferay.portal.kernel.exception.SystemException {
158         return _assetEntryLocalService.getCompanyEntriesCount(companyId);
159     }
160 
161     public com.liferay.portlet.asset.model.AssetEntryDisplay[] getCompanyEntryDisplays(
162         long companyId, int start, int end, java.lang.String languageId)
163         throws com.liferay.portal.kernel.exception.SystemException {
164         return _assetEntryLocalService.getCompanyEntryDisplays(companyId,
165             start, end, languageId);
166     }
167 
168     public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
169         com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
170         throws com.liferay.portal.kernel.exception.SystemException {
171         return _assetEntryLocalService.getEntries(entryQuery);
172     }
173 
174     public int getEntriesCount(
175         com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
176         throws com.liferay.portal.kernel.exception.SystemException {
177         return _assetEntryLocalService.getEntriesCount(entryQuery);
178     }
179 
180     public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
181         throws com.liferay.portal.kernel.exception.PortalException,
182             com.liferay.portal.kernel.exception.SystemException {
183         return _assetEntryLocalService.getEntry(entryId);
184     }
185 
186     public com.liferay.portlet.asset.model.AssetEntry getEntry(
187         java.lang.String className, long classPK)
188         throws com.liferay.portal.kernel.exception.PortalException,
189             com.liferay.portal.kernel.exception.SystemException {
190         return _assetEntryLocalService.getEntry(className, classPK);
191     }
192 
193     public com.liferay.portlet.asset.model.AssetEntry getNextEntry(long entryId)
194         throws com.liferay.portal.kernel.exception.PortalException,
195             com.liferay.portal.kernel.exception.SystemException {
196         return _assetEntryLocalService.getNextEntry(entryId);
197     }
198 
199     public com.liferay.portlet.asset.model.AssetEntry getParentEntry(
200         long entryId)
201         throws com.liferay.portal.kernel.exception.PortalException,
202             com.liferay.portal.kernel.exception.SystemException {
203         return _assetEntryLocalService.getParentEntry(entryId);
204     }
205 
206     public com.liferay.portlet.asset.model.AssetEntry getPreviousEntry(
207         long entryId)
208         throws com.liferay.portal.kernel.exception.PortalException,
209             com.liferay.portal.kernel.exception.SystemException {
210         return _assetEntryLocalService.getPreviousEntry(entryId);
211     }
212 
213     public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
214         java.lang.String className, boolean asc, int start, int end)
215         throws com.liferay.portal.kernel.exception.SystemException {
216         return _assetEntryLocalService.getTopViewedEntries(className, asc,
217             start, end);
218     }
219 
220     public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
221         java.lang.String[] className, boolean asc, int start, int end)
222         throws com.liferay.portal.kernel.exception.SystemException {
223         return _assetEntryLocalService.getTopViewedEntries(className, asc,
224             start, end);
225     }
226 
227     public com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
228         java.lang.String className, long classPK)
229         throws com.liferay.portal.kernel.exception.SystemException {
230         return _assetEntryLocalService.incrementViewCounter(className, classPK);
231     }
232 
233     public com.liferay.portal.kernel.search.Hits search(long companyId,
234         java.lang.String portletId, java.lang.String keywords, int start,
235         int end) throws com.liferay.portal.kernel.exception.SystemException {
236         return _assetEntryLocalService.search(companyId, portletId, keywords,
237             start, end);
238     }
239 
240     public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
241         long companyId, java.lang.String portletId, java.lang.String keywords,
242         java.lang.String languageId, int start, int end)
243         throws com.liferay.portal.kernel.exception.SystemException {
244         return _assetEntryLocalService.searchEntryDisplays(companyId,
245             portletId, keywords, languageId, start, end);
246     }
247 
248     public int searchEntryDisplaysCount(long companyId,
249         java.lang.String portletId, java.lang.String keywords,
250         java.lang.String languageId)
251         throws com.liferay.portal.kernel.exception.SystemException {
252         return _assetEntryLocalService.searchEntryDisplaysCount(companyId,
253             portletId, keywords, languageId);
254     }
255 
256     public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
257         long groupId, java.lang.String className, long classPK,
258         long[] categoryIds, java.lang.String[] tagNames)
259         throws com.liferay.portal.kernel.exception.PortalException,
260             com.liferay.portal.kernel.exception.SystemException {
261         return _assetEntryLocalService.updateEntry(userId, groupId, className,
262             classPK, categoryIds, tagNames);
263     }
264 
265     public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
266         long groupId, java.lang.String className, long classPK,
267         long[] categoryIds, java.lang.String[] tagNames, boolean visible,
268         java.util.Date startDate, java.util.Date endDate,
269         java.util.Date publishDate, java.util.Date expirationDate,
270         java.lang.String mimeType, java.lang.String title,
271         java.lang.String description, java.lang.String summary,
272         java.lang.String url, int height, int width,
273         java.lang.Integer priority, boolean sync)
274         throws com.liferay.portal.kernel.exception.PortalException,
275             com.liferay.portal.kernel.exception.SystemException {
276         return _assetEntryLocalService.updateEntry(userId, groupId, className,
277             classPK, categoryIds, tagNames, visible, startDate, endDate,
278             publishDate, expirationDate, mimeType, title, description, summary,
279             url, height, width, priority, sync);
280     }
281 
282     public com.liferay.portlet.asset.model.AssetEntry updateVisible(
283         java.lang.String className, long classPK, boolean visible)
284         throws com.liferay.portal.kernel.exception.PortalException,
285             com.liferay.portal.kernel.exception.SystemException {
286         return _assetEntryLocalService.updateVisible(className, classPK, visible);
287     }
288 
289     public void validate(java.lang.String className, long[] categoryIds,
290         java.lang.String[] tagNames)
291         throws com.liferay.portal.kernel.exception.PortalException {
292         _assetEntryLocalService.validate(className, categoryIds, tagNames);
293     }
294 
295     public AssetEntryLocalService getWrappedAssetEntryLocalService() {
296         return _assetEntryLocalService;
297     }
298 
299     private AssetEntryLocalService _assetEntryLocalService;
300 }