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