1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.blogs.service;
24  
25  
26  /**
27   * <a href="BlogsEntryServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link BlogsEntryService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       BlogsEntryService
40   * @generated
41   */
42  public class BlogsEntryServiceWrapper implements BlogsEntryService {
43      public BlogsEntryServiceWrapper(BlogsEntryService blogsEntryService) {
44          _blogsEntryService = blogsEntryService;
45      }
46  
47      public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
48          java.lang.String title, java.lang.String content, int displayDateMonth,
49          int displayDateDay, int displayDateYear, int displayDateHour,
50          int displayDateMinute, boolean draft, boolean allowTrackbacks,
51          java.lang.String[] trackbacks,
52          com.liferay.portal.service.ServiceContext serviceContext)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException {
55          return _blogsEntryService.addEntry(title, content, displayDateMonth,
56              displayDateDay, displayDateYear, displayDateHour,
57              displayDateMinute, draft, allowTrackbacks, trackbacks,
58              serviceContext);
59      }
60  
61      public void deleteEntry(long entryId)
62          throws com.liferay.portal.PortalException,
63              com.liferay.portal.SystemException {
64          _blogsEntryService.deleteEntry(entryId);
65      }
66  
67      public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
68          long companyId, int max)
69          throws com.liferay.portal.PortalException,
70              com.liferay.portal.SystemException {
71          return _blogsEntryService.getCompanyEntries(companyId, max);
72      }
73  
74      public java.lang.String getCompanyEntriesRSS(long companyId, int max,
75          java.lang.String type, double version, java.lang.String displayStyle,
76          java.lang.String feedURL, java.lang.String entryURL,
77          com.liferay.portal.theme.ThemeDisplay themeDisplay)
78          throws com.liferay.portal.PortalException,
79              com.liferay.portal.SystemException {
80          return _blogsEntryService.getCompanyEntriesRSS(companyId, max, type,
81              version, displayStyle, feedURL, entryURL, themeDisplay);
82      }
83  
84      public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
85          throws com.liferay.portal.PortalException,
86              com.liferay.portal.SystemException {
87          return _blogsEntryService.getEntry(entryId);
88      }
89  
90      public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
91          java.lang.String urlTitle)
92          throws com.liferay.portal.PortalException,
93              com.liferay.portal.SystemException {
94          return _blogsEntryService.getEntry(groupId, urlTitle);
95      }
96  
97      public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
98          long groupId, int max)
99          throws com.liferay.portal.PortalException,
100             com.liferay.portal.SystemException {
101         return _blogsEntryService.getGroupEntries(groupId, max);
102     }
103 
104     public java.lang.String getGroupEntriesRSS(long groupId, int max,
105         java.lang.String type, double version, java.lang.String displayStyle,
106         java.lang.String feedURL, java.lang.String entryURL,
107         com.liferay.portal.theme.ThemeDisplay themeDisplay)
108         throws com.liferay.portal.PortalException,
109             com.liferay.portal.SystemException {
110         return _blogsEntryService.getGroupEntriesRSS(groupId, max, type,
111             version, displayStyle, feedURL, entryURL, themeDisplay);
112     }
113 
114     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
115         long organizationId, int max)
116         throws com.liferay.portal.PortalException,
117             com.liferay.portal.SystemException {
118         return _blogsEntryService.getOrganizationEntries(organizationId, max);
119     }
120 
121     public java.lang.String getOrganizationEntriesRSS(long organizationId,
122         int max, java.lang.String type, double version,
123         java.lang.String displayStyle, java.lang.String feedURL,
124         java.lang.String entryURL,
125         com.liferay.portal.theme.ThemeDisplay themeDisplay)
126         throws com.liferay.portal.PortalException,
127             com.liferay.portal.SystemException {
128         return _blogsEntryService.getOrganizationEntriesRSS(organizationId,
129             max, type, version, displayStyle, feedURL, entryURL, themeDisplay);
130     }
131 
132     public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
133         long entryId, java.lang.String title, java.lang.String content,
134         int displayDateMonth, int displayDateDay, int displayDateYear,
135         int displayDateHour, int displayDateMinute, boolean draft,
136         boolean allowTrackbacks, java.lang.String[] trackbacks,
137         com.liferay.portal.service.ServiceContext serviceContext)
138         throws com.liferay.portal.PortalException,
139             com.liferay.portal.SystemException {
140         return _blogsEntryService.updateEntry(entryId, title, content,
141             displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
142             displayDateMinute, draft, allowTrackbacks, trackbacks,
143             serviceContext);
144     }
145 
146     public BlogsEntryService getWrappedBlogsEntryService() {
147         return _blogsEntryService;
148     }
149 
150     private BlogsEntryService _blogsEntryService;
151 }