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