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.journal.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * Provides a wrapper for {@link JournalFolderLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see JournalFolderLocalService
024     * @generated
025     */
026    public class JournalFolderLocalServiceWrapper
027            implements JournalFolderLocalService,
028                    ServiceWrapper<JournalFolderLocalService> {
029            public JournalFolderLocalServiceWrapper(
030                    JournalFolderLocalService journalFolderLocalService) {
031                    _journalFolderLocalService = journalFolderLocalService;
032            }
033    
034            /**
035            * Adds the journal folder to the database. Also notifies the appropriate model listeners.
036            *
037            * @param journalFolder the journal folder
038            * @return the journal folder that was added
039            * @throws SystemException if a system exception occurred
040            */
041            @Override
042            public com.liferay.portlet.journal.model.JournalFolder addJournalFolder(
043                    com.liferay.portlet.journal.model.JournalFolder journalFolder)
044                    throws com.liferay.portal.kernel.exception.SystemException {
045                    return _journalFolderLocalService.addJournalFolder(journalFolder);
046            }
047    
048            /**
049            * Creates a new journal folder with the primary key. Does not add the journal folder to the database.
050            *
051            * @param folderId the primary key for the new journal folder
052            * @return the new journal folder
053            */
054            @Override
055            public com.liferay.portlet.journal.model.JournalFolder createJournalFolder(
056                    long folderId) {
057                    return _journalFolderLocalService.createJournalFolder(folderId);
058            }
059    
060            /**
061            * Deletes the journal folder with the primary key from the database. Also notifies the appropriate model listeners.
062            *
063            * @param folderId the primary key of the journal folder
064            * @return the journal folder that was removed
065            * @throws PortalException if a journal folder with the primary key could not be found
066            * @throws SystemException if a system exception occurred
067            */
068            @Override
069            public com.liferay.portlet.journal.model.JournalFolder deleteJournalFolder(
070                    long folderId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _journalFolderLocalService.deleteJournalFolder(folderId);
074            }
075    
076            /**
077            * Deletes the journal folder from the database. Also notifies the appropriate model listeners.
078            *
079            * @param journalFolder the journal folder
080            * @return the journal folder that was removed
081            * @throws SystemException if a system exception occurred
082            */
083            @Override
084            public com.liferay.portlet.journal.model.JournalFolder deleteJournalFolder(
085                    com.liferay.portlet.journal.model.JournalFolder journalFolder)
086                    throws com.liferay.portal.kernel.exception.SystemException {
087                    return _journalFolderLocalService.deleteJournalFolder(journalFolder);
088            }
089    
090            @Override
091            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
092                    return _journalFolderLocalService.dynamicQuery();
093            }
094    
095            /**
096            * Performs a dynamic query on the database and returns the matching rows.
097            *
098            * @param dynamicQuery the dynamic query
099            * @return the matching rows
100            * @throws SystemException if a system exception occurred
101            */
102            @Override
103            @SuppressWarnings("rawtypes")
104            public java.util.List dynamicQuery(
105                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106                    throws com.liferay.portal.kernel.exception.SystemException {
107                    return _journalFolderLocalService.dynamicQuery(dynamicQuery);
108            }
109    
110            /**
111            * Performs a dynamic query on the database and returns a range of the matching rows.
112            *
113            * <p>
114            * 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.journal.model.impl.JournalFolderModelImpl}. 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.
115            * </p>
116            *
117            * @param dynamicQuery the dynamic query
118            * @param start the lower bound of the range of model instances
119            * @param end the upper bound of the range of model instances (not inclusive)
120            * @return the range of matching rows
121            * @throws SystemException if a system exception occurred
122            */
123            @Override
124            @SuppressWarnings("rawtypes")
125            public java.util.List dynamicQuery(
126                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127                    int end) throws com.liferay.portal.kernel.exception.SystemException {
128                    return _journalFolderLocalService.dynamicQuery(dynamicQuery, start, end);
129            }
130    
131            /**
132            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
133            *
134            * <p>
135            * 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.journal.model.impl.JournalFolderModelImpl}. 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.
136            * </p>
137            *
138            * @param dynamicQuery the dynamic query
139            * @param start the lower bound of the range of model instances
140            * @param end the upper bound of the range of model instances (not inclusive)
141            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
142            * @return the ordered range of matching rows
143            * @throws SystemException if a system exception occurred
144            */
145            @Override
146            @SuppressWarnings("rawtypes")
147            public java.util.List dynamicQuery(
148                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
149                    int end,
150                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151                    throws com.liferay.portal.kernel.exception.SystemException {
152                    return _journalFolderLocalService.dynamicQuery(dynamicQuery, start,
153                            end, orderByComparator);
154            }
155    
156            /**
157            * Returns the number of rows that match the dynamic query.
158            *
159            * @param dynamicQuery the dynamic query
160            * @return the number of rows that match the dynamic query
161            * @throws SystemException if a system exception occurred
162            */
163            @Override
164            public long dynamicQueryCount(
165                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
166                    throws com.liferay.portal.kernel.exception.SystemException {
167                    return _journalFolderLocalService.dynamicQueryCount(dynamicQuery);
168            }
169    
170            /**
171            * Returns the number of rows that match the dynamic query.
172            *
173            * @param dynamicQuery the dynamic query
174            * @param projection the projection to apply to the query
175            * @return the number of rows that match the dynamic query
176            * @throws SystemException if a system exception occurred
177            */
178            @Override
179            public long dynamicQueryCount(
180                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
181                    com.liferay.portal.kernel.dao.orm.Projection projection)
182                    throws com.liferay.portal.kernel.exception.SystemException {
183                    return _journalFolderLocalService.dynamicQueryCount(dynamicQuery,
184                            projection);
185            }
186    
187            @Override
188            public com.liferay.portlet.journal.model.JournalFolder fetchJournalFolder(
189                    long folderId)
190                    throws com.liferay.portal.kernel.exception.SystemException {
191                    return _journalFolderLocalService.fetchJournalFolder(folderId);
192            }
193    
194            /**
195            * Returns the journal folder with the matching UUID and company.
196            *
197            * @param uuid the journal folder's UUID
198            * @param companyId the primary key of the company
199            * @return the matching journal folder, or <code>null</code> if a matching journal folder could not be found
200            * @throws SystemException if a system exception occurred
201            */
202            @Override
203            public com.liferay.portlet.journal.model.JournalFolder fetchJournalFolderByUuidAndCompanyId(
204                    java.lang.String uuid, long companyId)
205                    throws com.liferay.portal.kernel.exception.SystemException {
206                    return _journalFolderLocalService.fetchJournalFolderByUuidAndCompanyId(uuid,
207                            companyId);
208            }
209    
210            /**
211            * Returns the journal folder matching the UUID and group.
212            *
213            * @param uuid the journal folder's UUID
214            * @param groupId the primary key of the group
215            * @return the matching journal folder, or <code>null</code> if a matching journal folder could not be found
216            * @throws SystemException if a system exception occurred
217            */
218            @Override
219            public com.liferay.portlet.journal.model.JournalFolder fetchJournalFolderByUuidAndGroupId(
220                    java.lang.String uuid, long groupId)
221                    throws com.liferay.portal.kernel.exception.SystemException {
222                    return _journalFolderLocalService.fetchJournalFolderByUuidAndGroupId(uuid,
223                            groupId);
224            }
225    
226            /**
227            * Returns the journal folder with the primary key.
228            *
229            * @param folderId the primary key of the journal folder
230            * @return the journal folder
231            * @throws PortalException if a journal folder with the primary key could not be found
232            * @throws SystemException if a system exception occurred
233            */
234            @Override
235            public com.liferay.portlet.journal.model.JournalFolder getJournalFolder(
236                    long folderId)
237                    throws com.liferay.portal.kernel.exception.PortalException,
238                            com.liferay.portal.kernel.exception.SystemException {
239                    return _journalFolderLocalService.getJournalFolder(folderId);
240            }
241    
242            @Override
243            public com.liferay.portal.model.PersistedModel getPersistedModel(
244                    java.io.Serializable primaryKeyObj)
245                    throws com.liferay.portal.kernel.exception.PortalException,
246                            com.liferay.portal.kernel.exception.SystemException {
247                    return _journalFolderLocalService.getPersistedModel(primaryKeyObj);
248            }
249    
250            /**
251            * Returns the journal folder with the matching UUID and company.
252            *
253            * @param uuid the journal folder's UUID
254            * @param companyId the primary key of the company
255            * @return the matching journal folder
256            * @throws PortalException if a matching journal folder could not be found
257            * @throws SystemException if a system exception occurred
258            */
259            @Override
260            public com.liferay.portlet.journal.model.JournalFolder getJournalFolderByUuidAndCompanyId(
261                    java.lang.String uuid, long companyId)
262                    throws com.liferay.portal.kernel.exception.PortalException,
263                            com.liferay.portal.kernel.exception.SystemException {
264                    return _journalFolderLocalService.getJournalFolderByUuidAndCompanyId(uuid,
265                            companyId);
266            }
267    
268            /**
269            * Returns the journal folder matching the UUID and group.
270            *
271            * @param uuid the journal folder's UUID
272            * @param groupId the primary key of the group
273            * @return the matching journal folder
274            * @throws PortalException if a matching journal folder could not be found
275            * @throws SystemException if a system exception occurred
276            */
277            @Override
278            public com.liferay.portlet.journal.model.JournalFolder getJournalFolderByUuidAndGroupId(
279                    java.lang.String uuid, long groupId)
280                    throws com.liferay.portal.kernel.exception.PortalException,
281                            com.liferay.portal.kernel.exception.SystemException {
282                    return _journalFolderLocalService.getJournalFolderByUuidAndGroupId(uuid,
283                            groupId);
284            }
285    
286            /**
287            * Returns a range of all the journal folders.
288            *
289            * <p>
290            * 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.journal.model.impl.JournalFolderModelImpl}. 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.
291            * </p>
292            *
293            * @param start the lower bound of the range of journal folders
294            * @param end the upper bound of the range of journal folders (not inclusive)
295            * @return the range of journal folders
296            * @throws SystemException if a system exception occurred
297            */
298            @Override
299            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getJournalFolders(
300                    int start, int end)
301                    throws com.liferay.portal.kernel.exception.SystemException {
302                    return _journalFolderLocalService.getJournalFolders(start, end);
303            }
304    
305            /**
306            * Returns the number of journal folders.
307            *
308            * @return the number of journal folders
309            * @throws SystemException if a system exception occurred
310            */
311            @Override
312            public int getJournalFoldersCount()
313                    throws com.liferay.portal.kernel.exception.SystemException {
314                    return _journalFolderLocalService.getJournalFoldersCount();
315            }
316    
317            /**
318            * Updates the journal folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
319            *
320            * @param journalFolder the journal folder
321            * @return the journal folder that was updated
322            * @throws SystemException if a system exception occurred
323            */
324            @Override
325            public com.liferay.portlet.journal.model.JournalFolder updateJournalFolder(
326                    com.liferay.portlet.journal.model.JournalFolder journalFolder)
327                    throws com.liferay.portal.kernel.exception.SystemException {
328                    return _journalFolderLocalService.updateJournalFolder(journalFolder);
329            }
330    
331            /**
332            * Returns the Spring bean ID for this bean.
333            *
334            * @return the Spring bean ID for this bean
335            */
336            @Override
337            public java.lang.String getBeanIdentifier() {
338                    return _journalFolderLocalService.getBeanIdentifier();
339            }
340    
341            /**
342            * Sets the Spring bean ID for this bean.
343            *
344            * @param beanIdentifier the Spring bean ID for this bean
345            */
346            @Override
347            public void setBeanIdentifier(java.lang.String beanIdentifier) {
348                    _journalFolderLocalService.setBeanIdentifier(beanIdentifier);
349            }
350    
351            @Override
352            public com.liferay.portlet.journal.model.JournalFolder addFolder(
353                    long userId, long groupId, long parentFolderId, java.lang.String name,
354                    java.lang.String description,
355                    com.liferay.portal.service.ServiceContext serviceContext)
356                    throws com.liferay.portal.kernel.exception.PortalException,
357                            com.liferay.portal.kernel.exception.SystemException {
358                    return _journalFolderLocalService.addFolder(userId, groupId,
359                            parentFolderId, name, description, serviceContext);
360            }
361    
362            @Override
363            public com.liferay.portlet.journal.model.JournalFolder deleteFolder(
364                    com.liferay.portlet.journal.model.JournalFolder folder)
365                    throws com.liferay.portal.kernel.exception.PortalException,
366                            com.liferay.portal.kernel.exception.SystemException {
367                    return _journalFolderLocalService.deleteFolder(folder);
368            }
369    
370            @Override
371            public com.liferay.portlet.journal.model.JournalFolder deleteFolder(
372                    com.liferay.portlet.journal.model.JournalFolder folder,
373                    boolean includeTrashedEntries)
374                    throws com.liferay.portal.kernel.exception.PortalException,
375                            com.liferay.portal.kernel.exception.SystemException {
376                    return _journalFolderLocalService.deleteFolder(folder,
377                            includeTrashedEntries);
378            }
379    
380            @Override
381            public com.liferay.portlet.journal.model.JournalFolder deleteFolder(
382                    long folderId)
383                    throws com.liferay.portal.kernel.exception.PortalException,
384                            com.liferay.portal.kernel.exception.SystemException {
385                    return _journalFolderLocalService.deleteFolder(folderId);
386            }
387    
388            @Override
389            public com.liferay.portlet.journal.model.JournalFolder deleteFolder(
390                    long folderId, boolean includeTrashedEntries)
391                    throws com.liferay.portal.kernel.exception.PortalException,
392                            com.liferay.portal.kernel.exception.SystemException {
393                    return _journalFolderLocalService.deleteFolder(folderId,
394                            includeTrashedEntries);
395            }
396    
397            @Override
398            public void deleteFolders(long groupId)
399                    throws com.liferay.portal.kernel.exception.PortalException,
400                            com.liferay.portal.kernel.exception.SystemException {
401                    _journalFolderLocalService.deleteFolders(groupId);
402            }
403    
404            @Override
405            public com.liferay.portlet.journal.model.JournalFolder fetchFolder(
406                    long folderId)
407                    throws com.liferay.portal.kernel.exception.SystemException {
408                    return _journalFolderLocalService.fetchFolder(folderId);
409            }
410    
411            @Override
412            public com.liferay.portlet.journal.model.JournalFolder fetchFolder(
413                    long groupId, long parentFolderId, java.lang.String name)
414                    throws com.liferay.portal.kernel.exception.SystemException {
415                    return _journalFolderLocalService.fetchFolder(groupId, parentFolderId,
416                            name);
417            }
418    
419            @Override
420            public com.liferay.portlet.journal.model.JournalFolder fetchFolder(
421                    long groupId, java.lang.String name)
422                    throws com.liferay.portal.kernel.exception.SystemException {
423                    return _journalFolderLocalService.fetchFolder(groupId, name);
424            }
425    
426            @Override
427            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getCompanyFolders(
428                    long companyId, int start, int end)
429                    throws com.liferay.portal.kernel.exception.SystemException {
430                    return _journalFolderLocalService.getCompanyFolders(companyId, start,
431                            end);
432            }
433    
434            @Override
435            public int getCompanyFoldersCount(long companyId)
436                    throws com.liferay.portal.kernel.exception.SystemException {
437                    return _journalFolderLocalService.getCompanyFoldersCount(companyId);
438            }
439    
440            @Override
441            public com.liferay.portlet.journal.model.JournalFolder getFolder(
442                    long folderId)
443                    throws com.liferay.portal.kernel.exception.PortalException,
444                            com.liferay.portal.kernel.exception.SystemException {
445                    return _journalFolderLocalService.getFolder(folderId);
446            }
447    
448            @Override
449            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
450                    long groupId)
451                    throws com.liferay.portal.kernel.exception.SystemException {
452                    return _journalFolderLocalService.getFolders(groupId);
453            }
454    
455            @Override
456            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
457                    long groupId, long parentFolderId)
458                    throws com.liferay.portal.kernel.exception.SystemException {
459                    return _journalFolderLocalService.getFolders(groupId, parentFolderId);
460            }
461    
462            @Override
463            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
464                    long groupId, long parentFolderId, int status)
465                    throws com.liferay.portal.kernel.exception.SystemException {
466                    return _journalFolderLocalService.getFolders(groupId, parentFolderId,
467                            status);
468            }
469    
470            @Override
471            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
472                    long groupId, long parentFolderId, int start, int end)
473                    throws com.liferay.portal.kernel.exception.SystemException {
474                    return _journalFolderLocalService.getFolders(groupId, parentFolderId,
475                            start, end);
476            }
477    
478            @Override
479            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
480                    long groupId, long parentFolderId, int status, int start, int end)
481                    throws com.liferay.portal.kernel.exception.SystemException {
482                    return _journalFolderLocalService.getFolders(groupId, parentFolderId,
483                            status, start, end);
484            }
485    
486            @Override
487            public java.util.List<java.lang.Object> getFoldersAndArticles(
488                    long groupId, long folderId)
489                    throws com.liferay.portal.kernel.exception.SystemException {
490                    return _journalFolderLocalService.getFoldersAndArticles(groupId,
491                            folderId);
492            }
493    
494            @Override
495            public java.util.List<java.lang.Object> getFoldersAndArticles(
496                    long groupId, long folderId, int start, int end,
497                    com.liferay.portal.kernel.util.OrderByComparator obc)
498                    throws com.liferay.portal.kernel.exception.SystemException {
499                    return _journalFolderLocalService.getFoldersAndArticles(groupId,
500                            folderId, start, end, obc);
501            }
502    
503            @Override
504            public int getFoldersAndArticlesCount(long groupId,
505                    java.util.List<java.lang.Long> folderIds, int status)
506                    throws com.liferay.portal.kernel.exception.SystemException {
507                    return _journalFolderLocalService.getFoldersAndArticlesCount(groupId,
508                            folderIds, status);
509            }
510    
511            @Override
512            public int getFoldersAndArticlesCount(long groupId, long folderId)
513                    throws com.liferay.portal.kernel.exception.SystemException {
514                    return _journalFolderLocalService.getFoldersAndArticlesCount(groupId,
515                            folderId);
516            }
517    
518            @Override
519            public int getFoldersCount(long groupId, long parentFolderId)
520                    throws com.liferay.portal.kernel.exception.SystemException {
521                    return _journalFolderLocalService.getFoldersCount(groupId,
522                            parentFolderId);
523            }
524    
525            @Override
526            public int getFoldersCount(long groupId, long parentFolderId, int status)
527                    throws com.liferay.portal.kernel.exception.SystemException {
528                    return _journalFolderLocalService.getFoldersCount(groupId,
529                            parentFolderId, status);
530            }
531    
532            @Override
533            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getNoAssetFolders()
534                    throws com.liferay.portal.kernel.exception.SystemException {
535                    return _journalFolderLocalService.getNoAssetFolders();
536            }
537    
538            @Override
539            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
540                    long groupId, long folderId)
541                    throws com.liferay.portal.kernel.exception.SystemException {
542                    _journalFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
543            }
544    
545            @Override
546            public com.liferay.portlet.journal.model.JournalFolder moveFolder(
547                    long folderId, long parentFolderId,
548                    com.liferay.portal.service.ServiceContext serviceContext)
549                    throws com.liferay.portal.kernel.exception.PortalException,
550                            com.liferay.portal.kernel.exception.SystemException {
551                    return _journalFolderLocalService.moveFolder(folderId, parentFolderId,
552                            serviceContext);
553            }
554    
555            @Override
556            public com.liferay.portlet.journal.model.JournalFolder moveFolderFromTrash(
557                    long userId, long folderId, long parentFolderId,
558                    com.liferay.portal.service.ServiceContext serviceContext)
559                    throws com.liferay.portal.kernel.exception.PortalException,
560                            com.liferay.portal.kernel.exception.SystemException {
561                    return _journalFolderLocalService.moveFolderFromTrash(userId, folderId,
562                            parentFolderId, serviceContext);
563            }
564    
565            @Override
566            public com.liferay.portlet.journal.model.JournalFolder moveFolderToTrash(
567                    long userId, long folderId)
568                    throws com.liferay.portal.kernel.exception.PortalException,
569                            com.liferay.portal.kernel.exception.SystemException {
570                    return _journalFolderLocalService.moveFolderToTrash(userId, folderId);
571            }
572    
573            @Override
574            public void restoreFolderFromTrash(long userId, long folderId)
575                    throws com.liferay.portal.kernel.exception.PortalException,
576                            com.liferay.portal.kernel.exception.SystemException {
577                    _journalFolderLocalService.restoreFolderFromTrash(userId, folderId);
578            }
579    
580            @Override
581            public void updateAsset(long userId,
582                    com.liferay.portlet.journal.model.JournalFolder folder,
583                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
584                    long[] assetLinkEntryIds)
585                    throws com.liferay.portal.kernel.exception.PortalException,
586                            com.liferay.portal.kernel.exception.SystemException {
587                    _journalFolderLocalService.updateAsset(userId, folder,
588                            assetCategoryIds, assetTagNames, assetLinkEntryIds);
589            }
590    
591            @Override
592            public com.liferay.portlet.journal.model.JournalFolder updateFolder(
593                    long userId, long folderId, long parentFolderId, java.lang.String name,
594                    java.lang.String description, boolean mergeWithParentFolder,
595                    com.liferay.portal.service.ServiceContext serviceContext)
596                    throws com.liferay.portal.kernel.exception.PortalException,
597                            com.liferay.portal.kernel.exception.SystemException {
598                    return _journalFolderLocalService.updateFolder(userId, folderId,
599                            parentFolderId, name, description, mergeWithParentFolder,
600                            serviceContext);
601            }
602    
603            @Override
604            public com.liferay.portlet.journal.model.JournalFolder updateStatus(
605                    long userId, com.liferay.portlet.journal.model.JournalFolder folder,
606                    int status)
607                    throws com.liferay.portal.kernel.exception.PortalException,
608                            com.liferay.portal.kernel.exception.SystemException {
609                    return _journalFolderLocalService.updateStatus(userId, folder, status);
610            }
611    
612            /**
613             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
614             */
615            public JournalFolderLocalService getWrappedJournalFolderLocalService() {
616                    return _journalFolderLocalService;
617            }
618    
619            /**
620             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
621             */
622            public void setWrappedJournalFolderLocalService(
623                    JournalFolderLocalService journalFolderLocalService) {
624                    _journalFolderLocalService = journalFolderLocalService;
625            }
626    
627            @Override
628            public JournalFolderLocalService getWrappedService() {
629                    return _journalFolderLocalService;
630            }
631    
632            @Override
633            public void setWrappedService(
634                    JournalFolderLocalService journalFolderLocalService) {
635                    _journalFolderLocalService = journalFolderLocalService;
636            }
637    
638            private JournalFolderLocalService _journalFolderLocalService;
639    }