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    /**
019     * <p>
020     * This class is a wrapper for {@link AssetEntryService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       AssetEntryService
025     * @generated
026     */
027    public class AssetEntryServiceWrapper implements AssetEntryService {
028            public AssetEntryServiceWrapper(AssetEntryService assetEntryService) {
029                    _assetEntryService = assetEntryService;
030            }
031    
032            public void deleteEntry(long entryId)
033                    throws com.liferay.portal.kernel.exception.PortalException,
034                            com.liferay.portal.kernel.exception.SystemException {
035                    _assetEntryService.deleteEntry(entryId);
036            }
037    
038            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
039                    long companyId, int start, int end)
040                    throws com.liferay.portal.kernel.exception.SystemException {
041                    return _assetEntryService.getCompanyEntries(companyId, start, end);
042            }
043    
044            public int getCompanyEntriesCount(long companyId)
045                    throws com.liferay.portal.kernel.exception.SystemException {
046                    return _assetEntryService.getCompanyEntriesCount(companyId);
047            }
048    
049            public java.lang.String getCompanyEntriesRSS(long companyId, int max,
050                    java.lang.String type, double version, java.lang.String displayStyle,
051                    java.lang.String feedURL, java.lang.String tagURL)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    return _assetEntryService.getCompanyEntriesRSS(companyId, max, type,
055                            version, displayStyle, feedURL, tagURL);
056            }
057    
058            public com.liferay.portlet.asset.model.AssetEntryDisplay[] getCompanyEntryDisplays(
059                    long companyId, int start, int end, java.lang.String languageId)
060                    throws com.liferay.portal.kernel.exception.SystemException {
061                    return _assetEntryService.getCompanyEntryDisplays(companyId, start,
062                            end, languageId);
063            }
064    
065            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
066                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    return _assetEntryService.getEntries(entryQuery);
070            }
071    
072            public int getEntriesCount(
073                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return _assetEntryService.getEntriesCount(entryQuery);
077            }
078    
079            public java.lang.String getEntriesRSS(
080                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery,
081                    java.lang.String name, java.lang.String type, double version,
082                    java.lang.String displayStyle, java.lang.String feedURL,
083                    java.lang.String tagURL)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _assetEntryService.getEntriesRSS(entryQuery, name, type,
087                            version, displayStyle, feedURL, tagURL);
088            }
089    
090            public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
091                    throws com.liferay.portal.kernel.exception.PortalException,
092                            com.liferay.portal.kernel.exception.SystemException {
093                    return _assetEntryService.getEntry(entryId);
094            }
095    
096            public void incrementViewCounter(java.lang.String className, long classPK)
097                    throws com.liferay.portal.kernel.exception.PortalException,
098                            com.liferay.portal.kernel.exception.SystemException {
099                    _assetEntryService.incrementViewCounter(className, classPK);
100            }
101    
102            public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
103                    long companyId, java.lang.String portletId, java.lang.String keywords,
104                    java.lang.String languageId, int start, int end)
105                    throws com.liferay.portal.kernel.exception.SystemException {
106                    return _assetEntryService.searchEntryDisplays(companyId, portletId,
107                            keywords, languageId, start, end);
108            }
109    
110            public int searchEntryDisplaysCount(long companyId,
111                    java.lang.String portletId, java.lang.String keywords,
112                    java.lang.String languageId)
113                    throws com.liferay.portal.kernel.exception.SystemException {
114                    return _assetEntryService.searchEntryDisplaysCount(companyId,
115                            portletId, keywords, languageId);
116            }
117    
118            public com.liferay.portlet.asset.model.AssetEntry updateEntry(
119                    long groupId, java.lang.String className, long classPK,
120                    java.lang.String classUuid, long[] categoryIds,
121                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
122                    java.util.Date endDate, java.util.Date publishDate,
123                    java.util.Date expirationDate, java.lang.String mimeType,
124                    java.lang.String title, java.lang.String description,
125                    java.lang.String summary, java.lang.String url, int height, int width,
126                    java.lang.Integer priority, boolean sync)
127                    throws com.liferay.portal.kernel.exception.PortalException,
128                            com.liferay.portal.kernel.exception.SystemException {
129                    return _assetEntryService.updateEntry(groupId, className, classPK,
130                            classUuid, categoryIds, tagNames, visible, startDate, endDate,
131                            publishDate, expirationDate, mimeType, title, description, summary,
132                            url, height, width, priority, sync);
133            }
134    
135            public AssetEntryService getWrappedAssetEntryService() {
136                    return _assetEntryService;
137            }
138    
139            private AssetEntryService _assetEntryService;
140    }