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