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.portlet.asset.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.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.portlet.asset.model.AssetEntry fetchEntry(long entryId)
037                    throws com.liferay.portal.kernel.exception.PortalException {
038                    return _assetEntryService.fetchEntry(entryId);
039            }
040    
041            /**
042            * Returns the Spring bean ID for this bean.
043            *
044            * @return the Spring bean ID for this bean
045            */
046            @Override
047            public java.lang.String getBeanIdentifier() {
048                    return _assetEntryService.getBeanIdentifier();
049            }
050    
051            @Override
052            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
053                    long companyId, int start, int end) {
054                    return _assetEntryService.getCompanyEntries(companyId, start, end);
055            }
056    
057            @Override
058            public int getCompanyEntriesCount(long companyId) {
059                    return _assetEntryService.getCompanyEntriesCount(companyId);
060            }
061    
062            @Override
063            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
064                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
065                    throws com.liferay.portal.kernel.exception.PortalException {
066                    return _assetEntryService.getEntries(entryQuery);
067            }
068    
069            @Override
070            public int getEntriesCount(
071                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
072                    throws com.liferay.portal.kernel.exception.PortalException {
073                    return _assetEntryService.getEntriesCount(entryQuery);
074            }
075    
076            @Override
077            public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
078                    throws com.liferay.portal.kernel.exception.PortalException {
079                    return _assetEntryService.getEntry(entryId);
080            }
081    
082            @Override
083            public com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
084                    java.lang.String className, long classPK)
085                    throws com.liferay.portal.kernel.exception.PortalException {
086                    return _assetEntryService.incrementViewCounter(className, classPK);
087            }
088    
089            /**
090            * Sets the Spring bean ID for this bean.
091            *
092            * @param beanIdentifier the Spring bean ID for this bean
093            */
094            @Override
095            public void setBeanIdentifier(java.lang.String beanIdentifier) {
096                    _assetEntryService.setBeanIdentifier(beanIdentifier);
097            }
098    
099            /**
100            * @deprecated As of 6.2.0, replaced by {@link #updateEntry(long, Date,
101            Date, String, long, String, long, long[], String[], boolean,
102            Date, Date, Date, String, String, String, String, String,
103            String, int, int, Integer, boolean)}
104            */
105            @Deprecated
106            @Override
107            public com.liferay.portlet.asset.model.AssetEntry updateEntry(
108                    long groupId, java.lang.String className, long classPK,
109                    java.lang.String classUuid, long classTypeId, long[] categoryIds,
110                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
111                    java.util.Date endDate, java.util.Date expirationDate,
112                    java.lang.String mimeType, java.lang.String title,
113                    java.lang.String description, java.lang.String summary,
114                    java.lang.String url, java.lang.String layoutUuid, int height,
115                    int width, java.lang.Integer priority, boolean sync)
116                    throws com.liferay.portal.kernel.exception.PortalException {
117                    return _assetEntryService.updateEntry(groupId, className, classPK,
118                            classUuid, classTypeId, categoryIds, tagNames, visible, startDate,
119                            endDate, expirationDate, mimeType, title, description, summary,
120                            url, layoutUuid, height, width, priority, sync);
121            }
122    
123            /**
124            * @deprecated As of 6.2.0, replaced by {@link #updateEntry(long, String,
125            long, String, long, long[], String[], boolean, Date, Date,
126            Date, String, String, String, String, String, String, int,
127            int, Integer, boolean)}
128            */
129            @Deprecated
130            @Override
131            public com.liferay.portlet.asset.model.AssetEntry updateEntry(
132                    long groupId, java.lang.String className, long classPK,
133                    java.lang.String classUuid, long classTypeId, long[] categoryIds,
134                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
135                    java.util.Date endDate, java.util.Date publishDate,
136                    java.util.Date expirationDate, java.lang.String mimeType,
137                    java.lang.String title, java.lang.String description,
138                    java.lang.String summary, java.lang.String url,
139                    java.lang.String layoutUuid, int height, int width,
140                    java.lang.Integer priority, boolean sync)
141                    throws com.liferay.portal.kernel.exception.PortalException {
142                    return _assetEntryService.updateEntry(groupId, className, classPK,
143                            classUuid, classTypeId, categoryIds, tagNames, visible, startDate,
144                            endDate, publishDate, expirationDate, mimeType, title, description,
145                            summary, url, layoutUuid, height, width, priority, sync);
146            }
147    
148            @Override
149            public com.liferay.portlet.asset.model.AssetEntry updateEntry(
150                    long groupId, java.util.Date createDate, java.util.Date modifiedDate,
151                    java.lang.String className, long classPK, java.lang.String classUuid,
152                    long classTypeId, long[] categoryIds, java.lang.String[] tagNames,
153                    boolean visible, java.util.Date startDate, java.util.Date endDate,
154                    java.util.Date expirationDate, java.lang.String mimeType,
155                    java.lang.String title, java.lang.String description,
156                    java.lang.String summary, java.lang.String url,
157                    java.lang.String layoutUuid, int height, int width,
158                    java.lang.Double priority)
159                    throws com.liferay.portal.kernel.exception.PortalException {
160                    return _assetEntryService.updateEntry(groupId, createDate,
161                            modifiedDate, className, classPK, classUuid, classTypeId,
162                            categoryIds, tagNames, visible, startDate, endDate, expirationDate,
163                            mimeType, title, description, summary, url, layoutUuid, height,
164                            width, priority);
165            }
166    
167            /**
168            * @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, Date,
169            Date, String, long, String, long, long[], String[], boolean,
170            Date, Date, Date, String, String, String, String, String,
171            String, int, int, Double)}
172            */
173            @Deprecated
174            @Override
175            public com.liferay.portlet.asset.model.AssetEntry updateEntry(
176                    long groupId, java.util.Date createDate, java.util.Date modifiedDate,
177                    java.lang.String className, long classPK, java.lang.String classUuid,
178                    long classTypeId, long[] categoryIds, java.lang.String[] tagNames,
179                    boolean visible, java.util.Date startDate, java.util.Date endDate,
180                    java.util.Date expirationDate, java.lang.String mimeType,
181                    java.lang.String title, java.lang.String description,
182                    java.lang.String summary, java.lang.String url,
183                    java.lang.String layoutUuid, int height, int width,
184                    java.lang.Integer priority, boolean sync)
185                    throws com.liferay.portal.kernel.exception.PortalException {
186                    return _assetEntryService.updateEntry(groupId, createDate,
187                            modifiedDate, className, classPK, classUuid, classTypeId,
188                            categoryIds, tagNames, visible, startDate, endDate, expirationDate,
189                            mimeType, title, description, summary, url, layoutUuid, height,
190                            width, priority, sync);
191            }
192    
193            /**
194             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
195             */
196            @Deprecated
197            public AssetEntryService getWrappedAssetEntryService() {
198                    return _assetEntryService;
199            }
200    
201            /**
202             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
203             */
204            @Deprecated
205            public void setWrappedAssetEntryService(AssetEntryService assetEntryService) {
206                    _assetEntryService = assetEntryService;
207            }
208    
209            @Override
210            public AssetEntryService getWrappedService() {
211                    return _assetEntryService;
212            }
213    
214            @Override
215            public void setWrappedService(AssetEntryService assetEntryService) {
216                    _assetEntryService = assetEntryService;
217            }
218    
219            private AssetEntryService _assetEntryService;
220    }