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