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    /**
019     * <p>
020     * This class is a wrapper for {@link JournalStructureService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       JournalStructureService
025     * @generated
026     */
027    public class JournalStructureServiceWrapper implements JournalStructureService {
028            public JournalStructureServiceWrapper(
029                    JournalStructureService journalStructureService) {
030                    _journalStructureService = journalStructureService;
031            }
032    
033            public com.liferay.portlet.journal.model.JournalStructure addStructure(
034                    long groupId, java.lang.String structureId, boolean autoStructureId,
035                    java.lang.String parentStructureId, java.lang.String name,
036                    java.lang.String description, java.lang.String xsd,
037                    com.liferay.portal.service.ServiceContext serviceContext)
038                    throws com.liferay.portal.kernel.exception.PortalException,
039                            com.liferay.portal.kernel.exception.SystemException {
040                    return _journalStructureService.addStructure(groupId, structureId,
041                            autoStructureId, parentStructureId, name, description, xsd,
042                            serviceContext);
043            }
044    
045            public com.liferay.portlet.journal.model.JournalStructure copyStructure(
046                    long groupId, java.lang.String oldStructureId,
047                    java.lang.String newStructureId, boolean autoStructureId)
048                    throws com.liferay.portal.kernel.exception.PortalException,
049                            com.liferay.portal.kernel.exception.SystemException {
050                    return _journalStructureService.copyStructure(groupId, oldStructureId,
051                            newStructureId, autoStructureId);
052            }
053    
054            public void deleteStructure(long groupId, java.lang.String structureId)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    _journalStructureService.deleteStructure(groupId, structureId);
058            }
059    
060            public com.liferay.portlet.journal.model.JournalStructure getStructure(
061                    long groupId, java.lang.String structureId)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    return _journalStructureService.getStructure(groupId, structureId);
065            }
066    
067            public com.liferay.portlet.journal.model.JournalStructure updateStructure(
068                    long groupId, java.lang.String structureId,
069                    java.lang.String parentStructureId, java.lang.String name,
070                    java.lang.String description, java.lang.String xsd,
071                    com.liferay.portal.service.ServiceContext serviceContext)
072                    throws com.liferay.portal.kernel.exception.PortalException,
073                            com.liferay.portal.kernel.exception.SystemException {
074                    return _journalStructureService.updateStructure(groupId, structureId,
075                            parentStructureId, name, description, xsd, serviceContext);
076            }
077    
078            public JournalStructureService getWrappedJournalStructureService() {
079                    return _journalStructureService;
080            }
081    
082            private JournalStructureService _journalStructureService;
083    }