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