001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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 java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
067                    long groupId)
068                    throws com.liferay.portal.kernel.exception.SystemException {
069                    return _journalStructureService.getStructures(groupId);
070            }
071    
072            public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
073                    long companyId, long[] groupIds, java.lang.String keywords, int start,
074                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
075                    throws com.liferay.portal.kernel.exception.SystemException {
076                    return _journalStructureService.search(companyId, groupIds, keywords,
077                            start, end, obc);
078            }
079    
080            public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
081                    long companyId, long[] groupIds, java.lang.String structureId,
082                    java.lang.String name, java.lang.String description,
083                    boolean andOperator, int start, int end,
084                    com.liferay.portal.kernel.util.OrderByComparator obc)
085                    throws com.liferay.portal.kernel.exception.SystemException {
086                    return _journalStructureService.search(companyId, groupIds,
087                            structureId, name, description, andOperator, start, end, obc);
088            }
089    
090            public int searchCount(long companyId, long[] groupIds,
091                    java.lang.String keywords)
092                    throws com.liferay.portal.kernel.exception.SystemException {
093                    return _journalStructureService.searchCount(companyId, groupIds,
094                            keywords);
095            }
096    
097            public int searchCount(long companyId, long[] groupIds,
098                    java.lang.String structureId, java.lang.String name,
099                    java.lang.String description, boolean andOperator)
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _journalStructureService.searchCount(companyId, groupIds,
102                            structureId, name, description, andOperator);
103            }
104    
105            public com.liferay.portlet.journal.model.JournalStructure updateStructure(
106                    long groupId, java.lang.String structureId,
107                    java.lang.String parentStructureId, java.lang.String name,
108                    java.lang.String description, java.lang.String xsd,
109                    com.liferay.portal.service.ServiceContext serviceContext)
110                    throws com.liferay.portal.kernel.exception.PortalException,
111                            com.liferay.portal.kernel.exception.SystemException {
112                    return _journalStructureService.updateStructure(groupId, structureId,
113                            parentStructureId, name, description, xsd, serviceContext);
114            }
115    
116            public JournalStructureService getWrappedJournalStructureService() {
117                    return _journalStructureService;
118            }
119    
120            public void setWrappedJournalStructureService(
121                    JournalStructureService journalStructureService) {
122                    _journalStructureService = journalStructureService;
123            }
124    
125            private JournalStructureService _journalStructureService;
126    }