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