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