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