001    /**
002     * Copyright (c) 2000-2011 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.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                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
050                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
051                    com.liferay.portal.service.ServiceContext serviceContext)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    return _ddmStructureService.copyStructure(structureId, nameMap,
055                            descriptionMap, serviceContext);
056            }
057    
058            public void deleteStructure(long structureId)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    _ddmStructureService.deleteStructure(structureId);
062            }
063    
064            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchStructure(
065                    long groupId, java.lang.String structureKey)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    return _ddmStructureService.fetchStructure(groupId, structureKey);
069            }
070    
071            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure(
072                    long structureId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _ddmStructureService.getStructure(structureId);
076            }
077    
078            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(
079                    long structureId,
080                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
081                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
082                    java.lang.String xsd,
083                    com.liferay.portal.service.ServiceContext serviceContext)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _ddmStructureService.updateStructure(structureId, nameMap,
087                            descriptionMap, xsd, serviceContext);
088            }
089    
090            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(
091                    long groupId, java.lang.String structureKey,
092                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
093                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
094                    java.lang.String xsd,
095                    com.liferay.portal.service.ServiceContext serviceContext)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    return _ddmStructureService.updateStructure(groupId, structureKey,
099                            nameMap, descriptionMap, xsd, serviceContext);
100            }
101    
102            /**
103             * @deprecated Renamed to {@link #getWrappedService}
104             */
105            public DDMStructureService getWrappedDDMStructureService() {
106                    return _ddmStructureService;
107            }
108    
109            /**
110             * @deprecated Renamed to {@link #setWrappedService}
111             */
112            public void setWrappedDDMStructureService(
113                    DDMStructureService ddmStructureService) {
114                    _ddmStructureService = ddmStructureService;
115            }
116    
117            public DDMStructureService getWrappedService() {
118                    return _ddmStructureService;
119            }
120    
121            public void setWrappedService(DDMStructureService ddmStructureService) {
122                    _ddmStructureService = ddmStructureService;
123            }
124    
125            private DDMStructureService _ddmStructureService;
126    }