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 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.kernel.exception.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.kernel.exception.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.kernel.exception.PortalException,
93              com.liferay.portal.kernel.exception.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)
99          throws com.liferay.portal.kernel.exception.SystemException {
100         return _blogsEntryLocalService.getBlogsEntries(start, end);
101     }
102 
103     public int getBlogsEntriesCount()
104         throws com.liferay.portal.kernel.exception.SystemException {
105         return _blogsEntryLocalService.getBlogsEntriesCount();
106     }
107 
108     public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
109         com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
110         throws com.liferay.portal.kernel.exception.SystemException {
111         return _blogsEntryLocalService.updateBlogsEntry(blogsEntry);
112     }
113 
114     public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
115         com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
116         throws com.liferay.portal.kernel.exception.SystemException {
117         return _blogsEntryLocalService.updateBlogsEntry(blogsEntry, merge);
118     }
119 
120     public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
121         java.lang.String uuid, long userId, java.lang.String title,
122         java.lang.String content, int displayDateMonth, int displayDateDay,
123         int displayDateYear, int displayDateHour, int displayDateMinute,
124         boolean allowPingbacks, boolean allowTrackbacks,
125         java.lang.String[] trackbacks,
126         com.liferay.portal.service.ServiceContext serviceContext)
127         throws com.liferay.portal.kernel.exception.PortalException,
128             com.liferay.portal.kernel.exception.SystemException {
129         return _blogsEntryLocalService.addEntry(uuid, userId, title, content,
130             displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
131             displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
132             serviceContext);
133     }
134 
135     public void addEntryResources(
136         com.liferay.portlet.blogs.model.BlogsEntry entry,
137         boolean addCommunityPermissions, boolean addGuestPermissions)
138         throws com.liferay.portal.kernel.exception.PortalException,
139             com.liferay.portal.kernel.exception.SystemException {
140         _blogsEntryLocalService.addEntryResources(entry,
141             addCommunityPermissions, addGuestPermissions);
142     }
143 
144     public void addEntryResources(
145         com.liferay.portlet.blogs.model.BlogsEntry entry,
146         java.lang.String[] communityPermissions,
147         java.lang.String[] guestPermissions)
148         throws com.liferay.portal.kernel.exception.PortalException,
149             com.liferay.portal.kernel.exception.SystemException {
150         _blogsEntryLocalService.addEntryResources(entry, communityPermissions,
151             guestPermissions);
152     }
153 
154     public void addEntryResources(long entryId,
155         boolean addCommunityPermissions, boolean addGuestPermissions)
156         throws com.liferay.portal.kernel.exception.PortalException,
157             com.liferay.portal.kernel.exception.SystemException {
158         _blogsEntryLocalService.addEntryResources(entryId,
159             addCommunityPermissions, addGuestPermissions);
160     }
161 
162     public void addEntryResources(long entryId,
163         java.lang.String[] communityPermissions,
164         java.lang.String[] guestPermissions)
165         throws com.liferay.portal.kernel.exception.PortalException,
166             com.liferay.portal.kernel.exception.SystemException {
167         _blogsEntryLocalService.addEntryResources(entryId,
168             communityPermissions, guestPermissions);
169     }
170 
171     public void deleteEntries(long groupId)
172         throws com.liferay.portal.kernel.exception.PortalException,
173             com.liferay.portal.kernel.exception.SystemException {
174         _blogsEntryLocalService.deleteEntries(groupId);
175     }
176 
177     public void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
178         throws com.liferay.portal.kernel.exception.PortalException,
179             com.liferay.portal.kernel.exception.SystemException {
180         _blogsEntryLocalService.deleteEntry(entry);
181     }
182 
183     public void deleteEntry(long entryId)
184         throws com.liferay.portal.kernel.exception.PortalException,
185             com.liferay.portal.kernel.exception.SystemException {
186         _blogsEntryLocalService.deleteEntry(entryId);
187     }
188 
189     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
190         long companyId, int status, int start, int end)
191         throws com.liferay.portal.kernel.exception.SystemException {
192         return _blogsEntryLocalService.getCompanyEntries(companyId, status,
193             start, end);
194     }
195 
196     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
197         long companyId, int status, int start, int end,
198         com.liferay.portal.kernel.util.OrderByComparator obc)
199         throws com.liferay.portal.kernel.exception.SystemException {
200         return _blogsEntryLocalService.getCompanyEntries(companyId, status,
201             start, end, obc);
202     }
203 
204     public int getCompanyEntriesCount(long companyId, int status)
205         throws com.liferay.portal.kernel.exception.SystemException {
206         return _blogsEntryLocalService.getCompanyEntriesCount(companyId, status);
207     }
208 
209     public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
210         long entryId)
211         throws com.liferay.portal.kernel.exception.PortalException,
212             com.liferay.portal.kernel.exception.SystemException {
213         return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
214     }
215 
216     public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
217         throws com.liferay.portal.kernel.exception.PortalException,
218             com.liferay.portal.kernel.exception.SystemException {
219         return _blogsEntryLocalService.getEntry(entryId);
220     }
221 
222     public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
223         java.lang.String urlTitle)
224         throws com.liferay.portal.kernel.exception.PortalException,
225             com.liferay.portal.kernel.exception.SystemException {
226         return _blogsEntryLocalService.getEntry(groupId, urlTitle);
227     }
228 
229     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
230         long groupId, int status, int start, int end)
231         throws com.liferay.portal.kernel.exception.SystemException {
232         return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
233             end);
234     }
235 
236     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
237         long groupId, int status, int start, int end,
238         com.liferay.portal.kernel.util.OrderByComparator obc)
239         throws com.liferay.portal.kernel.exception.SystemException {
240         return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
241             end, obc);
242     }
243 
244     public int getGroupEntriesCount(long groupId, int status)
245         throws com.liferay.portal.kernel.exception.SystemException {
246         return _blogsEntryLocalService.getGroupEntriesCount(groupId, status);
247     }
248 
249     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
250         long groupId, long userId, int status, int start, int end)
251         throws com.liferay.portal.kernel.exception.SystemException {
252         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
253             status, start, end);
254     }
255 
256     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
257         long groupId, long userId, int status, int start, int end,
258         com.liferay.portal.kernel.util.OrderByComparator obc)
259         throws com.liferay.portal.kernel.exception.SystemException {
260         return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
261             status, start, end, obc);
262     }
263 
264     public int getGroupUserEntriesCount(long groupId, long userId, int status)
265         throws com.liferay.portal.kernel.exception.SystemException {
266         return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
267             userId, status);
268     }
269 
270     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
271         throws com.liferay.portal.kernel.exception.SystemException {
272         return _blogsEntryLocalService.getNoAssetEntries();
273     }
274 
275     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
276         long organizationId, int status, int start, int end)
277         throws com.liferay.portal.kernel.exception.SystemException {
278         return _blogsEntryLocalService.getOrganizationEntries(organizationId,
279             status, start, end);
280     }
281 
282     public int getOrganizationEntriesCount(long organizationId, int status)
283         throws com.liferay.portal.kernel.exception.SystemException {
284         return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
285             status);
286     }
287 
288     public void updateAsset(long userId,
289         com.liferay.portlet.blogs.model.BlogsEntry entry,
290         long[] assetCategoryIds, java.lang.String[] assetTagNames)
291         throws com.liferay.portal.kernel.exception.PortalException,
292             com.liferay.portal.kernel.exception.SystemException {
293         _blogsEntryLocalService.updateAsset(userId, entry, assetCategoryIds,
294             assetTagNames);
295     }
296 
297     public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
298         long entryId, java.lang.String title, java.lang.String content,
299         int displayDateMonth, int displayDateDay, int displayDateYear,
300         int displayDateHour, int displayDateMinute, boolean allowPingbacks,
301         boolean allowTrackbacks, java.lang.String[] trackbacks,
302         com.liferay.portal.service.ServiceContext serviceContext)
303         throws com.liferay.portal.kernel.exception.PortalException,
304             com.liferay.portal.kernel.exception.SystemException {
305         return _blogsEntryLocalService.updateEntry(userId, entryId, title,
306             content, displayDateMonth, displayDateDay, displayDateYear,
307             displayDateHour, displayDateMinute, allowPingbacks,
308             allowTrackbacks, trackbacks, serviceContext);
309     }
310 
311     public void updateEntryResources(
312         com.liferay.portlet.blogs.model.BlogsEntry entry,
313         java.lang.String[] communityPermissions,
314         java.lang.String[] guestPermissions)
315         throws com.liferay.portal.kernel.exception.PortalException,
316             com.liferay.portal.kernel.exception.SystemException {
317         _blogsEntryLocalService.updateEntryResources(entry,
318             communityPermissions, guestPermissions);
319     }
320 
321     public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
322         long userId, long entryId, java.lang.String[] trackbacks,
323         boolean pingOldTrackbaks,
324         com.liferay.portal.service.ServiceContext serviceContext)
325         throws com.liferay.portal.kernel.exception.PortalException,
326             com.liferay.portal.kernel.exception.SystemException {
327         return _blogsEntryLocalService.updateStatus(userId, entryId,
328             trackbacks, pingOldTrackbaks, serviceContext);
329     }
330 
331     public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
332         return _blogsEntryLocalService;
333     }
334 
335     private BlogsEntryLocalService _blogsEntryLocalService;
336 }