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