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.dynamicdatamapping.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link DDMStructureService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       DDMStructureService
026     * @generated
027     */
028    public class DDMStructureServiceWrapper implements DDMStructureService,
029            ServiceWrapper<DDMStructureService> {
030            public DDMStructureServiceWrapper(DDMStructureService ddmStructureService) {
031                    _ddmStructureService = ddmStructureService;
032            }
033    
034            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
035                    long groupId, long classNameId, java.lang.String structureKey,
036                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
037                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
038                    java.lang.String xsd, java.lang.String storageType, int type,
039                    com.liferay.portal.service.ServiceContext serviceContext)
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException {
042                    return _ddmStructureService.addStructure(groupId, classNameId,
043                            structureKey, nameMap, descriptionMap, xsd, storageType, type,
044                            serviceContext);
045            }
046    
047            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure copyStructure(
048                    long structureId,
049                    com.liferay.portal.service.ServiceContext serviceContext)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    return _ddmStructureService.copyStructure(structureId, serviceContext);
053            }
054    
055            public void deleteStructure(long structureId)
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException {
058                    _ddmStructureService.deleteStructure(structureId);
059            }
060    
061            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchStructure(
062                    long groupId, java.lang.String structureKey)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    return _ddmStructureService.fetchStructure(groupId, structureKey);
066            }
067    
068            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure(
069                    long structureId)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _ddmStructureService.getStructure(structureId);
073            }
074    
075            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(
076                    long structureId,
077                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
078                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
079                    java.lang.String xsd,
080                    com.liferay.portal.service.ServiceContext serviceContext)
081                    throws com.liferay.portal.kernel.exception.PortalException,
082                            com.liferay.portal.kernel.exception.SystemException {
083                    return _ddmStructureService.updateStructure(structureId, nameMap,
084                            descriptionMap, xsd, serviceContext);
085            }
086    
087            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(
088                    long groupId, java.lang.String structureKey,
089                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
090                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
091                    java.lang.String xsd,
092                    com.liferay.portal.service.ServiceContext serviceContext)
093                    throws com.liferay.portal.kernel.exception.PortalException,
094                            com.liferay.portal.kernel.exception.SystemException {
095                    return _ddmStructureService.updateStructure(groupId, structureKey,
096                            nameMap, descriptionMap, xsd, serviceContext);
097            }
098    
099            /**
100             * @deprecated Renamed to {@link #getWrappedService}
101             */
102            public DDMStructureService getWrappedDDMStructureService() {
103                    return _ddmStructureService;
104            }
105    
106            /**
107             * @deprecated Renamed to {@link #setWrappedService}
108             */
109            public void setWrappedDDMStructureService(
110                    DDMStructureService ddmStructureService) {
111                    _ddmStructureService = ddmStructureService;
112            }
113    
114            public DDMStructureService getWrappedService() {
115                    return _ddmStructureService;
116            }
117    
118            public void setWrappedService(DDMStructureService ddmStructureService) {
119                    _ddmStructureService = ddmStructureService;
120            }
121    
122            private DDMStructureService _ddmStructureService;
123    }