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