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