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.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            public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
036                    long tableId, java.lang.String name, int type)
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException {
039                    return _expandoColumnService.addColumn(tableId, name, type);
040            }
041    
042            public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
043                    long tableId, java.lang.String name, int type,
044                    java.lang.Object defaultData)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    return _expandoColumnService.addColumn(tableId, name, type, defaultData);
048            }
049    
050            public void deleteColumn(long columnId)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    _expandoColumnService.deleteColumn(columnId);
054            }
055    
056            public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
057                    long columnId, java.lang.String name, int type)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _expandoColumnService.updateColumn(columnId, name, type);
061            }
062    
063            public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
064                    long columnId, java.lang.String name, int type,
065                    java.lang.Object defaultData)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    return _expandoColumnService.updateColumn(columnId, name, type,
069                            defaultData);
070            }
071    
072            public com.liferay.portlet.expando.model.ExpandoColumn updateTypeSettings(
073                    long columnId, java.lang.String typeSettings)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return _expandoColumnService.updateTypeSettings(columnId, typeSettings);
077            }
078    
079            /**
080             * @deprecated Renamed to {@link #getWrappedService}
081             */
082            public ExpandoColumnService getWrappedExpandoColumnService() {
083                    return _expandoColumnService;
084            }
085    
086            /**
087             * @deprecated Renamed to {@link #setWrappedService}
088             */
089            public void setWrappedExpandoColumnService(
090                    ExpandoColumnService expandoColumnService) {
091                    _expandoColumnService = expandoColumnService;
092            }
093    
094            public ExpandoColumnService getWrappedService() {
095                    return _expandoColumnService;
096            }
097    
098            public void setWrappedService(ExpandoColumnService expandoColumnService) {
099                    _expandoColumnService = expandoColumnService;
100            }
101    
102            private ExpandoColumnService _expandoColumnService;
103    }