001    /**
002     * Copyright (c) 2000-2011 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    /**
018     * <p>
019     * This class is a wrapper for {@link BlogsEntryService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       BlogsEntryService
024     * @generated
025     */
026    public class BlogsEntryServiceWrapper implements BlogsEntryService {
027            public BlogsEntryServiceWrapper(BlogsEntryService blogsEntryService) {
028                    _blogsEntryService = blogsEntryService;
029            }
030    
031            public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
032                    java.lang.String title, java.lang.String description,
033                    java.lang.String content, int displayDateMonth, int displayDateDay,
034                    int displayDateYear, int displayDateHour, int displayDateMinute,
035                    boolean allowPingbacks, boolean allowTrackbacks,
036                    java.lang.String[] trackbacks, boolean smallImage,
037                    java.lang.String smallImageURL, java.lang.String smallImageFileName,
038                    java.io.InputStream smallImageInputStream,
039                    com.liferay.portal.service.ServiceContext serviceContext)
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException {
042                    return _blogsEntryService.addEntry(title, description, content,
043                            displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
044                            displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
045                            smallImage, smallImageURL, smallImageFileName,
046                            smallImageInputStream, serviceContext);
047            }
048    
049            public void deleteEntry(long entryId)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    _blogsEntryService.deleteEntry(entryId);
053            }
054    
055            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
056                    long companyId, int status, int max)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _blogsEntryService.getCompanyEntries(companyId, status, max);
060            }
061    
062            public java.lang.String getCompanyEntriesRSS(long companyId, int status,
063                    int max, java.lang.String type, double version,
064                    java.lang.String displayStyle, java.lang.String feedURL,
065                    java.lang.String entryURL,
066                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    return _blogsEntryService.getCompanyEntriesRSS(companyId, status, max,
070                            type, version, displayStyle, feedURL, entryURL, themeDisplay);
071            }
072    
073            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return _blogsEntryService.getEntry(entryId);
077            }
078    
079            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
080                    java.lang.String urlTitle)
081                    throws com.liferay.portal.kernel.exception.PortalException,
082                            com.liferay.portal.kernel.exception.SystemException {
083                    return _blogsEntryService.getEntry(groupId, urlTitle);
084            }
085    
086            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
087                    long groupId, int status, int max)
088                    throws com.liferay.portal.kernel.exception.SystemException {
089                    return _blogsEntryService.getGroupEntries(groupId, status, max);
090            }
091    
092            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
093                    long groupId, int status, int start, int end)
094                    throws com.liferay.portal.kernel.exception.SystemException {
095                    return _blogsEntryService.getGroupEntries(groupId, status, start, end);
096            }
097    
098            public int getGroupEntriesCount(long groupId, int status)
099                    throws com.liferay.portal.kernel.exception.SystemException {
100                    return _blogsEntryService.getGroupEntriesCount(groupId, status);
101            }
102    
103            public java.lang.String getGroupEntriesRSS(long groupId, int status,
104                    int max, java.lang.String type, double version,
105                    java.lang.String displayStyle, java.lang.String feedURL,
106                    java.lang.String entryURL,
107                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
108                    throws com.liferay.portal.kernel.exception.PortalException,
109                            com.liferay.portal.kernel.exception.SystemException {
110                    return _blogsEntryService.getGroupEntriesRSS(groupId, status, max,
111                            type, version, displayStyle, feedURL, entryURL, themeDisplay);
112            }
113    
114            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
115                    long companyId, long groupId, int status, int max)
116                    throws com.liferay.portal.kernel.exception.PortalException,
117                            com.liferay.portal.kernel.exception.SystemException {
118                    return _blogsEntryService.getGroupsEntries(companyId, groupId, status,
119                            max);
120            }
121    
122            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
123                    long organizationId, int status, int max)
124                    throws com.liferay.portal.kernel.exception.PortalException,
125                            com.liferay.portal.kernel.exception.SystemException {
126                    return _blogsEntryService.getOrganizationEntries(organizationId,
127                            status, max);
128            }
129    
130            public java.lang.String getOrganizationEntriesRSS(long organizationId,
131                    int status, int max, java.lang.String type, double version,
132                    java.lang.String displayStyle, java.lang.String feedURL,
133                    java.lang.String entryURL,
134                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
135                    throws com.liferay.portal.kernel.exception.PortalException,
136                            com.liferay.portal.kernel.exception.SystemException {
137                    return _blogsEntryService.getOrganizationEntriesRSS(organizationId,
138                            status, max, type, version, displayStyle, feedURL, entryURL,
139                            themeDisplay);
140            }
141    
142            public void subscribe(long groupId)
143                    throws com.liferay.portal.kernel.exception.PortalException,
144                            com.liferay.portal.kernel.exception.SystemException {
145                    _blogsEntryService.subscribe(groupId);
146            }
147    
148            public void unsubscribe(long groupId)
149                    throws com.liferay.portal.kernel.exception.PortalException,
150                            com.liferay.portal.kernel.exception.SystemException {
151                    _blogsEntryService.unsubscribe(groupId);
152            }
153    
154            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
155                    long entryId, java.lang.String title, java.lang.String description,
156                    java.lang.String content, int displayDateMonth, int displayDateDay,
157                    int displayDateYear, int displayDateHour, int displayDateMinute,
158                    boolean allowPingbacks, boolean allowTrackbacks,
159                    java.lang.String[] trackbacks, boolean smallImage,
160                    java.lang.String smallImageURL, java.lang.String smallImageFileName,
161                    java.io.InputStream smallImageInputStream,
162                    com.liferay.portal.service.ServiceContext serviceContext)
163                    throws com.liferay.portal.kernel.exception.PortalException,
164                            com.liferay.portal.kernel.exception.SystemException {
165                    return _blogsEntryService.updateEntry(entryId, title, description,
166                            content, displayDateMonth, displayDateDay, displayDateYear,
167                            displayDateHour, displayDateMinute, allowPingbacks,
168                            allowTrackbacks, trackbacks, smallImage, smallImageURL,
169                            smallImageFileName, smallImageInputStream, serviceContext);
170            }
171    
172            public BlogsEntryService getWrappedBlogsEntryService() {
173                    return _blogsEntryService;
174            }
175    
176            public void setWrappedBlogsEntryService(BlogsEntryService blogsEntryService) {
177                    _blogsEntryService = blogsEntryService;
178            }
179    
180            private BlogsEntryService _blogsEntryService;
181    }