001    /**
002     * Copyright (c) 2000-2012 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 com.liferay.portlet.journal.model.JournalFolder getFolder(
070                    long folderId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _journalFolderService.getFolder(folderId);
074            }
075    
076            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
077                    long groupId)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    return _journalFolderService.getFolders(groupId);
080            }
081    
082            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
083                    long groupId, long parentFolderId)
084                    throws com.liferay.portal.kernel.exception.SystemException {
085                    return _journalFolderService.getFolders(groupId, parentFolderId);
086            }
087    
088            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
089                    long groupId, long parentFolderId, int start, int end)
090                    throws com.liferay.portal.kernel.exception.SystemException {
091                    return _journalFolderService.getFolders(groupId, parentFolderId, start,
092                            end);
093            }
094    
095            public java.util.List<java.lang.Object> getFoldersAndArticles(
096                    long groupId, long folderId, int start, int end,
097                    com.liferay.portal.kernel.util.OrderByComparator obc)
098                    throws com.liferay.portal.kernel.exception.SystemException {
099                    return _journalFolderService.getFoldersAndArticles(groupId, folderId,
100                            start, end, obc);
101            }
102    
103            public int getFoldersAndArticlesCount(long groupId,
104                    java.util.List<java.lang.Long> folderIds, int status)
105                    throws com.liferay.portal.kernel.exception.SystemException {
106                    return _journalFolderService.getFoldersAndArticlesCount(groupId,
107                            folderIds, status);
108            }
109    
110            public int getFoldersAndArticlesCount(long groupId, long folderId)
111                    throws com.liferay.portal.kernel.exception.SystemException {
112                    return _journalFolderService.getFoldersAndArticlesCount(groupId,
113                            folderId);
114            }
115    
116            public int getFoldersAndArticlesCount(long groupId, long folderId,
117                    int status) throws com.liferay.portal.kernel.exception.SystemException {
118                    return _journalFolderService.getFoldersAndArticlesCount(groupId,
119                            folderId, status);
120            }
121    
122            public int getFoldersCount(long groupId, long parentFolderId)
123                    throws com.liferay.portal.kernel.exception.SystemException {
124                    return _journalFolderService.getFoldersCount(groupId, parentFolderId);
125            }
126    
127            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
128                    long groupId, long folderId)
129                    throws com.liferay.portal.kernel.exception.SystemException {
130                    _journalFolderService.getSubfolderIds(folderIds, groupId, folderId);
131            }
132    
133            public java.util.List<java.lang.Long> getSubfolderIds(long groupId,
134                    long folderId, boolean recurse)
135                    throws com.liferay.portal.kernel.exception.SystemException {
136                    return _journalFolderService.getSubfolderIds(groupId, folderId, recurse);
137            }
138    
139            public com.liferay.portlet.journal.model.JournalFolder moveFolder(
140                    long folderId, long parentFolderId,
141                    com.liferay.portal.service.ServiceContext serviceContext)
142                    throws com.liferay.portal.kernel.exception.PortalException,
143                            com.liferay.portal.kernel.exception.SystemException {
144                    return _journalFolderService.moveFolder(folderId, parentFolderId,
145                            serviceContext);
146            }
147    
148            public com.liferay.portlet.journal.model.JournalFolder updateFolder(
149                    long folderId, long parentFolderId, java.lang.String name,
150                    java.lang.String description, boolean mergeWithParentFolder,
151                    com.liferay.portal.service.ServiceContext serviceContext)
152                    throws com.liferay.portal.kernel.exception.PortalException,
153                            com.liferay.portal.kernel.exception.SystemException {
154                    return _journalFolderService.updateFolder(folderId, parentFolderId,
155                            name, description, mergeWithParentFolder, serviceContext);
156            }
157    
158            /**
159             * @deprecated Renamed to {@link #getWrappedService}
160             */
161            public JournalFolderService getWrappedJournalFolderService() {
162                    return _journalFolderService;
163            }
164    
165            /**
166             * @deprecated Renamed to {@link #setWrappedService}
167             */
168            public void setWrappedJournalFolderService(
169                    JournalFolderService journalFolderService) {
170                    _journalFolderService = journalFolderService;
171            }
172    
173            public JournalFolderService getWrappedService() {
174                    return _journalFolderService;
175            }
176    
177            public void setWrappedService(JournalFolderService journalFolderService) {
178                    _journalFolderService = journalFolderService;
179            }
180    
181            private JournalFolderService _journalFolderService;
182    }