001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.blogs.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <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. 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.
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. 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.
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 matching the UUID and group.
192            *
193            * @param uuid the blogs entry's UUID
194            * @param groupId the primary key of the group
195            * @return the matching blogs entry
196            * @throws PortalException if a matching blogs entry 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. 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.
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 As of 6.2.0, replaced by {@link #getCompanyEntries(long,
345            Date, QueryDefinition)}
346            */
347            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
348                    long companyId, java.util.Date displayDate, int status, int start,
349                    int end) throws com.liferay.portal.kernel.exception.SystemException {
350                    return _blogsEntryLocalService.getCompanyEntries(companyId,
351                            displayDate, status, start, end);
352            }
353    
354            /**
355            * @deprecated As of 6.2.0, replaced by {@link #getCompanyEntries(long,
356            Date, QueryDefinition)}
357            */
358            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
359                    long companyId, java.util.Date displayDate, int status, int start,
360                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
361                    throws com.liferay.portal.kernel.exception.SystemException {
362                    return _blogsEntryLocalService.getCompanyEntries(companyId,
363                            displayDate, status, start, end, obc);
364            }
365    
366            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
367                    long companyId, java.util.Date displayDate,
368                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
369                    throws com.liferay.portal.kernel.exception.SystemException {
370                    return _blogsEntryLocalService.getCompanyEntries(companyId,
371                            displayDate, queryDefinition);
372            }
373    
374            /**
375            * @deprecated As of 6.2.0, replaced by {@link #getCompanyEntriesCount(long,
376            Date, QueryDefinition)}
377            */
378            public int getCompanyEntriesCount(long companyId,
379                    java.util.Date displayDate, int status)
380                    throws com.liferay.portal.kernel.exception.SystemException {
381                    return _blogsEntryLocalService.getCompanyEntriesCount(companyId,
382                            displayDate, status);
383            }
384    
385            public int getCompanyEntriesCount(long companyId,
386                    java.util.Date displayDate,
387                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
388                    throws com.liferay.portal.kernel.exception.SystemException {
389                    return _blogsEntryLocalService.getCompanyEntriesCount(companyId,
390                            displayDate, queryDefinition);
391            }
392    
393            public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
394                    long entryId)
395                    throws com.liferay.portal.kernel.exception.PortalException,
396                            com.liferay.portal.kernel.exception.SystemException {
397                    return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
398            }
399    
400            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
401                    throws com.liferay.portal.kernel.exception.PortalException,
402                            com.liferay.portal.kernel.exception.SystemException {
403                    return _blogsEntryLocalService.getEntry(entryId);
404            }
405    
406            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
407                    java.lang.String urlTitle)
408                    throws com.liferay.portal.kernel.exception.PortalException,
409                            com.liferay.portal.kernel.exception.SystemException {
410                    return _blogsEntryLocalService.getEntry(groupId, urlTitle);
411            }
412    
413            /**
414            * @deprecated As of 6.2.0, replaced by {@link #getGroupEntries(long, Date,
415            QueryDefinition)}
416            */
417            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
418                    long groupId, java.util.Date displayDate, int status, int start, int end)
419                    throws com.liferay.portal.kernel.exception.SystemException {
420                    return _blogsEntryLocalService.getGroupEntries(groupId, displayDate,
421                            status, start, end);
422            }
423    
424            /**
425            * @deprecated As of 6.2.0, replaced by {@link #getGroupEntries(long, Date,
426            QueryDefinition)}
427            */
428            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
429                    long groupId, java.util.Date displayDate, int status, int start,
430                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
431                    throws com.liferay.portal.kernel.exception.SystemException {
432                    return _blogsEntryLocalService.getGroupEntries(groupId, displayDate,
433                            status, start, end, obc);
434            }
435    
436            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
437                    long groupId, java.util.Date displayDate,
438                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
439                    throws com.liferay.portal.kernel.exception.SystemException {
440                    return _blogsEntryLocalService.getGroupEntries(groupId, displayDate,
441                            queryDefinition);
442            }
443    
444            /**
445            * @deprecated As of 6.2.0, replaced by {@link #getGroupEntries(long,
446            QueryDefinition)}
447            */
448            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
449                    long groupId, int status, int start, int end)
450                    throws com.liferay.portal.kernel.exception.SystemException {
451                    return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
452                            end);
453            }
454    
455            /**
456            * @deprecated As of 6.2.0, replaced by {@link #getGroupEntries(long,
457            QueryDefinition)}
458            */
459            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
460                    long groupId, int status, int start, int end,
461                    com.liferay.portal.kernel.util.OrderByComparator obc)
462                    throws com.liferay.portal.kernel.exception.SystemException {
463                    return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
464                            end, obc);
465            }
466    
467            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
468                    long groupId,
469                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
470                    throws com.liferay.portal.kernel.exception.SystemException {
471                    return _blogsEntryLocalService.getGroupEntries(groupId, queryDefinition);
472            }
473    
474            /**
475            * @deprecated As of 6.2.0, replaced by {@link #getGroupEntriesCount(long,
476            Date, QueryDefinition)}
477            */
478            public int getGroupEntriesCount(long groupId, java.util.Date displayDate,
479                    int status) throws com.liferay.portal.kernel.exception.SystemException {
480                    return _blogsEntryLocalService.getGroupEntriesCount(groupId,
481                            displayDate, status);
482            }
483    
484            public int getGroupEntriesCount(long groupId, java.util.Date displayDate,
485                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
486                    throws com.liferay.portal.kernel.exception.SystemException {
487                    return _blogsEntryLocalService.getGroupEntriesCount(groupId,
488                            displayDate, queryDefinition);
489            }
490    
491            /**
492            * @deprecated As of 6.2.0, replaced by {@link #getGroupEntriesCount(long,
493            QueryDefinition)}
494            */
495            public int getGroupEntriesCount(long groupId, int status)
496                    throws com.liferay.portal.kernel.exception.SystemException {
497                    return _blogsEntryLocalService.getGroupEntriesCount(groupId, status);
498            }
499    
500            public int getGroupEntriesCount(long groupId,
501                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
502                    throws com.liferay.portal.kernel.exception.SystemException {
503                    return _blogsEntryLocalService.getGroupEntriesCount(groupId,
504                            queryDefinition);
505            }
506    
507            /**
508            * @deprecated As of 6.2.0, replaced by {@link #getGroupsEntries(long, long,
509            Date, QueryDefinition)}
510            */
511            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
512                    long companyId, long groupId, java.util.Date displayDate, int status,
513                    int start, int end)
514                    throws com.liferay.portal.kernel.exception.SystemException {
515                    return _blogsEntryLocalService.getGroupsEntries(companyId, groupId,
516                            displayDate, status, start, end);
517            }
518    
519            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
520                    long companyId, long groupId, java.util.Date displayDate,
521                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
522                    throws com.liferay.portal.kernel.exception.SystemException {
523                    return _blogsEntryLocalService.getGroupsEntries(companyId, groupId,
524                            displayDate, queryDefinition);
525            }
526    
527            /**
528            * @deprecated As of 6.2.0, replaced by {@link #getGroupUserEntries(long,
529            long, Date, QueryDefinition)}
530            */
531            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
532                    long groupId, long userId, java.util.Date displayDate, int status,
533                    int start, int end)
534                    throws com.liferay.portal.kernel.exception.SystemException {
535                    return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
536                            displayDate, status, start, end);
537            }
538    
539            /**
540            * @deprecated As of 6.2.0, replaced by {@link #getGroupUserEntries(long,
541            long, Date, QueryDefinition)}
542            */
543            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
544                    long groupId, long userId, java.util.Date displayDate, int status,
545                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
546                    throws com.liferay.portal.kernel.exception.SystemException {
547                    return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
548                            displayDate, status, start, end, obc);
549            }
550    
551            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
552                    long groupId, long userId, java.util.Date displayDate,
553                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
554                    throws com.liferay.portal.kernel.exception.SystemException {
555                    return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
556                            displayDate, queryDefinition);
557            }
558    
559            /**
560            * @deprecated As of 6.2.0, replaced by {@link
561            #getGroupUserEntriesCount(long, long, Date, QueryDefinition)}
562            */
563            public int getGroupUserEntriesCount(long groupId, long userId,
564                    java.util.Date displayDate, int status)
565                    throws com.liferay.portal.kernel.exception.SystemException {
566                    return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
567                            userId, displayDate, status);
568            }
569    
570            public int getGroupUserEntriesCount(long groupId, long userId,
571                    java.util.Date displayDate,
572                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
573                    throws com.liferay.portal.kernel.exception.SystemException {
574                    return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
575                            userId, displayDate, queryDefinition);
576            }
577    
578            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
579                    throws com.liferay.portal.kernel.exception.SystemException {
580                    return _blogsEntryLocalService.getNoAssetEntries();
581            }
582    
583            /**
584            * @deprecated As of 6.2.0, replaced by {@link #getOrganizationEntries(long,
585            Date, QueryDefinition)}
586            */
587            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
588                    long organizationId, java.util.Date displayDate, int status, int start,
589                    int end) throws com.liferay.portal.kernel.exception.SystemException {
590                    return _blogsEntryLocalService.getOrganizationEntries(organizationId,
591                            displayDate, status, start, end);
592            }
593    
594            /**
595            * @deprecated As of 6.2.0, replaced by {@link #getOrganizationEntries(long,
596            Date, QueryDefinition)}
597            */
598            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
599                    long organizationId, java.util.Date displayDate, int status, int start,
600                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
601                    throws com.liferay.portal.kernel.exception.SystemException {
602                    return _blogsEntryLocalService.getOrganizationEntries(organizationId,
603                            displayDate, status, start, end, obc);
604            }
605    
606            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
607                    long organizationId, java.util.Date displayDate,
608                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
609                    throws com.liferay.portal.kernel.exception.SystemException {
610                    return _blogsEntryLocalService.getOrganizationEntries(organizationId,
611                            displayDate, queryDefinition);
612            }
613    
614            /**
615            * @deprecated As of 6.2.0, replaced by {@link
616            #getOrganizationEntriesCount(long, Date, QueryDefinition)}
617            */
618            public int getOrganizationEntriesCount(long organizationId,
619                    java.util.Date displayDate, int status)
620                    throws com.liferay.portal.kernel.exception.SystemException {
621                    return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
622                            displayDate, status);
623            }
624    
625            public int getOrganizationEntriesCount(long organizationId,
626                    java.util.Date displayDate,
627                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
628                    throws com.liferay.portal.kernel.exception.SystemException {
629                    return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
630                            displayDate, queryDefinition);
631            }
632    
633            public void moveEntriesToTrash(long groupId, long userId)
634                    throws com.liferay.portal.kernel.exception.PortalException,
635                            com.liferay.portal.kernel.exception.SystemException {
636                    _blogsEntryLocalService.moveEntriesToTrash(groupId, userId);
637            }
638    
639            /**
640            * Moves the blogs entry to the recycle bin. Social activity counters for
641            * this entry get disabled.
642            *
643            * @param userId the primary key of the user moving the blogs entry
644            * @param entry the blogs entry to be moved
645            * @return the moved blogs entry
646            * @throws PortalException if a user with the primary key could not be found
647            or if the blogs entry owner's social activity counter could not
648            be updated
649            * @throws SystemException if a system exception occurred
650            */
651            public com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
652                    long userId, com.liferay.portlet.blogs.model.BlogsEntry entry)
653                    throws com.liferay.portal.kernel.exception.PortalException,
654                            com.liferay.portal.kernel.exception.SystemException {
655                    return _blogsEntryLocalService.moveEntryToTrash(userId, entry);
656            }
657    
658            /**
659            * Moves the blogs entry with the ID to the recycle bin.
660            *
661            * @param userId the primary key of the user moving the blogs entry
662            * @param entryId the primary key of the blogs entry to be moved
663            * @return the moved blogs entry
664            * @throws PortalException if a user or blogs entry with the primary key
665            could not be found or if the blogs entry owner's social activity
666            counter could not be updated
667            * @throws SystemException if a system exception occurred
668            */
669            public com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
670                    long userId, long entryId)
671                    throws com.liferay.portal.kernel.exception.PortalException,
672                            com.liferay.portal.kernel.exception.SystemException {
673                    return _blogsEntryLocalService.moveEntryToTrash(userId, entryId);
674            }
675    
676            /**
677            * Restores the blogs entry with the ID from the recycle bin. Social
678            * activity counters for this entry get activated.
679            *
680            * @param userId the primary key of the user restoring the blogs entry
681            * @param entryId the primary key of the blogs entry to be restored
682            * @throws PortalException if a user or blogs entry with the primary key
683            could not be found or if the blogs entry owner's social activity
684            counter could not be updated
685            * @throws SystemException if a system exception occurred
686            */
687            public void restoreEntryFromTrash(long userId, long entryId)
688                    throws com.liferay.portal.kernel.exception.PortalException,
689                            com.liferay.portal.kernel.exception.SystemException {
690                    _blogsEntryLocalService.restoreEntryFromTrash(userId, entryId);
691            }
692    
693            public void subscribe(long userId, long groupId)
694                    throws com.liferay.portal.kernel.exception.PortalException,
695                            com.liferay.portal.kernel.exception.SystemException {
696                    _blogsEntryLocalService.subscribe(userId, groupId);
697            }
698    
699            public void unsubscribe(long userId, long groupId)
700                    throws com.liferay.portal.kernel.exception.PortalException,
701                            com.liferay.portal.kernel.exception.SystemException {
702                    _blogsEntryLocalService.unsubscribe(userId, groupId);
703            }
704    
705            public void updateAsset(long userId,
706                    com.liferay.portlet.blogs.model.BlogsEntry entry,
707                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
708                    long[] assetLinkEntryIds)
709                    throws com.liferay.portal.kernel.exception.PortalException,
710                            com.liferay.portal.kernel.exception.SystemException {
711                    _blogsEntryLocalService.updateAsset(userId, entry, assetCategoryIds,
712                            assetTagNames, assetLinkEntryIds);
713            }
714    
715            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
716                    long entryId, java.lang.String title, java.lang.String description,
717                    java.lang.String content, int displayDateMonth, int displayDateDay,
718                    int displayDateYear, int displayDateHour, int displayDateMinute,
719                    boolean allowPingbacks, boolean allowTrackbacks,
720                    java.lang.String[] trackbacks, boolean smallImage,
721                    java.lang.String smallImageURL, java.lang.String smallImageFileName,
722                    java.io.InputStream smallImageInputStream,
723                    com.liferay.portal.service.ServiceContext serviceContext)
724                    throws com.liferay.portal.kernel.exception.PortalException,
725                            com.liferay.portal.kernel.exception.SystemException {
726                    return _blogsEntryLocalService.updateEntry(userId, entryId, title,
727                            description, content, displayDateMonth, displayDateDay,
728                            displayDateYear, displayDateHour, displayDateMinute,
729                            allowPingbacks, allowTrackbacks, trackbacks, smallImage,
730                            smallImageURL, smallImageFileName, smallImageInputStream,
731                            serviceContext);
732            }
733    
734            public void updateEntryResources(
735                    com.liferay.portlet.blogs.model.BlogsEntry entry,
736                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
737                    throws com.liferay.portal.kernel.exception.PortalException,
738                            com.liferay.portal.kernel.exception.SystemException {
739                    _blogsEntryLocalService.updateEntryResources(entry, groupPermissions,
740                            guestPermissions);
741            }
742    
743            public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
744                    long userId, long entryId, int status,
745                    com.liferay.portal.service.ServiceContext serviceContext)
746                    throws com.liferay.portal.kernel.exception.PortalException,
747                            com.liferay.portal.kernel.exception.SystemException {
748                    return _blogsEntryLocalService.updateStatus(userId, entryId, status,
749                            serviceContext);
750            }
751    
752            /**
753             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
754             */
755            public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
756                    return _blogsEntryLocalService;
757            }
758    
759            /**
760             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
761             */
762            public void setWrappedBlogsEntryLocalService(
763                    BlogsEntryLocalService blogsEntryLocalService) {
764                    _blogsEntryLocalService = blogsEntryLocalService;
765            }
766    
767            public BlogsEntryLocalService getWrappedService() {
768                    return _blogsEntryLocalService;
769            }
770    
771            public void setWrappedService(BlogsEntryLocalService blogsEntryLocalService) {
772                    _blogsEntryLocalService = blogsEntryLocalService;
773            }
774    
775            private BlogsEntryLocalService _blogsEntryLocalService;
776    }