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