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