001    /**
002     * Copyright (c) 2000-present 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    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link BlogsEntryLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see BlogsEntryLocalService
026     * @generated
027     */
028    @ProviderType
029    public class BlogsEntryLocalServiceWrapper implements BlogsEntryLocalService,
030            ServiceWrapper<BlogsEntryLocalService> {
031            public BlogsEntryLocalServiceWrapper(
032                    BlogsEntryLocalService blogsEntryLocalService) {
033                    _blogsEntryLocalService = blogsEntryLocalService;
034            }
035    
036            @Override
037            public com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder(
038                    long userId, long groupId)
039                    throws com.liferay.portal.kernel.exception.PortalException {
040                    return _blogsEntryLocalService.addAttachmentsFolder(userId, groupId);
041            }
042    
043            /**
044            * Adds the blogs entry to the database. Also notifies the appropriate model listeners.
045            *
046            * @param blogsEntry the blogs entry
047            * @return the blogs entry that was added
048            */
049            @Override
050            public com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(
051                    com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
052                    return _blogsEntryLocalService.addBlogsEntry(blogsEntry);
053            }
054    
055            @Override
056            public void addCoverImage(long entryId,
057                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector imageSelector)
058                    throws com.liferay.portal.kernel.exception.PortalException {
059                    _blogsEntryLocalService.addCoverImage(entryId, imageSelector);
060            }
061    
062            @Override
063            public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
064                    java.lang.String title, java.lang.String content,
065                    java.util.Date displayDate,
066                    com.liferay.portal.service.ServiceContext serviceContext)
067                    throws com.liferay.portal.kernel.exception.PortalException {
068                    return _blogsEntryLocalService.addEntry(userId, title, content,
069                            displayDate, serviceContext);
070            }
071    
072            @Override
073            public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
074                    java.lang.String title, java.lang.String content,
075                    com.liferay.portal.service.ServiceContext serviceContext)
076                    throws com.liferay.portal.kernel.exception.PortalException {
077                    return _blogsEntryLocalService.addEntry(userId, title, content,
078                            serviceContext);
079            }
080    
081            /**
082            * @deprecated As of 7.0.0, replaced by {@link #addEntry(long, String,
083            String, String, String, int, int, int, int, int, boolean,
084            boolean, String[], String, ImageSelector, ImageSelector,
085            ServiceContext)}
086            */
087            @Deprecated
088            @Override
089            public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
090                    java.lang.String title, java.lang.String description,
091                    java.lang.String content, int displayDateMonth, int displayDateDay,
092                    int displayDateYear, int displayDateHour, int displayDateMinute,
093                    boolean allowPingbacks, boolean allowTrackbacks,
094                    java.lang.String[] trackbacks, boolean smallImage,
095                    java.lang.String smallImageURL, java.lang.String smallImageFileName,
096                    java.io.InputStream smallImageInputStream,
097                    com.liferay.portal.service.ServiceContext serviceContext)
098                    throws com.liferay.portal.kernel.exception.PortalException {
099                    return _blogsEntryLocalService.addEntry(userId, title, description,
100                            content, displayDateMonth, displayDateDay, displayDateYear,
101                            displayDateHour, displayDateMinute, allowPingbacks,
102                            allowTrackbacks, trackbacks, smallImage, smallImageURL,
103                            smallImageFileName, smallImageInputStream, serviceContext);
104            }
105    
106            @Override
107            public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
108                    java.lang.String title, java.lang.String subtitle,
109                    java.lang.String description, java.lang.String content,
110                    java.util.Date displayDate, boolean allowPingbacks,
111                    boolean allowTrackbacks, java.lang.String[] trackbacks,
112                    java.lang.String coverImageCaption,
113                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
114                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
115                    com.liferay.portal.service.ServiceContext serviceContext)
116                    throws com.liferay.portal.kernel.exception.PortalException {
117                    return _blogsEntryLocalService.addEntry(userId, title, subtitle,
118                            description, content, displayDate, allowPingbacks, allowTrackbacks,
119                            trackbacks, coverImageCaption, coverImageImageSelector,
120                            smallImageImageSelector, serviceContext);
121            }
122    
123            @Override
124            public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
125                    java.lang.String title, java.lang.String subtitle,
126                    java.lang.String description, java.lang.String content,
127                    int displayDateMonth, int displayDateDay, int displayDateYear,
128                    int displayDateHour, int displayDateMinute, boolean allowPingbacks,
129                    boolean allowTrackbacks, java.lang.String[] trackbacks,
130                    java.lang.String coverImageCaption,
131                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
132                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
133                    com.liferay.portal.service.ServiceContext serviceContext)
134                    throws com.liferay.portal.kernel.exception.PortalException {
135                    return _blogsEntryLocalService.addEntry(userId, title, subtitle,
136                            description, content, displayDateMonth, displayDateDay,
137                            displayDateYear, displayDateHour, displayDateMinute,
138                            allowPingbacks, allowTrackbacks, trackbacks, coverImageCaption,
139                            coverImageImageSelector, smallImageImageSelector, serviceContext);
140            }
141    
142            @Override
143            public void addEntryResources(
144                    com.liferay.portlet.blogs.model.BlogsEntry entry,
145                    boolean addGroupPermissions, boolean addGuestPermissions)
146                    throws com.liferay.portal.kernel.exception.PortalException {
147                    _blogsEntryLocalService.addEntryResources(entry, addGroupPermissions,
148                            addGuestPermissions);
149            }
150    
151            @Override
152            public void addEntryResources(
153                    com.liferay.portlet.blogs.model.BlogsEntry entry,
154                    com.liferay.portal.service.permission.ModelPermissions modelPermissions)
155                    throws com.liferay.portal.kernel.exception.PortalException {
156                    _blogsEntryLocalService.addEntryResources(entry, modelPermissions);
157            }
158    
159            @Override
160            public void addEntryResources(long entryId, boolean addGroupPermissions,
161                    boolean addGuestPermissions)
162                    throws com.liferay.portal.kernel.exception.PortalException {
163                    _blogsEntryLocalService.addEntryResources(entryId, addGroupPermissions,
164                            addGuestPermissions);
165            }
166    
167            @Override
168            public void addEntryResources(long entryId,
169                    com.liferay.portal.service.permission.ModelPermissions modelPermissions)
170                    throws com.liferay.portal.kernel.exception.PortalException {
171                    _blogsEntryLocalService.addEntryResources(entryId, modelPermissions);
172            }
173    
174            @Override
175            public long addOriginalImageFileEntry(long userId, long groupId,
176                    long entryId,
177                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector imageSelector)
178                    throws com.liferay.portal.kernel.exception.PortalException {
179                    return _blogsEntryLocalService.addOriginalImageFileEntry(userId,
180                            groupId, entryId, imageSelector);
181            }
182    
183            @Override
184            public void addSmallImage(long entryId,
185                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector imageSelector)
186                    throws com.liferay.portal.kernel.exception.PortalException {
187                    _blogsEntryLocalService.addSmallImage(entryId, imageSelector);
188            }
189    
190            @Override
191            public void checkEntries()
192                    throws com.liferay.portal.kernel.exception.PortalException {
193                    _blogsEntryLocalService.checkEntries();
194            }
195    
196            /**
197            * Creates a new blogs entry with the primary key. Does not add the blogs entry to the database.
198            *
199            * @param entryId the primary key for the new blogs entry
200            * @return the new blogs entry
201            */
202            @Override
203            public com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(
204                    long entryId) {
205                    return _blogsEntryLocalService.createBlogsEntry(entryId);
206            }
207    
208            /**
209            * Deletes the blogs entry from the database. Also notifies the appropriate model listeners.
210            *
211            * @param blogsEntry the blogs entry
212            * @return the blogs entry that was removed
213            */
214            @Override
215            public com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
216                    com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
217                    return _blogsEntryLocalService.deleteBlogsEntry(blogsEntry);
218            }
219    
220            /**
221            * Deletes the blogs entry with the primary key from the database. Also notifies the appropriate model listeners.
222            *
223            * @param entryId the primary key of the blogs entry
224            * @return the blogs entry that was removed
225            * @throws PortalException if a blogs entry with the primary key could not be found
226            */
227            @Override
228            public com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
229                    long entryId)
230                    throws com.liferay.portal.kernel.exception.PortalException {
231                    return _blogsEntryLocalService.deleteBlogsEntry(entryId);
232            }
233    
234            @Override
235            public void deleteEntries(long groupId)
236                    throws com.liferay.portal.kernel.exception.PortalException {
237                    _blogsEntryLocalService.deleteEntries(groupId);
238            }
239    
240            @Override
241            public com.liferay.portlet.blogs.model.BlogsEntry deleteEntry(
242                    com.liferay.portlet.blogs.model.BlogsEntry entry)
243                    throws com.liferay.portal.kernel.exception.PortalException {
244                    return _blogsEntryLocalService.deleteEntry(entry);
245            }
246    
247            @Override
248            public void deleteEntry(long entryId)
249                    throws com.liferay.portal.kernel.exception.PortalException {
250                    _blogsEntryLocalService.deleteEntry(entryId);
251            }
252    
253            /**
254            * @throws PortalException
255            */
256            @Override
257            public com.liferay.portal.model.PersistedModel deletePersistedModel(
258                    com.liferay.portal.model.PersistedModel persistedModel)
259                    throws com.liferay.portal.kernel.exception.PortalException {
260                    return _blogsEntryLocalService.deletePersistedModel(persistedModel);
261            }
262    
263            @Override
264            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
265                    return _blogsEntryLocalService.dynamicQuery();
266            }
267    
268            /**
269            * Performs a dynamic query on the database and returns the matching rows.
270            *
271            * @param dynamicQuery the dynamic query
272            * @return the matching rows
273            */
274            @Override
275            public <T> java.util.List<T> dynamicQuery(
276                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
277                    return _blogsEntryLocalService.dynamicQuery(dynamicQuery);
278            }
279    
280            /**
281            * Performs a dynamic query on the database and returns a range of the matching rows.
282            *
283            * <p>
284            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
285            * </p>
286            *
287            * @param dynamicQuery the dynamic query
288            * @param start the lower bound of the range of model instances
289            * @param end the upper bound of the range of model instances (not inclusive)
290            * @return the range of matching rows
291            */
292            @Override
293            public <T> java.util.List<T> dynamicQuery(
294                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
295                    int end) {
296                    return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
297            }
298    
299            /**
300            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
301            *
302            * <p>
303            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
304            * </p>
305            *
306            * @param dynamicQuery the dynamic query
307            * @param start the lower bound of the range of model instances
308            * @param end the upper bound of the range of model instances (not inclusive)
309            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
310            * @return the ordered range of matching rows
311            */
312            @Override
313            public <T> java.util.List<T> dynamicQuery(
314                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
315                    int end,
316                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
317                    return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end,
318                            orderByComparator);
319            }
320    
321            /**
322            * Returns the number of rows matching the dynamic query.
323            *
324            * @param dynamicQuery the dynamic query
325            * @return the number of rows matching the dynamic query
326            */
327            @Override
328            public long dynamicQueryCount(
329                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
330                    return _blogsEntryLocalService.dynamicQueryCount(dynamicQuery);
331            }
332    
333            /**
334            * Returns the number of rows matching the dynamic query.
335            *
336            * @param dynamicQuery the dynamic query
337            * @param projection the projection to apply to the query
338            * @return the number of rows matching the dynamic query
339            */
340            @Override
341            public long dynamicQueryCount(
342                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
343                    com.liferay.portal.kernel.dao.orm.Projection projection) {
344                    return _blogsEntryLocalService.dynamicQueryCount(dynamicQuery,
345                            projection);
346            }
347    
348            @Override
349            public com.liferay.portal.kernel.repository.model.Folder fetchAttachmentsFolder(
350                    long userId, long groupId) {
351                    return _blogsEntryLocalService.fetchAttachmentsFolder(userId, groupId);
352            }
353    
354            @Override
355            public com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntry(
356                    long entryId) {
357                    return _blogsEntryLocalService.fetchBlogsEntry(entryId);
358            }
359    
360            /**
361            * Returns the blogs entry matching the UUID and group.
362            *
363            * @param uuid the blogs entry's UUID
364            * @param groupId the primary key of the group
365            * @return the matching blogs entry, or <code>null</code> if a matching blogs entry could not be found
366            */
367            @Override
368            public com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntryByUuidAndGroupId(
369                    java.lang.String uuid, long groupId) {
370                    return _blogsEntryLocalService.fetchBlogsEntryByUuidAndGroupId(uuid,
371                            groupId);
372            }
373    
374            @Override
375            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
376                    return _blogsEntryLocalService.getActionableDynamicQuery();
377            }
378    
379            /**
380            * Returns a range of all the blogs entries.
381            *
382            * <p>
383            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
384            * </p>
385            *
386            * @param start the lower bound of the range of blogs entries
387            * @param end the upper bound of the range of blogs entries (not inclusive)
388            * @return the range of blogs entries
389            */
390            @Override
391            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
392                    int start, int end) {
393                    return _blogsEntryLocalService.getBlogsEntries(start, end);
394            }
395    
396            /**
397            * Returns all the blogs entries matching the UUID and company.
398            *
399            * @param uuid the UUID of the blogs entries
400            * @param companyId the primary key of the company
401            * @return the matching blogs entries, or an empty list if no matches were found
402            */
403            @Override
404            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
405                    java.lang.String uuid, long companyId) {
406                    return _blogsEntryLocalService.getBlogsEntriesByUuidAndCompanyId(uuid,
407                            companyId);
408            }
409    
410            /**
411            * Returns a range of blogs entries matching the UUID and company.
412            *
413            * @param uuid the UUID of the blogs entries
414            * @param companyId the primary key of the company
415            * @param start the lower bound of the range of blogs entries
416            * @param end the upper bound of the range of blogs entries (not inclusive)
417            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
418            * @return the range of matching blogs entries, or an empty list if no matches were found
419            */
420            @Override
421            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
422                    java.lang.String uuid, long companyId, int start, int end,
423                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> orderByComparator) {
424                    return _blogsEntryLocalService.getBlogsEntriesByUuidAndCompanyId(uuid,
425                            companyId, start, end, orderByComparator);
426            }
427    
428            /**
429            * Returns the number of blogs entries.
430            *
431            * @return the number of blogs entries
432            */
433            @Override
434            public int getBlogsEntriesCount() {
435                    return _blogsEntryLocalService.getBlogsEntriesCount();
436            }
437    
438            /**
439            * Returns the blogs entry with the primary key.
440            *
441            * @param entryId the primary key of the blogs entry
442            * @return the blogs entry
443            * @throws PortalException if a blogs entry with the primary key could not be found
444            */
445            @Override
446            public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
447                    long entryId)
448                    throws com.liferay.portal.kernel.exception.PortalException {
449                    return _blogsEntryLocalService.getBlogsEntry(entryId);
450            }
451    
452            /**
453            * Returns the blogs entry matching the UUID and group.
454            *
455            * @param uuid the blogs entry's UUID
456            * @param groupId the primary key of the group
457            * @return the matching blogs entry
458            * @throws PortalException if a matching blogs entry could not be found
459            */
460            @Override
461            public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
462                    java.lang.String uuid, long groupId)
463                    throws com.liferay.portal.kernel.exception.PortalException {
464                    return _blogsEntryLocalService.getBlogsEntryByUuidAndGroupId(uuid,
465                            groupId);
466            }
467    
468            @Override
469            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
470                    long companyId, java.util.Date displayDate,
471                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
472                    return _blogsEntryLocalService.getCompanyEntries(companyId,
473                            displayDate, queryDefinition);
474            }
475    
476            @Override
477            public int getCompanyEntriesCount(long companyId,
478                    java.util.Date displayDate,
479                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
480                    return _blogsEntryLocalService.getCompanyEntriesCount(companyId,
481                            displayDate, queryDefinition);
482            }
483    
484            @Override
485            public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
486                    long entryId)
487                    throws com.liferay.portal.kernel.exception.PortalException {
488                    return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
489            }
490    
491            @Override
492            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
493                    throws com.liferay.portal.kernel.exception.PortalException {
494                    return _blogsEntryLocalService.getEntry(entryId);
495            }
496    
497            @Override
498            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
499                    java.lang.String urlTitle)
500                    throws com.liferay.portal.kernel.exception.PortalException {
501                    return _blogsEntryLocalService.getEntry(groupId, urlTitle);
502            }
503    
504            @Override
505            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
506                    com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
507                    return _blogsEntryLocalService.getExportActionableDynamicQuery(portletDataContext);
508            }
509    
510            @Override
511            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
512                    long groupId, java.util.Date displayDate,
513                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
514                    return _blogsEntryLocalService.getGroupEntries(groupId, displayDate,
515                            queryDefinition);
516            }
517    
518            @Override
519            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
520                    long groupId,
521                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
522                    return _blogsEntryLocalService.getGroupEntries(groupId, queryDefinition);
523            }
524    
525            @Override
526            public int getGroupEntriesCount(long groupId, java.util.Date displayDate,
527                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
528                    return _blogsEntryLocalService.getGroupEntriesCount(groupId,
529                            displayDate, queryDefinition);
530            }
531    
532            @Override
533            public int getGroupEntriesCount(long groupId,
534                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
535                    return _blogsEntryLocalService.getGroupEntriesCount(groupId,
536                            queryDefinition);
537            }
538    
539            @Override
540            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
541                    long groupId, long userId, java.util.Date displayDate,
542                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
543                    return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
544                            displayDate, queryDefinition);
545            }
546    
547            @Override
548            public int getGroupUserEntriesCount(long groupId, long userId,
549                    java.util.Date displayDate,
550                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
551                    return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
552                            userId, displayDate, queryDefinition);
553            }
554    
555            @Override
556            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
557                    long companyId, long groupId, java.util.Date displayDate,
558                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
559                    return _blogsEntryLocalService.getGroupsEntries(companyId, groupId,
560                            displayDate, queryDefinition);
561            }
562    
563            @Override
564            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
565                    return _blogsEntryLocalService.getIndexableActionableDynamicQuery();
566            }
567    
568            @Override
569            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries() {
570                    return _blogsEntryLocalService.getNoAssetEntries();
571            }
572    
573            /**
574            * Returns the OSGi service identifier.
575            *
576            * @return the OSGi service identifier
577            */
578            @Override
579            public java.lang.String getOSGiServiceIdentifier() {
580                    return _blogsEntryLocalService.getOSGiServiceIdentifier();
581            }
582    
583            @Override
584            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
585                    long organizationId, java.util.Date displayDate,
586                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
587                    return _blogsEntryLocalService.getOrganizationEntries(organizationId,
588                            displayDate, queryDefinition);
589            }
590    
591            @Override
592            public int getOrganizationEntriesCount(long organizationId,
593                    java.util.Date displayDate,
594                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
595                    return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
596                            displayDate, queryDefinition);
597            }
598    
599            @Override
600            public com.liferay.portal.model.PersistedModel getPersistedModel(
601                    java.io.Serializable primaryKeyObj)
602                    throws com.liferay.portal.kernel.exception.PortalException {
603                    return _blogsEntryLocalService.getPersistedModel(primaryKeyObj);
604            }
605    
606            @Override
607            public void moveEntriesToTrash(long groupId, long userId)
608                    throws com.liferay.portal.kernel.exception.PortalException {
609                    _blogsEntryLocalService.moveEntriesToTrash(groupId, userId);
610            }
611    
612            /**
613            * Moves the blogs entry to the recycle bin. Social activity counters for
614            * this entry get disabled.
615            *
616            * @param userId the primary key of the user moving the blogs entry
617            * @param entry the blogs entry to be moved
618            * @return the moved blogs entry
619            */
620            @Override
621            public com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
622                    long userId, com.liferay.portlet.blogs.model.BlogsEntry entry)
623                    throws com.liferay.portal.kernel.exception.PortalException {
624                    return _blogsEntryLocalService.moveEntryToTrash(userId, entry);
625            }
626    
627            /**
628            * Moves the blogs entry with the ID to the recycle bin.
629            *
630            * @param userId the primary key of the user moving the blogs entry
631            * @param entryId the primary key of the blogs entry to be moved
632            * @return the moved blogs entry
633            */
634            @Override
635            public com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
636                    long userId, long entryId)
637                    throws com.liferay.portal.kernel.exception.PortalException {
638                    return _blogsEntryLocalService.moveEntryToTrash(userId, entryId);
639            }
640    
641            /**
642            * Restores the blogs entry with the ID from the recycle bin. Social
643            * activity counters for this entry get activated.
644            *
645            * @param userId the primary key of the user restoring the blogs entry
646            * @param entryId the primary key of the blogs entry to be restored
647            * @return the restored blogs entry from the recycle bin
648            */
649            @Override
650            public com.liferay.portlet.blogs.model.BlogsEntry restoreEntryFromTrash(
651                    long userId, long entryId)
652                    throws com.liferay.portal.kernel.exception.PortalException {
653                    return _blogsEntryLocalService.restoreEntryFromTrash(userId, entryId);
654            }
655    
656            @Override
657            public void subscribe(long userId, long groupId)
658                    throws com.liferay.portal.kernel.exception.PortalException {
659                    _blogsEntryLocalService.subscribe(userId, groupId);
660            }
661    
662            @Override
663            public void unsubscribe(long userId, long groupId)
664                    throws com.liferay.portal.kernel.exception.PortalException {
665                    _blogsEntryLocalService.unsubscribe(userId, groupId);
666            }
667    
668            @Override
669            public void updateAsset(long userId,
670                    com.liferay.portlet.blogs.model.BlogsEntry entry,
671                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
672                    long[] assetLinkEntryIds, java.lang.Double priority)
673                    throws com.liferay.portal.kernel.exception.PortalException {
674                    _blogsEntryLocalService.updateAsset(userId, entry, assetCategoryIds,
675                            assetTagNames, assetLinkEntryIds, priority);
676            }
677    
678            /**
679            * Updates the blogs entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
680            *
681            * @param blogsEntry the blogs entry
682            * @return the blogs entry that was updated
683            */
684            @Override
685            public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
686                    com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
687                    return _blogsEntryLocalService.updateBlogsEntry(blogsEntry);
688            }
689    
690            @Override
691            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
692                    long entryId, java.lang.String title, java.lang.String content,
693                    com.liferay.portal.service.ServiceContext serviceContext)
694                    throws com.liferay.portal.kernel.exception.PortalException {
695                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
696                            content, serviceContext);
697            }
698    
699            /**
700            * @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, long,
701            String, String, String, String, int, int, int, int, int,
702            boolean, boolean, String[], String, ImageSelector,
703            ImageSelector, ServiceContext)}
704            */
705            @Deprecated
706            @Override
707            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
708                    long entryId, java.lang.String title, java.lang.String description,
709                    java.lang.String content, int displayDateMonth, int displayDateDay,
710                    int displayDateYear, int displayDateHour, int displayDateMinute,
711                    boolean allowPingbacks, boolean allowTrackbacks,
712                    java.lang.String[] trackbacks, boolean smallImage,
713                    java.lang.String smallImageURL, java.lang.String smallImageFileName,
714                    java.io.InputStream smallImageInputStream,
715                    com.liferay.portal.service.ServiceContext serviceContext)
716                    throws com.liferay.portal.kernel.exception.PortalException {
717                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
718                            description, content, displayDateMonth, displayDateDay,
719                            displayDateYear, displayDateHour, displayDateMinute,
720                            allowPingbacks, allowTrackbacks, trackbacks, smallImage,
721                            smallImageURL, smallImageFileName, smallImageInputStream,
722                            serviceContext);
723            }
724    
725            @Override
726            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
727                    long entryId, java.lang.String title, java.lang.String subtitle,
728                    java.lang.String description, java.lang.String content,
729                    java.util.Date displayDate, boolean allowPingbacks,
730                    boolean allowTrackbacks, java.lang.String[] trackbacks,
731                    java.lang.String coverImageCaption,
732                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
733                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
734                    com.liferay.portal.service.ServiceContext serviceContext)
735                    throws com.liferay.portal.kernel.exception.PortalException {
736                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
737                            subtitle, description, content, displayDate, allowPingbacks,
738                            allowTrackbacks, trackbacks, coverImageCaption,
739                            coverImageImageSelector, smallImageImageSelector, serviceContext);
740            }
741    
742            @Override
743            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
744                    long entryId, java.lang.String title, java.lang.String subtitle,
745                    java.lang.String description, java.lang.String content,
746                    int displayDateMonth, int displayDateDay, int displayDateYear,
747                    int displayDateHour, int displayDateMinute, boolean allowPingbacks,
748                    boolean allowTrackbacks, java.lang.String[] trackbacks,
749                    java.lang.String coverImageCaption,
750                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
751                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
752                    com.liferay.portal.service.ServiceContext serviceContext)
753                    throws com.liferay.portal.kernel.exception.PortalException {
754                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
755                            subtitle, description, content, displayDateMonth, displayDateDay,
756                            displayDateYear, displayDateHour, displayDateMinute,
757                            allowPingbacks, allowTrackbacks, trackbacks, coverImageCaption,
758                            coverImageImageSelector, smallImageImageSelector, serviceContext);
759            }
760    
761            @Override
762            public void updateEntryResources(
763                    com.liferay.portlet.blogs.model.BlogsEntry entry,
764                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
765                    throws com.liferay.portal.kernel.exception.PortalException {
766                    _blogsEntryLocalService.updateEntryResources(entry, groupPermissions,
767                            guestPermissions);
768            }
769    
770            @Override
771            public void updateEntryResources(
772                    com.liferay.portlet.blogs.model.BlogsEntry entry,
773                    com.liferay.portal.service.permission.ModelPermissions modelPermissions)
774                    throws com.liferay.portal.kernel.exception.PortalException {
775                    _blogsEntryLocalService.updateEntryResources(entry, modelPermissions);
776            }
777    
778            /**
779            * @deprecated As of 7.0.0, replaced by {@link #updateStatus(long, long,
780            int, ServiceContext, Map)}
781            */
782            @Deprecated
783            @Override
784            public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
785                    long userId, long entryId, int status,
786                    com.liferay.portal.service.ServiceContext serviceContext)
787                    throws com.liferay.portal.kernel.exception.PortalException {
788                    return _blogsEntryLocalService.updateStatus(userId, entryId, status,
789                            serviceContext);
790            }
791    
792            @Override
793            public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
794                    long userId, long entryId, int status,
795                    com.liferay.portal.service.ServiceContext serviceContext,
796                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
797                    throws com.liferay.portal.kernel.exception.PortalException {
798                    return _blogsEntryLocalService.updateStatus(userId, entryId, status,
799                            serviceContext, workflowContext);
800            }
801    
802            @Override
803            public BlogsEntryLocalService getWrappedService() {
804                    return _blogsEntryLocalService;
805            }
806    
807            @Override
808            public void setWrappedService(BlogsEntryLocalService blogsEntryLocalService) {
809                    _blogsEntryLocalService = blogsEntryLocalService;
810            }
811    
812            private BlogsEntryLocalService _blogsEntryLocalService;
813    }