1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.blogs.service;
16  
17  /**
18   * <a href="BlogsEntryServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link BlogsEntryService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       BlogsEntryService
31   * @generated
32   */
33  public class BlogsEntryServiceWrapper implements BlogsEntryService {
34      public BlogsEntryServiceWrapper(BlogsEntryService blogsEntryService) {
35          _blogsEntryService = blogsEntryService;
36      }
37  
38      public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
39          java.lang.String title, java.lang.String content, int displayDateMonth,
40          int displayDateDay, int displayDateYear, int displayDateHour,
41          int displayDateMinute, boolean draft, boolean allowTrackbacks,
42          java.lang.String[] trackbacks,
43          com.liferay.portal.service.ServiceContext serviceContext)
44          throws com.liferay.portal.PortalException,
45              com.liferay.portal.SystemException {
46          return _blogsEntryService.addEntry(title, content, displayDateMonth,
47              displayDateDay, displayDateYear, displayDateHour,
48              displayDateMinute, draft, allowTrackbacks, trackbacks,
49              serviceContext);
50      }
51  
52      public void deleteEntry(long entryId)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException {
55          _blogsEntryService.deleteEntry(entryId);
56      }
57  
58      public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
59          long companyId, int max)
60          throws com.liferay.portal.PortalException,
61              com.liferay.portal.SystemException {
62          return _blogsEntryService.getCompanyEntries(companyId, max);
63      }
64  
65      public java.lang.String getCompanyEntriesRSS(long companyId, int max,
66          java.lang.String type, double version, java.lang.String displayStyle,
67          java.lang.String feedURL, java.lang.String entryURL,
68          com.liferay.portal.theme.ThemeDisplay themeDisplay)
69          throws com.liferay.portal.PortalException,
70              com.liferay.portal.SystemException {
71          return _blogsEntryService.getCompanyEntriesRSS(companyId, max, type,
72              version, displayStyle, feedURL, entryURL, themeDisplay);
73      }
74  
75      public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
76          throws com.liferay.portal.PortalException,
77              com.liferay.portal.SystemException {
78          return _blogsEntryService.getEntry(entryId);
79      }
80  
81      public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
82          java.lang.String urlTitle)
83          throws com.liferay.portal.PortalException,
84              com.liferay.portal.SystemException {
85          return _blogsEntryService.getEntry(groupId, urlTitle);
86      }
87  
88      public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
89          long groupId, int max)
90          throws com.liferay.portal.PortalException,
91              com.liferay.portal.SystemException {
92          return _blogsEntryService.getGroupEntries(groupId, max);
93      }
94  
95      public java.lang.String getGroupEntriesRSS(long groupId, int max,
96          java.lang.String type, double version, java.lang.String displayStyle,
97          java.lang.String feedURL, java.lang.String entryURL,
98          com.liferay.portal.theme.ThemeDisplay themeDisplay)
99          throws com.liferay.portal.PortalException,
100             com.liferay.portal.SystemException {
101         return _blogsEntryService.getGroupEntriesRSS(groupId, max, type,
102             version, displayStyle, feedURL, entryURL, themeDisplay);
103     }
104 
105     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
106         long companyId, long groupId, int max)
107         throws com.liferay.portal.PortalException,
108             com.liferay.portal.SystemException {
109         return _blogsEntryService.getGroupsEntries(companyId, groupId, max);
110     }
111 
112     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
113         long organizationId, int max)
114         throws com.liferay.portal.PortalException,
115             com.liferay.portal.SystemException {
116         return _blogsEntryService.getOrganizationEntries(organizationId, max);
117     }
118 
119     public java.lang.String getOrganizationEntriesRSS(long organizationId,
120         int max, java.lang.String type, double version,
121         java.lang.String displayStyle, java.lang.String feedURL,
122         java.lang.String entryURL,
123         com.liferay.portal.theme.ThemeDisplay themeDisplay)
124         throws com.liferay.portal.PortalException,
125             com.liferay.portal.SystemException {
126         return _blogsEntryService.getOrganizationEntriesRSS(organizationId,
127             max, type, version, displayStyle, feedURL, entryURL, themeDisplay);
128     }
129 
130     public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
131         long entryId, java.lang.String title, java.lang.String content,
132         int displayDateMonth, int displayDateDay, int displayDateYear,
133         int displayDateHour, int displayDateMinute, boolean draft,
134         boolean allowTrackbacks, java.lang.String[] trackbacks,
135         com.liferay.portal.service.ServiceContext serviceContext)
136         throws com.liferay.portal.PortalException,
137             com.liferay.portal.SystemException {
138         return _blogsEntryService.updateEntry(entryId, title, content,
139             displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
140             displayDateMinute, draft, allowTrackbacks, trackbacks,
141             serviceContext);
142     }
143 
144     public BlogsEntryService getWrappedBlogsEntryService() {
145         return _blogsEntryService;
146     }
147 
148     private BlogsEntryService _blogsEntryService;
149 }