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            @Override
058            public com.liferay.portlet.expando.model.ExpandoColumn fetchExpandoColumn(
059                    long columnId)
060                    throws com.liferay.portal.kernel.exception.PortalException {
061                    return _expandoColumnService.fetchExpandoColumn(columnId);
062            }
063    
064            /**
065            * Returns the Spring bean ID for this bean.
066            *
067            * @return the Spring bean ID for this bean
068            */
069            @Override
070            public java.lang.String getBeanIdentifier() {
071                    return _expandoColumnService.getBeanIdentifier();
072            }
073    
074            /**
075            * Sets the Spring bean ID for this bean.
076            *
077            * @param beanIdentifier the Spring bean ID for this bean
078            */
079            @Override
080            public void setBeanIdentifier(java.lang.String beanIdentifier) {
081                    _expandoColumnService.setBeanIdentifier(beanIdentifier);
082            }
083    
084            @Override
085            public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
086                    long columnId, java.lang.String name, int type)
087                    throws com.liferay.portal.kernel.exception.PortalException {
088                    return _expandoColumnService.updateColumn(columnId, name, type);
089            }
090    
091            @Override
092            public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
093                    long columnId, java.lang.String name, int type,
094                    java.lang.Object defaultData)
095                    throws com.liferay.portal.kernel.exception.PortalException {
096                    return _expandoColumnService.updateColumn(columnId, name, type,
097                            defaultData);
098            }
099    
100            @Override
101            public com.liferay.portlet.expando.model.ExpandoColumn updateTypeSettings(
102                    long columnId, java.lang.String typeSettings)
103                    throws com.liferay.portal.kernel.exception.PortalException {
104                    return _expandoColumnService.updateTypeSettings(columnId, typeSettings);
105            }
106    
107            /**
108             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
109             */
110            @Deprecated
111            public ExpandoColumnService getWrappedExpandoColumnService() {
112                    return _expandoColumnService;
113            }
114    
115            /**
116             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
117             */
118            @Deprecated
119            public void setWrappedExpandoColumnService(
120                    ExpandoColumnService expandoColumnService) {
121                    _expandoColumnService = expandoColumnService;
122            }
123    
124            @Override
125            public ExpandoColumnService getWrappedService() {
126                    return _expandoColumnService;
127            }
128    
129            @Override
130            public void setWrappedService(ExpandoColumnService expandoColumnService) {
131                    _expandoColumnService = expandoColumnService;
132            }
133    
134            private ExpandoColumnService _expandoColumnService;
135    }