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 JournalTemplateService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       JournalTemplateService
026     * @generated
027     */
028    public class JournalTemplateServiceWrapper implements JournalTemplateService,
029            ServiceWrapper<JournalTemplateService> {
030            public JournalTemplateServiceWrapper(
031                    JournalTemplateService journalTemplateService) {
032                    _journalTemplateService = journalTemplateService;
033            }
034    
035            public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
036                    long groupId, java.lang.String templateId, boolean autoTemplateId,
037                    java.lang.String structureId,
038                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
039                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
040                    java.lang.String xsl, boolean formatXsl, java.lang.String langType,
041                    boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
042                    java.io.File smallFile,
043                    com.liferay.portal.service.ServiceContext serviceContext)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    return _journalTemplateService.addTemplate(groupId, templateId,
047                            autoTemplateId, structureId, nameMap, descriptionMap, xsl,
048                            formatXsl, langType, cacheable, smallImage, smallImageURL,
049                            smallFile, serviceContext);
050            }
051    
052            public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
053                    long groupId, java.lang.String templateId, boolean autoTemplateId,
054                    java.lang.String structureId,
055                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
056                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
057                    java.lang.String xsl, boolean formatXsl, java.lang.String langType,
058                    boolean cacheable,
059                    com.liferay.portal.service.ServiceContext serviceContext)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException {
062                    return _journalTemplateService.addTemplate(groupId, templateId,
063                            autoTemplateId, structureId, nameMap, descriptionMap, xsl,
064                            formatXsl, langType, cacheable, serviceContext);
065            }
066    
067            public com.liferay.portlet.journal.model.JournalTemplate copyTemplate(
068                    long groupId, java.lang.String oldTemplateId,
069                    java.lang.String newTemplateId, boolean autoTemplateId)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _journalTemplateService.copyTemplate(groupId, oldTemplateId,
073                            newTemplateId, autoTemplateId);
074            }
075    
076            public void deleteTemplate(long groupId, java.lang.String templateId)
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException {
079                    _journalTemplateService.deleteTemplate(groupId, templateId);
080            }
081    
082            public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
083                    long groupId, java.lang.String structureId)
084                    throws com.liferay.portal.kernel.exception.SystemException {
085                    return _journalTemplateService.getStructureTemplates(groupId,
086                            structureId);
087            }
088    
089            public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
090                    long groupId, java.lang.String templateId)
091                    throws com.liferay.portal.kernel.exception.PortalException,
092                            com.liferay.portal.kernel.exception.SystemException {
093                    return _journalTemplateService.getTemplate(groupId, templateId);
094            }
095    
096            public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
097                    long companyId, long[] groupIds, java.lang.String keywords,
098                    java.lang.String structureId, java.lang.String structureIdComparator,
099                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _journalTemplateService.search(companyId, groupIds, keywords,
102                            structureId, structureIdComparator, start, end, obc);
103            }
104    
105            public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
106                    long companyId, long[] groupIds, java.lang.String templateId,
107                    java.lang.String structureId, java.lang.String structureIdComparator,
108                    java.lang.String name, java.lang.String description,
109                    boolean andOperator, int start, int end,
110                    com.liferay.portal.kernel.util.OrderByComparator obc)
111                    throws com.liferay.portal.kernel.exception.SystemException {
112                    return _journalTemplateService.search(companyId, groupIds, templateId,
113                            structureId, structureIdComparator, name, description, andOperator,
114                            start, end, obc);
115            }
116    
117            public int searchCount(long companyId, long[] groupIds,
118                    java.lang.String keywords, java.lang.String structureId,
119                    java.lang.String structureIdComparator)
120                    throws com.liferay.portal.kernel.exception.SystemException {
121                    return _journalTemplateService.searchCount(companyId, groupIds,
122                            keywords, structureId, structureIdComparator);
123            }
124    
125            public int searchCount(long companyId, long[] groupIds,
126                    java.lang.String templateId, java.lang.String structureId,
127                    java.lang.String structureIdComparator, java.lang.String name,
128                    java.lang.String description, boolean andOperator)
129                    throws com.liferay.portal.kernel.exception.SystemException {
130                    return _journalTemplateService.searchCount(companyId, groupIds,
131                            templateId, structureId, structureIdComparator, name, description,
132                            andOperator);
133            }
134    
135            public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
136                    long groupId, java.lang.String templateId,
137                    java.lang.String structureId,
138                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
139                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
140                    java.lang.String xsl, boolean formatXsl, java.lang.String langType,
141                    boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
142                    java.io.File smallFile,
143                    com.liferay.portal.service.ServiceContext serviceContext)
144                    throws com.liferay.portal.kernel.exception.PortalException,
145                            com.liferay.portal.kernel.exception.SystemException {
146                    return _journalTemplateService.updateTemplate(groupId, templateId,
147                            structureId, nameMap, descriptionMap, xsl, formatXsl, langType,
148                            cacheable, smallImage, smallImageURL, smallFile, serviceContext);
149            }
150    
151            public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
152                    long groupId, java.lang.String templateId,
153                    java.lang.String structureId,
154                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
155                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
156                    java.lang.String xsl, boolean formatXsl, java.lang.String langType,
157                    boolean cacheable,
158                    com.liferay.portal.service.ServiceContext serviceContext)
159                    throws com.liferay.portal.kernel.exception.PortalException,
160                            com.liferay.portal.kernel.exception.SystemException {
161                    return _journalTemplateService.updateTemplate(groupId, templateId,
162                            structureId, nameMap, descriptionMap, xsl, formatXsl, langType,
163                            cacheable, serviceContext);
164            }
165    
166            /**
167             * @deprecated Renamed to {@link #getWrappedService}
168             */
169            public JournalTemplateService getWrappedJournalTemplateService() {
170                    return _journalTemplateService;
171            }
172    
173            /**
174             * @deprecated Renamed to {@link #setWrappedService}
175             */
176            public void setWrappedJournalTemplateService(
177                    JournalTemplateService journalTemplateService) {
178                    _journalTemplateService = journalTemplateService;
179            }
180    
181            public JournalTemplateService getWrappedService() {
182                    return _journalTemplateService;
183            }
184    
185            public void setWrappedService(JournalTemplateService journalTemplateService) {
186                    _journalTemplateService = journalTemplateService;
187            }
188    
189            private JournalTemplateService _journalTemplateService;
190    }