001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link ExpandoColumnService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see ExpandoColumnService
026     * @generated
027     */
028    @ProviderType
029    public class ExpandoColumnServiceWrapper implements ExpandoColumnService,
030            ServiceWrapper<ExpandoColumnService> {
031            public ExpandoColumnServiceWrapper(
032                    ExpandoColumnService expandoColumnService) {
033                    _expandoColumnService = expandoColumnService;
034            }
035    
036            @Override
037            public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
038                    long tableId, java.lang.String name, int type)
039                    throws com.liferay.portal.kernel.exception.PortalException {
040                    return _expandoColumnService.addColumn(tableId, name, type);
041            }
042    
043            @Override
044            public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
045                    long tableId, java.lang.String name, int type,
046                    java.lang.Object defaultData)
047                    throws com.liferay.portal.kernel.exception.PortalException {
048                    return _expandoColumnService.addColumn(tableId, name, type, defaultData);
049            }
050    
051            @Override
052            public void deleteColumn(long columnId)
053                    throws com.liferay.portal.kernel.exception.PortalException {
054                    _expandoColumnService.deleteColumn(columnId);
055            }
056    
057            @Override
058            public com.liferay.portlet.expando.model.ExpandoColumn fetchExpandoColumn(
059                    long columnId)
060                    throws com.liferay.portal.kernel.exception.PortalException {
061                    return _expandoColumnService.fetchExpandoColumn(columnId);
062            }
063    
064            /**
065            * Returns the OSGi service identifier.
066            *
067            * @return the OSGi service identifier
068            */
069            @Override
070            public java.lang.String getOSGiServiceIdentifier() {
071                    return _expandoColumnService.getOSGiServiceIdentifier();
072            }
073    
074            @Override
075            public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
076                    long columnId, java.lang.String name, int type)
077                    throws com.liferay.portal.kernel.exception.PortalException {
078                    return _expandoColumnService.updateColumn(columnId, name, type);
079            }
080    
081            @Override
082            public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
083                    long columnId, java.lang.String name, int type,
084                    java.lang.Object defaultData)
085                    throws com.liferay.portal.kernel.exception.PortalException {
086                    return _expandoColumnService.updateColumn(columnId, name, type,
087                            defaultData);
088            }
089    
090            @Override
091            public com.liferay.portlet.expando.model.ExpandoColumn updateTypeSettings(
092                    long columnId, java.lang.String typeSettings)
093                    throws com.liferay.portal.kernel.exception.PortalException {
094                    return _expandoColumnService.updateTypeSettings(columnId, typeSettings);
095            }
096    
097            @Override
098            public ExpandoColumnService getWrappedService() {
099                    return _expandoColumnService;
100            }
101    
102            @Override
103            public void setWrappedService(ExpandoColumnService expandoColumnService) {
104                    _expandoColumnService = expandoColumnService;
105            }
106    
107            private ExpandoColumnService _expandoColumnService;
108    }