001    /**
002     * Copyright (c) 2000-2010 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    
018    /**
019     * <p>
020     * This class is a wrapper for {@link JournalTemplateService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       JournalTemplateService
025     * @generated
026     */
027    public class JournalTemplateServiceWrapper implements JournalTemplateService {
028            public JournalTemplateServiceWrapper(
029                    JournalTemplateService journalTemplateService) {
030                    _journalTemplateService = journalTemplateService;
031            }
032    
033            public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
034                    long groupId, java.lang.String templateId, boolean autoTemplateId,
035                    java.lang.String structureId, java.lang.String name,
036                    java.lang.String description, java.lang.String xsl, boolean formatXsl,
037                    java.lang.String langType, boolean cacheable,
038                    com.liferay.portal.service.ServiceContext serviceContext)
039                    throws com.liferay.portal.kernel.exception.PortalException,
040                            com.liferay.portal.kernel.exception.SystemException {
041                    return _journalTemplateService.addTemplate(groupId, templateId,
042                            autoTemplateId, structureId, name, description, xsl, formatXsl,
043                            langType, cacheable, serviceContext);
044            }
045    
046            public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
047                    long groupId, java.lang.String templateId, boolean autoTemplateId,
048                    java.lang.String structureId, java.lang.String name,
049                    java.lang.String description, java.lang.String xsl, boolean formatXsl,
050                    java.lang.String langType, boolean cacheable, boolean smallImage,
051                    java.lang.String smallImageURL, java.io.File smallFile,
052                    com.liferay.portal.service.ServiceContext serviceContext)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    return _journalTemplateService.addTemplate(groupId, templateId,
056                            autoTemplateId, structureId, name, description, xsl, formatXsl,
057                            langType, cacheable, smallImage, smallImageURL, smallFile,
058                            serviceContext);
059            }
060    
061            public com.liferay.portlet.journal.model.JournalTemplate copyTemplate(
062                    long groupId, java.lang.String oldTemplateId,
063                    java.lang.String newTemplateId, boolean autoTemplateId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    return _journalTemplateService.copyTemplate(groupId, oldTemplateId,
067                            newTemplateId, autoTemplateId);
068            }
069    
070            public void deleteTemplate(long groupId, java.lang.String templateId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    _journalTemplateService.deleteTemplate(groupId, templateId);
074            }
075    
076            public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
077                    long groupId, java.lang.String structureId)
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException {
080                    return _journalTemplateService.getStructureTemplates(groupId,
081                            structureId);
082            }
083    
084            public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
085                    long groupId, java.lang.String templateId)
086                    throws com.liferay.portal.kernel.exception.PortalException,
087                            com.liferay.portal.kernel.exception.SystemException {
088                    return _journalTemplateService.getTemplate(groupId, templateId);
089            }
090    
091            public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
092                    long groupId, java.lang.String templateId,
093                    java.lang.String structureId, java.lang.String name,
094                    java.lang.String description, java.lang.String xsl, boolean formatXsl,
095                    java.lang.String langType, boolean cacheable,
096                    com.liferay.portal.service.ServiceContext serviceContext)
097                    throws com.liferay.portal.kernel.exception.PortalException,
098                            com.liferay.portal.kernel.exception.SystemException {
099                    return _journalTemplateService.updateTemplate(groupId, templateId,
100                            structureId, name, description, xsl, formatXsl, langType,
101                            cacheable, serviceContext);
102            }
103    
104            public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
105                    long groupId, java.lang.String templateId,
106                    java.lang.String structureId, java.lang.String name,
107                    java.lang.String description, java.lang.String xsl, boolean formatXsl,
108                    java.lang.String langType, boolean cacheable, boolean smallImage,
109                    java.lang.String smallImageURL, java.io.File smallFile,
110                    com.liferay.portal.service.ServiceContext serviceContext)
111                    throws com.liferay.portal.kernel.exception.PortalException,
112                            com.liferay.portal.kernel.exception.SystemException {
113                    return _journalTemplateService.updateTemplate(groupId, templateId,
114                            structureId, name, description, xsl, formatXsl, langType,
115                            cacheable, smallImage, smallImageURL, smallFile, serviceContext);
116            }
117    
118            public JournalTemplateService getWrappedJournalTemplateService() {
119                    return _journalTemplateService;
120            }
121    
122            private JournalTemplateService _journalTemplateService;
123    }