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