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