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 com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
057                    java.lang.String title, java.lang.String content,
058                    java.util.Date displayDate,
059                    com.liferay.portal.service.ServiceContext serviceContext)
060                    throws com.liferay.portal.kernel.exception.PortalException {
061                    return _blogsEntryLocalService.addEntry(userId, title, content,
062                            displayDate, serviceContext);
063            }
064    
065            @Override
066            public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
067                    java.lang.String title, java.lang.String content,
068                    com.liferay.portal.service.ServiceContext serviceContext)
069                    throws com.liferay.portal.kernel.exception.PortalException {
070                    return _blogsEntryLocalService.addEntry(userId, title, content,
071                            serviceContext);
072            }
073    
074            /**
075            * @deprecated As of 7.0.0, replaced by {@link #addEntry(long, String,
076            String, String, String, int, int, int, int, int, boolean,
077            boolean, String[], String, ImageSelector, ImageSelector,
078            ServiceContext)}
079            */
080            @Deprecated
081            @Override
082            public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
083                    java.lang.String title, java.lang.String description,
084                    java.lang.String content, int displayDateMonth, int displayDateDay,
085                    int displayDateYear, int displayDateHour, int displayDateMinute,
086                    boolean allowPingbacks, boolean allowTrackbacks,
087                    java.lang.String[] trackbacks, boolean smallImage,
088                    java.lang.String smallImageURL, java.lang.String smallImageFileName,
089                    java.io.InputStream smallImageInputStream,
090                    com.liferay.portal.service.ServiceContext serviceContext)
091                    throws com.liferay.portal.kernel.exception.PortalException {
092                    return _blogsEntryLocalService.addEntry(userId, title, description,
093                            content, displayDateMonth, displayDateDay, displayDateYear,
094                            displayDateHour, displayDateMinute, allowPingbacks,
095                            allowTrackbacks, trackbacks, smallImage, smallImageURL,
096                            smallImageFileName, smallImageInputStream, serviceContext);
097            }
098    
099            @Override
100            public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
101                    java.lang.String title, java.lang.String subtitle,
102                    java.lang.String description, java.lang.String content,
103                    java.util.Date displayDate, boolean allowPingbacks,
104                    boolean allowTrackbacks, java.lang.String[] trackbacks,
105                    java.lang.String coverImageCaption,
106                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
107                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
108                    com.liferay.portal.service.ServiceContext serviceContext)
109                    throws com.liferay.portal.kernel.exception.PortalException {
110                    return _blogsEntryLocalService.addEntry(userId, title, subtitle,
111                            description, content, displayDate, allowPingbacks, allowTrackbacks,
112                            trackbacks, coverImageCaption, coverImageImageSelector,
113                            smallImageImageSelector, serviceContext);
114            }
115    
116            @Override
117            public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
118                    java.lang.String title, java.lang.String subtitle,
119                    java.lang.String description, java.lang.String content,
120                    int displayDateMonth, int displayDateDay, int displayDateYear,
121                    int displayDateHour, int displayDateMinute, boolean allowPingbacks,
122                    boolean allowTrackbacks, java.lang.String[] trackbacks,
123                    java.lang.String coverImageCaption,
124                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
125                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
126                    com.liferay.portal.service.ServiceContext serviceContext)
127                    throws com.liferay.portal.kernel.exception.PortalException {
128                    return _blogsEntryLocalService.addEntry(userId, title, subtitle,
129                            description, content, displayDateMonth, displayDateDay,
130                            displayDateYear, displayDateHour, displayDateMinute,
131                            allowPingbacks, allowTrackbacks, trackbacks, coverImageCaption,
132                            coverImageImageSelector, smallImageImageSelector, serviceContext);
133            }
134    
135            @Override
136            public void addEntryResources(
137                    com.liferay.portlet.blogs.model.BlogsEntry entry,
138                    boolean addGroupPermissions, boolean addGuestPermissions)
139                    throws com.liferay.portal.kernel.exception.PortalException {
140                    _blogsEntryLocalService.addEntryResources(entry, addGroupPermissions,
141                            addGuestPermissions);
142            }
143    
144            @Override
145            public void addEntryResources(
146                    com.liferay.portlet.blogs.model.BlogsEntry entry,
147                    com.liferay.portal.service.permission.ModelPermissions modelPermissions)
148                    throws com.liferay.portal.kernel.exception.PortalException {
149                    _blogsEntryLocalService.addEntryResources(entry, modelPermissions);
150            }
151    
152            @Override
153            public void addEntryResources(long entryId, boolean addGroupPermissions,
154                    boolean addGuestPermissions)
155                    throws com.liferay.portal.kernel.exception.PortalException {
156                    _blogsEntryLocalService.addEntryResources(entryId, addGroupPermissions,
157                            addGuestPermissions);
158            }
159    
160            @Override
161            public void addEntryResources(long entryId,
162                    com.liferay.portal.service.permission.ModelPermissions modelPermissions)
163                    throws com.liferay.portal.kernel.exception.PortalException {
164                    _blogsEntryLocalService.addEntryResources(entryId, modelPermissions);
165            }
166    
167            @Override
168            public void checkEntries()
169                    throws com.liferay.portal.kernel.exception.PortalException {
170                    _blogsEntryLocalService.checkEntries();
171            }
172    
173            /**
174            * Creates a new blogs entry with the primary key. Does not add the blogs entry to the database.
175            *
176            * @param entryId the primary key for the new blogs entry
177            * @return the new blogs entry
178            */
179            @Override
180            public com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(
181                    long entryId) {
182                    return _blogsEntryLocalService.createBlogsEntry(entryId);
183            }
184    
185            /**
186            * Deletes the blogs entry from the database. Also notifies the appropriate model listeners.
187            *
188            * @param blogsEntry the blogs entry
189            * @return the blogs entry that was removed
190            */
191            @Override
192            public com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
193                    com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
194                    return _blogsEntryLocalService.deleteBlogsEntry(blogsEntry);
195            }
196    
197            /**
198            * Deletes the blogs entry with the primary key from the database. Also notifies the appropriate model listeners.
199            *
200            * @param entryId the primary key of the blogs entry
201            * @return the blogs entry that was removed
202            * @throws PortalException if a blogs entry with the primary key could not be found
203            */
204            @Override
205            public com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
206                    long entryId)
207                    throws com.liferay.portal.kernel.exception.PortalException {
208                    return _blogsEntryLocalService.deleteBlogsEntry(entryId);
209            }
210    
211            @Override
212            public void deleteEntries(long groupId)
213                    throws com.liferay.portal.kernel.exception.PortalException {
214                    _blogsEntryLocalService.deleteEntries(groupId);
215            }
216    
217            @Override
218            public com.liferay.portlet.blogs.model.BlogsEntry deleteEntry(
219                    com.liferay.portlet.blogs.model.BlogsEntry entry)
220                    throws com.liferay.portal.kernel.exception.PortalException {
221                    return _blogsEntryLocalService.deleteEntry(entry);
222            }
223    
224            @Override
225            public void deleteEntry(long entryId)
226                    throws com.liferay.portal.kernel.exception.PortalException {
227                    _blogsEntryLocalService.deleteEntry(entryId);
228            }
229    
230            /**
231            * @throws PortalException
232            */
233            @Override
234            public com.liferay.portal.model.PersistedModel deletePersistedModel(
235                    com.liferay.portal.model.PersistedModel persistedModel)
236                    throws com.liferay.portal.kernel.exception.PortalException {
237                    return _blogsEntryLocalService.deletePersistedModel(persistedModel);
238            }
239    
240            @Override
241            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
242                    return _blogsEntryLocalService.dynamicQuery();
243            }
244    
245            /**
246            * Performs a dynamic query on the database and returns the matching rows.
247            *
248            * @param dynamicQuery the dynamic query
249            * @return the matching rows
250            */
251            @Override
252            public <T> java.util.List<T> dynamicQuery(
253                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
254                    return _blogsEntryLocalService.dynamicQuery(dynamicQuery);
255            }
256    
257            /**
258            * Performs a dynamic query on the database and returns a range of the matching rows.
259            *
260            * <p>
261            * 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.
262            * </p>
263            *
264            * @param dynamicQuery the dynamic query
265            * @param start the lower bound of the range of model instances
266            * @param end the upper bound of the range of model instances (not inclusive)
267            * @return the range of matching rows
268            */
269            @Override
270            public <T> java.util.List<T> dynamicQuery(
271                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
272                    int end) {
273                    return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
274            }
275    
276            /**
277            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
278            *
279            * <p>
280            * 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.
281            * </p>
282            *
283            * @param dynamicQuery the dynamic query
284            * @param start the lower bound of the range of model instances
285            * @param end the upper bound of the range of model instances (not inclusive)
286            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
287            * @return the ordered range of matching rows
288            */
289            @Override
290            public <T> java.util.List<T> dynamicQuery(
291                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
292                    int end,
293                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
294                    return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end,
295                            orderByComparator);
296            }
297    
298            /**
299            * Returns the number of rows matching the dynamic query.
300            *
301            * @param dynamicQuery the dynamic query
302            * @return the number of rows matching the dynamic query
303            */
304            @Override
305            public long dynamicQueryCount(
306                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
307                    return _blogsEntryLocalService.dynamicQueryCount(dynamicQuery);
308            }
309    
310            /**
311            * Returns the number of rows matching the dynamic query.
312            *
313            * @param dynamicQuery the dynamic query
314            * @param projection the projection to apply to the query
315            * @return the number of rows matching the dynamic query
316            */
317            @Override
318            public long dynamicQueryCount(
319                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
320                    com.liferay.portal.kernel.dao.orm.Projection projection) {
321                    return _blogsEntryLocalService.dynamicQueryCount(dynamicQuery,
322                            projection);
323            }
324    
325            @Override
326            public com.liferay.portal.kernel.repository.model.Folder fetchAttachmentsFolder(
327                    long userId, long groupId) {
328                    return _blogsEntryLocalService.fetchAttachmentsFolder(userId, groupId);
329            }
330    
331            @Override
332            public com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntry(
333                    long entryId) {
334                    return _blogsEntryLocalService.fetchBlogsEntry(entryId);
335            }
336    
337            /**
338            * Returns the blogs entry matching the UUID and group.
339            *
340            * @param uuid the blogs entry's UUID
341            * @param groupId the primary key of the group
342            * @return the matching blogs entry, or <code>null</code> if a matching blogs entry could not be found
343            */
344            @Override
345            public com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntryByUuidAndGroupId(
346                    java.lang.String uuid, long groupId) {
347                    return _blogsEntryLocalService.fetchBlogsEntryByUuidAndGroupId(uuid,
348                            groupId);
349            }
350    
351            @Override
352            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
353                    return _blogsEntryLocalService.getActionableDynamicQuery();
354            }
355    
356            /**
357            * Returns a range of all the blogs entries.
358            *
359            * <p>
360            * 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.
361            * </p>
362            *
363            * @param start the lower bound of the range of blogs entries
364            * @param end the upper bound of the range of blogs entries (not inclusive)
365            * @return the range of blogs entries
366            */
367            @Override
368            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
369                    int start, int end) {
370                    return _blogsEntryLocalService.getBlogsEntries(start, end);
371            }
372    
373            /**
374            * Returns all the blogs entries matching the UUID and company.
375            *
376            * @param uuid the UUID of the blogs entries
377            * @param companyId the primary key of the company
378            * @return the matching blogs entries, or an empty list if no matches were found
379            */
380            @Override
381            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
382                    java.lang.String uuid, long companyId) {
383                    return _blogsEntryLocalService.getBlogsEntriesByUuidAndCompanyId(uuid,
384                            companyId);
385            }
386    
387            /**
388            * Returns a range of blogs entries matching the UUID and company.
389            *
390            * @param uuid the UUID of the blogs entries
391            * @param companyId the primary key of the company
392            * @param start the lower bound of the range of blogs entries
393            * @param end the upper bound of the range of blogs entries (not inclusive)
394            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
395            * @return the range of matching blogs entries, or an empty list if no matches were found
396            */
397            @Override
398            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
399                    java.lang.String uuid, long companyId, int start, int end,
400                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> orderByComparator) {
401                    return _blogsEntryLocalService.getBlogsEntriesByUuidAndCompanyId(uuid,
402                            companyId, start, end, orderByComparator);
403            }
404    
405            /**
406            * Returns the number of blogs entries.
407            *
408            * @return the number of blogs entries
409            */
410            @Override
411            public int getBlogsEntriesCount() {
412                    return _blogsEntryLocalService.getBlogsEntriesCount();
413            }
414    
415            /**
416            * Returns the blogs entry with the primary key.
417            *
418            * @param entryId the primary key of the blogs entry
419            * @return the blogs entry
420            * @throws PortalException if a blogs entry with the primary key could not be found
421            */
422            @Override
423            public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
424                    long entryId)
425                    throws com.liferay.portal.kernel.exception.PortalException {
426                    return _blogsEntryLocalService.getBlogsEntry(entryId);
427            }
428    
429            /**
430            * Returns the blogs entry matching the UUID and group.
431            *
432            * @param uuid the blogs entry's UUID
433            * @param groupId the primary key of the group
434            * @return the matching blogs entry
435            * @throws PortalException if a matching blogs entry could not be found
436            */
437            @Override
438            public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
439                    java.lang.String uuid, long groupId)
440                    throws com.liferay.portal.kernel.exception.PortalException {
441                    return _blogsEntryLocalService.getBlogsEntryByUuidAndGroupId(uuid,
442                            groupId);
443            }
444    
445            @Override
446            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
447                    long companyId, java.util.Date displayDate,
448                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
449                    return _blogsEntryLocalService.getCompanyEntries(companyId,
450                            displayDate, queryDefinition);
451            }
452    
453            /**
454            * @deprecated As of 6.2.0, replaced by {@link #getCompanyEntries(long,
455            Date, QueryDefinition)}
456            */
457            @Deprecated
458            @Override
459            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
460                    long companyId, java.util.Date displayDate, int status, int start,
461                    int end) {
462                    return _blogsEntryLocalService.getCompanyEntries(companyId,
463                            displayDate, status, start, end);
464            }
465    
466            /**
467            * @deprecated As of 6.2.0, replaced by {@link #getCompanyEntries(long,
468            Date, QueryDefinition)}
469            */
470            @Deprecated
471            @Override
472            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
473                    long companyId, java.util.Date displayDate, int status, int start,
474                    int end,
475                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
476                    return _blogsEntryLocalService.getCompanyEntries(companyId,
477                            displayDate, status, start, end, obc);
478            }
479    
480            @Override
481            public int getCompanyEntriesCount(long companyId,
482                    java.util.Date displayDate,
483                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
484                    return _blogsEntryLocalService.getCompanyEntriesCount(companyId,
485                            displayDate, queryDefinition);
486            }
487    
488            /**
489            * @deprecated As of 6.2.0, replaced by {@link #getCompanyEntriesCount(long,
490            Date, QueryDefinition)}
491            */
492            @Deprecated
493            @Override
494            public int getCompanyEntriesCount(long companyId,
495                    java.util.Date displayDate, int status) {
496                    return _blogsEntryLocalService.getCompanyEntriesCount(companyId,
497                            displayDate, status);
498            }
499    
500            @Override
501            public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
502                    long entryId)
503                    throws com.liferay.portal.kernel.exception.PortalException {
504                    return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
505            }
506    
507            @Override
508            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
509                    throws com.liferay.portal.kernel.exception.PortalException {
510                    return _blogsEntryLocalService.getEntry(entryId);
511            }
512    
513            @Override
514            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
515                    java.lang.String urlTitle)
516                    throws com.liferay.portal.kernel.exception.PortalException {
517                    return _blogsEntryLocalService.getEntry(groupId, urlTitle);
518            }
519    
520            @Override
521            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
522                    com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
523                    return _blogsEntryLocalService.getExportActionableDynamicQuery(portletDataContext);
524            }
525    
526            @Override
527            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
528                    long groupId, java.util.Date displayDate,
529                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
530                    return _blogsEntryLocalService.getGroupEntries(groupId, displayDate,
531                            queryDefinition);
532            }
533    
534            /**
535            * @deprecated As of 6.2.0, replaced by {@link #getGroupEntries(long, Date,
536            QueryDefinition)}
537            */
538            @Deprecated
539            @Override
540            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
541                    long groupId, java.util.Date displayDate, int status, int start, int end) {
542                    return _blogsEntryLocalService.getGroupEntries(groupId, displayDate,
543                            status, start, end);
544            }
545    
546            /**
547            * @deprecated As of 6.2.0, replaced by {@link #getGroupEntries(long, Date,
548            QueryDefinition)}
549            */
550            @Deprecated
551            @Override
552            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
553                    long groupId, java.util.Date displayDate, int status, int start,
554                    int end,
555                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
556                    return _blogsEntryLocalService.getGroupEntries(groupId, displayDate,
557                            status, start, end, obc);
558            }
559    
560            @Override
561            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
562                    long groupId,
563                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
564                    return _blogsEntryLocalService.getGroupEntries(groupId, queryDefinition);
565            }
566    
567            /**
568            * @deprecated As of 6.2.0, replaced by {@link #getGroupEntries(long,
569            QueryDefinition)}
570            */
571            @Deprecated
572            @Override
573            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
574                    long groupId, int status, int start, int end) {
575                    return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
576                            end);
577            }
578    
579            /**
580            * @deprecated As of 6.2.0, replaced by {@link #getGroupEntries(long,
581            QueryDefinition)}
582            */
583            @Deprecated
584            @Override
585            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
586                    long groupId, int status, int start, int end,
587                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
588                    return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
589                            end, obc);
590            }
591    
592            @Override
593            public int getGroupEntriesCount(long groupId, java.util.Date displayDate,
594                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
595                    return _blogsEntryLocalService.getGroupEntriesCount(groupId,
596                            displayDate, queryDefinition);
597            }
598    
599            /**
600            * @deprecated As of 6.2.0, replaced by {@link #getGroupEntriesCount(long,
601            Date, QueryDefinition)}
602            */
603            @Deprecated
604            @Override
605            public int getGroupEntriesCount(long groupId, java.util.Date displayDate,
606                    int status) {
607                    return _blogsEntryLocalService.getGroupEntriesCount(groupId,
608                            displayDate, status);
609            }
610    
611            @Override
612            public int getGroupEntriesCount(long groupId,
613                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
614                    return _blogsEntryLocalService.getGroupEntriesCount(groupId,
615                            queryDefinition);
616            }
617    
618            /**
619            * @deprecated As of 6.2.0, replaced by {@link #getGroupEntriesCount(long,
620            QueryDefinition)}
621            */
622            @Deprecated
623            @Override
624            public int getGroupEntriesCount(long groupId, int status) {
625                    return _blogsEntryLocalService.getGroupEntriesCount(groupId, status);
626            }
627    
628            @Override
629            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
630                    long groupId, long userId, java.util.Date displayDate,
631                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
632                    return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
633                            displayDate, queryDefinition);
634            }
635    
636            /**
637            * @deprecated As of 6.2.0, replaced by {@link #getGroupUserEntries(long,
638            long, Date, QueryDefinition)}
639            */
640            @Deprecated
641            @Override
642            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
643                    long groupId, long userId, java.util.Date displayDate, int status,
644                    int start, int end) {
645                    return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
646                            displayDate, status, start, end);
647            }
648    
649            /**
650            * @deprecated As of 6.2.0, replaced by {@link #getGroupUserEntries(long,
651            long, Date, QueryDefinition)}
652            */
653            @Deprecated
654            @Override
655            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
656                    long groupId, long userId, java.util.Date displayDate, int status,
657                    int start, int end,
658                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
659                    return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
660                            displayDate, status, start, end, obc);
661            }
662    
663            @Override
664            public int getGroupUserEntriesCount(long groupId, long userId,
665                    java.util.Date displayDate,
666                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
667                    return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
668                            userId, displayDate, queryDefinition);
669            }
670    
671            /**
672            * @deprecated As of 6.2.0, replaced by {@link
673            #getGroupUserEntriesCount(long, long, Date, QueryDefinition)}
674            */
675            @Deprecated
676            @Override
677            public int getGroupUserEntriesCount(long groupId, long userId,
678                    java.util.Date displayDate, int status) {
679                    return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
680                            userId, displayDate, status);
681            }
682    
683            @Override
684            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
685                    long companyId, long groupId, java.util.Date displayDate,
686                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
687                    return _blogsEntryLocalService.getGroupsEntries(companyId, groupId,
688                            displayDate, queryDefinition);
689            }
690    
691            /**
692            * @deprecated As of 6.2.0, replaced by {@link #getGroupsEntries(long, long,
693            Date, QueryDefinition)}
694            */
695            @Deprecated
696            @Override
697            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
698                    long companyId, long groupId, java.util.Date displayDate, int status,
699                    int start, int end) {
700                    return _blogsEntryLocalService.getGroupsEntries(companyId, groupId,
701                            displayDate, status, start, end);
702            }
703    
704            @Override
705            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
706                    return _blogsEntryLocalService.getIndexableActionableDynamicQuery();
707            }
708    
709            @Override
710            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries() {
711                    return _blogsEntryLocalService.getNoAssetEntries();
712            }
713    
714            /**
715            * Returns the OSGi service identifier.
716            *
717            * @return the OSGi service identifier
718            */
719            @Override
720            public java.lang.String getOSGiServiceIdentifier() {
721                    return _blogsEntryLocalService.getOSGiServiceIdentifier();
722            }
723    
724            @Override
725            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
726                    long organizationId, java.util.Date displayDate,
727                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
728                    return _blogsEntryLocalService.getOrganizationEntries(organizationId,
729                            displayDate, queryDefinition);
730            }
731    
732            /**
733            * @deprecated As of 6.2.0, replaced by {@link #getOrganizationEntries(long,
734            Date, QueryDefinition)}
735            */
736            @Deprecated
737            @Override
738            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
739                    long organizationId, java.util.Date displayDate, int status, int start,
740                    int end) {
741                    return _blogsEntryLocalService.getOrganizationEntries(organizationId,
742                            displayDate, status, start, end);
743            }
744    
745            /**
746            * @deprecated As of 6.2.0, replaced by {@link #getOrganizationEntries(long,
747            Date, QueryDefinition)}
748            */
749            @Deprecated
750            @Override
751            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
752                    long organizationId, java.util.Date displayDate, int status, int start,
753                    int end,
754                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
755                    return _blogsEntryLocalService.getOrganizationEntries(organizationId,
756                            displayDate, status, start, end, obc);
757            }
758    
759            @Override
760            public int getOrganizationEntriesCount(long organizationId,
761                    java.util.Date displayDate,
762                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
763                    return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
764                            displayDate, queryDefinition);
765            }
766    
767            /**
768            * @deprecated As of 6.2.0, replaced by {@link
769            #getOrganizationEntriesCount(long, Date, QueryDefinition)}
770            */
771            @Deprecated
772            @Override
773            public int getOrganizationEntriesCount(long organizationId,
774                    java.util.Date displayDate, int status) {
775                    return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
776                            displayDate, status);
777            }
778    
779            @Override
780            public com.liferay.portal.model.PersistedModel getPersistedModel(
781                    java.io.Serializable primaryKeyObj)
782                    throws com.liferay.portal.kernel.exception.PortalException {
783                    return _blogsEntryLocalService.getPersistedModel(primaryKeyObj);
784            }
785    
786            @Override
787            public void moveEntriesToTrash(long groupId, long userId)
788                    throws com.liferay.portal.kernel.exception.PortalException {
789                    _blogsEntryLocalService.moveEntriesToTrash(groupId, userId);
790            }
791    
792            /**
793            * Moves the blogs entry to the recycle bin. Social activity counters for
794            * this entry get disabled.
795            *
796            * @param userId the primary key of the user moving the blogs entry
797            * @param entry the blogs entry to be moved
798            * @return the moved blogs entry
799            */
800            @Override
801            public com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
802                    long userId, com.liferay.portlet.blogs.model.BlogsEntry entry)
803                    throws com.liferay.portal.kernel.exception.PortalException {
804                    return _blogsEntryLocalService.moveEntryToTrash(userId, entry);
805            }
806    
807            /**
808            * Moves the blogs entry with the ID to the recycle bin.
809            *
810            * @param userId the primary key of the user moving the blogs entry
811            * @param entryId the primary key of the blogs entry to be moved
812            * @return the moved blogs entry
813            */
814            @Override
815            public com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
816                    long userId, long entryId)
817                    throws com.liferay.portal.kernel.exception.PortalException {
818                    return _blogsEntryLocalService.moveEntryToTrash(userId, entryId);
819            }
820    
821            /**
822            * Restores the blogs entry with the ID from the recycle bin. Social
823            * activity counters for this entry get activated.
824            *
825            * @param userId the primary key of the user restoring the blogs entry
826            * @param entryId the primary key of the blogs entry to be restored
827            * @return the restored blogs entry from the recycle bin
828            */
829            @Override
830            public com.liferay.portlet.blogs.model.BlogsEntry restoreEntryFromTrash(
831                    long userId, long entryId)
832                    throws com.liferay.portal.kernel.exception.PortalException {
833                    return _blogsEntryLocalService.restoreEntryFromTrash(userId, entryId);
834            }
835    
836            @Override
837            public void subscribe(long userId, long groupId)
838                    throws com.liferay.portal.kernel.exception.PortalException {
839                    _blogsEntryLocalService.subscribe(userId, groupId);
840            }
841    
842            @Override
843            public void unsubscribe(long userId, long groupId)
844                    throws com.liferay.portal.kernel.exception.PortalException {
845                    _blogsEntryLocalService.unsubscribe(userId, groupId);
846            }
847    
848            @Override
849            public void updateAsset(long userId,
850                    com.liferay.portlet.blogs.model.BlogsEntry entry,
851                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
852                    long[] assetLinkEntryIds)
853                    throws com.liferay.portal.kernel.exception.PortalException {
854                    _blogsEntryLocalService.updateAsset(userId, entry, assetCategoryIds,
855                            assetTagNames, assetLinkEntryIds);
856            }
857    
858            /**
859            * Updates the blogs entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
860            *
861            * @param blogsEntry the blogs entry
862            * @return the blogs entry that was updated
863            */
864            @Override
865            public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
866                    com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
867                    return _blogsEntryLocalService.updateBlogsEntry(blogsEntry);
868            }
869    
870            @Override
871            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
872                    long entryId, java.lang.String title, java.lang.String content,
873                    com.liferay.portal.service.ServiceContext serviceContext)
874                    throws com.liferay.portal.kernel.exception.PortalException {
875                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
876                            content, serviceContext);
877            }
878    
879            /**
880            * @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, long,
881            String, String, String, String, int, int, int, int, int,
882            boolean, boolean, String[], String, ImageSelector,
883            ImageSelector, ServiceContext)}
884            */
885            @Deprecated
886            @Override
887            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
888                    long entryId, java.lang.String title, java.lang.String description,
889                    java.lang.String content, int displayDateMonth, int displayDateDay,
890                    int displayDateYear, int displayDateHour, int displayDateMinute,
891                    boolean allowPingbacks, boolean allowTrackbacks,
892                    java.lang.String[] trackbacks, boolean smallImage,
893                    java.lang.String smallImageURL, java.lang.String smallImageFileName,
894                    java.io.InputStream smallImageInputStream,
895                    com.liferay.portal.service.ServiceContext serviceContext)
896                    throws com.liferay.portal.kernel.exception.PortalException {
897                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
898                            description, content, displayDateMonth, displayDateDay,
899                            displayDateYear, displayDateHour, displayDateMinute,
900                            allowPingbacks, allowTrackbacks, trackbacks, smallImage,
901                            smallImageURL, smallImageFileName, smallImageInputStream,
902                            serviceContext);
903            }
904    
905            @Override
906            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
907                    long entryId, java.lang.String title, java.lang.String subtitle,
908                    java.lang.String description, java.lang.String content,
909                    java.util.Date displayDate, boolean allowPingbacks,
910                    boolean allowTrackbacks, java.lang.String[] trackbacks,
911                    java.lang.String coverImageCaption,
912                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
913                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
914                    com.liferay.portal.service.ServiceContext serviceContext)
915                    throws com.liferay.portal.kernel.exception.PortalException {
916                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
917                            subtitle, description, content, displayDate, allowPingbacks,
918                            allowTrackbacks, trackbacks, coverImageCaption,
919                            coverImageImageSelector, smallImageImageSelector, serviceContext);
920            }
921    
922            @Override
923            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
924                    long entryId, java.lang.String title, java.lang.String subtitle,
925                    java.lang.String description, java.lang.String content,
926                    int displayDateMonth, int displayDateDay, int displayDateYear,
927                    int displayDateHour, int displayDateMinute, boolean allowPingbacks,
928                    boolean allowTrackbacks, java.lang.String[] trackbacks,
929                    java.lang.String coverImageCaption,
930                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
931                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
932                    com.liferay.portal.service.ServiceContext serviceContext)
933                    throws com.liferay.portal.kernel.exception.PortalException {
934                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
935                            subtitle, description, content, displayDateMonth, displayDateDay,
936                            displayDateYear, displayDateHour, displayDateMinute,
937                            allowPingbacks, allowTrackbacks, trackbacks, coverImageCaption,
938                            coverImageImageSelector, smallImageImageSelector, serviceContext);
939            }
940    
941            @Override
942            public void updateEntryResources(
943                    com.liferay.portlet.blogs.model.BlogsEntry entry,
944                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
945                    throws com.liferay.portal.kernel.exception.PortalException {
946                    _blogsEntryLocalService.updateEntryResources(entry, groupPermissions,
947                            guestPermissions);
948            }
949    
950            @Override
951            public void updateEntryResources(
952                    com.liferay.portlet.blogs.model.BlogsEntry entry,
953                    com.liferay.portal.service.permission.ModelPermissions modelPermissions)
954                    throws com.liferay.portal.kernel.exception.PortalException {
955                    _blogsEntryLocalService.updateEntryResources(entry, modelPermissions);
956            }
957    
958            /**
959            * @deprecated As of 7.0.0, replaced by {@link #updateStatus(long, long,
960            int, ServiceContext, Map)}
961            */
962            @Deprecated
963            @Override
964            public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
965                    long userId, long entryId, int status,
966                    com.liferay.portal.service.ServiceContext serviceContext)
967                    throws com.liferay.portal.kernel.exception.PortalException {
968                    return _blogsEntryLocalService.updateStatus(userId, entryId, status,
969                            serviceContext);
970            }
971    
972            @Override
973            public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
974                    long userId, long entryId, int status,
975                    com.liferay.portal.service.ServiceContext serviceContext,
976                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
977                    throws com.liferay.portal.kernel.exception.PortalException {
978                    return _blogsEntryLocalService.updateStatus(userId, entryId, status,
979                            serviceContext, workflowContext);
980            }
981    
982            /**
983             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
984             */
985            @Deprecated
986            public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
987                    return _blogsEntryLocalService;
988            }
989    
990            /**
991             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
992             */
993            @Deprecated
994            public void setWrappedBlogsEntryLocalService(
995                    BlogsEntryLocalService blogsEntryLocalService) {
996                    _blogsEntryLocalService = blogsEntryLocalService;
997            }
998    
999            @Override
1000            public BlogsEntryLocalService getWrappedService() {
1001                    return _blogsEntryLocalService;
1002            }
1003    
1004            @Override
1005            public void setWrappedService(BlogsEntryLocalService blogsEntryLocalService) {
1006                    _blogsEntryLocalService = blogsEntryLocalService;
1007            }
1008    
1009            private BlogsEntryLocalService _blogsEntryLocalService;
1010    }