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