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 getFolder(
083                    long folderId)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _journalFolderService.getFolder(folderId);
087            }
088    
089            @Override
090            public java.util.List<java.lang.Long> getFolderIds(long groupId,
091                    long folderId)
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException {
094                    return _journalFolderService.getFolderIds(groupId, folderId);
095            }
096    
097            @Override
098            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
099                    long groupId)
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _journalFolderService.getFolders(groupId);
102            }
103    
104            @Override
105            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
106                    long groupId, long parentFolderId)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _journalFolderService.getFolders(groupId, parentFolderId);
109            }
110    
111            @Override
112            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
113                    long groupId, long parentFolderId, int status)
114                    throws com.liferay.portal.kernel.exception.SystemException {
115                    return _journalFolderService.getFolders(groupId, parentFolderId, status);
116            }
117    
118            @Override
119            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
120                    long groupId, long parentFolderId, int start, int end)
121                    throws com.liferay.portal.kernel.exception.SystemException {
122                    return _journalFolderService.getFolders(groupId, parentFolderId, start,
123                            end);
124            }
125    
126            @Override
127            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
128                    long groupId, long parentFolderId, int status, int start, int end)
129                    throws com.liferay.portal.kernel.exception.SystemException {
130                    return _journalFolderService.getFolders(groupId, parentFolderId,
131                            status, start, end);
132            }
133    
134            @Override
135            public java.util.List<java.lang.Object> getFoldersAndArticles(
136                    long groupId, long folderId, int status, int start, int end,
137                    com.liferay.portal.kernel.util.OrderByComparator obc)
138                    throws com.liferay.portal.kernel.exception.SystemException {
139                    return _journalFolderService.getFoldersAndArticles(groupId, folderId,
140                            status, start, end, obc);
141            }
142    
143            @Override
144            public java.util.List<java.lang.Object> getFoldersAndArticles(
145                    long groupId, long folderId, int start, int end,
146                    com.liferay.portal.kernel.util.OrderByComparator obc)
147                    throws com.liferay.portal.kernel.exception.SystemException {
148                    return _journalFolderService.getFoldersAndArticles(groupId, folderId,
149                            start, end, obc);
150            }
151    
152            @Override
153            public int getFoldersAndArticlesCount(long groupId,
154                    java.util.List<java.lang.Long> folderIds, int status)
155                    throws com.liferay.portal.kernel.exception.SystemException {
156                    return _journalFolderService.getFoldersAndArticlesCount(groupId,
157                            folderIds, status);
158            }
159    
160            @Override
161            public int getFoldersAndArticlesCount(long groupId, long folderId)
162                    throws com.liferay.portal.kernel.exception.SystemException {
163                    return _journalFolderService.getFoldersAndArticlesCount(groupId,
164                            folderId);
165            }
166    
167            @Override
168            public int getFoldersAndArticlesCount(long groupId, long folderId,
169                    int status) throws com.liferay.portal.kernel.exception.SystemException {
170                    return _journalFolderService.getFoldersAndArticlesCount(groupId,
171                            folderId, status);
172            }
173    
174            @Override
175            public int getFoldersCount(long groupId, long parentFolderId)
176                    throws com.liferay.portal.kernel.exception.SystemException {
177                    return _journalFolderService.getFoldersCount(groupId, parentFolderId);
178            }
179    
180            @Override
181            public int getFoldersCount(long groupId, long parentFolderId, int status)
182                    throws com.liferay.portal.kernel.exception.SystemException {
183                    return _journalFolderService.getFoldersCount(groupId, parentFolderId,
184                            status);
185            }
186    
187            @Override
188            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
189                    long groupId, long folderId)
190                    throws com.liferay.portal.kernel.exception.SystemException {
191                    _journalFolderService.getSubfolderIds(folderIds, groupId, folderId);
192            }
193    
194            @Override
195            public java.util.List<java.lang.Long> getSubfolderIds(long groupId,
196                    long folderId, boolean recurse)
197                    throws com.liferay.portal.kernel.exception.SystemException {
198                    return _journalFolderService.getSubfolderIds(groupId, folderId, recurse);
199            }
200    
201            @Override
202            public com.liferay.portlet.journal.model.JournalFolder moveFolder(
203                    long folderId, long parentFolderId,
204                    com.liferay.portal.service.ServiceContext serviceContext)
205                    throws com.liferay.portal.kernel.exception.PortalException,
206                            com.liferay.portal.kernel.exception.SystemException {
207                    return _journalFolderService.moveFolder(folderId, parentFolderId,
208                            serviceContext);
209            }
210    
211            @Override
212            public com.liferay.portlet.journal.model.JournalFolder moveFolderFromTrash(
213                    long folderId, long parentFolderId,
214                    com.liferay.portal.service.ServiceContext serviceContext)
215                    throws com.liferay.portal.kernel.exception.PortalException,
216                            com.liferay.portal.kernel.exception.SystemException {
217                    return _journalFolderService.moveFolderFromTrash(folderId,
218                            parentFolderId, serviceContext);
219            }
220    
221            @Override
222            public com.liferay.portlet.journal.model.JournalFolder moveFolderToTrash(
223                    long folderId)
224                    throws com.liferay.portal.kernel.exception.PortalException,
225                            com.liferay.portal.kernel.exception.SystemException {
226                    return _journalFolderService.moveFolderToTrash(folderId);
227            }
228    
229            @Override
230            public void restoreFolderFromTrash(long folderId)
231                    throws com.liferay.portal.kernel.exception.PortalException,
232                            com.liferay.portal.kernel.exception.SystemException {
233                    _journalFolderService.restoreFolderFromTrash(folderId);
234            }
235    
236            @Override
237            public com.liferay.portlet.journal.model.JournalFolder updateFolder(
238                    long folderId, long parentFolderId, java.lang.String name,
239                    java.lang.String description, boolean mergeWithParentFolder,
240                    com.liferay.portal.service.ServiceContext serviceContext)
241                    throws com.liferay.portal.kernel.exception.PortalException,
242                            com.liferay.portal.kernel.exception.SystemException {
243                    return _journalFolderService.updateFolder(folderId, parentFolderId,
244                            name, description, mergeWithParentFolder, serviceContext);
245            }
246    
247            /**
248             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
249             */
250            public JournalFolderService getWrappedJournalFolderService() {
251                    return _journalFolderService;
252            }
253    
254            /**
255             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
256             */
257            public void setWrappedJournalFolderService(
258                    JournalFolderService journalFolderService) {
259                    _journalFolderService = journalFolderService;
260            }
261    
262            @Override
263            public JournalFolderService getWrappedService() {
264                    return _journalFolderService;
265            }
266    
267            @Override
268            public void setWrappedService(JournalFolderService journalFolderService) {
269                    _journalFolderService = journalFolderService;
270            }
271    
272            private JournalFolderService _journalFolderService;
273    }