001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link JournalFolderService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       JournalFolderService
026     * @generated
027     */
028    public class JournalFolderServiceWrapper implements JournalFolderService,
029            ServiceWrapper<JournalFolderService> {
030            public JournalFolderServiceWrapper(
031                    JournalFolderService journalFolderService) {
032                    _journalFolderService = journalFolderService;
033            }
034    
035            /**
036            * Returns the Spring bean ID for this bean.
037            *
038            * @return the Spring bean ID for this bean
039            */
040            public java.lang.String getBeanIdentifier() {
041                    return _journalFolderService.getBeanIdentifier();
042            }
043    
044            /**
045            * Sets the Spring bean ID for this bean.
046            *
047            * @param beanIdentifier the Spring bean ID for this bean
048            */
049            public void setBeanIdentifier(java.lang.String beanIdentifier) {
050                    _journalFolderService.setBeanIdentifier(beanIdentifier);
051            }
052    
053            public com.liferay.portlet.journal.model.JournalFolder addFolder(
054                    long groupId, long parentFolderId, java.lang.String name,
055                    java.lang.String description,
056                    com.liferay.portal.service.ServiceContext serviceContext)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _journalFolderService.addFolder(groupId, parentFolderId, name,
060                            description, serviceContext);
061            }
062    
063            public void deleteFolder(long folderId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    _journalFolderService.deleteFolder(folderId);
067            }
068    
069            public void deleteFolder(long folderId, boolean includeTrashedEntries)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    _journalFolderService.deleteFolder(folderId, includeTrashedEntries);
073            }
074    
075            public com.liferay.portlet.journal.model.JournalFolder getFolder(
076                    long folderId)
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException {
079                    return _journalFolderService.getFolder(folderId);
080            }
081    
082            public java.util.List<java.lang.Long> getFolderIds(long groupId,
083                    long folderId)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _journalFolderService.getFolderIds(groupId, folderId);
087            }
088    
089            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
090                    long groupId)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _journalFolderService.getFolders(groupId);
093            }
094    
095            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
096                    long groupId, long parentFolderId)
097                    throws com.liferay.portal.kernel.exception.SystemException {
098                    return _journalFolderService.getFolders(groupId, parentFolderId);
099            }
100    
101            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
102                    long groupId, long parentFolderId, int status)
103                    throws com.liferay.portal.kernel.exception.SystemException {
104                    return _journalFolderService.getFolders(groupId, parentFolderId, status);
105            }
106    
107            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
108                    long groupId, long parentFolderId, int start, int end)
109                    throws com.liferay.portal.kernel.exception.SystemException {
110                    return _journalFolderService.getFolders(groupId, parentFolderId, start,
111                            end);
112            }
113    
114            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
115                    long groupId, long parentFolderId, int status, int start, int end)
116                    throws com.liferay.portal.kernel.exception.SystemException {
117                    return _journalFolderService.getFolders(groupId, parentFolderId,
118                            status, start, end);
119            }
120    
121            public java.util.List<java.lang.Object> getFoldersAndArticles(
122                    long groupId, long folderId, int start, int end,
123                    com.liferay.portal.kernel.util.OrderByComparator obc)
124                    throws com.liferay.portal.kernel.exception.SystemException {
125                    return _journalFolderService.getFoldersAndArticles(groupId, folderId,
126                            start, end, obc);
127            }
128    
129            public int getFoldersAndArticlesCount(long groupId,
130                    java.util.List<java.lang.Long> folderIds, int status)
131                    throws com.liferay.portal.kernel.exception.SystemException {
132                    return _journalFolderService.getFoldersAndArticlesCount(groupId,
133                            folderIds, status);
134            }
135    
136            public int getFoldersAndArticlesCount(long groupId, long folderId)
137                    throws com.liferay.portal.kernel.exception.SystemException {
138                    return _journalFolderService.getFoldersAndArticlesCount(groupId,
139                            folderId);
140            }
141    
142            public int getFoldersAndArticlesCount(long groupId, long folderId,
143                    int status) throws com.liferay.portal.kernel.exception.SystemException {
144                    return _journalFolderService.getFoldersAndArticlesCount(groupId,
145                            folderId, status);
146            }
147    
148            public int getFoldersCount(long groupId, long parentFolderId)
149                    throws com.liferay.portal.kernel.exception.SystemException {
150                    return _journalFolderService.getFoldersCount(groupId, parentFolderId);
151            }
152    
153            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
154                    long groupId, long folderId)
155                    throws com.liferay.portal.kernel.exception.SystemException {
156                    _journalFolderService.getSubfolderIds(folderIds, groupId, folderId);
157            }
158    
159            public java.util.List<java.lang.Long> getSubfolderIds(long groupId,
160                    long folderId, boolean recurse)
161                    throws com.liferay.portal.kernel.exception.SystemException {
162                    return _journalFolderService.getSubfolderIds(groupId, folderId, recurse);
163            }
164    
165            public com.liferay.portlet.journal.model.JournalFolder moveFolder(
166                    long folderId, long parentFolderId,
167                    com.liferay.portal.service.ServiceContext serviceContext)
168                    throws com.liferay.portal.kernel.exception.PortalException,
169                            com.liferay.portal.kernel.exception.SystemException {
170                    return _journalFolderService.moveFolder(folderId, parentFolderId,
171                            serviceContext);
172            }
173    
174            public com.liferay.portlet.journal.model.JournalFolder moveFolderFromTrash(
175                    long folderId, long parentFolderId,
176                    com.liferay.portal.service.ServiceContext serviceContext)
177                    throws com.liferay.portal.kernel.exception.PortalException,
178                            com.liferay.portal.kernel.exception.SystemException {
179                    return _journalFolderService.moveFolderFromTrash(folderId,
180                            parentFolderId, serviceContext);
181            }
182    
183            public void moveFolderToTrash(long folderId)
184                    throws com.liferay.portal.kernel.exception.PortalException,
185                            com.liferay.portal.kernel.exception.SystemException {
186                    _journalFolderService.moveFolderToTrash(folderId);
187            }
188    
189            public void restoreFolderFromTrash(long folderId)
190                    throws com.liferay.portal.kernel.exception.PortalException,
191                            com.liferay.portal.kernel.exception.SystemException {
192                    _journalFolderService.restoreFolderFromTrash(folderId);
193            }
194    
195            public com.liferay.portlet.journal.model.JournalFolder updateFolder(
196                    long folderId, long parentFolderId, java.lang.String name,
197                    java.lang.String description, boolean mergeWithParentFolder,
198                    com.liferay.portal.service.ServiceContext serviceContext)
199                    throws com.liferay.portal.kernel.exception.PortalException,
200                            com.liferay.portal.kernel.exception.SystemException {
201                    return _journalFolderService.updateFolder(folderId, parentFolderId,
202                            name, description, mergeWithParentFolder, serviceContext);
203            }
204    
205            /**
206             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
207             */
208            public JournalFolderService getWrappedJournalFolderService() {
209                    return _journalFolderService;
210            }
211    
212            /**
213             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
214             */
215            public void setWrappedJournalFolderService(
216                    JournalFolderService journalFolderService) {
217                    _journalFolderService = journalFolderService;
218            }
219    
220            public JournalFolderService getWrappedService() {
221                    return _journalFolderService;
222            }
223    
224            public void setWrappedService(JournalFolderService journalFolderService) {
225                    _journalFolderService = journalFolderService;
226            }
227    
228            private JournalFolderService _journalFolderService;
229    }