001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.asset.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link AssetEntryService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AssetEntryService
024     * @generated
025     */
026    public class AssetEntryServiceWrapper implements AssetEntryService {
027            public AssetEntryServiceWrapper(AssetEntryService assetEntryService) {
028                    _assetEntryService = assetEntryService;
029            }
030    
031            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
032                    long companyId, int start, int end)
033                    throws com.liferay.portal.kernel.exception.SystemException {
034                    return _assetEntryService.getCompanyEntries(companyId, start, end);
035            }
036    
037            public int getCompanyEntriesCount(long companyId)
038                    throws com.liferay.portal.kernel.exception.SystemException {
039                    return _assetEntryService.getCompanyEntriesCount(companyId);
040            }
041    
042            /**
043            * @deprecated
044            */
045            public java.lang.String getCompanyEntriesRSS(long companyId, int max,
046                    java.lang.String type, double version, java.lang.String displayStyle,
047                    java.lang.String feedURL, java.lang.String tagURL)
048                    throws com.liferay.portal.kernel.exception.PortalException,
049                            com.liferay.portal.kernel.exception.SystemException {
050                    return _assetEntryService.getCompanyEntriesRSS(companyId, max, type,
051                            version, displayStyle, feedURL, tagURL);
052            }
053    
054            public com.liferay.portlet.asset.model.AssetEntryDisplay[] getCompanyEntryDisplays(
055                    long companyId, int start, int end, java.lang.String languageId)
056                    throws com.liferay.portal.kernel.exception.SystemException {
057                    return _assetEntryService.getCompanyEntryDisplays(companyId, start,
058                            end, languageId);
059            }
060    
061            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
062                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    return _assetEntryService.getEntries(entryQuery);
066            }
067    
068            public int getEntriesCount(
069                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _assetEntryService.getEntriesCount(entryQuery);
073            }
074    
075            /**
076            * @deprecated
077            */
078            public java.lang.String getEntriesRSS(
079                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery,
080                    java.lang.String name, java.lang.String type, double version,
081                    java.lang.String displayStyle, java.lang.String feedURL,
082                    java.lang.String tagURL)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    return _assetEntryService.getEntriesRSS(entryQuery, name, type,
086                            version, displayStyle, feedURL, tagURL);
087            }
088    
089            public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
090                    throws com.liferay.portal.kernel.exception.PortalException,
091                            com.liferay.portal.kernel.exception.SystemException {
092                    return _assetEntryService.getEntry(entryId);
093            }
094    
095            public void incrementViewCounter(java.lang.String className, long classPK)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    _assetEntryService.incrementViewCounter(className, classPK);
099            }
100    
101            public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
102                    long companyId, long[] groupIds, java.lang.String className,
103                    java.lang.String keywords, java.lang.String languageId, int start,
104                    int end) throws com.liferay.portal.kernel.exception.SystemException {
105                    return _assetEntryService.searchEntryDisplays(companyId, groupIds,
106                            className, keywords, languageId, start, end);
107            }
108    
109            /**
110            * @deprecated {@link #searchEntryDisplays(long, long[], String, String,
111            String)}
112            */
113            public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
114                    long companyId, java.lang.String portletId, java.lang.String keywords,
115                    java.lang.String languageId, int start, int end)
116                    throws com.liferay.portal.kernel.exception.SystemException {
117                    return _assetEntryService.searchEntryDisplays(companyId, portletId,
118                            keywords, languageId, start, end);
119            }
120    
121            public int searchEntryDisplaysCount(long companyId, long[] groupIds,
122                    java.lang.String className, java.lang.String keywords,
123                    java.lang.String languageId)
124                    throws com.liferay.portal.kernel.exception.SystemException {
125                    return _assetEntryService.searchEntryDisplaysCount(companyId, groupIds,
126                            className, keywords, languageId);
127            }
128    
129            /**
130            * @deprecated {@link #searchEntryDisplaysCount(long, long[], String,
131            String, String)}
132            */
133            public int searchEntryDisplaysCount(long companyId,
134                    java.lang.String portletId, java.lang.String keywords,
135                    java.lang.String languageId)
136                    throws com.liferay.portal.kernel.exception.SystemException {
137                    return _assetEntryService.searchEntryDisplaysCount(companyId,
138                            portletId, keywords, languageId);
139            }
140    
141            public com.liferay.portlet.asset.model.AssetEntry updateEntry(
142                    long groupId, java.lang.String className, long classPK,
143                    java.lang.String classUuid, long[] categoryIds,
144                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
145                    java.util.Date endDate, java.util.Date publishDate,
146                    java.util.Date expirationDate, java.lang.String mimeType,
147                    java.lang.String title, java.lang.String description,
148                    java.lang.String summary, java.lang.String url, int height, int width,
149                    java.lang.Integer priority, boolean sync)
150                    throws com.liferay.portal.kernel.exception.PortalException,
151                            com.liferay.portal.kernel.exception.SystemException {
152                    return _assetEntryService.updateEntry(groupId, className, classPK,
153                            classUuid, categoryIds, tagNames, visible, startDate, endDate,
154                            publishDate, expirationDate, mimeType, title, description, summary,
155                            url, height, width, priority, sync);
156            }
157    
158            public AssetEntryService getWrappedAssetEntryService() {
159                    return _assetEntryService;
160            }
161    
162            public void setWrappedAssetEntryService(AssetEntryService assetEntryService) {
163                    _assetEntryService = assetEntryService;
164            }
165    
166            private AssetEntryService _assetEntryService;
167    }