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