001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.blogs.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link BlogsEntryLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       BlogsEntryLocalService
024     * @generated
025     */
026    public class BlogsEntryLocalServiceWrapper implements BlogsEntryLocalService {
027            public BlogsEntryLocalServiceWrapper(
028                    BlogsEntryLocalService blogsEntryLocalService) {
029                    _blogsEntryLocalService = blogsEntryLocalService;
030            }
031    
032            public com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(
033                    com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
034                    throws com.liferay.portal.kernel.exception.SystemException {
035                    return _blogsEntryLocalService.addBlogsEntry(blogsEntry);
036            }
037    
038            public com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(
039                    long entryId) {
040                    return _blogsEntryLocalService.createBlogsEntry(entryId);
041            }
042    
043            public void deleteBlogsEntry(long entryId)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    _blogsEntryLocalService.deleteBlogsEntry(entryId);
047            }
048    
049            public void deleteBlogsEntry(
050                    com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
051                    throws com.liferay.portal.kernel.exception.SystemException {
052                    _blogsEntryLocalService.deleteBlogsEntry(blogsEntry);
053            }
054    
055            @SuppressWarnings("unchecked")
056            public java.util.List dynamicQuery(
057                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
058                    throws com.liferay.portal.kernel.exception.SystemException {
059                    return _blogsEntryLocalService.dynamicQuery(dynamicQuery);
060            }
061    
062            @SuppressWarnings("unchecked")
063            public java.util.List dynamicQuery(
064                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
065                    int end) throws com.liferay.portal.kernel.exception.SystemException {
066                    return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
067            }
068    
069            @SuppressWarnings("unchecked")
070            public java.util.List dynamicQuery(
071                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
072                    int end,
073                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
074                    throws com.liferay.portal.kernel.exception.SystemException {
075                    return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end,
076                            orderByComparator);
077            }
078    
079            public long dynamicQueryCount(
080                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
081                    throws com.liferay.portal.kernel.exception.SystemException {
082                    return _blogsEntryLocalService.dynamicQueryCount(dynamicQuery);
083            }
084    
085            public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
086                    long entryId)
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException {
089                    return _blogsEntryLocalService.getBlogsEntry(entryId);
090            }
091    
092            public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
093                    java.lang.String uuid, long groupId)
094                    throws com.liferay.portal.kernel.exception.PortalException,
095                            com.liferay.portal.kernel.exception.SystemException {
096                    return _blogsEntryLocalService.getBlogsEntryByUuidAndGroupId(uuid,
097                            groupId);
098            }
099    
100            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
101                    int start, int end)
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _blogsEntryLocalService.getBlogsEntries(start, end);
104            }
105    
106            public int getBlogsEntriesCount()
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _blogsEntryLocalService.getBlogsEntriesCount();
109            }
110    
111            public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
112                    com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
113                    throws com.liferay.portal.kernel.exception.SystemException {
114                    return _blogsEntryLocalService.updateBlogsEntry(blogsEntry);
115            }
116    
117            public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
118                    com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
119                    throws com.liferay.portal.kernel.exception.SystemException {
120                    return _blogsEntryLocalService.updateBlogsEntry(blogsEntry, merge);
121            }
122    
123            public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
124                    java.lang.String title, java.lang.String content, int displayDateMonth,
125                    int displayDateDay, int displayDateYear, int displayDateHour,
126                    int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks,
127                    java.lang.String[] trackbacks,
128                    com.liferay.portal.service.ServiceContext serviceContext)
129                    throws com.liferay.portal.kernel.exception.PortalException,
130                            com.liferay.portal.kernel.exception.SystemException {
131                    return _blogsEntryLocalService.addEntry(userId, title, content,
132                            displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
133                            displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
134                            serviceContext);
135            }
136    
137            public void addEntryResources(
138                    com.liferay.portlet.blogs.model.BlogsEntry entry,
139                    boolean addCommunityPermissions, boolean addGuestPermissions)
140                    throws com.liferay.portal.kernel.exception.PortalException,
141                            com.liferay.portal.kernel.exception.SystemException {
142                    _blogsEntryLocalService.addEntryResources(entry,
143                            addCommunityPermissions, addGuestPermissions);
144            }
145    
146            public void addEntryResources(
147                    com.liferay.portlet.blogs.model.BlogsEntry entry,
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(entry, communityPermissions,
153                            guestPermissions);
154            }
155    
156            public void addEntryResources(long entryId,
157                    boolean addCommunityPermissions, boolean addGuestPermissions)
158                    throws com.liferay.portal.kernel.exception.PortalException,
159                            com.liferay.portal.kernel.exception.SystemException {
160                    _blogsEntryLocalService.addEntryResources(entryId,
161                            addCommunityPermissions, addGuestPermissions);
162            }
163    
164            public void addEntryResources(long entryId,
165                    java.lang.String[] communityPermissions,
166                    java.lang.String[] guestPermissions)
167                    throws com.liferay.portal.kernel.exception.PortalException,
168                            com.liferay.portal.kernel.exception.SystemException {
169                    _blogsEntryLocalService.addEntryResources(entryId,
170                            communityPermissions, guestPermissions);
171            }
172    
173            public void deleteEntries(long groupId)
174                    throws com.liferay.portal.kernel.exception.PortalException,
175                            com.liferay.portal.kernel.exception.SystemException {
176                    _blogsEntryLocalService.deleteEntries(groupId);
177            }
178    
179            public void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
180                    throws com.liferay.portal.kernel.exception.PortalException,
181                            com.liferay.portal.kernel.exception.SystemException {
182                    _blogsEntryLocalService.deleteEntry(entry);
183            }
184    
185            public void deleteEntry(long entryId)
186                    throws com.liferay.portal.kernel.exception.PortalException,
187                            com.liferay.portal.kernel.exception.SystemException {
188                    _blogsEntryLocalService.deleteEntry(entryId);
189            }
190    
191            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
192                    long companyId, int status, int start, int end)
193                    throws com.liferay.portal.kernel.exception.SystemException {
194                    return _blogsEntryLocalService.getCompanyEntries(companyId, status,
195                            start, end);
196            }
197    
198            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
199                    long companyId, int status, int start, int end,
200                    com.liferay.portal.kernel.util.OrderByComparator obc)
201                    throws com.liferay.portal.kernel.exception.SystemException {
202                    return _blogsEntryLocalService.getCompanyEntries(companyId, status,
203                            start, end, obc);
204            }
205    
206            public int getCompanyEntriesCount(long companyId, int status)
207                    throws com.liferay.portal.kernel.exception.SystemException {
208                    return _blogsEntryLocalService.getCompanyEntriesCount(companyId, status);
209            }
210    
211            public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
212                    long entryId)
213                    throws com.liferay.portal.kernel.exception.PortalException,
214                            com.liferay.portal.kernel.exception.SystemException {
215                    return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
216            }
217    
218            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
219                    throws com.liferay.portal.kernel.exception.PortalException,
220                            com.liferay.portal.kernel.exception.SystemException {
221                    return _blogsEntryLocalService.getEntry(entryId);
222            }
223    
224            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
225                    java.lang.String urlTitle)
226                    throws com.liferay.portal.kernel.exception.PortalException,
227                            com.liferay.portal.kernel.exception.SystemException {
228                    return _blogsEntryLocalService.getEntry(groupId, urlTitle);
229            }
230    
231            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
232                    long groupId, int status, int start, int end)
233                    throws com.liferay.portal.kernel.exception.SystemException {
234                    return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
235                            end);
236            }
237    
238            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
239                    long groupId, int status, int start, int end,
240                    com.liferay.portal.kernel.util.OrderByComparator obc)
241                    throws com.liferay.portal.kernel.exception.SystemException {
242                    return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
243                            end, obc);
244            }
245    
246            public int getGroupEntriesCount(long groupId, int status)
247                    throws com.liferay.portal.kernel.exception.SystemException {
248                    return _blogsEntryLocalService.getGroupEntriesCount(groupId, status);
249            }
250    
251            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
252                    long companyId, long groupId, int status, int start, int end)
253                    throws com.liferay.portal.kernel.exception.SystemException {
254                    return _blogsEntryLocalService.getGroupsEntries(companyId, groupId,
255                            status, start, end);
256            }
257    
258            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
259                    long groupId, long userId, int status, int start, int end)
260                    throws com.liferay.portal.kernel.exception.SystemException {
261                    return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
262                            status, start, end);
263            }
264    
265            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
266                    long groupId, long userId, int status, int start, int end,
267                    com.liferay.portal.kernel.util.OrderByComparator obc)
268                    throws com.liferay.portal.kernel.exception.SystemException {
269                    return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
270                            status, start, end, obc);
271            }
272    
273            public int getGroupUserEntriesCount(long groupId, long userId, int status)
274                    throws com.liferay.portal.kernel.exception.SystemException {
275                    return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
276                            userId, status);
277            }
278    
279            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
280                    throws com.liferay.portal.kernel.exception.SystemException {
281                    return _blogsEntryLocalService.getNoAssetEntries();
282            }
283    
284            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
285                    long organizationId, int status, int start, int end)
286                    throws com.liferay.portal.kernel.exception.SystemException {
287                    return _blogsEntryLocalService.getOrganizationEntries(organizationId,
288                            status, start, end);
289            }
290    
291            public int getOrganizationEntriesCount(long organizationId, int status)
292                    throws com.liferay.portal.kernel.exception.SystemException {
293                    return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
294                            status);
295            }
296    
297            public void updateAsset(long userId,
298                    com.liferay.portlet.blogs.model.BlogsEntry entry,
299                    long[] assetCategoryIds, java.lang.String[] assetTagNames)
300                    throws com.liferay.portal.kernel.exception.PortalException,
301                            com.liferay.portal.kernel.exception.SystemException {
302                    _blogsEntryLocalService.updateAsset(userId, entry, assetCategoryIds,
303                            assetTagNames);
304            }
305    
306            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
307                    long entryId, java.lang.String title, java.lang.String content,
308                    int displayDateMonth, int displayDateDay, int displayDateYear,
309                    int displayDateHour, int displayDateMinute, boolean allowPingbacks,
310                    boolean allowTrackbacks, java.lang.String[] trackbacks,
311                    com.liferay.portal.service.ServiceContext serviceContext)
312                    throws com.liferay.portal.kernel.exception.PortalException,
313                            com.liferay.portal.kernel.exception.SystemException {
314                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
315                            content, displayDateMonth, displayDateDay, displayDateYear,
316                            displayDateHour, displayDateMinute, allowPingbacks,
317                            allowTrackbacks, trackbacks, serviceContext);
318            }
319    
320            public void updateEntryResources(
321                    com.liferay.portlet.blogs.model.BlogsEntry entry,
322                    java.lang.String[] communityPermissions,
323                    java.lang.String[] guestPermissions)
324                    throws com.liferay.portal.kernel.exception.PortalException,
325                            com.liferay.portal.kernel.exception.SystemException {
326                    _blogsEntryLocalService.updateEntryResources(entry,
327                            communityPermissions, guestPermissions);
328            }
329    
330            public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
331                    long userId, long entryId, int status,
332                    com.liferay.portal.service.ServiceContext serviceContext)
333                    throws com.liferay.portal.kernel.exception.PortalException,
334                            com.liferay.portal.kernel.exception.SystemException {
335                    return _blogsEntryLocalService.updateStatus(userId, entryId, status,
336                            serviceContext);
337            }
338    
339            public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
340                    return _blogsEntryLocalService;
341            }
342    
343            private BlogsEntryLocalService _blogsEntryLocalService;
344    }