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