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