001    /**
002     * Copyright (c) 2000-2010 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    /**
018     * <p>
019     * This class is a wrapper for {@link ExpandoColumnService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ExpandoColumnService
024     * @generated
025     */
026    public class ExpandoColumnServiceWrapper implements ExpandoColumnService {
027            public ExpandoColumnServiceWrapper(
028                    ExpandoColumnService expandoColumnService) {
029                    _expandoColumnService = expandoColumnService;
030            }
031    
032            public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
033                    long tableId, java.lang.String name, int type)
034                    throws com.liferay.portal.kernel.exception.PortalException,
035                            com.liferay.portal.kernel.exception.SystemException {
036                    return _expandoColumnService.addColumn(tableId, name, type);
037            }
038    
039            public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
040                    long tableId, java.lang.String name, int type,
041                    java.lang.Object defaultData)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    return _expandoColumnService.addColumn(tableId, name, type, defaultData);
045            }
046    
047            public void deleteColumn(long columnId)
048                    throws com.liferay.portal.kernel.exception.PortalException,
049                            com.liferay.portal.kernel.exception.SystemException {
050                    _expandoColumnService.deleteColumn(columnId);
051            }
052    
053            public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
054                    long columnId, java.lang.String name, int type)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    return _expandoColumnService.updateColumn(columnId, name, type);
058            }
059    
060            public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
061                    long columnId, 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.updateColumn(columnId, name, type,
066                            defaultData);
067            }
068    
069            public com.liferay.portlet.expando.model.ExpandoColumn updateTypeSettings(
070                    long columnId, java.lang.String typeSettings)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _expandoColumnService.updateTypeSettings(columnId, typeSettings);
074            }
075    
076            public ExpandoColumnService getWrappedExpandoColumnService() {
077                    return _expandoColumnService;
078            }
079    
080            private ExpandoColumnService _expandoColumnService;
081    }