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            /**
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 _journalTemplateService.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                    _journalTemplateService.setBeanIdentifier(beanIdentifier);
051            }
052    
053            public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
054                    long groupId, java.lang.String templateId, boolean autoTemplateId,
055                    java.lang.String structureId,
056                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
057                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
058                    java.lang.String xsl, boolean formatXsl, java.lang.String langType,
059                    boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
060                    java.io.File smallFile,
061                    com.liferay.portal.service.ServiceContext serviceContext)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    return _journalTemplateService.addTemplate(groupId, templateId,
065                            autoTemplateId, structureId, nameMap, descriptionMap, xsl,
066                            formatXsl, langType, cacheable, smallImage, smallImageURL,
067                            smallFile, serviceContext);
068            }
069    
070            public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
071                    long groupId, java.lang.String templateId, boolean autoTemplateId,
072                    java.lang.String structureId,
073                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
074                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
075                    java.lang.String xsl, boolean formatXsl, java.lang.String langType,
076                    boolean cacheable,
077                    com.liferay.portal.service.ServiceContext serviceContext)
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException {
080                    return _journalTemplateService.addTemplate(groupId, templateId,
081                            autoTemplateId, structureId, nameMap, descriptionMap, xsl,
082                            formatXsl, langType, cacheable, serviceContext);
083            }
084    
085            public com.liferay.portlet.journal.model.JournalTemplate copyTemplate(
086                    long groupId, java.lang.String oldTemplateId,
087                    java.lang.String newTemplateId, boolean autoTemplateId)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    return _journalTemplateService.copyTemplate(groupId, oldTemplateId,
091                            newTemplateId, autoTemplateId);
092            }
093    
094            public void deleteTemplate(long groupId, java.lang.String templateId)
095                    throws com.liferay.portal.kernel.exception.PortalException,
096                            com.liferay.portal.kernel.exception.SystemException {
097                    _journalTemplateService.deleteTemplate(groupId, templateId);
098            }
099    
100            public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
101                    long groupId, java.lang.String structureId)
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _journalTemplateService.getStructureTemplates(groupId,
104                            structureId);
105            }
106    
107            public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
108                    long groupId, java.lang.String templateId)
109                    throws com.liferay.portal.kernel.exception.PortalException,
110                            com.liferay.portal.kernel.exception.SystemException {
111                    return _journalTemplateService.getTemplate(groupId, templateId);
112            }
113    
114            public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
115                    long companyId, long[] groupIds, java.lang.String keywords,
116                    java.lang.String structureId, java.lang.String structureIdComparator,
117                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
118                    throws com.liferay.portal.kernel.exception.SystemException {
119                    return _journalTemplateService.search(companyId, groupIds, keywords,
120                            structureId, structureIdComparator, start, end, obc);
121            }
122    
123            public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
124                    long companyId, long[] groupIds, java.lang.String templateId,
125                    java.lang.String structureId, java.lang.String structureIdComparator,
126                    java.lang.String name, java.lang.String description,
127                    boolean andOperator, int start, int end,
128                    com.liferay.portal.kernel.util.OrderByComparator obc)
129                    throws com.liferay.portal.kernel.exception.SystemException {
130                    return _journalTemplateService.search(companyId, groupIds, templateId,
131                            structureId, structureIdComparator, name, description, andOperator,
132                            start, end, obc);
133            }
134    
135            public int searchCount(long companyId, long[] groupIds,
136                    java.lang.String keywords, java.lang.String structureId,
137                    java.lang.String structureIdComparator)
138                    throws com.liferay.portal.kernel.exception.SystemException {
139                    return _journalTemplateService.searchCount(companyId, groupIds,
140                            keywords, structureId, structureIdComparator);
141            }
142    
143            public int searchCount(long companyId, long[] groupIds,
144                    java.lang.String templateId, java.lang.String structureId,
145                    java.lang.String structureIdComparator, java.lang.String name,
146                    java.lang.String description, boolean andOperator)
147                    throws com.liferay.portal.kernel.exception.SystemException {
148                    return _journalTemplateService.searchCount(companyId, groupIds,
149                            templateId, structureId, structureIdComparator, name, description,
150                            andOperator);
151            }
152    
153            public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
154                    long groupId, java.lang.String templateId,
155                    java.lang.String structureId,
156                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
157                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
158                    java.lang.String xsl, boolean formatXsl, java.lang.String langType,
159                    boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
160                    java.io.File smallFile,
161                    com.liferay.portal.service.ServiceContext serviceContext)
162                    throws com.liferay.portal.kernel.exception.PortalException,
163                            com.liferay.portal.kernel.exception.SystemException {
164                    return _journalTemplateService.updateTemplate(groupId, templateId,
165                            structureId, nameMap, descriptionMap, xsl, formatXsl, langType,
166                            cacheable, smallImage, smallImageURL, smallFile, serviceContext);
167            }
168    
169            public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
170                    long groupId, java.lang.String templateId,
171                    java.lang.String structureId,
172                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
173                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
174                    java.lang.String xsl, boolean formatXsl, java.lang.String langType,
175                    boolean cacheable,
176                    com.liferay.portal.service.ServiceContext serviceContext)
177                    throws com.liferay.portal.kernel.exception.PortalException,
178                            com.liferay.portal.kernel.exception.SystemException {
179                    return _journalTemplateService.updateTemplate(groupId, templateId,
180                            structureId, nameMap, descriptionMap, xsl, formatXsl, langType,
181                            cacheable, serviceContext);
182            }
183    
184            /**
185             * @deprecated Renamed to {@link #getWrappedService}
186             */
187            public JournalTemplateService getWrappedJournalTemplateService() {
188                    return _journalTemplateService;
189            }
190    
191            /**
192             * @deprecated Renamed to {@link #setWrappedService}
193             */
194            public void setWrappedJournalTemplateService(
195                    JournalTemplateService journalTemplateService) {
196                    _journalTemplateService = journalTemplateService;
197            }
198    
199            public JournalTemplateService getWrappedService() {
200                    return _journalTemplateService;
201            }
202    
203            public void setWrappedService(JournalTemplateService journalTemplateService) {
204                    _journalTemplateService = journalTemplateService;
205            }
206    
207            private JournalTemplateService _journalTemplateService;
208    }