001    /**
002     * Copyright (c) 2000-2012 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 userId, long groupId, java.lang.String parentStructureKey,
054                    long classNameId, java.lang.String structureKey,
055                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
056                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
057                    java.lang.String xsd, java.lang.String storageType, int type,
058                    com.liferay.portal.service.ServiceContext serviceContext)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    return _ddmStructureService.addStructure(userId, groupId,
062                            parentStructureKey, classNameId, structureKey, nameMap,
063                            descriptionMap, xsd, storageType, type, serviceContext);
064            }
065    
066            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
067                    long userId, long groupId, long classNameId,
068                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
069                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
070                    java.lang.String xsd,
071                    com.liferay.portal.service.ServiceContext serviceContext)
072                    throws com.liferay.portal.kernel.exception.PortalException,
073                            com.liferay.portal.kernel.exception.SystemException {
074                    return _ddmStructureService.addStructure(userId, groupId, classNameId,
075                            nameMap, descriptionMap, xsd, serviceContext);
076            }
077    
078            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
079                    long groupId, long parentStructureId, long classNameId,
080                    java.lang.String structureKey,
081                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
082                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
083                    java.lang.String xsd, java.lang.String storageType, int type,
084                    com.liferay.portal.service.ServiceContext serviceContext)
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException {
087                    return _ddmStructureService.addStructure(groupId, parentStructureId,
088                            classNameId, structureKey, nameMap, descriptionMap, xsd,
089                            storageType, type, serviceContext);
090            }
091    
092            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure copyStructure(
093                    long structureId,
094                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
095                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
096                    com.liferay.portal.service.ServiceContext serviceContext)
097                    throws com.liferay.portal.kernel.exception.PortalException,
098                            com.liferay.portal.kernel.exception.SystemException {
099                    return _ddmStructureService.copyStructure(structureId, nameMap,
100                            descriptionMap, serviceContext);
101            }
102    
103            public void deleteStructure(long structureId)
104                    throws com.liferay.portal.kernel.exception.PortalException,
105                            com.liferay.portal.kernel.exception.SystemException {
106                    _ddmStructureService.deleteStructure(structureId);
107            }
108    
109            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchStructure(
110                    long groupId, java.lang.String structureKey)
111                    throws com.liferay.portal.kernel.exception.PortalException,
112                            com.liferay.portal.kernel.exception.SystemException {
113                    return _ddmStructureService.fetchStructure(groupId, structureKey);
114            }
115    
116            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure(
117                    long structureId)
118                    throws com.liferay.portal.kernel.exception.PortalException,
119                            com.liferay.portal.kernel.exception.SystemException {
120                    return _ddmStructureService.getStructure(structureId);
121            }
122    
123            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure(
124                    long groupId, java.lang.String structureKey)
125                    throws com.liferay.portal.kernel.exception.PortalException,
126                            com.liferay.portal.kernel.exception.SystemException {
127                    return _ddmStructureService.getStructure(groupId, structureKey);
128            }
129    
130            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure(
131                    long groupId, java.lang.String structureKey,
132                    boolean includeGlobalStructures)
133                    throws com.liferay.portal.kernel.exception.PortalException,
134                            com.liferay.portal.kernel.exception.SystemException {
135                    return _ddmStructureService.getStructure(groupId, structureKey,
136                            includeGlobalStructures);
137            }
138    
139            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures(
140                    long groupId)
141                    throws com.liferay.portal.kernel.exception.SystemException {
142                    return _ddmStructureService.getStructures(groupId);
143            }
144    
145            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures(
146                    long[] groupIds)
147                    throws com.liferay.portal.kernel.exception.SystemException {
148                    return _ddmStructureService.getStructures(groupIds);
149            }
150    
151            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> search(
152                    long companyId, long[] groupIds, long[] classNameIds,
153                    java.lang.String keywords, int start, int end,
154                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
155                    throws com.liferay.portal.kernel.exception.SystemException {
156                    return _ddmStructureService.search(companyId, groupIds, classNameIds,
157                            keywords, start, end, orderByComparator);
158            }
159    
160            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> search(
161                    long companyId, long[] groupIds, long[] classNameIds,
162                    java.lang.String name, java.lang.String description,
163                    java.lang.String storageType, int type, boolean andOperator, int start,
164                    int end,
165                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166                    throws com.liferay.portal.kernel.exception.SystemException {
167                    return _ddmStructureService.search(companyId, groupIds, classNameIds,
168                            name, description, storageType, type, andOperator, start, end,
169                            orderByComparator);
170            }
171    
172            public int searchCount(long companyId, long[] groupIds,
173                    long[] classNameIds, java.lang.String keywords)
174                    throws com.liferay.portal.kernel.exception.SystemException {
175                    return _ddmStructureService.searchCount(companyId, groupIds,
176                            classNameIds, keywords);
177            }
178    
179            public int searchCount(long companyId, long[] groupIds,
180                    long[] classNameIds, java.lang.String name,
181                    java.lang.String description, java.lang.String storageType, int type,
182                    boolean andOperator)
183                    throws com.liferay.portal.kernel.exception.SystemException {
184                    return _ddmStructureService.searchCount(companyId, groupIds,
185                            classNameIds, name, description, storageType, type, andOperator);
186            }
187    
188            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(
189                    long structureId, long parentStructureId,
190                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
191                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
192                    java.lang.String xsd,
193                    com.liferay.portal.service.ServiceContext serviceContext)
194                    throws com.liferay.portal.kernel.exception.PortalException,
195                            com.liferay.portal.kernel.exception.SystemException {
196                    return _ddmStructureService.updateStructure(structureId,
197                            parentStructureId, nameMap, descriptionMap, xsd, serviceContext);
198            }
199    
200            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(
201                    long groupId, long parentStructureId, java.lang.String structureKey,
202                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
203                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
204                    java.lang.String xsd,
205                    com.liferay.portal.service.ServiceContext serviceContext)
206                    throws com.liferay.portal.kernel.exception.PortalException,
207                            com.liferay.portal.kernel.exception.SystemException {
208                    return _ddmStructureService.updateStructure(groupId, parentStructureId,
209                            structureKey, nameMap, descriptionMap, xsd, serviceContext);
210            }
211    
212            /**
213             * @deprecated Renamed to {@link #getWrappedService}
214             */
215            public DDMStructureService getWrappedDDMStructureService() {
216                    return _ddmStructureService;
217            }
218    
219            /**
220             * @deprecated Renamed to {@link #setWrappedService}
221             */
222            public void setWrappedDDMStructureService(
223                    DDMStructureService ddmStructureService) {
224                    _ddmStructureService = ddmStructureService;
225            }
226    
227            public DDMStructureService getWrappedService() {
228                    return _ddmStructureService;
229            }
230    
231            public void setWrappedService(DDMStructureService ddmStructureService) {
232                    _ddmStructureService = ddmStructureService;
233            }
234    
235            private DDMStructureService _ddmStructureService;
236    }