001    /**
002     * Copyright (c) 2000-present 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.asset.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link AssetEntryService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see AssetEntryService
026     * @generated
027     */
028    @ProviderType
029    public class AssetEntryServiceWrapper implements AssetEntryService,
030            ServiceWrapper<AssetEntryService> {
031            public AssetEntryServiceWrapper(AssetEntryService assetEntryService) {
032                    _assetEntryService = assetEntryService;
033            }
034    
035            @Override
036            public com.liferay.asset.kernel.model.AssetEntry fetchEntry(long entryId)
037                    throws com.liferay.portal.kernel.exception.PortalException {
038                    return _assetEntryService.fetchEntry(entryId);
039            }
040    
041            @Override
042            public com.liferay.asset.kernel.model.AssetEntry getEntry(long entryId)
043                    throws com.liferay.portal.kernel.exception.PortalException {
044                    return _assetEntryService.getEntry(entryId);
045            }
046    
047            @Override
048            public com.liferay.asset.kernel.model.AssetEntry incrementViewCounter(
049                    java.lang.String className, long classPK)
050                    throws com.liferay.portal.kernel.exception.PortalException {
051                    return _assetEntryService.incrementViewCounter(className, classPK);
052            }
053    
054            /**
055            * @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, Date,
056            Date, String, long, String, long, long[], String[], boolean,
057            boolean, Date, Date, Date, Date, String, String, String,
058            String, String, String, int, int, Double)}
059            */
060            @Deprecated
061            @Override
062            public com.liferay.asset.kernel.model.AssetEntry updateEntry(long groupId,
063                    java.util.Date createDate, java.util.Date modifiedDate,
064                    java.lang.String className, long classPK, java.lang.String classUuid,
065                    long classTypeId, long[] categoryIds, java.lang.String[] tagNames,
066                    boolean listable, boolean visible, java.util.Date startDate,
067                    java.util.Date endDate, java.util.Date expirationDate,
068                    java.lang.String mimeType, java.lang.String title,
069                    java.lang.String description, java.lang.String summary,
070                    java.lang.String url, java.lang.String layoutUuid, int height,
071                    int width, java.lang.Double priority)
072                    throws com.liferay.portal.kernel.exception.PortalException {
073                    return _assetEntryService.updateEntry(groupId, createDate,
074                            modifiedDate, className, classPK, classUuid, classTypeId,
075                            categoryIds, tagNames, listable, visible, startDate, endDate,
076                            expirationDate, mimeType, title, description, summary, url,
077                            layoutUuid, height, width, priority);
078            }
079    
080            @Override
081            public com.liferay.asset.kernel.model.AssetEntry updateEntry(long groupId,
082                    java.util.Date createDate, java.util.Date modifiedDate,
083                    java.lang.String className, long classPK, java.lang.String classUuid,
084                    long classTypeId, long[] categoryIds, java.lang.String[] tagNames,
085                    boolean listable, boolean visible, java.util.Date startDate,
086                    java.util.Date endDate, java.util.Date publishDate,
087                    java.util.Date expirationDate, java.lang.String mimeType,
088                    java.lang.String title, java.lang.String description,
089                    java.lang.String summary, java.lang.String url,
090                    java.lang.String layoutUuid, int height, int width,
091                    java.lang.Double priority)
092                    throws com.liferay.portal.kernel.exception.PortalException {
093                    return _assetEntryService.updateEntry(groupId, createDate,
094                            modifiedDate, className, classPK, classUuid, classTypeId,
095                            categoryIds, tagNames, listable, visible, startDate, endDate,
096                            publishDate, expirationDate, mimeType, title, description, summary,
097                            url, layoutUuid, height, width, priority);
098            }
099    
100            /**
101            * @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, Date,
102            Date, String, long, String, long, long[], String[], boolean,
103            boolean, Date, Date, Date, Date, String, String, String,
104            String, String, String, int, int, Double)}
105            */
106            @Deprecated
107            @Override
108            public com.liferay.asset.kernel.model.AssetEntry updateEntry(long groupId,
109                    java.util.Date createDate, java.util.Date modifiedDate,
110                    java.lang.String className, long classPK, java.lang.String classUuid,
111                    long classTypeId, long[] categoryIds, java.lang.String[] tagNames,
112                    boolean visible, java.util.Date startDate, java.util.Date endDate,
113                    java.util.Date expirationDate, java.lang.String mimeType,
114                    java.lang.String title, java.lang.String description,
115                    java.lang.String summary, java.lang.String url,
116                    java.lang.String layoutUuid, int height, int width,
117                    java.lang.Integer priority, boolean sync)
118                    throws com.liferay.portal.kernel.exception.PortalException {
119                    return _assetEntryService.updateEntry(groupId, createDate,
120                            modifiedDate, className, classPK, classUuid, classTypeId,
121                            categoryIds, tagNames, visible, startDate, endDate, expirationDate,
122                            mimeType, title, description, summary, url, layoutUuid, height,
123                            width, priority, sync);
124            }
125    
126            @Override
127            public int getCompanyEntriesCount(long companyId) {
128                    return _assetEntryService.getCompanyEntriesCount(companyId);
129            }
130    
131            @Override
132            public int getEntriesCount(
133                    com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
134                    throws com.liferay.portal.kernel.exception.PortalException {
135                    return _assetEntryService.getEntriesCount(entryQuery);
136            }
137    
138            /**
139            * Returns the OSGi service identifier.
140            *
141            * @return the OSGi service identifier
142            */
143            @Override
144            public java.lang.String getOSGiServiceIdentifier() {
145                    return _assetEntryService.getOSGiServiceIdentifier();
146            }
147    
148            @Override
149            public java.util.List<com.liferay.asset.kernel.model.AssetEntry> getCompanyEntries(
150                    long companyId, int start, int end) {
151                    return _assetEntryService.getCompanyEntries(companyId, start, end);
152            }
153    
154            @Override
155            public java.util.List<com.liferay.asset.kernel.model.AssetEntry> getEntries(
156                    com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
157                    throws com.liferay.portal.kernel.exception.PortalException {
158                    return _assetEntryService.getEntries(entryQuery);
159            }
160    
161            @Override
162            public AssetEntryService getWrappedService() {
163                    return _assetEntryService;
164            }
165    
166            @Override
167            public void setWrappedService(AssetEntryService assetEntryService) {
168                    _assetEntryService = assetEntryService;
169            }
170    
171            private AssetEntryService _assetEntryService;
172    }