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