1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.blogs.service;
16  
17  
18  /**
19   * <a href="BlogsEntryServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link BlogsEntryService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       BlogsEntryService
32   * @generated
33   */
34  public class BlogsEntryServiceWrapper implements BlogsEntryService {
35      public BlogsEntryServiceWrapper(BlogsEntryService blogsEntryService) {
36          _blogsEntryService = blogsEntryService;
37      }
38  
39      public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
40          java.lang.String title, java.lang.String content, int displayDateMonth,
41          int displayDateDay, int displayDateYear, int displayDateHour,
42          int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks,
43          java.lang.String[] trackbacks,
44          com.liferay.portal.service.ServiceContext serviceContext)
45          throws com.liferay.portal.kernel.exception.PortalException,
46              com.liferay.portal.kernel.exception.SystemException {
47          return _blogsEntryService.addEntry(title, content, displayDateMonth,
48              displayDateDay, displayDateYear, displayDateHour,
49              displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
50              serviceContext);
51      }
52  
53      public void deleteEntry(long entryId)
54          throws com.liferay.portal.kernel.exception.PortalException,
55              com.liferay.portal.kernel.exception.SystemException {
56          _blogsEntryService.deleteEntry(entryId);
57      }
58  
59      public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
60          long companyId, int status, int max)
61          throws com.liferay.portal.kernel.exception.PortalException,
62              com.liferay.portal.kernel.exception.SystemException {
63          return _blogsEntryService.getCompanyEntries(companyId, status, max);
64      }
65  
66      public java.lang.String getCompanyEntriesRSS(long companyId, int status,
67          int max, java.lang.String type, double version,
68          java.lang.String displayStyle, java.lang.String feedURL,
69          java.lang.String entryURL,
70          com.liferay.portal.theme.ThemeDisplay themeDisplay)
71          throws com.liferay.portal.kernel.exception.PortalException,
72              com.liferay.portal.kernel.exception.SystemException {
73          return _blogsEntryService.getCompanyEntriesRSS(companyId, status, max,
74              type, version, displayStyle, feedURL, entryURL, themeDisplay);
75      }
76  
77      public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
78          throws com.liferay.portal.kernel.exception.PortalException,
79              com.liferay.portal.kernel.exception.SystemException {
80          return _blogsEntryService.getEntry(entryId);
81      }
82  
83      public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
84          java.lang.String urlTitle)
85          throws com.liferay.portal.kernel.exception.PortalException,
86              com.liferay.portal.kernel.exception.SystemException {
87          return _blogsEntryService.getEntry(groupId, urlTitle);
88      }
89  
90      public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
91          long groupId, int status, int max)
92          throws com.liferay.portal.kernel.exception.PortalException,
93              com.liferay.portal.kernel.exception.SystemException {
94          return _blogsEntryService.getGroupEntries(groupId, status, max);
95      }
96  
97      public java.lang.String getGroupEntriesRSS(long groupId, int status,
98          int max, java.lang.String type, double version,
99          java.lang.String displayStyle, java.lang.String feedURL,
100         java.lang.String entryURL,
101         com.liferay.portal.theme.ThemeDisplay themeDisplay)
102         throws com.liferay.portal.kernel.exception.PortalException,
103             com.liferay.portal.kernel.exception.SystemException {
104         return _blogsEntryService.getGroupEntriesRSS(groupId, status, max,
105             type, version, displayStyle, feedURL, entryURL, themeDisplay);
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 }