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