001    /**
002     * Copyright (c) 2000-2013 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            /**
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 _journalStructureService.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                    _journalStructureService.setBeanIdentifier(beanIdentifier);
051            }
052    
053            public com.liferay.portlet.journal.model.JournalStructure addStructure(
054                    long groupId, java.lang.String structureId, boolean autoStructureId,
055                    java.lang.String parentStructureId,
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 xsd,
059                    com.liferay.portal.service.ServiceContext serviceContext)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException {
062                    return _journalStructureService.addStructure(groupId, structureId,
063                            autoStructureId, parentStructureId, nameMap, descriptionMap, xsd,
064                            serviceContext);
065            }
066    
067            public com.liferay.portlet.journal.model.JournalStructure copyStructure(
068                    long groupId, java.lang.String oldStructureId,
069                    java.lang.String newStructureId, boolean autoStructureId)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _journalStructureService.copyStructure(groupId, oldStructureId,
073                            newStructureId, autoStructureId);
074            }
075    
076            public void deleteStructure(long groupId, java.lang.String structureId)
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException {
079                    _journalStructureService.deleteStructure(groupId, structureId);
080            }
081    
082            public com.liferay.portlet.journal.model.JournalStructure getStructure(
083                    long groupId, java.lang.String structureId)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _journalStructureService.getStructure(groupId, structureId);
087            }
088    
089            public com.liferay.portlet.journal.model.JournalStructure getStructure(
090                    long groupId, java.lang.String structureId,
091                    boolean includeGlobalStructures)
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException {
094                    return _journalStructureService.getStructure(groupId, structureId,
095                            includeGlobalStructures);
096            }
097    
098            public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
099                    long groupId)
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _journalStructureService.getStructures(groupId);
102            }
103    
104            public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
105                    long companyId, long[] groupIds, java.lang.String keywords, int start,
106                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _journalStructureService.search(companyId, groupIds, keywords,
109                            start, end, obc);
110            }
111    
112            public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
113                    long companyId, long[] groupIds, java.lang.String structureId,
114                    java.lang.String name, java.lang.String description,
115                    boolean andOperator, int start, int end,
116                    com.liferay.portal.kernel.util.OrderByComparator obc)
117                    throws com.liferay.portal.kernel.exception.SystemException {
118                    return _journalStructureService.search(companyId, groupIds,
119                            structureId, name, description, andOperator, start, end, obc);
120            }
121    
122            public int searchCount(long companyId, long[] groupIds,
123                    java.lang.String keywords)
124                    throws com.liferay.portal.kernel.exception.SystemException {
125                    return _journalStructureService.searchCount(companyId, groupIds,
126                            keywords);
127            }
128    
129            public int searchCount(long companyId, long[] groupIds,
130                    java.lang.String structureId, java.lang.String name,
131                    java.lang.String description, boolean andOperator)
132                    throws com.liferay.portal.kernel.exception.SystemException {
133                    return _journalStructureService.searchCount(companyId, groupIds,
134                            structureId, name, description, andOperator);
135            }
136    
137            public com.liferay.portlet.journal.model.JournalStructure updateStructure(
138                    long groupId, java.lang.String structureId,
139                    java.lang.String parentStructureId,
140                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
141                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
142                    java.lang.String xsd,
143                    com.liferay.portal.service.ServiceContext serviceContext)
144                    throws com.liferay.portal.kernel.exception.PortalException,
145                            com.liferay.portal.kernel.exception.SystemException {
146                    return _journalStructureService.updateStructure(groupId, structureId,
147                            parentStructureId, nameMap, descriptionMap, xsd, serviceContext);
148            }
149    
150            /**
151             * @deprecated Renamed to {@link #getWrappedService}
152             */
153            public JournalStructureService getWrappedJournalStructureService() {
154                    return _journalStructureService;
155            }
156    
157            /**
158             * @deprecated Renamed to {@link #setWrappedService}
159             */
160            public void setWrappedJournalStructureService(
161                    JournalStructureService journalStructureService) {
162                    _journalStructureService = journalStructureService;
163            }
164    
165            public JournalStructureService getWrappedService() {
166                    return _journalStructureService;
167            }
168    
169            public void setWrappedService(
170                    JournalStructureService journalStructureService) {
171                    _journalStructureService = journalStructureService;
172            }
173    
174            private JournalStructureService _journalStructureService;
175    }