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