1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.blogs.service;
24  
25  
26  /**
27   * <a href="BlogsEntryLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link BlogsEntryLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       BlogsEntryLocalService
40   * @generated
41   */
42  public class BlogsEntryLocalServiceWrapper implements BlogsEntryLocalService {
43      public BlogsEntryLocalServiceWrapper(
44          BlogsEntryLocalService blogsEntryLocalService) {
45          _blogsEntryLocalService = blogsEntryLocalService;
46      }
47  
48      public com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(
49          com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
50          throws com.liferay.portal.SystemException {
51          return _blogsEntryLocalService.addBlogsEntry(blogsEntry);
52      }
53  
54      public com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(
55          long entryId) {
56          return _blogsEntryLocalService.createBlogsEntry(entryId);
57      }
58  
59      public void deleteBlogsEntry(long entryId)
60          throws com.liferay.portal.PortalException,
61              com.liferay.portal.SystemException {
62          _blogsEntryLocalService.deleteBlogsEntry(entryId);
63      }
64  
65      public void deleteBlogsEntry(
66          com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
67          throws com.liferay.portal.SystemException {
68          _blogsEntryLocalService.deleteBlogsEntry(blogsEntry);
69      }
70  
71      public java.util.List<Object> dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
73          throws com.liferay.portal.SystemException {
74          return _blogsEntryLocalService.dynamicQuery(dynamicQuery);
75      }
76  
77      public java.util.List<Object> dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end) throws com.liferay.portal.SystemException {
80          return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
81      }
82  
83      public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
84          long entryId)
85          throws com.liferay.portal.PortalException,
86              com.liferay.portal.SystemException {
87          return _blogsEntryLocalService.getBlogsEntry(entryId);
88      }
89  
90      public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
91          int start, int end) throws com.liferay.portal.SystemException {
92          return _blogsEntryLocalService.getBlogsEntries(start, end);
93      }
94  
95      public int getBlogsEntriesCount() throws com.liferay.portal.SystemException {
96          return _blogsEntryLocalService.getBlogsEntriesCount();
97      }
98  
99      public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
100         com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
101         throws com.liferay.portal.SystemException {
102         return _blogsEntryLocalService.updateBlogsEntry(blogsEntry);
103     }
104 
105     public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
106         com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
107         throws com.liferay.portal.SystemException {
108         return _blogsEntryLocalService.updateBlogsEntry(blogsEntry, merge);
109     }
110 
111     public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
112         java.lang.String title, java.lang.String content, int displayDateMonth,
113         int displayDateDay, int displayDateYear, int displayDateHour,
114         int displayDateMinute, boolean draft, boolean allowTrackbacks,
115         java.lang.String[] trackbacks,
116         com.liferay.portal.service.ServiceContext serviceContext)
117         throws com.liferay.portal.PortalException,
118             com.liferay.portal.SystemException {
119         return _blogsEntryLocalService.addEntry(userId, title, content,
120             displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
121             displayDateMinute, draft, allowTrackbacks, trackbacks,
122             serviceContext);
123     }
124 
125     public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
126         java.lang.String uuid, long userId, java.lang.String title,
127         java.lang.String content, int displayDateMonth, int displayDateDay,
128         int displayDateYear, int displayDateHour, int displayDateMinute,
129         boolean draft, boolean allowTrackbacks, java.lang.String[] trackbacks,
130         com.liferay.portal.service.ServiceContext serviceContext)
131         throws com.liferay.portal.PortalException,
132             com.liferay.portal.SystemException {
133         return _blogsEntryLocalService.addEntry(uuid, userId, title, content,
134             displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
135             displayDateMinute, draft, allowTrackbacks, trackbacks,
136             serviceContext);
137     }
138 
139     public void addEntryResources(long entryId,
140         boolean addCommunityPermissions, boolean addGuestPermissions)
141         throws com.liferay.portal.PortalException,
142             com.liferay.portal.SystemException {
143         _blogsEntryLocalService.addEntryResources(entryId,
144             addCommunityPermissions, addGuestPermissions);
145     }
146 
147     public void addEntryResources(
148         com.liferay.portlet.blogs.model.BlogsEntry entry,
149         boolean addCommunityPermissions, boolean addGuestPermissions)
150         throws com.liferay.portal.PortalException,
151             com.liferay.portal.SystemException {
152         _blogsEntryLocalService.addEntryResources(entry,
153             addCommunityPermissions, addGuestPermissions);
154     }
155 
156     public void addEntryResources(long entryId,
157         java.lang.String[] communityPermissions,
158         java.lang.String[] guestPermissions)
159         throws com.liferay.portal.PortalException,
160             com.liferay.portal.SystemException {
161         _blogsEntryLocalService.addEntryResources(entryId,
162             communityPermissions, guestPermissions);
163     }
164 
165     public void addEntryResources(
166         com.liferay.portlet.blogs.model.BlogsEntry entry,
167         java.lang.String[] communityPermissions,
168         java.lang.String[] guestPermissions)
169         throws com.liferay.portal.PortalException,
170             com.liferay.portal.SystemException {
171         _blogsEntryLocalService.addEntryResources(entry, communityPermissions,
172             guestPermissions);
173     }
174 
175     public void deleteEntries(long groupId)
176         throws com.liferay.portal.PortalException,
177             com.liferay.portal.SystemException {
178         _blogsEntryLocalService.deleteEntries(groupId);
179     }
180 
181     public void deleteEntry(long entryId)
182         throws com.liferay.portal.PortalException,
183             com.liferay.portal.SystemException {
184         _blogsEntryLocalService.deleteEntry(entryId);
185     }
186 
187     public void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
188         throws com.liferay.portal.PortalException,
189             com.liferay.portal.SystemException {
190         _blogsEntryLocalService.deleteEntry(entry);
191     }
192 
193     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
194         long companyId, int start, int end)
195         throws com.liferay.portal.SystemException {
196         return _blogsEntryLocalService.getCompanyEntries(companyId, start, end);
197     }
198 
199     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
200         long companyId, int start, int end,
201         com.liferay.portal.kernel.util.OrderByComparator obc)
202         throws com.liferay.portal.SystemException {
203         return _blogsEntryLocalService.getCompanyEntries(companyId, start, end,
204             obc);
205     }
206 
207     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
208         long companyId, boolean draft, int start, int end)
209         throws com.liferay.portal.SystemException {
210         return _blogsEntryLocalService.getCompanyEntries(companyId, draft,
211             start, end);
212     }
213 
214     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
215         long companyId, boolean draft, int start, int end,
216         com.liferay.portal.kernel.util.OrderByComparator obc)
217         throws com.liferay.portal.SystemException {
218         return _blogsEntryLocalService.getCompanyEntries(companyId, draft,
219             start, end, obc);
220     }
221 
222     public int getCompanyEntriesCount(long companyId)
223         throws com.liferay.portal.SystemException {
224         return _blogsEntryLocalService.getCompanyEntriesCount(companyId);
225     }
226 
227     public int getCompanyEntriesCount(long companyId, boolean draft)
228         throws com.liferay.portal.SystemException {
229         return _blogsEntryLocalService.getCompanyEntriesCount(companyId, draft);
230     }
231 
232     public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
233         long entryId)
234         throws com.liferay.portal.PortalException,
235             com.liferay.portal.SystemException {
236         return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
237     }
238 
239     public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
240         throws com.liferay.portal.PortalException,
241             com.liferay.portal.SystemException {
242         return _blogsEntryLocalService.getEntry(entryId);
243     }
244 
245     public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
246         java.lang.String urlTitle)
247         throws com.liferay.portal.PortalException,
248             com.liferay.portal.SystemException {
249         return _blogsEntryLocalService.getEntry(groupId, urlTitle);
250     }
251 
252     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
253         long groupId, int start, int end)
254         throws com.liferay.portal.SystemException {
255         return _blogsEntryLocalService.getGroupEntries(groupId, start, end);
256     }
257 
258     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
259         long groupId, int start, int end,
260         com.liferay.portal.kernel.util.OrderByComparator obc)
261         throws com.liferay.portal.SystemException {
262         return _blogsEntryLocalService.getGroupEntries(groupId, start, end, obc);
263     }
264 
265     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
266         long groupId, boolean draft, int start, int end)
267         throws com.liferay.portal.SystemException {
268         return _blogsEntryLocalService.getGroupEntries(groupId, draft, start,
269             end);
270     }
271 
272     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
273         long groupId, boolean draft, int start, int end,
274         com.liferay.portal.kernel.util.OrderByComparator obc)
275         throws com.liferay.portal.SystemException {
276         return _blogsEntryLocalService.getGroupEntries(groupId, draft, start,
277             end, obc);
278     }
279 
280     public int getGroupEntriesCount(long groupId)
281         throws com.liferay.portal.SystemException {
282         return _blogsEntryLocalService.getGroupEntriesCount(groupId);
283     }
284 
285     public int getGroupEntriesCount(long groupId, boolean draft)
286         throws com.liferay.portal.SystemException {
287         return _blogsEntryLocalService.getGroupEntriesCount(groupId, draft);
288     }
289 
290     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
291         long groupId, long userId, int start, int end)
292         throws com.liferay.portal.SystemException {
293         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
294             start, end);
295     }
296 
297     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
298         long groupId, long userId, int start, int end,
299         com.liferay.portal.kernel.util.OrderByComparator obc)
300         throws com.liferay.portal.SystemException {
301         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
302             start, end, obc);
303     }
304 
305     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
306         long groupId, long userId, boolean draft, int start, int end)
307         throws com.liferay.portal.SystemException {
308         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
309             draft, start, end);
310     }
311 
312     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
313         long groupId, long userId, boolean draft, int start, int end,
314         com.liferay.portal.kernel.util.OrderByComparator obc)
315         throws com.liferay.portal.SystemException {
316         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
317             draft, start, end, obc);
318     }
319 
320     public int getGroupUserEntriesCount(long groupId, long userId)
321         throws com.liferay.portal.SystemException {
322         return _blogsEntryLocalService.getGroupUserEntriesCount(groupId, userId);
323     }
324 
325     public int getGroupUserEntriesCount(long groupId, long userId, boolean draft)
326         throws com.liferay.portal.SystemException {
327         return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
328             userId, draft);
329     }
330 
331     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
332         throws com.liferay.portal.SystemException {
333         return _blogsEntryLocalService.getNoAssetEntries();
334     }
335 
336     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
337         long organizationId, boolean draft, int start, int end)
338         throws com.liferay.portal.SystemException {
339         return _blogsEntryLocalService.getOrganizationEntries(organizationId,
340             draft, start, end);
341     }
342 
343     public int getOrganizationEntriesCount(long organizationId, boolean draft)
344         throws com.liferay.portal.SystemException {
345         return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
346             draft);
347     }
348 
349     public java.lang.String getUrlTitle(long entryId, java.lang.String title) {
350         return _blogsEntryLocalService.getUrlTitle(entryId, title);
351     }
352 
353     public void reIndex(long entryId) throws com.liferay.portal.SystemException {
354         _blogsEntryLocalService.reIndex(entryId);
355     }
356 
357     public void reIndex(com.liferay.portlet.blogs.model.BlogsEntry entry)
358         throws com.liferay.portal.SystemException {
359         _blogsEntryLocalService.reIndex(entry);
360     }
361 
362     public void reIndex(java.lang.String[] ids)
363         throws com.liferay.portal.SystemException {
364         _blogsEntryLocalService.reIndex(ids);
365     }
366 
367     public com.liferay.portal.kernel.search.Hits search(long companyId,
368         long groupId, long userId, long ownerUserId, java.lang.String keywords,
369         int start, int end) throws com.liferay.portal.SystemException {
370         return _blogsEntryLocalService.search(companyId, groupId, userId,
371             ownerUserId, keywords, start, end);
372     }
373 
374     public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
375         long entryId, java.lang.String title, java.lang.String content,
376         int displayDateMonth, int displayDateDay, int displayDateYear,
377         int displayDateHour, int displayDateMinute, boolean draft,
378         boolean allowTrackbacks, java.lang.String[] trackbacks,
379         com.liferay.portal.service.ServiceContext serviceContext)
380         throws com.liferay.portal.PortalException,
381             com.liferay.portal.SystemException {
382         return _blogsEntryLocalService.updateEntry(userId, entryId, title,
383             content, displayDateMonth, displayDateDay, displayDateYear,
384             displayDateHour, displayDateMinute, draft, allowTrackbacks,
385             trackbacks, serviceContext);
386     }
387 
388     public void updateEntryResources(
389         com.liferay.portlet.blogs.model.BlogsEntry entry,
390         java.lang.String[] communityPermissions,
391         java.lang.String[] guestPermissions)
392         throws com.liferay.portal.PortalException,
393             com.liferay.portal.SystemException {
394         _blogsEntryLocalService.updateEntryResources(entry,
395             communityPermissions, guestPermissions);
396     }
397 
398     public void updateTagsAsset(long userId,
399         com.liferay.portlet.blogs.model.BlogsEntry entry,
400         java.lang.String[] tagsEntries)
401         throws com.liferay.portal.PortalException,
402             com.liferay.portal.SystemException {
403         _blogsEntryLocalService.updateTagsAsset(userId, entry, tagsEntries);
404     }
405 
406     public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
407         return _blogsEntryLocalService;
408     }
409 
410     private BlogsEntryLocalService _blogsEntryLocalService;
411 }