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