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