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.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.PortalException,
53              com.liferay.portal.SystemException {
54          _blogsEntryLocalService.deleteBlogsEntry(entryId);
55      }
56  
57      public void deleteBlogsEntry(
58          com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
59          throws com.liferay.portal.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.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.SystemException {
72          return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public java.util.List<Object> dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.SystemException {
80          return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public int dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.SystemException {
87          return _blogsEntryLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
91          long entryId)
92          throws com.liferay.portal.PortalException,
93              com.liferay.portal.SystemException {
94          return _blogsEntryLocalService.getBlogsEntry(entryId);
95      }
96  
97      public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
98          int start, int end) throws com.liferay.portal.SystemException {
99          return _blogsEntryLocalService.getBlogsEntries(start, end);
100     }
101 
102     public int getBlogsEntriesCount() throws com.liferay.portal.SystemException {
103         return _blogsEntryLocalService.getBlogsEntriesCount();
104     }
105 
106     public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
107         com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
108         throws com.liferay.portal.SystemException {
109         return _blogsEntryLocalService.updateBlogsEntry(blogsEntry);
110     }
111 
112     public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
113         com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
114         throws com.liferay.portal.SystemException {
115         return _blogsEntryLocalService.updateBlogsEntry(blogsEntry, merge);
116     }
117 
118     public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
119         java.lang.String title, java.lang.String content, int displayDateMonth,
120         int displayDateDay, int displayDateYear, int displayDateHour,
121         int displayDateMinute, boolean draft, boolean allowTrackbacks,
122         java.lang.String[] trackbacks,
123         com.liferay.portal.service.ServiceContext serviceContext)
124         throws com.liferay.portal.PortalException,
125             com.liferay.portal.SystemException {
126         return _blogsEntryLocalService.addEntry(userId, title, content,
127             displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
128             displayDateMinute, draft, allowTrackbacks, trackbacks,
129             serviceContext);
130     }
131 
132     public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
133         java.lang.String uuid, long userId, java.lang.String title,
134         java.lang.String content, int displayDateMonth, int displayDateDay,
135         int displayDateYear, int displayDateHour, int displayDateMinute,
136         boolean draft, 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 _blogsEntryLocalService.addEntry(uuid, userId, title, content,
141             displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
142             displayDateMinute, draft, allowTrackbacks, trackbacks,
143             serviceContext);
144     }
145 
146     public void addEntryResources(long entryId,
147         boolean addCommunityPermissions, boolean addGuestPermissions)
148         throws com.liferay.portal.PortalException,
149             com.liferay.portal.SystemException {
150         _blogsEntryLocalService.addEntryResources(entryId,
151             addCommunityPermissions, addGuestPermissions);
152     }
153 
154     public void addEntryResources(
155         com.liferay.portlet.blogs.model.BlogsEntry entry,
156         boolean addCommunityPermissions, boolean addGuestPermissions)
157         throws com.liferay.portal.PortalException,
158             com.liferay.portal.SystemException {
159         _blogsEntryLocalService.addEntryResources(entry,
160             addCommunityPermissions, addGuestPermissions);
161     }
162 
163     public void addEntryResources(long entryId,
164         java.lang.String[] communityPermissions,
165         java.lang.String[] guestPermissions)
166         throws com.liferay.portal.PortalException,
167             com.liferay.portal.SystemException {
168         _blogsEntryLocalService.addEntryResources(entryId,
169             communityPermissions, guestPermissions);
170     }
171 
172     public void addEntryResources(
173         com.liferay.portlet.blogs.model.BlogsEntry entry,
174         java.lang.String[] communityPermissions,
175         java.lang.String[] guestPermissions)
176         throws com.liferay.portal.PortalException,
177             com.liferay.portal.SystemException {
178         _blogsEntryLocalService.addEntryResources(entry, communityPermissions,
179             guestPermissions);
180     }
181 
182     public void deleteEntries(long groupId)
183         throws com.liferay.portal.PortalException,
184             com.liferay.portal.SystemException {
185         _blogsEntryLocalService.deleteEntries(groupId);
186     }
187 
188     public void deleteEntry(long entryId)
189         throws com.liferay.portal.PortalException,
190             com.liferay.portal.SystemException {
191         _blogsEntryLocalService.deleteEntry(entryId);
192     }
193 
194     public void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
195         throws com.liferay.portal.PortalException,
196             com.liferay.portal.SystemException {
197         _blogsEntryLocalService.deleteEntry(entry);
198     }
199 
200     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
201         long companyId, int start, int end)
202         throws com.liferay.portal.SystemException {
203         return _blogsEntryLocalService.getCompanyEntries(companyId, start, end);
204     }
205 
206     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
207         long companyId, int start, int end,
208         com.liferay.portal.kernel.util.OrderByComparator obc)
209         throws com.liferay.portal.SystemException {
210         return _blogsEntryLocalService.getCompanyEntries(companyId, start, end,
211             obc);
212     }
213 
214     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
215         long companyId, boolean draft, int start, int end)
216         throws com.liferay.portal.SystemException {
217         return _blogsEntryLocalService.getCompanyEntries(companyId, draft,
218             start, end);
219     }
220 
221     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
222         long companyId, boolean draft, int start, int end,
223         com.liferay.portal.kernel.util.OrderByComparator obc)
224         throws com.liferay.portal.SystemException {
225         return _blogsEntryLocalService.getCompanyEntries(companyId, draft,
226             start, end, obc);
227     }
228 
229     public int getCompanyEntriesCount(long companyId)
230         throws com.liferay.portal.SystemException {
231         return _blogsEntryLocalService.getCompanyEntriesCount(companyId);
232     }
233 
234     public int getCompanyEntriesCount(long companyId, boolean draft)
235         throws com.liferay.portal.SystemException {
236         return _blogsEntryLocalService.getCompanyEntriesCount(companyId, draft);
237     }
238 
239     public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
240         long entryId)
241         throws com.liferay.portal.PortalException,
242             com.liferay.portal.SystemException {
243         return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
244     }
245 
246     public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
247         throws com.liferay.portal.PortalException,
248             com.liferay.portal.SystemException {
249         return _blogsEntryLocalService.getEntry(entryId);
250     }
251 
252     public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
253         java.lang.String urlTitle)
254         throws com.liferay.portal.PortalException,
255             com.liferay.portal.SystemException {
256         return _blogsEntryLocalService.getEntry(groupId, urlTitle);
257     }
258 
259     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
260         long groupId, int start, int end)
261         throws com.liferay.portal.SystemException {
262         return _blogsEntryLocalService.getGroupEntries(groupId, start, end);
263     }
264 
265     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
266         long groupId, int start, int end,
267         com.liferay.portal.kernel.util.OrderByComparator obc)
268         throws com.liferay.portal.SystemException {
269         return _blogsEntryLocalService.getGroupEntries(groupId, start, end, obc);
270     }
271 
272     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
273         long groupId, boolean draft, int start, int end)
274         throws com.liferay.portal.SystemException {
275         return _blogsEntryLocalService.getGroupEntries(groupId, draft, start,
276             end);
277     }
278 
279     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
280         long groupId, boolean draft, int start, int end,
281         com.liferay.portal.kernel.util.OrderByComparator obc)
282         throws com.liferay.portal.SystemException {
283         return _blogsEntryLocalService.getGroupEntries(groupId, draft, start,
284             end, obc);
285     }
286 
287     public int getGroupEntriesCount(long groupId)
288         throws com.liferay.portal.SystemException {
289         return _blogsEntryLocalService.getGroupEntriesCount(groupId);
290     }
291 
292     public int getGroupEntriesCount(long groupId, boolean draft)
293         throws com.liferay.portal.SystemException {
294         return _blogsEntryLocalService.getGroupEntriesCount(groupId, draft);
295     }
296 
297     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
298         long companyId, long groupId, int start, int end)
299         throws com.liferay.portal.SystemException {
300         return _blogsEntryLocalService.getGroupsEntries(companyId, groupId,
301             start, end);
302     }
303 
304     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
305         long groupId, long userId, int start, int end)
306         throws com.liferay.portal.SystemException {
307         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
308             start, end);
309     }
310 
311     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
312         long groupId, long userId, int start, int end,
313         com.liferay.portal.kernel.util.OrderByComparator obc)
314         throws com.liferay.portal.SystemException {
315         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
316             start, end, obc);
317     }
318 
319     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
320         long groupId, long userId, boolean draft, int start, int end)
321         throws com.liferay.portal.SystemException {
322         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
323             draft, start, end);
324     }
325 
326     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
327         long groupId, long userId, boolean draft, int start, int end,
328         com.liferay.portal.kernel.util.OrderByComparator obc)
329         throws com.liferay.portal.SystemException {
330         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
331             draft, start, end, obc);
332     }
333 
334     public int getGroupUserEntriesCount(long groupId, long userId)
335         throws com.liferay.portal.SystemException {
336         return _blogsEntryLocalService.getGroupUserEntriesCount(groupId, userId);
337     }
338 
339     public int getGroupUserEntriesCount(long groupId, long userId, boolean draft)
340         throws com.liferay.portal.SystemException {
341         return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
342             userId, draft);
343     }
344 
345     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
346         throws com.liferay.portal.SystemException {
347         return _blogsEntryLocalService.getNoAssetEntries();
348     }
349 
350     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
351         long organizationId, boolean draft, int start, int end)
352         throws com.liferay.portal.SystemException {
353         return _blogsEntryLocalService.getOrganizationEntries(organizationId,
354             draft, start, end);
355     }
356 
357     public int getOrganizationEntriesCount(long organizationId, boolean draft)
358         throws com.liferay.portal.SystemException {
359         return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
360             draft);
361     }
362 
363     public java.lang.String getUrlTitle(long entryId, java.lang.String title) {
364         return _blogsEntryLocalService.getUrlTitle(entryId, title);
365     }
366 
367     public void reIndex(long entryId) throws com.liferay.portal.SystemException {
368         _blogsEntryLocalService.reIndex(entryId);
369     }
370 
371     public void reIndex(com.liferay.portlet.blogs.model.BlogsEntry entry)
372         throws com.liferay.portal.SystemException {
373         _blogsEntryLocalService.reIndex(entry);
374     }
375 
376     public void reIndex(java.lang.String[] ids)
377         throws com.liferay.portal.SystemException {
378         _blogsEntryLocalService.reIndex(ids);
379     }
380 
381     public com.liferay.portal.kernel.search.Hits search(long companyId,
382         long groupId, long userId, long ownerUserId, java.lang.String keywords,
383         int start, int end) throws com.liferay.portal.SystemException {
384         return _blogsEntryLocalService.search(companyId, groupId, userId,
385             ownerUserId, keywords, start, end);
386     }
387 
388     public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
389         long entryId, java.lang.String title, java.lang.String content,
390         int displayDateMonth, int displayDateDay, int displayDateYear,
391         int displayDateHour, int displayDateMinute, boolean draft,
392         boolean allowTrackbacks, java.lang.String[] trackbacks,
393         com.liferay.portal.service.ServiceContext serviceContext)
394         throws com.liferay.portal.PortalException,
395             com.liferay.portal.SystemException {
396         return _blogsEntryLocalService.updateEntry(userId, entryId, title,
397             content, displayDateMonth, displayDateDay, displayDateYear,
398             displayDateHour, displayDateMinute, draft, allowTrackbacks,
399             trackbacks, serviceContext);
400     }
401 
402     public void updateEntryResources(
403         com.liferay.portlet.blogs.model.BlogsEntry entry,
404         java.lang.String[] communityPermissions,
405         java.lang.String[] guestPermissions)
406         throws com.liferay.portal.PortalException,
407             com.liferay.portal.SystemException {
408         _blogsEntryLocalService.updateEntryResources(entry,
409             communityPermissions, guestPermissions);
410     }
411 
412     public void updateTagsAsset(long userId,
413         com.liferay.portlet.blogs.model.BlogsEntry entry,
414         java.lang.String[] tagsEntries)
415         throws com.liferay.portal.PortalException,
416             com.liferay.portal.SystemException {
417         _blogsEntryLocalService.updateTagsAsset(userId, entry, tagsEntries);
418     }
419 
420     public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
421         return _blogsEntryLocalService;
422     }
423 
424     private BlogsEntryLocalService _blogsEntryLocalService;
425 }