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