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 java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries() {
706                    return _blogsEntryLocalService.getNoAssetEntries();
707            }
708    
709            /**
710            * Returns the OSGi service identifier.
711            *
712            * @return the OSGi service identifier
713            */
714            @Override
715            public java.lang.String getOSGiServiceIdentifier() {
716                    return _blogsEntryLocalService.getOSGiServiceIdentifier();
717            }
718    
719            @Override
720            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
721                    long organizationId, java.util.Date displayDate,
722                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
723                    return _blogsEntryLocalService.getOrganizationEntries(organizationId,
724                            displayDate, queryDefinition);
725            }
726    
727            /**
728            * @deprecated As of 6.2.0, replaced by {@link #getOrganizationEntries(long,
729            Date, QueryDefinition)}
730            */
731            @Deprecated
732            @Override
733            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
734                    long organizationId, java.util.Date displayDate, int status, int start,
735                    int end) {
736                    return _blogsEntryLocalService.getOrganizationEntries(organizationId,
737                            displayDate, status, start, end);
738            }
739    
740            /**
741            * @deprecated As of 6.2.0, replaced by {@link #getOrganizationEntries(long,
742            Date, QueryDefinition)}
743            */
744            @Deprecated
745            @Override
746            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
747                    long organizationId, java.util.Date displayDate, int status, int start,
748                    int end,
749                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
750                    return _blogsEntryLocalService.getOrganizationEntries(organizationId,
751                            displayDate, status, start, end, obc);
752            }
753    
754            @Override
755            public int getOrganizationEntriesCount(long organizationId,
756                    java.util.Date displayDate,
757                    com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
758                    return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
759                            displayDate, queryDefinition);
760            }
761    
762            /**
763            * @deprecated As of 6.2.0, replaced by {@link
764            #getOrganizationEntriesCount(long, Date, QueryDefinition)}
765            */
766            @Deprecated
767            @Override
768            public int getOrganizationEntriesCount(long organizationId,
769                    java.util.Date displayDate, int status) {
770                    return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
771                            displayDate, status);
772            }
773    
774            @Override
775            public com.liferay.portal.model.PersistedModel getPersistedModel(
776                    java.io.Serializable primaryKeyObj)
777                    throws com.liferay.portal.kernel.exception.PortalException {
778                    return _blogsEntryLocalService.getPersistedModel(primaryKeyObj);
779            }
780    
781            @Override
782            public void moveEntriesToTrash(long groupId, long userId)
783                    throws com.liferay.portal.kernel.exception.PortalException {
784                    _blogsEntryLocalService.moveEntriesToTrash(groupId, userId);
785            }
786    
787            /**
788            * Moves the blogs entry to the recycle bin. Social activity counters for
789            * this entry get disabled.
790            *
791            * @param userId the primary key of the user moving the blogs entry
792            * @param entry the blogs entry to be moved
793            * @return the moved blogs entry
794            */
795            @Override
796            public com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
797                    long userId, com.liferay.portlet.blogs.model.BlogsEntry entry)
798                    throws com.liferay.portal.kernel.exception.PortalException {
799                    return _blogsEntryLocalService.moveEntryToTrash(userId, entry);
800            }
801    
802            /**
803            * Moves the blogs entry with the ID to the recycle bin.
804            *
805            * @param userId the primary key of the user moving the blogs entry
806            * @param entryId the primary key of the blogs entry to be moved
807            * @return the moved blogs entry
808            */
809            @Override
810            public com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
811                    long userId, long entryId)
812                    throws com.liferay.portal.kernel.exception.PortalException {
813                    return _blogsEntryLocalService.moveEntryToTrash(userId, entryId);
814            }
815    
816            /**
817            * Restores the blogs entry with the ID from the recycle bin. Social
818            * activity counters for this entry get activated.
819            *
820            * @param userId the primary key of the user restoring the blogs entry
821            * @param entryId the primary key of the blogs entry to be restored
822            * @return the restored blogs entry from the recycle bin
823            */
824            @Override
825            public com.liferay.portlet.blogs.model.BlogsEntry restoreEntryFromTrash(
826                    long userId, long entryId)
827                    throws com.liferay.portal.kernel.exception.PortalException {
828                    return _blogsEntryLocalService.restoreEntryFromTrash(userId, entryId);
829            }
830    
831            @Override
832            public void subscribe(long userId, long groupId)
833                    throws com.liferay.portal.kernel.exception.PortalException {
834                    _blogsEntryLocalService.subscribe(userId, groupId);
835            }
836    
837            @Override
838            public void unsubscribe(long userId, long groupId)
839                    throws com.liferay.portal.kernel.exception.PortalException {
840                    _blogsEntryLocalService.unsubscribe(userId, groupId);
841            }
842    
843            @Override
844            public void updateAsset(long userId,
845                    com.liferay.portlet.blogs.model.BlogsEntry entry,
846                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
847                    long[] assetLinkEntryIds)
848                    throws com.liferay.portal.kernel.exception.PortalException {
849                    _blogsEntryLocalService.updateAsset(userId, entry, assetCategoryIds,
850                            assetTagNames, assetLinkEntryIds);
851            }
852    
853            /**
854            * Updates the blogs entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
855            *
856            * @param blogsEntry the blogs entry
857            * @return the blogs entry that was updated
858            */
859            @Override
860            public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
861                    com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
862                    return _blogsEntryLocalService.updateBlogsEntry(blogsEntry);
863            }
864    
865            @Override
866            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
867                    long entryId, java.lang.String title, java.lang.String content,
868                    com.liferay.portal.service.ServiceContext serviceContext)
869                    throws com.liferay.portal.kernel.exception.PortalException {
870                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
871                            content, serviceContext);
872            }
873    
874            /**
875            * @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, long,
876            String, String, String, String, int, int, int, int, int,
877            boolean, boolean, String[], String, ImageSelector,
878            ImageSelector, ServiceContext)}
879            */
880            @Deprecated
881            @Override
882            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
883                    long entryId, java.lang.String title, java.lang.String description,
884                    java.lang.String content, int displayDateMonth, int displayDateDay,
885                    int displayDateYear, int displayDateHour, int displayDateMinute,
886                    boolean allowPingbacks, boolean allowTrackbacks,
887                    java.lang.String[] trackbacks, boolean smallImage,
888                    java.lang.String smallImageURL, java.lang.String smallImageFileName,
889                    java.io.InputStream smallImageInputStream,
890                    com.liferay.portal.service.ServiceContext serviceContext)
891                    throws com.liferay.portal.kernel.exception.PortalException {
892                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
893                            description, content, displayDateMonth, displayDateDay,
894                            displayDateYear, displayDateHour, displayDateMinute,
895                            allowPingbacks, allowTrackbacks, trackbacks, smallImage,
896                            smallImageURL, smallImageFileName, smallImageInputStream,
897                            serviceContext);
898            }
899    
900            @Override
901            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
902                    long entryId, java.lang.String title, java.lang.String subtitle,
903                    java.lang.String description, java.lang.String content,
904                    java.util.Date displayDate, boolean allowPingbacks,
905                    boolean allowTrackbacks, java.lang.String[] trackbacks,
906                    java.lang.String coverImageCaption,
907                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
908                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
909                    com.liferay.portal.service.ServiceContext serviceContext)
910                    throws com.liferay.portal.kernel.exception.PortalException {
911                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
912                            subtitle, description, content, displayDate, allowPingbacks,
913                            allowTrackbacks, trackbacks, coverImageCaption,
914                            coverImageImageSelector, smallImageImageSelector, serviceContext);
915            }
916    
917            @Override
918            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
919                    long entryId, java.lang.String title, java.lang.String subtitle,
920                    java.lang.String description, java.lang.String content,
921                    int displayDateMonth, int displayDateDay, int displayDateYear,
922                    int displayDateHour, int displayDateMinute, boolean allowPingbacks,
923                    boolean allowTrackbacks, java.lang.String[] trackbacks,
924                    java.lang.String coverImageCaption,
925                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
926                    com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
927                    com.liferay.portal.service.ServiceContext serviceContext)
928                    throws com.liferay.portal.kernel.exception.PortalException {
929                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
930                            subtitle, description, content, displayDateMonth, displayDateDay,
931                            displayDateYear, displayDateHour, displayDateMinute,
932                            allowPingbacks, allowTrackbacks, trackbacks, coverImageCaption,
933                            coverImageImageSelector, smallImageImageSelector, serviceContext);
934            }
935    
936            @Override
937            public void updateEntryResources(
938                    com.liferay.portlet.blogs.model.BlogsEntry entry,
939                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
940                    throws com.liferay.portal.kernel.exception.PortalException {
941                    _blogsEntryLocalService.updateEntryResources(entry, groupPermissions,
942                            guestPermissions);
943            }
944    
945            @Override
946            public void updateEntryResources(
947                    com.liferay.portlet.blogs.model.BlogsEntry entry,
948                    com.liferay.portal.service.permission.ModelPermissions modelPermissions)
949                    throws com.liferay.portal.kernel.exception.PortalException {
950                    _blogsEntryLocalService.updateEntryResources(entry, modelPermissions);
951            }
952    
953            /**
954            * @deprecated As of 7.0.0, replaced by {@link #updateStatus(long, long,
955            int, ServiceContext, Map)}
956            */
957            @Deprecated
958            @Override
959            public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
960                    long userId, long entryId, int status,
961                    com.liferay.portal.service.ServiceContext serviceContext)
962                    throws com.liferay.portal.kernel.exception.PortalException {
963                    return _blogsEntryLocalService.updateStatus(userId, entryId, status,
964                            serviceContext);
965            }
966    
967            @Override
968            public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
969                    long userId, long entryId, int status,
970                    com.liferay.portal.service.ServiceContext serviceContext,
971                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
972                    throws com.liferay.portal.kernel.exception.PortalException {
973                    return _blogsEntryLocalService.updateStatus(userId, entryId, status,
974                            serviceContext, workflowContext);
975            }
976    
977            /**
978             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
979             */
980            @Deprecated
981            public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
982                    return _blogsEntryLocalService;
983            }
984    
985            /**
986             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
987             */
988            @Deprecated
989            public void setWrappedBlogsEntryLocalService(
990                    BlogsEntryLocalService blogsEntryLocalService) {
991                    _blogsEntryLocalService = blogsEntryLocalService;
992            }
993    
994            @Override
995            public BlogsEntryLocalService getWrappedService() {
996                    return _blogsEntryLocalService;
997            }
998    
999            @Override
1000            public void setWrappedService(BlogsEntryLocalService blogsEntryLocalService) {
1001                    _blogsEntryLocalService = blogsEntryLocalService;
1002            }
1003    
1004            private BlogsEntryLocalService _blogsEntryLocalService;
1005    }