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