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(long plid,
40          java.lang.String title, java.lang.String content, int displayDateMonth,
41          int displayDateDay, int displayDateYear, int displayDateHour,
42          int displayDateMinute, boolean draft, boolean allowTrackbacks,
43          java.lang.String[] trackbacks, java.lang.String[] tagsEntries,
44          boolean addCommunityPermissions, boolean addGuestPermissions,
45          com.liferay.portal.theme.ThemeDisplay themeDisplay)
46          throws com.liferay.portal.PortalException,
47              com.liferay.portal.SystemException, java.rmi.RemoteException {
48          return _blogsEntryService.addEntry(plid, title, content,
49              displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
50              displayDateMinute, draft, allowTrackbacks, trackbacks, tagsEntries,
51              addCommunityPermissions, addGuestPermissions, themeDisplay);
52      }
53  
54      public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long plid,
55          java.lang.String title, java.lang.String content, int displayDateMonth,
56          int displayDateDay, int displayDateYear, int displayDateHour,
57          int displayDateMinute, boolean draft, boolean allowTrackbacks,
58          java.lang.String[] trackbacks, java.lang.String[] tagsEntries,
59          java.lang.String[] communityPermissions,
60          java.lang.String[] guestPermissions,
61          com.liferay.portal.theme.ThemeDisplay themeDisplay)
62          throws com.liferay.portal.PortalException,
63              com.liferay.portal.SystemException, java.rmi.RemoteException {
64          return _blogsEntryService.addEntry(plid, title, content,
65              displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
66              displayDateMinute, draft, allowTrackbacks, trackbacks, tagsEntries,
67              communityPermissions, guestPermissions, themeDisplay);
68      }
69  
70      public void deleteEntry(long entryId)
71          throws com.liferay.portal.PortalException,
72              com.liferay.portal.SystemException, java.rmi.RemoteException {
73          _blogsEntryService.deleteEntry(entryId);
74      }
75  
76      public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
77          long companyId, int max)
78          throws com.liferay.portal.PortalException,
79              com.liferay.portal.SystemException, java.rmi.RemoteException {
80          return _blogsEntryService.getCompanyEntries(companyId, max);
81      }
82  
83      public java.lang.String getCompanyEntriesRSS(long companyId, int max,
84          java.lang.String type, double version, java.lang.String displayStyle,
85          java.lang.String feedURL, java.lang.String entryURL,
86          com.liferay.portal.theme.ThemeDisplay themeDisplay)
87          throws com.liferay.portal.PortalException,
88              com.liferay.portal.SystemException, java.rmi.RemoteException {
89          return _blogsEntryService.getCompanyEntriesRSS(companyId, max, type,
90              version, displayStyle, feedURL, entryURL, themeDisplay);
91      }
92  
93      public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
94          throws com.liferay.portal.PortalException,
95              com.liferay.portal.SystemException, java.rmi.RemoteException {
96          return _blogsEntryService.getEntry(entryId);
97      }
98  
99      public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
100         java.lang.String urlTitle)
101         throws com.liferay.portal.PortalException,
102             com.liferay.portal.SystemException, java.rmi.RemoteException {
103         return _blogsEntryService.getEntry(groupId, urlTitle);
104     }
105 
106     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
107         long groupId, int max)
108         throws com.liferay.portal.PortalException,
109             com.liferay.portal.SystemException, java.rmi.RemoteException {
110         return _blogsEntryService.getGroupEntries(groupId, max);
111     }
112 
113     public java.lang.String getGroupEntriesRSS(long groupId, int max,
114         java.lang.String type, double version, java.lang.String displayStyle,
115         java.lang.String feedURL, java.lang.String entryURL,
116         com.liferay.portal.theme.ThemeDisplay themeDisplay)
117         throws com.liferay.portal.PortalException,
118             com.liferay.portal.SystemException, java.rmi.RemoteException {
119         return _blogsEntryService.getGroupEntriesRSS(groupId, max, type,
120             version, displayStyle, feedURL, entryURL, themeDisplay);
121     }
122 
123     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
124         long organizationId, int max)
125         throws com.liferay.portal.PortalException,
126             com.liferay.portal.SystemException, java.rmi.RemoteException {
127         return _blogsEntryService.getOrganizationEntries(organizationId, max);
128     }
129 
130     public java.lang.String getOrganizationEntriesRSS(long organizationId,
131         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.PortalException,
136             com.liferay.portal.SystemException, java.rmi.RemoteException {
137         return _blogsEntryService.getOrganizationEntriesRSS(organizationId,
138             max, type, version, displayStyle, feedURL, entryURL, themeDisplay);
139     }
140 
141     public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
142         long entryId, java.lang.String title, java.lang.String content,
143         int displayDateMonth, int displayDateDay, int displayDateYear,
144         int displayDateHour, int displayDateMinute, boolean draft,
145         boolean allowTrackbacks, java.lang.String[] trackbacks,
146         java.lang.String[] tagsEntries,
147         com.liferay.portal.theme.ThemeDisplay themeDisplay)
148         throws com.liferay.portal.PortalException,
149             com.liferay.portal.SystemException, java.rmi.RemoteException {
150         return _blogsEntryService.updateEntry(entryId, title, content,
151             displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
152             displayDateMinute, draft, allowTrackbacks, trackbacks, tagsEntries,
153             themeDisplay);
154     }
155 
156     public BlogsEntryService getWrappedBlogsEntryService() {
157         return _blogsEntryService;
158     }
159 
160     private BlogsEntryService _blogsEntryService;
161 }