001    /**
002     * Copyright (c) 2000-present 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.expando.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link ExpandoColumnService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see ExpandoColumnService
026     * @generated
027     */
028    @ProviderType
029    public class ExpandoColumnServiceWrapper implements ExpandoColumnService,
030            ServiceWrapper<ExpandoColumnService> {
031            public ExpandoColumnServiceWrapper(
032                    ExpandoColumnService expandoColumnService) {
033                    _expandoColumnService = expandoColumnService;
034            }
035    
036            @Override
037            public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
038                    long tableId, java.lang.String name, int type)
039                    throws com.liferay.portal.kernel.exception.PortalException {
040                    return _expandoColumnService.addColumn(tableId, name, type);
041            }
042    
043            @Override
044            public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
045                    long tableId, java.lang.String name, int type,
046                    java.lang.Object defaultData)
047                    throws com.liferay.portal.kernel.exception.PortalException {
048                    return _expandoColumnService.addColumn(tableId, name, type, defaultData);
049            }
050    
051            @Override
052            public void deleteColumn(long columnId)
053                    throws com.liferay.portal.kernel.exception.PortalException {
054                    _expandoColumnService.deleteColumn(columnId);
055            }
056    
057            /**
058            * Returns the Spring bean ID for this bean.
059            *
060            * @return the Spring bean ID for this bean
061            */
062            @Override
063            public java.lang.String getBeanIdentifier() {
064                    return _expandoColumnService.getBeanIdentifier();
065            }
066    
067            /**
068            * Sets the Spring bean ID for this bean.
069            *
070            * @param beanIdentifier the Spring bean ID for this bean
071            */
072            @Override
073            public void setBeanIdentifier(java.lang.String beanIdentifier) {
074                    _expandoColumnService.setBeanIdentifier(beanIdentifier);
075            }
076    
077            @Override
078            public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
079                    long columnId, java.lang.String name, int type)
080                    throws com.liferay.portal.kernel.exception.PortalException {
081                    return _expandoColumnService.updateColumn(columnId, name, type);
082            }
083    
084            @Override
085            public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
086                    long columnId, java.lang.String name, int type,
087                    java.lang.Object defaultData)
088                    throws com.liferay.portal.kernel.exception.PortalException {
089                    return _expandoColumnService.updateColumn(columnId, name, type,
090                            defaultData);
091            }
092    
093            @Override
094            public com.liferay.portlet.expando.model.ExpandoColumn updateTypeSettings(
095                    long columnId, java.lang.String typeSettings)
096                    throws com.liferay.portal.kernel.exception.PortalException {
097                    return _expandoColumnService.updateTypeSettings(columnId, typeSettings);
098            }
099    
100            /**
101             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
102             */
103            @Deprecated
104            public ExpandoColumnService getWrappedExpandoColumnService() {
105                    return _expandoColumnService;
106            }
107    
108            /**
109             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
110             */
111            @Deprecated
112            public void setWrappedExpandoColumnService(
113                    ExpandoColumnService expandoColumnService) {
114                    _expandoColumnService = expandoColumnService;
115            }
116    
117            @Override
118            public ExpandoColumnService getWrappedService() {
119                    return _expandoColumnService;
120            }
121    
122            @Override
123            public void setWrappedService(ExpandoColumnService expandoColumnService) {
124                    _expandoColumnService = expandoColumnService;
125            }
126    
127            private ExpandoColumnService _expandoColumnService;
128    }