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="BlogsEntryLocalServiceUtil.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 BlogsEntryLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       BlogsEntryLocalService
32   * @generated
33   */
34  public class BlogsEntryLocalServiceWrapper implements BlogsEntryLocalService {
35      public BlogsEntryLocalServiceWrapper(
36          BlogsEntryLocalService blogsEntryLocalService) {
37          _blogsEntryLocalService = blogsEntryLocalService;
38      }
39  
40      public com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(
41          com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
42          throws com.liferay.portal.kernel.exception.SystemException {
43          return _blogsEntryLocalService.addBlogsEntry(blogsEntry);
44      }
45  
46      public com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(
47          long entryId) {
48          return _blogsEntryLocalService.createBlogsEntry(entryId);
49      }
50  
51      public void deleteBlogsEntry(long entryId)
52          throws com.liferay.portal.kernel.exception.PortalException,
53              com.liferay.portal.kernel.exception.SystemException {
54          _blogsEntryLocalService.deleteBlogsEntry(entryId);
55      }
56  
57      public void deleteBlogsEntry(
58          com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
59          throws com.liferay.portal.kernel.exception.SystemException {
60          _blogsEntryLocalService.deleteBlogsEntry(blogsEntry);
61      }
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.kernel.exception.SystemException {
66          return _blogsEntryLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.kernel.exception.SystemException {
72          return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
76          long entryId)
77          throws com.liferay.portal.kernel.exception.PortalException,
78              com.liferay.portal.kernel.exception.SystemException {
79          return _blogsEntryLocalService.getBlogsEntry(entryId);
80      }
81  
82      public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
83          int start, int end)
84          throws com.liferay.portal.kernel.exception.SystemException {
85          return _blogsEntryLocalService.getBlogsEntries(start, end);
86      }
87  
88      public int getBlogsEntriesCount()
89          throws com.liferay.portal.kernel.exception.SystemException {
90          return _blogsEntryLocalService.getBlogsEntriesCount();
91      }
92  
93      public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
94          com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
95          throws com.liferay.portal.kernel.exception.SystemException {
96          return _blogsEntryLocalService.updateBlogsEntry(blogsEntry);
97      }
98  
99      public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
100         com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
101         throws com.liferay.portal.kernel.exception.SystemException {
102         return _blogsEntryLocalService.updateBlogsEntry(blogsEntry, merge);
103     }
104 
105     public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
106         java.lang.String uuid, long userId, java.lang.String title,
107         java.lang.String content, int displayDateMonth, int displayDateDay,
108         int displayDateYear, int displayDateHour, int displayDateMinute,
109         boolean allowPingbacks, boolean allowTrackbacks,
110         java.lang.String[] trackbacks,
111         com.liferay.portal.service.ServiceContext serviceContext)
112         throws com.liferay.portal.kernel.exception.PortalException,
113             com.liferay.portal.kernel.exception.SystemException {
114         return _blogsEntryLocalService.addEntry(uuid, userId, title, content,
115             displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
116             displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
117             serviceContext);
118     }
119 
120     public void addEntryResources(
121         com.liferay.portlet.blogs.model.BlogsEntry entry,
122         boolean addCommunityPermissions, boolean addGuestPermissions)
123         throws com.liferay.portal.kernel.exception.PortalException,
124             com.liferay.portal.kernel.exception.SystemException {
125         _blogsEntryLocalService.addEntryResources(entry,
126             addCommunityPermissions, addGuestPermissions);
127     }
128 
129     public void addEntryResources(
130         com.liferay.portlet.blogs.model.BlogsEntry entry,
131         java.lang.String[] communityPermissions,
132         java.lang.String[] guestPermissions)
133         throws com.liferay.portal.kernel.exception.PortalException,
134             com.liferay.portal.kernel.exception.SystemException {
135         _blogsEntryLocalService.addEntryResources(entry, communityPermissions,
136             guestPermissions);
137     }
138 
139     public void addEntryResources(long entryId,
140         boolean addCommunityPermissions, boolean addGuestPermissions)
141         throws com.liferay.portal.kernel.exception.PortalException,
142             com.liferay.portal.kernel.exception.SystemException {
143         _blogsEntryLocalService.addEntryResources(entryId,
144             addCommunityPermissions, addGuestPermissions);
145     }
146 
147     public void addEntryResources(long entryId,
148         java.lang.String[] communityPermissions,
149         java.lang.String[] guestPermissions)
150         throws com.liferay.portal.kernel.exception.PortalException,
151             com.liferay.portal.kernel.exception.SystemException {
152         _blogsEntryLocalService.addEntryResources(entryId,
153             communityPermissions, guestPermissions);
154     }
155 
156     public void deleteEntries(long groupId)
157         throws com.liferay.portal.kernel.exception.PortalException,
158             com.liferay.portal.kernel.exception.SystemException {
159         _blogsEntryLocalService.deleteEntries(groupId);
160     }
161 
162     public void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
163         throws com.liferay.portal.kernel.exception.PortalException,
164             com.liferay.portal.kernel.exception.SystemException {
165         _blogsEntryLocalService.deleteEntry(entry);
166     }
167 
168     public void deleteEntry(long entryId)
169         throws com.liferay.portal.kernel.exception.PortalException,
170             com.liferay.portal.kernel.exception.SystemException {
171         _blogsEntryLocalService.deleteEntry(entryId);
172     }
173 
174     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
175         long companyId, int status, int start, int end)
176         throws com.liferay.portal.kernel.exception.SystemException {
177         return _blogsEntryLocalService.getCompanyEntries(companyId, status,
178             start, end);
179     }
180 
181     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
182         long companyId, int status, int start, int end,
183         com.liferay.portal.kernel.util.OrderByComparator obc)
184         throws com.liferay.portal.kernel.exception.SystemException {
185         return _blogsEntryLocalService.getCompanyEntries(companyId, status,
186             start, end, obc);
187     }
188 
189     public int getCompanyEntriesCount(long companyId, int status)
190         throws com.liferay.portal.kernel.exception.SystemException {
191         return _blogsEntryLocalService.getCompanyEntriesCount(companyId, status);
192     }
193 
194     public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
195         long entryId)
196         throws com.liferay.portal.kernel.exception.PortalException,
197             com.liferay.portal.kernel.exception.SystemException {
198         return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
199     }
200 
201     public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
202         throws com.liferay.portal.kernel.exception.PortalException,
203             com.liferay.portal.kernel.exception.SystemException {
204         return _blogsEntryLocalService.getEntry(entryId);
205     }
206 
207     public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
208         java.lang.String urlTitle)
209         throws com.liferay.portal.kernel.exception.PortalException,
210             com.liferay.portal.kernel.exception.SystemException {
211         return _blogsEntryLocalService.getEntry(groupId, urlTitle);
212     }
213 
214     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
215         long groupId, int status, int start, int end)
216         throws com.liferay.portal.kernel.exception.SystemException {
217         return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
218             end);
219     }
220 
221     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
222         long groupId, int status, int start, int end,
223         com.liferay.portal.kernel.util.OrderByComparator obc)
224         throws com.liferay.portal.kernel.exception.SystemException {
225         return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
226             end, obc);
227     }
228 
229     public int getGroupEntriesCount(long groupId, int status)
230         throws com.liferay.portal.kernel.exception.SystemException {
231         return _blogsEntryLocalService.getGroupEntriesCount(groupId, status);
232     }
233 
234     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
235         long groupId, long userId, int status, int start, int end)
236         throws com.liferay.portal.kernel.exception.SystemException {
237         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
238             status, start, end);
239     }
240 
241     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
242         long groupId, long userId, int status, int start, int end,
243         com.liferay.portal.kernel.util.OrderByComparator obc)
244         throws com.liferay.portal.kernel.exception.SystemException {
245         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
246             status, start, end, obc);
247     }
248 
249     public int getGroupUserEntriesCount(long groupId, long userId, int status)
250         throws com.liferay.portal.kernel.exception.SystemException {
251         return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
252             userId, status);
253     }
254 
255     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
256         throws com.liferay.portal.kernel.exception.SystemException {
257         return _blogsEntryLocalService.getNoAssetEntries();
258     }
259 
260     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
261         long organizationId, int status, int start, int end)
262         throws com.liferay.portal.kernel.exception.SystemException {
263         return _blogsEntryLocalService.getOrganizationEntries(organizationId,
264             status, start, end);
265     }
266 
267     public int getOrganizationEntriesCount(long organizationId, int status)
268         throws com.liferay.portal.kernel.exception.SystemException {
269         return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
270             status);
271     }
272 
273     public void updateAsset(long userId,
274         com.liferay.portlet.blogs.model.BlogsEntry entry,
275         long[] assetCategoryIds, java.lang.String[] assetTagNames)
276         throws com.liferay.portal.kernel.exception.PortalException,
277             com.liferay.portal.kernel.exception.SystemException {
278         _blogsEntryLocalService.updateAsset(userId, entry, assetCategoryIds,
279             assetTagNames);
280     }
281 
282     public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
283         long entryId, java.lang.String title, java.lang.String content,
284         int displayDateMonth, int displayDateDay, int displayDateYear,
285         int displayDateHour, int displayDateMinute, boolean allowPingbacks,
286         boolean allowTrackbacks, java.lang.String[] trackbacks,
287         com.liferay.portal.service.ServiceContext serviceContext)
288         throws com.liferay.portal.kernel.exception.PortalException,
289             com.liferay.portal.kernel.exception.SystemException {
290         return _blogsEntryLocalService.updateEntry(userId, entryId, title,
291             content, displayDateMonth, displayDateDay, displayDateYear,
292             displayDateHour, displayDateMinute, allowPingbacks,
293             allowTrackbacks, trackbacks, serviceContext);
294     }
295 
296     public void updateEntryResources(
297         com.liferay.portlet.blogs.model.BlogsEntry entry,
298         java.lang.String[] communityPermissions,
299         java.lang.String[] guestPermissions)
300         throws com.liferay.portal.kernel.exception.PortalException,
301             com.liferay.portal.kernel.exception.SystemException {
302         _blogsEntryLocalService.updateEntryResources(entry,
303             communityPermissions, guestPermissions);
304     }
305 
306     public com.liferay.portlet.blogs.model.BlogsEntry updateWorkflowStatus(
307         long userId, long entryId, java.lang.String[] trackbacks,
308         boolean pingOldTrackbaks,
309         com.liferay.portal.service.ServiceContext serviceContext)
310         throws com.liferay.portal.kernel.exception.PortalException,
311             com.liferay.portal.kernel.exception.SystemException {
312         return _blogsEntryLocalService.updateWorkflowStatus(userId, entryId,
313             trackbacks, pingOldTrackbaks, serviceContext);
314     }
315 
316     public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
317         return _blogsEntryLocalService;
318     }
319 
320     private BlogsEntryLocalService _blogsEntryLocalService;
321 }