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.blogs.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link BlogsEntryService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see BlogsEntryService
026     * @generated
027     */
028    @ProviderType
029    public class BlogsEntryServiceWrapper implements BlogsEntryService,
030            ServiceWrapper<BlogsEntryService> {
031            public BlogsEntryServiceWrapper(BlogsEntryService blogsEntryService) {
032                    _blogsEntryService = blogsEntryService;
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 _blogsEntryService.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                    _blogsEntryService.setBeanIdentifier(beanIdentifier);
053            }
054    
055            @Override
056            public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
057                    java.lang.String title, java.lang.String description,
058                    java.lang.String content, int displayDateMonth, int displayDateDay,
059                    int displayDateYear, int displayDateHour, int displayDateMinute,
060                    boolean allowPingbacks, boolean allowTrackbacks,
061                    java.lang.String[] trackbacks, boolean smallImage,
062                    java.lang.String smallImageURL, java.lang.String smallImageFileName,
063                    java.io.InputStream smallImageInputStream,
064                    com.liferay.portal.service.ServiceContext serviceContext)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    return _blogsEntryService.addEntry(title, description, content,
068                            displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
069                            displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
070                            smallImage, smallImageURL, smallImageFileName,
071                            smallImageInputStream, serviceContext);
072            }
073    
074            @Override
075            public void deleteEntry(long entryId)
076                    throws com.liferay.portal.kernel.exception.PortalException,
077                            com.liferay.portal.kernel.exception.SystemException {
078                    _blogsEntryService.deleteEntry(entryId);
079            }
080    
081            @Override
082            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
083                    long companyId, java.util.Date displayDate, int status, int max)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _blogsEntryService.getCompanyEntries(companyId, displayDate,
087                            status, max);
088            }
089    
090            @Override
091            public java.lang.String getCompanyEntriesRSS(long companyId,
092                    java.util.Date displayDate, int status, int max, java.lang.String type,
093                    double version, java.lang.String displayStyle,
094                    java.lang.String feedURL, java.lang.String entryURL,
095                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    return _blogsEntryService.getCompanyEntriesRSS(companyId, displayDate,
099                            status, max, type, version, displayStyle, feedURL, entryURL,
100                            themeDisplay);
101            }
102    
103            @Override
104            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
105                    throws com.liferay.portal.kernel.exception.PortalException,
106                            com.liferay.portal.kernel.exception.SystemException {
107                    return _blogsEntryService.getEntry(entryId);
108            }
109    
110            @Override
111            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
112                    java.lang.String urlTitle)
113                    throws com.liferay.portal.kernel.exception.PortalException,
114                            com.liferay.portal.kernel.exception.SystemException {
115                    return _blogsEntryService.getEntry(groupId, urlTitle);
116            }
117    
118            @Override
119            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
120                    long groupId, java.util.Date displayDate, int status, int max)
121                    throws com.liferay.portal.kernel.exception.SystemException {
122                    return _blogsEntryService.getGroupEntries(groupId, displayDate, status,
123                            max);
124            }
125    
126            @Override
127            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
128                    long groupId, java.util.Date displayDate, int status, int start, int end)
129                    throws com.liferay.portal.kernel.exception.SystemException {
130                    return _blogsEntryService.getGroupEntries(groupId, displayDate, status,
131                            start, end);
132            }
133    
134            @Override
135            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
136                    long groupId, int status, int max)
137                    throws com.liferay.portal.kernel.exception.SystemException {
138                    return _blogsEntryService.getGroupEntries(groupId, status, max);
139            }
140    
141            @Override
142            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
143                    long groupId, int status, int start, int end)
144                    throws com.liferay.portal.kernel.exception.SystemException {
145                    return _blogsEntryService.getGroupEntries(groupId, status, start, end);
146            }
147    
148            @Override
149            public int getGroupEntriesCount(long groupId, java.util.Date displayDate,
150                    int status) throws com.liferay.portal.kernel.exception.SystemException {
151                    return _blogsEntryService.getGroupEntriesCount(groupId, displayDate,
152                            status);
153            }
154    
155            @Override
156            public int getGroupEntriesCount(long groupId, int status)
157                    throws com.liferay.portal.kernel.exception.SystemException {
158                    return _blogsEntryService.getGroupEntriesCount(groupId, status);
159            }
160    
161            @Override
162            public java.lang.String getGroupEntriesRSS(long groupId,
163                    java.util.Date displayDate, int status, int max, java.lang.String type,
164                    double version, java.lang.String displayStyle,
165                    java.lang.String feedURL, java.lang.String entryURL,
166                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
167                    throws com.liferay.portal.kernel.exception.PortalException,
168                            com.liferay.portal.kernel.exception.SystemException {
169                    return _blogsEntryService.getGroupEntriesRSS(groupId, displayDate,
170                            status, max, type, version, displayStyle, feedURL, entryURL,
171                            themeDisplay);
172            }
173    
174            @Override
175            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
176                    long companyId, long groupId, java.util.Date displayDate, int status,
177                    int max)
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException {
180                    return _blogsEntryService.getGroupsEntries(companyId, groupId,
181                            displayDate, status, max);
182            }
183    
184            @Override
185            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
186                    long organizationId, java.util.Date displayDate, int status, int max)
187                    throws com.liferay.portal.kernel.exception.PortalException,
188                            com.liferay.portal.kernel.exception.SystemException {
189                    return _blogsEntryService.getOrganizationEntries(organizationId,
190                            displayDate, status, max);
191            }
192    
193            @Override
194            public java.lang.String getOrganizationEntriesRSS(long organizationId,
195                    java.util.Date displayDate, int status, int max, java.lang.String type,
196                    double version, java.lang.String displayStyle,
197                    java.lang.String feedURL, java.lang.String entryURL,
198                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
199                    throws com.liferay.portal.kernel.exception.PortalException,
200                            com.liferay.portal.kernel.exception.SystemException {
201                    return _blogsEntryService.getOrganizationEntriesRSS(organizationId,
202                            displayDate, status, max, type, version, displayStyle, feedURL,
203                            entryURL, themeDisplay);
204            }
205    
206            @Override
207            public com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
208                    long entryId)
209                    throws com.liferay.portal.kernel.exception.PortalException,
210                            com.liferay.portal.kernel.exception.SystemException {
211                    return _blogsEntryService.moveEntryToTrash(entryId);
212            }
213    
214            @Override
215            public void restoreEntryFromTrash(long entryId)
216                    throws com.liferay.portal.kernel.exception.PortalException,
217                            com.liferay.portal.kernel.exception.SystemException {
218                    _blogsEntryService.restoreEntryFromTrash(entryId);
219            }
220    
221            @Override
222            public void subscribe(long groupId)
223                    throws com.liferay.portal.kernel.exception.PortalException,
224                            com.liferay.portal.kernel.exception.SystemException {
225                    _blogsEntryService.subscribe(groupId);
226            }
227    
228            @Override
229            public void unsubscribe(long groupId)
230                    throws com.liferay.portal.kernel.exception.PortalException,
231                            com.liferay.portal.kernel.exception.SystemException {
232                    _blogsEntryService.unsubscribe(groupId);
233            }
234    
235            @Override
236            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
237                    long entryId, java.lang.String title, java.lang.String description,
238                    java.lang.String content, int displayDateMonth, int displayDateDay,
239                    int displayDateYear, int displayDateHour, int displayDateMinute,
240                    boolean allowPingbacks, boolean allowTrackbacks,
241                    java.lang.String[] trackbacks, boolean smallImage,
242                    java.lang.String smallImageURL, java.lang.String smallImageFileName,
243                    java.io.InputStream smallImageInputStream,
244                    com.liferay.portal.service.ServiceContext serviceContext)
245                    throws com.liferay.portal.kernel.exception.PortalException,
246                            com.liferay.portal.kernel.exception.SystemException {
247                    return _blogsEntryService.updateEntry(entryId, title, description,
248                            content, displayDateMonth, displayDateDay, displayDateYear,
249                            displayDateHour, displayDateMinute, allowPingbacks,
250                            allowTrackbacks, trackbacks, smallImage, smallImageURL,
251                            smallImageFileName, smallImageInputStream, serviceContext);
252            }
253    
254            /**
255             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
256             */
257            public BlogsEntryService getWrappedBlogsEntryService() {
258                    return _blogsEntryService;
259            }
260    
261            /**
262             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
263             */
264            public void setWrappedBlogsEntryService(BlogsEntryService blogsEntryService) {
265                    _blogsEntryService = blogsEntryService;
266            }
267    
268            @Override
269            public BlogsEntryService getWrappedService() {
270                    return _blogsEntryService;
271            }
272    
273            @Override
274            public void setWrappedService(BlogsEntryService blogsEntryService) {
275                    _blogsEntryService = blogsEntryService;
276            }
277    
278            private BlogsEntryService _blogsEntryService;
279    }