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 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            /**
037            * Returns the Spring bean ID for this bean.
038            *
039            * @return the Spring bean ID for this bean
040            */
041            @Override
042            public java.lang.String getBeanIdentifier() {
043                    return _expandoColumnService.getBeanIdentifier();
044            }
045    
046            /**
047            * Sets the Spring bean ID for this bean.
048            *
049            * @param beanIdentifier the Spring bean ID for this bean
050            */
051            @Override
052            public void setBeanIdentifier(java.lang.String beanIdentifier) {
053                    _expandoColumnService.setBeanIdentifier(beanIdentifier);
054            }
055    
056            @Override
057            public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
058                    long tableId, java.lang.String name, int type)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    return _expandoColumnService.addColumn(tableId, name, type);
062            }
063    
064            @Override
065            public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
066                    long tableId, java.lang.String name, int type,
067                    java.lang.Object defaultData)
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException {
070                    return _expandoColumnService.addColumn(tableId, name, type, defaultData);
071            }
072    
073            @Override
074            public void deleteColumn(long columnId)
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException {
077                    _expandoColumnService.deleteColumn(columnId);
078            }
079    
080            @Override
081            public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
082                    long columnId, java.lang.String name, int type)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    return _expandoColumnService.updateColumn(columnId, name, type);
086            }
087    
088            @Override
089            public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
090                    long columnId, java.lang.String name, int type,
091                    java.lang.Object defaultData)
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException {
094                    return _expandoColumnService.updateColumn(columnId, name, type,
095                            defaultData);
096            }
097    
098            @Override
099            public com.liferay.portlet.expando.model.ExpandoColumn updateTypeSettings(
100                    long columnId, java.lang.String typeSettings)
101                    throws com.liferay.portal.kernel.exception.PortalException,
102                            com.liferay.portal.kernel.exception.SystemException {
103                    return _expandoColumnService.updateTypeSettings(columnId, typeSettings);
104            }
105    
106            /**
107             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
108             */
109            public ExpandoColumnService getWrappedExpandoColumnService() {
110                    return _expandoColumnService;
111            }
112    
113            /**
114             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
115             */
116            public void setWrappedExpandoColumnService(
117                    ExpandoColumnService expandoColumnService) {
118                    _expandoColumnService = expandoColumnService;
119            }
120    
121            @Override
122            public ExpandoColumnService getWrappedService() {
123                    return _expandoColumnService;
124            }
125    
126            @Override
127            public void setWrappedService(ExpandoColumnService expandoColumnService) {
128                    _expandoColumnService = expandoColumnService;
129            }
130    
131            private ExpandoColumnService _expandoColumnService;
132    }