001    /**
002     * Copyright (c) 2000-2013 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            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            public java.lang.String getBeanIdentifier() {
040                    return _ddmStructureService.getBeanIdentifier();
041            }
042    
043            /**
044            * Sets the Spring bean ID for this bean.
045            *
046            * @param beanIdentifier the Spring bean ID for this bean
047            */
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _ddmStructureService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
053                    long groupId, long classNameId, java.lang.String structureKey,
054                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
055                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
056                    java.lang.String xsd, java.lang.String storageType, int type,
057                    com.liferay.portal.service.ServiceContext serviceContext)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _ddmStructureService.addStructure(groupId, classNameId,
061                            structureKey, nameMap, descriptionMap, xsd, storageType, type,
062                            serviceContext);
063            }
064    
065            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure copyStructure(
066                    long structureId,
067                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
068                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
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.copyStructure(structureId, nameMap,
073                            descriptionMap, serviceContext);
074            }
075    
076            public void deleteStructure(long structureId)
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException {
079                    _ddmStructureService.deleteStructure(structureId);
080            }
081    
082            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchStructure(
083                    long groupId, java.lang.String structureKey)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _ddmStructureService.fetchStructure(groupId, structureKey);
087            }
088    
089            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure(
090                    long structureId)
091                    throws com.liferay.portal.kernel.exception.PortalException,
092                            com.liferay.portal.kernel.exception.SystemException {
093                    return _ddmStructureService.getStructure(structureId);
094            }
095    
096            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> search(
097                    long companyId, long[] groupIds, long[] classNameIds,
098                    java.lang.String keywords, int start, int end,
099                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _ddmStructureService.search(companyId, groupIds, classNameIds,
102                            keywords, start, end, orderByComparator);
103            }
104    
105            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> search(
106                    long companyId, long[] groupIds, long[] classNameIds,
107                    java.lang.String name, java.lang.String description,
108                    java.lang.String storageType, int type, boolean andOperator, int start,
109                    int end,
110                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111                    throws com.liferay.portal.kernel.exception.SystemException {
112                    return _ddmStructureService.search(companyId, groupIds, classNameIds,
113                            name, description, storageType, type, andOperator, start, end,
114                            orderByComparator);
115            }
116    
117            public int searchCount(long companyId, long[] groupIds,
118                    long[] classNameIds, java.lang.String keywords)
119                    throws com.liferay.portal.kernel.exception.SystemException {
120                    return _ddmStructureService.searchCount(companyId, groupIds,
121                            classNameIds, keywords);
122            }
123    
124            public int searchCount(long companyId, long[] groupIds,
125                    long[] classNameIds, java.lang.String name,
126                    java.lang.String description, java.lang.String storageType, int type,
127                    boolean andOperator)
128                    throws com.liferay.portal.kernel.exception.SystemException {
129                    return _ddmStructureService.searchCount(companyId, groupIds,
130                            classNameIds, name, description, storageType, type, andOperator);
131            }
132    
133            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(
134                    long structureId,
135                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
136                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
137                    java.lang.String xsd,
138                    com.liferay.portal.service.ServiceContext serviceContext)
139                    throws com.liferay.portal.kernel.exception.PortalException,
140                            com.liferay.portal.kernel.exception.SystemException {
141                    return _ddmStructureService.updateStructure(structureId, nameMap,
142                            descriptionMap, xsd, serviceContext);
143            }
144    
145            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(
146                    long groupId, java.lang.String structureKey,
147                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
148                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
149                    java.lang.String xsd,
150                    com.liferay.portal.service.ServiceContext serviceContext)
151                    throws com.liferay.portal.kernel.exception.PortalException,
152                            com.liferay.portal.kernel.exception.SystemException {
153                    return _ddmStructureService.updateStructure(groupId, structureKey,
154                            nameMap, descriptionMap, xsd, serviceContext);
155            }
156    
157            /**
158             * @deprecated Renamed to {@link #getWrappedService}
159             */
160            public DDMStructureService getWrappedDDMStructureService() {
161                    return _ddmStructureService;
162            }
163    
164            /**
165             * @deprecated Renamed to {@link #setWrappedService}
166             */
167            public void setWrappedDDMStructureService(
168                    DDMStructureService ddmStructureService) {
169                    _ddmStructureService = ddmStructureService;
170            }
171    
172            public DDMStructureService getWrappedService() {
173                    return _ddmStructureService;
174            }
175    
176            public void setWrappedService(DDMStructureService ddmStructureService) {
177                    _ddmStructureService = ddmStructureService;
178            }
179    
180            private DDMStructureService _ddmStructureService;
181    }