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.blogs.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.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.blogs.kernel.model.BlogsEntry addBlogsEntry(
051                    com.liferay.blogs.kernel.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.blogs.kernel.model.BlogsEntry addEntry(long userId,
064                    java.lang.String title, java.lang.String content,
065                    java.util.Date displayDate,
066                    com.liferay.portal.kernel.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.blogs.kernel.model.BlogsEntry addEntry(long userId,
074                    java.lang.String title, java.lang.String content,
075                    com.liferay.portal.kernel.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.blogs.kernel.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.kernel.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.blogs.kernel.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.kernel.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.blogs.kernel.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.kernel.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.blogs.kernel.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.blogs.kernel.model.BlogsEntry entry,
154                    com.liferay.portal.kernel.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.kernel.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.blogs.kernel.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.blogs.kernel.model.BlogsEntry deleteBlogsEntry(
216                    com.liferay.blogs.kernel.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.blogs.kernel.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.blogs.kernel.model.BlogsEntry deleteEntry(
242                    com.liferay.blogs.kernel.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.kernel.model.PersistedModel deletePersistedModel(
258                    com.liferay.portal.kernel.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.blogs.kernel.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.blogs.kernel.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.blogs.kernel.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.blogs.kernel.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.blogs.kernel.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
422                    java.lang.String uuid, long companyId, int start, int end,
423                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.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.blogs.kernel.model.BlogsEntry getBlogsEntry(long entryId)
447                    throws com.liferay.portal.kernel.exception.PortalException {
448                    return _blogsEntryLocalService.getBlogsEntry(entryId);
449            }
450    
451            /**
452            * Returns the blogs entry matching the UUID and group.
453            *
454            * @param uuid the blogs entry's UUID
455            * @param groupId the primary key of the group
456            * @return the matching blogs entry
457            * @throws PortalException if a matching blogs entry could not be found
458            */
459            @Override
460            public com.liferay.blogs.kernel.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
461                    java.lang.String uuid, long groupId)
462                    throws com.liferay.portal.kernel.exception.PortalException {
463                    return _blogsEntryLocalService.getBlogsEntryByUuidAndGroupId(uuid,
464                            groupId);
465            }
466    
467            @Override
468            public java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getCompanyEntries(
469                    long companyId, java.util.Date displayDate,
470                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
471                    return _blogsEntryLocalService.getCompanyEntries(companyId,
472                            displayDate, queryDefinition);
473            }
474    
475            @Override
476            public int getCompanyEntriesCount(long companyId,
477                    java.util.Date displayDate,
478                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
479                    return _blogsEntryLocalService.getCompanyEntriesCount(companyId,
480                            displayDate, queryDefinition);
481            }
482    
483            @Override
484            public com.liferay.blogs.kernel.model.BlogsEntry[] getEntriesPrevAndNext(
485                    long entryId)
486                    throws com.liferay.portal.kernel.exception.PortalException {
487                    return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
488            }
489    
490            @Override
491            public com.liferay.blogs.kernel.model.BlogsEntry getEntry(long entryId)
492                    throws com.liferay.portal.kernel.exception.PortalException {
493                    return _blogsEntryLocalService.getEntry(entryId);
494            }
495    
496            @Override
497            public com.liferay.blogs.kernel.model.BlogsEntry getEntry(long groupId,
498                    java.lang.String urlTitle)
499                    throws com.liferay.portal.kernel.exception.PortalException {
500                    return _blogsEntryLocalService.getEntry(groupId, urlTitle);
501            }
502    
503            @Override
504            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
505                    com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) {
506                    return _blogsEntryLocalService.getExportActionableDynamicQuery(portletDataContext);
507            }
508    
509            @Override
510            public java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupEntries(
511                    long groupId, java.util.Date displayDate,
512                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
513                    return _blogsEntryLocalService.getGroupEntries(groupId, displayDate,
514                            queryDefinition);
515            }
516    
517            @Override
518            public java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupEntries(
519                    long groupId,
520                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
521                    return _blogsEntryLocalService.getGroupEntries(groupId, queryDefinition);
522            }
523    
524            @Override
525            public int getGroupEntriesCount(long groupId, java.util.Date displayDate,
526                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
527                    return _blogsEntryLocalService.getGroupEntriesCount(groupId,
528                            displayDate, queryDefinition);
529            }
530    
531            @Override
532            public int getGroupEntriesCount(long groupId,
533                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
534                    return _blogsEntryLocalService.getGroupEntriesCount(groupId,
535                            queryDefinition);
536            }
537    
538            @Override
539            public java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupUserEntries(
540                    long groupId, long userId, java.util.Date displayDate,
541                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
542                    return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
543                            displayDate, queryDefinition);
544            }
545    
546            @Override
547            public int getGroupUserEntriesCount(long groupId, long userId,
548                    java.util.Date displayDate,
549                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
550                    return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
551                            userId, displayDate, queryDefinition);
552            }
553    
554            @Override
555            public java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupsEntries(
556                    long companyId, long groupId, java.util.Date displayDate,
557                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
558                    return _blogsEntryLocalService.getGroupsEntries(companyId, groupId,
559                            displayDate, queryDefinition);
560            }
561    
562            @Override
563            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
564                    return _blogsEntryLocalService.getIndexableActionableDynamicQuery();
565            }
566    
567            @Override
568            public java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getNoAssetEntries() {
569                    return _blogsEntryLocalService.getNoAssetEntries();
570            }
571    
572            /**
573            * Returns the OSGi service identifier.
574            *
575            * @return the OSGi service identifier
576            */
577            @Override
578            public java.lang.String getOSGiServiceIdentifier() {
579                    return _blogsEntryLocalService.getOSGiServiceIdentifier();
580            }
581    
582            @Override
583            public java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getOrganizationEntries(
584                    long organizationId, java.util.Date displayDate,
585                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
586                    return _blogsEntryLocalService.getOrganizationEntries(organizationId,
587                            displayDate, queryDefinition);
588            }
589    
590            @Override
591            public int getOrganizationEntriesCount(long organizationId,
592                    java.util.Date displayDate,
593                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
594                    return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
595                            displayDate, queryDefinition);
596            }
597    
598            @Override
599            public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
600                    java.io.Serializable primaryKeyObj)
601                    throws com.liferay.portal.kernel.exception.PortalException {
602                    return _blogsEntryLocalService.getPersistedModel(primaryKeyObj);
603            }
604    
605            @Override
606            public void moveEntriesToTrash(long groupId, long userId)
607                    throws com.liferay.portal.kernel.exception.PortalException {
608                    _blogsEntryLocalService.moveEntriesToTrash(groupId, userId);
609            }
610    
611            /**
612            * Moves the blogs entry to the recycle bin. Social activity counters for
613            * this entry get disabled.
614            *
615            * @param userId the primary key of the user moving the blogs entry
616            * @param entry the blogs entry to be moved
617            * @return the moved blogs entry
618            */
619            @Override
620            public com.liferay.blogs.kernel.model.BlogsEntry moveEntryToTrash(
621                    long userId, com.liferay.blogs.kernel.model.BlogsEntry entry)
622                    throws com.liferay.portal.kernel.exception.PortalException {
623                    return _blogsEntryLocalService.moveEntryToTrash(userId, entry);
624            }
625    
626            /**
627            * Moves the blogs entry with the ID to the recycle bin.
628            *
629            * @param userId the primary key of the user moving the blogs entry
630            * @param entryId the primary key of the blogs entry to be moved
631            * @return the moved blogs entry
632            */
633            @Override
634            public com.liferay.blogs.kernel.model.BlogsEntry moveEntryToTrash(
635                    long userId, long entryId)
636                    throws com.liferay.portal.kernel.exception.PortalException {
637                    return _blogsEntryLocalService.moveEntryToTrash(userId, entryId);
638            }
639    
640            /**
641            * Restores the blogs entry with the ID from the recycle bin. Social
642            * activity counters for this entry get activated.
643            *
644            * @param userId the primary key of the user restoring the blogs entry
645            * @param entryId the primary key of the blogs entry to be restored
646            * @return the restored blogs entry from the recycle bin
647            */
648            @Override
649            public com.liferay.blogs.kernel.model.BlogsEntry restoreEntryFromTrash(
650                    long userId, long entryId)
651                    throws com.liferay.portal.kernel.exception.PortalException {
652                    return _blogsEntryLocalService.restoreEntryFromTrash(userId, entryId);
653            }
654    
655            @Override
656            public void subscribe(long userId, long groupId)
657                    throws com.liferay.portal.kernel.exception.PortalException {
658                    _blogsEntryLocalService.subscribe(userId, groupId);
659            }
660    
661            @Override
662            public void unsubscribe(long userId, long groupId)
663                    throws com.liferay.portal.kernel.exception.PortalException {
664                    _blogsEntryLocalService.unsubscribe(userId, groupId);
665            }
666    
667            @Override
668            public void updateAsset(long userId,
669                    com.liferay.blogs.kernel.model.BlogsEntry entry,
670                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
671                    long[] assetLinkEntryIds, java.lang.Double priority)
672                    throws com.liferay.portal.kernel.exception.PortalException {
673                    _blogsEntryLocalService.updateAsset(userId, entry, assetCategoryIds,
674                            assetTagNames, assetLinkEntryIds, priority);
675            }
676    
677            /**
678            * Updates the blogs entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
679            *
680            * @param blogsEntry the blogs entry
681            * @return the blogs entry that was updated
682            */
683            @Override
684            public com.liferay.blogs.kernel.model.BlogsEntry updateBlogsEntry(
685                    com.liferay.blogs.kernel.model.BlogsEntry blogsEntry) {
686                    return _blogsEntryLocalService.updateBlogsEntry(blogsEntry);
687            }
688    
689            @Override
690            public com.liferay.blogs.kernel.model.BlogsEntry updateEntry(long userId,
691                    long entryId, java.lang.String title, java.lang.String content,
692                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
693                    throws com.liferay.portal.kernel.exception.PortalException {
694                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
695                            content, serviceContext);
696            }
697    
698            /**
699            * @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, long,
700            String, String, String, String, int, int, int, int, int,
701            boolean, boolean, String[], String, ImageSelector,
702            ImageSelector, ServiceContext)}
703            */
704            @Deprecated
705            @Override
706            public com.liferay.blogs.kernel.model.BlogsEntry updateEntry(long userId,
707                    long entryId, java.lang.String title, java.lang.String description,
708                    java.lang.String content, int displayDateMonth, int displayDateDay,
709                    int displayDateYear, int displayDateHour, int displayDateMinute,
710                    boolean allowPingbacks, boolean allowTrackbacks,
711                    java.lang.String[] trackbacks, boolean smallImage,
712                    java.lang.String smallImageURL, java.lang.String smallImageFileName,
713                    java.io.InputStream smallImageInputStream,
714                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
715                    throws com.liferay.portal.kernel.exception.PortalException {
716                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
717                            description, content, displayDateMonth, displayDateDay,
718                            displayDateYear, displayDateHour, displayDateMinute,
719                            allowPingbacks, allowTrackbacks, trackbacks, smallImage,
720                            smallImageURL, smallImageFileName, smallImageInputStream,
721                            serviceContext);
722            }
723    
724            @Override
725            public com.liferay.blogs.kernel.model.BlogsEntry updateEntry(long userId,
726                    long entryId, java.lang.String title, java.lang.String subtitle,
727                    java.lang.String description, java.lang.String content,
728                    java.util.Date displayDate, boolean allowPingbacks,
729                    boolean allowTrackbacks, java.lang.String[] trackbacks,
730                    java.lang.String coverImageCaption,
731                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
732                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
733                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
734                    throws com.liferay.portal.kernel.exception.PortalException {
735                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
736                            subtitle, description, content, displayDate, allowPingbacks,
737                            allowTrackbacks, trackbacks, coverImageCaption,
738                            coverImageImageSelector, smallImageImageSelector, serviceContext);
739            }
740    
741            @Override
742            public com.liferay.blogs.kernel.model.BlogsEntry updateEntry(long userId,
743                    long entryId, java.lang.String title, java.lang.String subtitle,
744                    java.lang.String description, java.lang.String content,
745                    int displayDateMonth, int displayDateDay, int displayDateYear,
746                    int displayDateHour, int displayDateMinute, boolean allowPingbacks,
747                    boolean allowTrackbacks, java.lang.String[] trackbacks,
748                    java.lang.String coverImageCaption,
749                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
750                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
751                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
752                    throws com.liferay.portal.kernel.exception.PortalException {
753                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
754                            subtitle, description, content, displayDateMonth, displayDateDay,
755                            displayDateYear, displayDateHour, displayDateMinute,
756                            allowPingbacks, allowTrackbacks, trackbacks, coverImageCaption,
757                            coverImageImageSelector, smallImageImageSelector, serviceContext);
758            }
759    
760            @Override
761            public void updateEntryResources(
762                    com.liferay.blogs.kernel.model.BlogsEntry entry,
763                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
764                    throws com.liferay.portal.kernel.exception.PortalException {
765                    _blogsEntryLocalService.updateEntryResources(entry, groupPermissions,
766                            guestPermissions);
767            }
768    
769            @Override
770            public void updateEntryResources(
771                    com.liferay.blogs.kernel.model.BlogsEntry entry,
772                    com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions)
773                    throws com.liferay.portal.kernel.exception.PortalException {
774                    _blogsEntryLocalService.updateEntryResources(entry, modelPermissions);
775            }
776    
777            /**
778            * @deprecated As of 7.0.0, replaced by {@link #updateStatus(long, long,
779            int, ServiceContext, Map)}
780            */
781            @Deprecated
782            @Override
783            public com.liferay.blogs.kernel.model.BlogsEntry updateStatus(long userId,
784                    long entryId, int status,
785                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
786                    throws com.liferay.portal.kernel.exception.PortalException {
787                    return _blogsEntryLocalService.updateStatus(userId, entryId, status,
788                            serviceContext);
789            }
790    
791            @Override
792            public com.liferay.blogs.kernel.model.BlogsEntry updateStatus(long userId,
793                    long entryId, int status,
794                    com.liferay.portal.kernel.service.ServiceContext serviceContext,
795                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
796                    throws com.liferay.portal.kernel.exception.PortalException {
797                    return _blogsEntryLocalService.updateStatus(userId, entryId, status,
798                            serviceContext, workflowContext);
799            }
800    
801            @Override
802            public BlogsEntryLocalService getWrappedService() {
803                    return _blogsEntryLocalService;
804            }
805    
806            @Override
807            public void setWrappedService(BlogsEntryLocalService blogsEntryLocalService) {
808                    _blogsEntryLocalService = blogsEntryLocalService;
809            }
810    
811            private BlogsEntryLocalService _blogsEntryLocalService;
812    }