001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.blogs.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link BlogsEntryService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       BlogsEntryService
026     * @generated
027     */
028    public class BlogsEntryServiceWrapper implements BlogsEntryService,
029            ServiceWrapper<BlogsEntryService> {
030            public BlogsEntryServiceWrapper(BlogsEntryService blogsEntryService) {
031                    _blogsEntryService = blogsEntryService;
032            }
033    
034            public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
035                    java.lang.String title, java.lang.String description,
036                    java.lang.String content, int displayDateMonth, int displayDateDay,
037                    int displayDateYear, int displayDateHour, int displayDateMinute,
038                    boolean allowPingbacks, boolean allowTrackbacks,
039                    java.lang.String[] trackbacks, boolean smallImage,
040                    java.lang.String smallImageURL, java.lang.String smallImageFileName,
041                    java.io.InputStream smallImageInputStream,
042                    com.liferay.portal.service.ServiceContext serviceContext)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    return _blogsEntryService.addEntry(title, description, content,
046                            displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
047                            displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
048                            smallImage, smallImageURL, smallImageFileName,
049                            smallImageInputStream, serviceContext);
050            }
051    
052            public void deleteEntry(long entryId)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    _blogsEntryService.deleteEntry(entryId);
056            }
057    
058            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
059                    long companyId, int status, int max)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException {
062                    return _blogsEntryService.getCompanyEntries(companyId, status, max);
063            }
064    
065            public java.lang.String getCompanyEntriesRSS(long companyId, int status,
066                    int max, java.lang.String type, double version,
067                    java.lang.String displayStyle, java.lang.String feedURL,
068                    java.lang.String entryURL,
069                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _blogsEntryService.getCompanyEntriesRSS(companyId, status, max,
073                            type, version, displayStyle, feedURL, entryURL, themeDisplay);
074            }
075    
076            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException {
079                    return _blogsEntryService.getEntry(entryId);
080            }
081    
082            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
083                    java.lang.String urlTitle)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _blogsEntryService.getEntry(groupId, urlTitle);
087            }
088    
089            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
090                    long groupId, int status, int max)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _blogsEntryService.getGroupEntries(groupId, status, max);
093            }
094    
095            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
096                    long groupId, int status, int start, int end)
097                    throws com.liferay.portal.kernel.exception.SystemException {
098                    return _blogsEntryService.getGroupEntries(groupId, status, start, end);
099            }
100    
101            public int getGroupEntriesCount(long groupId, int status)
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _blogsEntryService.getGroupEntriesCount(groupId, status);
104            }
105    
106            public java.lang.String getGroupEntriesRSS(long groupId, int status,
107                    int max, java.lang.String type, double version,
108                    java.lang.String displayStyle, java.lang.String feedURL,
109                    java.lang.String entryURL,
110                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
111                    throws com.liferay.portal.kernel.exception.PortalException,
112                            com.liferay.portal.kernel.exception.SystemException {
113                    return _blogsEntryService.getGroupEntriesRSS(groupId, status, max,
114                            type, version, displayStyle, feedURL, entryURL, themeDisplay);
115            }
116    
117            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
118                    long companyId, long groupId, int status, int max)
119                    throws com.liferay.portal.kernel.exception.PortalException,
120                            com.liferay.portal.kernel.exception.SystemException {
121                    return _blogsEntryService.getGroupsEntries(companyId, groupId, status,
122                            max);
123            }
124    
125            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
126                    long organizationId, int status, int max)
127                    throws com.liferay.portal.kernel.exception.PortalException,
128                            com.liferay.portal.kernel.exception.SystemException {
129                    return _blogsEntryService.getOrganizationEntries(organizationId,
130                            status, max);
131            }
132    
133            public java.lang.String getOrganizationEntriesRSS(long organizationId,
134                    int status, int max, java.lang.String type, double version,
135                    java.lang.String displayStyle, java.lang.String feedURL,
136                    java.lang.String entryURL,
137                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
138                    throws com.liferay.portal.kernel.exception.PortalException,
139                            com.liferay.portal.kernel.exception.SystemException {
140                    return _blogsEntryService.getOrganizationEntriesRSS(organizationId,
141                            status, max, type, version, displayStyle, feedURL, entryURL,
142                            themeDisplay);
143            }
144    
145            public void subscribe(long groupId)
146                    throws com.liferay.portal.kernel.exception.PortalException,
147                            com.liferay.portal.kernel.exception.SystemException {
148                    _blogsEntryService.subscribe(groupId);
149            }
150    
151            public void unsubscribe(long groupId)
152                    throws com.liferay.portal.kernel.exception.PortalException,
153                            com.liferay.portal.kernel.exception.SystemException {
154                    _blogsEntryService.unsubscribe(groupId);
155            }
156    
157            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
158                    long entryId, java.lang.String title, java.lang.String description,
159                    java.lang.String content, int displayDateMonth, int displayDateDay,
160                    int displayDateYear, int displayDateHour, int displayDateMinute,
161                    boolean allowPingbacks, boolean allowTrackbacks,
162                    java.lang.String[] trackbacks, boolean smallImage,
163                    java.lang.String smallImageURL, java.lang.String smallImageFileName,
164                    java.io.InputStream smallImageInputStream,
165                    com.liferay.portal.service.ServiceContext serviceContext)
166                    throws com.liferay.portal.kernel.exception.PortalException,
167                            com.liferay.portal.kernel.exception.SystemException {
168                    return _blogsEntryService.updateEntry(entryId, title, description,
169                            content, displayDateMonth, displayDateDay, displayDateYear,
170                            displayDateHour, displayDateMinute, allowPingbacks,
171                            allowTrackbacks, trackbacks, smallImage, smallImageURL,
172                            smallImageFileName, smallImageInputStream, serviceContext);
173            }
174    
175            /**
176             * @deprecated Renamed to {@link #getWrappedService}
177             */
178            public BlogsEntryService getWrappedBlogsEntryService() {
179                    return _blogsEntryService;
180            }
181    
182            /**
183             * @deprecated Renamed to {@link #setWrappedService}
184             */
185            public void setWrappedBlogsEntryService(BlogsEntryService blogsEntryService) {
186                    _blogsEntryService = blogsEntryService;
187            }
188    
189            public BlogsEntryService getWrappedService() {
190                    return _blogsEntryService;
191            }
192    
193            public void setWrappedService(BlogsEntryService blogsEntryService) {
194                    _blogsEntryService = blogsEntryService;
195            }
196    
197            private BlogsEntryService _blogsEntryService;
198    }