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