001    /**
002     * Copyright (c) 2000-2010 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, java.lang.String name,
035                    java.lang.String description, java.lang.String xsd,
036                    com.liferay.portal.service.ServiceContext serviceContext)
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException {
039                    return _journalStructureService.addStructure(groupId, structureId,
040                            autoStructureId, parentStructureId, name, description, xsd,
041                            serviceContext);
042            }
043    
044            public com.liferay.portlet.journal.model.JournalStructure copyStructure(
045                    long groupId, java.lang.String oldStructureId,
046                    java.lang.String newStructureId, boolean autoStructureId)
047                    throws com.liferay.portal.kernel.exception.PortalException,
048                            com.liferay.portal.kernel.exception.SystemException {
049                    return _journalStructureService.copyStructure(groupId, oldStructureId,
050                            newStructureId, autoStructureId);
051            }
052    
053            public void deleteStructure(long groupId, java.lang.String structureId)
054                    throws com.liferay.portal.kernel.exception.PortalException,
055                            com.liferay.portal.kernel.exception.SystemException {
056                    _journalStructureService.deleteStructure(groupId, structureId);
057            }
058    
059            public com.liferay.portlet.journal.model.JournalStructure getStructure(
060                    long groupId, java.lang.String structureId)
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException {
063                    return _journalStructureService.getStructure(groupId, structureId);
064            }
065    
066            public com.liferay.portlet.journal.model.JournalStructure updateStructure(
067                    long groupId, java.lang.String structureId,
068                    java.lang.String parentStructureId, java.lang.String name,
069                    java.lang.String description, java.lang.String xsd,
070                    com.liferay.portal.service.ServiceContext serviceContext)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _journalStructureService.updateStructure(groupId, structureId,
074                            parentStructureId, name, description, xsd, serviceContext);
075            }
076    
077            public JournalStructureService getWrappedJournalStructureService() {
078                    return _journalStructureService;
079            }
080    
081            private JournalStructureService _journalStructureService;
082    }