001    /**
002     * Copyright (c) 2000-2010 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 content, int displayDateMonth,
033                    int displayDateDay, int displayDateYear, int displayDateHour,
034                    int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks,
035                    java.lang.String[] trackbacks,
036                    com.liferay.portal.service.ServiceContext serviceContext)
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException {
039                    return _blogsEntryService.addEntry(title, content, displayDateMonth,
040                            displayDateDay, displayDateYear, displayDateHour,
041                            displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
042                            serviceContext);
043            }
044    
045            public void deleteEntry(long entryId)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    _blogsEntryService.deleteEntry(entryId);
049            }
050    
051            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
052                    long companyId, int status, int max)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    return _blogsEntryService.getCompanyEntries(companyId, status, max);
056            }
057    
058            public java.lang.String getCompanyEntriesRSS(long companyId, int status,
059                    int max, java.lang.String type, double version,
060                    java.lang.String displayStyle, java.lang.String feedURL,
061                    java.lang.String entryURL,
062                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    return _blogsEntryService.getCompanyEntriesRSS(companyId, status, max,
066                            type, version, displayStyle, feedURL, entryURL, themeDisplay);
067            }
068    
069            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _blogsEntryService.getEntry(entryId);
073            }
074    
075            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
076                    java.lang.String urlTitle)
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException {
079                    return _blogsEntryService.getEntry(groupId, urlTitle);
080            }
081    
082            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
083                    long groupId, int status, int max)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _blogsEntryService.getGroupEntries(groupId, status, max);
087            }
088    
089            public java.lang.String getGroupEntriesRSS(long groupId, int status,
090                    int max, java.lang.String type, double version,
091                    java.lang.String displayStyle, java.lang.String feedURL,
092                    java.lang.String entryURL,
093                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
094                    throws com.liferay.portal.kernel.exception.PortalException,
095                            com.liferay.portal.kernel.exception.SystemException {
096                    return _blogsEntryService.getGroupEntriesRSS(groupId, status, max,
097                            type, version, displayStyle, feedURL, entryURL, themeDisplay);
098            }
099    
100            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
101                    long companyId, long groupId, int status, int max)
102                    throws com.liferay.portal.kernel.exception.PortalException,
103                            com.liferay.portal.kernel.exception.SystemException {
104                    return _blogsEntryService.getGroupsEntries(companyId, groupId, status,
105                            max);
106            }
107    
108            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
109                    long organizationId, int status, int max)
110                    throws com.liferay.portal.kernel.exception.PortalException,
111                            com.liferay.portal.kernel.exception.SystemException {
112                    return _blogsEntryService.getOrganizationEntries(organizationId,
113                            status, max);
114            }
115    
116            public java.lang.String getOrganizationEntriesRSS(long organizationId,
117                    int status, int max, java.lang.String type, double version,
118                    java.lang.String displayStyle, java.lang.String feedURL,
119                    java.lang.String entryURL,
120                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
121                    throws com.liferay.portal.kernel.exception.PortalException,
122                            com.liferay.portal.kernel.exception.SystemException {
123                    return _blogsEntryService.getOrganizationEntriesRSS(organizationId,
124                            status, max, type, version, displayStyle, feedURL, entryURL,
125                            themeDisplay);
126            }
127    
128            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
129                    long entryId, java.lang.String title, java.lang.String content,
130                    int displayDateMonth, int displayDateDay, int displayDateYear,
131                    int displayDateHour, int displayDateMinute, boolean allowPingbacks,
132                    boolean allowTrackbacks, java.lang.String[] trackbacks,
133                    com.liferay.portal.service.ServiceContext serviceContext)
134                    throws com.liferay.portal.kernel.exception.PortalException,
135                            com.liferay.portal.kernel.exception.SystemException {
136                    return _blogsEntryService.updateEntry(entryId, title, content,
137                            displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
138                            displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
139                            serviceContext);
140            }
141    
142            public BlogsEntryService getWrappedBlogsEntryService() {
143                    return _blogsEntryService;
144            }
145    
146            private BlogsEntryService _blogsEntryService;
147    }