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 JournalStructureService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       JournalStructureService
026     * @generated
027     */
028    public class JournalStructureServiceWrapper implements JournalStructureService,
029            ServiceWrapper<JournalStructureService> {
030            public JournalStructureServiceWrapper(
031                    JournalStructureService journalStructureService) {
032                    _journalStructureService = journalStructureService;
033            }
034    
035            public com.liferay.portlet.journal.model.JournalStructure addStructure(
036                    long groupId, java.lang.String structureId, boolean autoStructureId,
037                    java.lang.String parentStructureId,
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 xsd,
041                    com.liferay.portal.service.ServiceContext serviceContext)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    return _journalStructureService.addStructure(groupId, structureId,
045                            autoStructureId, parentStructureId, nameMap, descriptionMap, xsd,
046                            serviceContext);
047            }
048    
049            public com.liferay.portlet.journal.model.JournalStructure copyStructure(
050                    long groupId, java.lang.String oldStructureId,
051                    java.lang.String newStructureId, boolean autoStructureId)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    return _journalStructureService.copyStructure(groupId, oldStructureId,
055                            newStructureId, autoStructureId);
056            }
057    
058            public void deleteStructure(long groupId, java.lang.String structureId)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    _journalStructureService.deleteStructure(groupId, structureId);
062            }
063    
064            public com.liferay.portlet.journal.model.JournalStructure getStructure(
065                    long groupId, java.lang.String structureId)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    return _journalStructureService.getStructure(groupId, structureId);
069            }
070    
071            public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
072                    long groupId)
073                    throws com.liferay.portal.kernel.exception.SystemException {
074                    return _journalStructureService.getStructures(groupId);
075            }
076    
077            public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
078                    long companyId, long[] groupIds, java.lang.String keywords, int start,
079                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
080                    throws com.liferay.portal.kernel.exception.SystemException {
081                    return _journalStructureService.search(companyId, groupIds, keywords,
082                            start, end, obc);
083            }
084    
085            public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
086                    long companyId, long[] groupIds, java.lang.String structureId,
087                    java.lang.String name, java.lang.String description,
088                    boolean andOperator, int start, int end,
089                    com.liferay.portal.kernel.util.OrderByComparator obc)
090                    throws com.liferay.portal.kernel.exception.SystemException {
091                    return _journalStructureService.search(companyId, groupIds,
092                            structureId, name, description, andOperator, start, end, obc);
093            }
094    
095            public int searchCount(long companyId, long[] groupIds,
096                    java.lang.String keywords)
097                    throws com.liferay.portal.kernel.exception.SystemException {
098                    return _journalStructureService.searchCount(companyId, groupIds,
099                            keywords);
100            }
101    
102            public int searchCount(long companyId, long[] groupIds,
103                    java.lang.String structureId, java.lang.String name,
104                    java.lang.String description, boolean andOperator)
105                    throws com.liferay.portal.kernel.exception.SystemException {
106                    return _journalStructureService.searchCount(companyId, groupIds,
107                            structureId, name, description, andOperator);
108            }
109    
110            public com.liferay.portlet.journal.model.JournalStructure updateStructure(
111                    long groupId, java.lang.String structureId,
112                    java.lang.String parentStructureId,
113                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
114                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
115                    java.lang.String xsd,
116                    com.liferay.portal.service.ServiceContext serviceContext)
117                    throws com.liferay.portal.kernel.exception.PortalException,
118                            com.liferay.portal.kernel.exception.SystemException {
119                    return _journalStructureService.updateStructure(groupId, structureId,
120                            parentStructureId, nameMap, descriptionMap, xsd, serviceContext);
121            }
122    
123            /**
124             * @deprecated Renamed to {@link #getWrappedService}
125             */
126            public JournalStructureService getWrappedJournalStructureService() {
127                    return _journalStructureService;
128            }
129    
130            /**
131             * @deprecated Renamed to {@link #setWrappedService}
132             */
133            public void setWrappedJournalStructureService(
134                    JournalStructureService journalStructureService) {
135                    _journalStructureService = journalStructureService;
136            }
137    
138            public JournalStructureService getWrappedService() {
139                    return _journalStructureService;
140            }
141    
142            public void setWrappedService(
143                    JournalStructureService journalStructureService) {
144                    _journalStructureService = journalStructureService;
145            }
146    
147            private JournalStructureService _journalStructureService;
148    }