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            /**
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 java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
090                    long groupId)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _journalStructureService.getStructures(groupId);
093            }
094    
095            public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
096                    long[] groupIds)
097                    throws com.liferay.portal.kernel.exception.SystemException {
098                    return _journalStructureService.getStructures(groupIds);
099            }
100    
101            public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
102                    long companyId, long[] groupIds, java.lang.String keywords, int start,
103                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
104                    throws com.liferay.portal.kernel.exception.SystemException {
105                    return _journalStructureService.search(companyId, groupIds, keywords,
106                            start, end, obc);
107            }
108    
109            public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
110                    long companyId, long[] groupIds, java.lang.String structureId,
111                    java.lang.String name, java.lang.String description,
112                    boolean andOperator, int start, int end,
113                    com.liferay.portal.kernel.util.OrderByComparator obc)
114                    throws com.liferay.portal.kernel.exception.SystemException {
115                    return _journalStructureService.search(companyId, groupIds,
116                            structureId, name, description, andOperator, start, end, obc);
117            }
118    
119            public int searchCount(long companyId, long[] groupIds,
120                    java.lang.String keywords)
121                    throws com.liferay.portal.kernel.exception.SystemException {
122                    return _journalStructureService.searchCount(companyId, groupIds,
123                            keywords);
124            }
125    
126            public int searchCount(long companyId, long[] groupIds,
127                    java.lang.String structureId, java.lang.String name,
128                    java.lang.String description, boolean andOperator)
129                    throws com.liferay.portal.kernel.exception.SystemException {
130                    return _journalStructureService.searchCount(companyId, groupIds,
131                            structureId, name, description, andOperator);
132            }
133    
134            public com.liferay.portlet.journal.model.JournalStructure updateStructure(
135                    long groupId, java.lang.String structureId,
136                    java.lang.String parentStructureId,
137                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
138                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
139                    java.lang.String xsd,
140                    com.liferay.portal.service.ServiceContext serviceContext)
141                    throws com.liferay.portal.kernel.exception.PortalException,
142                            com.liferay.portal.kernel.exception.SystemException {
143                    return _journalStructureService.updateStructure(groupId, structureId,
144                            parentStructureId, nameMap, descriptionMap, xsd, serviceContext);
145            }
146    
147            /**
148             * @deprecated Renamed to {@link #getWrappedService}
149             */
150            public JournalStructureService getWrappedJournalStructureService() {
151                    return _journalStructureService;
152            }
153    
154            /**
155             * @deprecated Renamed to {@link #setWrappedService}
156             */
157            public void setWrappedJournalStructureService(
158                    JournalStructureService journalStructureService) {
159                    _journalStructureService = journalStructureService;
160            }
161    
162            public JournalStructureService getWrappedService() {
163                    return _journalStructureService;
164            }
165    
166            public void setWrappedService(
167                    JournalStructureService journalStructureService) {
168                    _journalStructureService = journalStructureService;
169            }
170    
171            private JournalStructureService _journalStructureService;
172    }