001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.asset.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link AssetEntryLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AssetEntryLocalService
024     * @generated
025     */
026    public class AssetEntryLocalServiceWrapper implements AssetEntryLocalService {
027            public AssetEntryLocalServiceWrapper(
028                    AssetEntryLocalService assetEntryLocalService) {
029                    _assetEntryLocalService = assetEntryLocalService;
030            }
031    
032            public com.liferay.portlet.asset.model.AssetEntry addAssetEntry(
033                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
034                    throws com.liferay.portal.kernel.exception.SystemException {
035                    return _assetEntryLocalService.addAssetEntry(assetEntry);
036            }
037    
038            public com.liferay.portlet.asset.model.AssetEntry createAssetEntry(
039                    long entryId) {
040                    return _assetEntryLocalService.createAssetEntry(entryId);
041            }
042    
043            public void deleteAssetEntry(long entryId)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    _assetEntryLocalService.deleteAssetEntry(entryId);
047            }
048    
049            public void deleteAssetEntry(
050                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
051                    throws com.liferay.portal.kernel.exception.SystemException {
052                    _assetEntryLocalService.deleteAssetEntry(assetEntry);
053            }
054    
055            @SuppressWarnings("unchecked")
056            public java.util.List dynamicQuery(
057                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
058                    throws com.liferay.portal.kernel.exception.SystemException {
059                    return _assetEntryLocalService.dynamicQuery(dynamicQuery);
060            }
061    
062            @SuppressWarnings("unchecked")
063            public java.util.List dynamicQuery(
064                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
065                    int end) throws com.liferay.portal.kernel.exception.SystemException {
066                    return _assetEntryLocalService.dynamicQuery(dynamicQuery, start, end);
067            }
068    
069            @SuppressWarnings("unchecked")
070            public java.util.List dynamicQuery(
071                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
072                    int end,
073                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
074                    throws com.liferay.portal.kernel.exception.SystemException {
075                    return _assetEntryLocalService.dynamicQuery(dynamicQuery, start, end,
076                            orderByComparator);
077            }
078    
079            public long dynamicQueryCount(
080                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
081                    throws com.liferay.portal.kernel.exception.SystemException {
082                    return _assetEntryLocalService.dynamicQueryCount(dynamicQuery);
083            }
084    
085            public com.liferay.portlet.asset.model.AssetEntry getAssetEntry(
086                    long entryId)
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException {
089                    return _assetEntryLocalService.getAssetEntry(entryId);
090            }
091    
092            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
093                    int start, int end)
094                    throws com.liferay.portal.kernel.exception.SystemException {
095                    return _assetEntryLocalService.getAssetEntries(start, end);
096            }
097    
098            public int getAssetEntriesCount()
099                    throws com.liferay.portal.kernel.exception.SystemException {
100                    return _assetEntryLocalService.getAssetEntriesCount();
101            }
102    
103            public com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
104                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
105                    throws com.liferay.portal.kernel.exception.SystemException {
106                    return _assetEntryLocalService.updateAssetEntry(assetEntry);
107            }
108    
109            public com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
110                    com.liferay.portlet.asset.model.AssetEntry assetEntry, boolean merge)
111                    throws com.liferay.portal.kernel.exception.SystemException {
112                    return _assetEntryLocalService.updateAssetEntry(assetEntry, merge);
113            }
114    
115            public void deleteEntry(com.liferay.portlet.asset.model.AssetEntry entry)
116                    throws com.liferay.portal.kernel.exception.PortalException,
117                            com.liferay.portal.kernel.exception.SystemException {
118                    _assetEntryLocalService.deleteEntry(entry);
119            }
120    
121            public void deleteEntry(long entryId)
122                    throws com.liferay.portal.kernel.exception.PortalException,
123                            com.liferay.portal.kernel.exception.SystemException {
124                    _assetEntryLocalService.deleteEntry(entryId);
125            }
126    
127            public void deleteEntry(java.lang.String className, long classPK)
128                    throws com.liferay.portal.kernel.exception.PortalException,
129                            com.liferay.portal.kernel.exception.SystemException {
130                    _assetEntryLocalService.deleteEntry(className, classPK);
131            }
132    
133            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAncestorEntries(
134                    long entryId)
135                    throws com.liferay.portal.kernel.exception.PortalException,
136                            com.liferay.portal.kernel.exception.SystemException {
137                    return _assetEntryLocalService.getAncestorEntries(entryId);
138            }
139    
140            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getChildEntries(
141                    long entryId)
142                    throws com.liferay.portal.kernel.exception.PortalException,
143                            com.liferay.portal.kernel.exception.SystemException {
144                    return _assetEntryLocalService.getChildEntries(entryId);
145            }
146    
147            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
148                    long companyId, int start, int end)
149                    throws com.liferay.portal.kernel.exception.SystemException {
150                    return _assetEntryLocalService.getCompanyEntries(companyId, start, end);
151            }
152    
153            public int getCompanyEntriesCount(long companyId)
154                    throws com.liferay.portal.kernel.exception.SystemException {
155                    return _assetEntryLocalService.getCompanyEntriesCount(companyId);
156            }
157    
158            public com.liferay.portlet.asset.model.AssetEntryDisplay[] getCompanyEntryDisplays(
159                    long companyId, int start, int end, java.lang.String languageId)
160                    throws com.liferay.portal.kernel.exception.SystemException {
161                    return _assetEntryLocalService.getCompanyEntryDisplays(companyId,
162                            start, end, languageId);
163            }
164    
165            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
166                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
167                    throws com.liferay.portal.kernel.exception.SystemException {
168                    return _assetEntryLocalService.getEntries(entryQuery);
169            }
170    
171            public int getEntriesCount(
172                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
173                    throws com.liferay.portal.kernel.exception.SystemException {
174                    return _assetEntryLocalService.getEntriesCount(entryQuery);
175            }
176    
177            public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException {
180                    return _assetEntryLocalService.getEntry(entryId);
181            }
182    
183            public com.liferay.portlet.asset.model.AssetEntry getEntry(long groupId,
184                    java.lang.String classUuid)
185                    throws com.liferay.portal.kernel.exception.PortalException,
186                            com.liferay.portal.kernel.exception.SystemException {
187                    return _assetEntryLocalService.getEntry(groupId, classUuid);
188            }
189    
190            public com.liferay.portlet.asset.model.AssetEntry getEntry(
191                    java.lang.String className, long classPK)
192                    throws com.liferay.portal.kernel.exception.PortalException,
193                            com.liferay.portal.kernel.exception.SystemException {
194                    return _assetEntryLocalService.getEntry(className, classPK);
195            }
196    
197            public com.liferay.portlet.asset.model.AssetEntry getNextEntry(long entryId)
198                    throws com.liferay.portal.kernel.exception.PortalException,
199                            com.liferay.portal.kernel.exception.SystemException {
200                    return _assetEntryLocalService.getNextEntry(entryId);
201            }
202    
203            public com.liferay.portlet.asset.model.AssetEntry getParentEntry(
204                    long entryId)
205                    throws com.liferay.portal.kernel.exception.PortalException,
206                            com.liferay.portal.kernel.exception.SystemException {
207                    return _assetEntryLocalService.getParentEntry(entryId);
208            }
209    
210            public com.liferay.portlet.asset.model.AssetEntry getPreviousEntry(
211                    long entryId)
212                    throws com.liferay.portal.kernel.exception.PortalException,
213                            com.liferay.portal.kernel.exception.SystemException {
214                    return _assetEntryLocalService.getPreviousEntry(entryId);
215            }
216    
217            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
218                    java.lang.String className, boolean asc, int start, int end)
219                    throws com.liferay.portal.kernel.exception.SystemException {
220                    return _assetEntryLocalService.getTopViewedEntries(className, asc,
221                            start, end);
222            }
223    
224            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
225                    java.lang.String[] className, boolean asc, int start, int end)
226                    throws com.liferay.portal.kernel.exception.SystemException {
227                    return _assetEntryLocalService.getTopViewedEntries(className, asc,
228                            start, end);
229            }
230    
231            public void incrementViewCounter(long userId, java.lang.String className,
232                    long classPK)
233                    throws com.liferay.portal.kernel.exception.PortalException,
234                            com.liferay.portal.kernel.exception.SystemException {
235                    _assetEntryLocalService.incrementViewCounter(userId, className, classPK);
236            }
237    
238            public void incrementViewCounter(long userId, java.lang.String className,
239                    long classPK, int increment)
240                    throws com.liferay.portal.kernel.exception.PortalException,
241                            com.liferay.portal.kernel.exception.SystemException {
242                    _assetEntryLocalService.incrementViewCounter(userId, className,
243                            classPK, increment);
244            }
245    
246            public com.liferay.portal.kernel.search.Hits search(long companyId,
247                    java.lang.String portletId, java.lang.String keywords, int start,
248                    int end) throws com.liferay.portal.kernel.exception.SystemException {
249                    return _assetEntryLocalService.search(companyId, portletId, keywords,
250                            start, end);
251            }
252    
253            public com.liferay.portal.kernel.search.Hits search(long companyId,
254                    long[] groupIds, java.lang.String portletId, java.lang.String userName,
255                    java.lang.String title, java.lang.String description,
256                    java.lang.String assetCategoryIds, java.lang.String assetTagNames,
257                    boolean andSearch, int start, int end)
258                    throws com.liferay.portal.kernel.exception.SystemException {
259                    return _assetEntryLocalService.search(companyId, groupIds, portletId,
260                            userName, title, description, assetCategoryIds, assetTagNames,
261                            andSearch, start, end);
262            }
263    
264            public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
265                    long companyId, java.lang.String portletId, java.lang.String keywords,
266                    java.lang.String languageId, int start, int end)
267                    throws com.liferay.portal.kernel.exception.SystemException {
268                    return _assetEntryLocalService.searchEntryDisplays(companyId,
269                            portletId, keywords, languageId, start, end);
270            }
271    
272            public int searchEntryDisplaysCount(long companyId,
273                    java.lang.String portletId, java.lang.String keywords,
274                    java.lang.String languageId)
275                    throws com.liferay.portal.kernel.exception.SystemException {
276                    return _assetEntryLocalService.searchEntryDisplaysCount(companyId,
277                            portletId, keywords, languageId);
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)
283                    throws com.liferay.portal.kernel.exception.PortalException,
284                            com.liferay.portal.kernel.exception.SystemException {
285                    return _assetEntryLocalService.updateEntry(userId, groupId, className,
286                            classPK, categoryIds, tagNames);
287            }
288    
289            public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
290                    long groupId, java.lang.String className, long classPK,
291                    java.lang.String classUuid, long[] categoryIds,
292                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
293                    java.util.Date endDate, java.util.Date publishDate,
294                    java.util.Date expirationDate, java.lang.String mimeType,
295                    java.lang.String title, java.lang.String description,
296                    java.lang.String summary, java.lang.String url, int height, int width,
297                    java.lang.Integer priority, boolean sync)
298                    throws com.liferay.portal.kernel.exception.PortalException,
299                            com.liferay.portal.kernel.exception.SystemException {
300                    return _assetEntryLocalService.updateEntry(userId, groupId, className,
301                            classPK, classUuid, categoryIds, tagNames, visible, startDate,
302                            endDate, publishDate, expirationDate, mimeType, title, description,
303                            summary, url, height, width, priority, sync);
304            }
305    
306            public com.liferay.portlet.asset.model.AssetEntry updateVisible(
307                    java.lang.String className, long classPK, boolean visible)
308                    throws com.liferay.portal.kernel.exception.PortalException,
309                            com.liferay.portal.kernel.exception.SystemException {
310                    return _assetEntryLocalService.updateVisible(className, classPK, visible);
311            }
312    
313            public void validate(java.lang.String className, long[] categoryIds,
314                    java.lang.String[] tagNames)
315                    throws com.liferay.portal.kernel.exception.PortalException {
316                    _assetEntryLocalService.validate(className, categoryIds, tagNames);
317            }
318    
319            public AssetEntryLocalService getWrappedAssetEntryLocalService() {
320                    return _assetEntryLocalService;
321            }
322    
323            private AssetEntryLocalService _assetEntryLocalService;
324    }