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