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 ExpandoValueService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see ExpandoValueService
026     * @generated
027     */
028    @ProviderType
029    public class ExpandoValueServiceWrapper implements ExpandoValueService,
030            ServiceWrapper<ExpandoValueService> {
031            public ExpandoValueServiceWrapper(ExpandoValueService expandoValueService) {
032                    _expandoValueService = expandoValueService;
033            }
034    
035            @Override
036            public com.liferay.portlet.expando.model.ExpandoValue addValue(
037                    long companyId, java.lang.String className, java.lang.String tableName,
038                    java.lang.String columnName, long classPK, java.lang.String data)
039                    throws com.liferay.portal.kernel.exception.PortalException {
040                    return _expandoValueService.addValue(companyId, className, tableName,
041                            columnName, classPK, data);
042            }
043    
044            @Override
045            public com.liferay.portlet.expando.model.ExpandoValue addValue(
046                    long companyId, java.lang.String className, java.lang.String tableName,
047                    java.lang.String columnName, long classPK, java.lang.Object data)
048                    throws com.liferay.portal.kernel.exception.PortalException {
049                    return _expandoValueService.addValue(companyId, className, tableName,
050                            columnName, classPK, data);
051            }
052    
053            @Override
054            public void addValues(long companyId, java.lang.String className,
055                    java.lang.String tableName, long classPK,
056                    java.util.Map<java.lang.String, java.io.Serializable> attributeValues)
057                    throws com.liferay.portal.kernel.exception.PortalException {
058                    _expandoValueService.addValues(companyId, className, tableName,
059                            classPK, attributeValues);
060            }
061    
062            /**
063            * Returns the Spring bean ID for this bean.
064            *
065            * @return the Spring bean ID for this bean
066            */
067            @Override
068            public java.lang.String getBeanIdentifier() {
069                    return _expandoValueService.getBeanIdentifier();
070            }
071    
072            @Override
073            public java.io.Serializable getData(long companyId,
074                    java.lang.String className, java.lang.String tableName,
075                    java.lang.String columnName, long classPK)
076                    throws com.liferay.portal.kernel.exception.PortalException {
077                    return _expandoValueService.getData(companyId, className, tableName,
078                            columnName, classPK);
079            }
080    
081            @Override
082            public java.util.Map<java.lang.String, java.io.Serializable> getData(
083                    long companyId, java.lang.String className, java.lang.String tableName,
084                    java.util.Collection<java.lang.String> columnNames, long classPK)
085                    throws com.liferay.portal.kernel.exception.PortalException {
086                    return _expandoValueService.getData(companyId, className, tableName,
087                            columnNames, classPK);
088            }
089    
090            @Override
091            public com.liferay.portal.kernel.json.JSONObject getJSONData(
092                    long companyId, java.lang.String className, java.lang.String tableName,
093                    java.lang.String columnName, long classPK)
094                    throws com.liferay.portal.kernel.exception.PortalException {
095                    return _expandoValueService.getJSONData(companyId, className,
096                            tableName, columnName, classPK);
097            }
098    
099            /**
100            * Sets the Spring bean ID for this bean.
101            *
102            * @param beanIdentifier the Spring bean ID for this bean
103            */
104            @Override
105            public void setBeanIdentifier(java.lang.String beanIdentifier) {
106                    _expandoValueService.setBeanIdentifier(beanIdentifier);
107            }
108    
109            /**
110             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
111             */
112            @Deprecated
113            public ExpandoValueService getWrappedExpandoValueService() {
114                    return _expandoValueService;
115            }
116    
117            /**
118             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
119             */
120            @Deprecated
121            public void setWrappedExpandoValueService(
122                    ExpandoValueService expandoValueService) {
123                    _expandoValueService = expandoValueService;
124            }
125    
126            @Override
127            public ExpandoValueService getWrappedService() {
128                    return _expandoValueService;
129            }
130    
131            @Override
132            public void setWrappedService(ExpandoValueService expandoValueService) {
133                    _expandoValueService = expandoValueService;
134            }
135    
136            private ExpandoValueService _expandoValueService;
137    }