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