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