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