001    /**
002     * Copyright (c) 2000-2012 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     * <p>
021     * This class is a wrapper for {@link ExpandoValueService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       ExpandoValueService
026     * @generated
027     */
028    public class ExpandoValueServiceWrapper implements ExpandoValueService,
029            ServiceWrapper<ExpandoValueService> {
030            public ExpandoValueServiceWrapper(ExpandoValueService expandoValueService) {
031                    _expandoValueService = expandoValueService;
032            }
033    
034            public com.liferay.portlet.expando.model.ExpandoValue addValue(
035                    long companyId, java.lang.String className, java.lang.String tableName,
036                    java.lang.String columnName, long classPK, java.lang.Object data)
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException {
039                    return _expandoValueService.addValue(companyId, className, tableName,
040                            columnName, classPK, data);
041            }
042    
043            public com.liferay.portlet.expando.model.ExpandoValue addValue(
044                    long companyId, java.lang.String className, java.lang.String tableName,
045                    java.lang.String columnName, long classPK, java.lang.String data)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    return _expandoValueService.addValue(companyId, className, tableName,
049                            columnName, classPK, data);
050            }
051    
052            public void addValues(long companyId, java.lang.String className,
053                    java.lang.String tableName, long classPK,
054                    java.util.Map<java.lang.String, java.io.Serializable> attributeValues)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    _expandoValueService.addValues(companyId, className, tableName,
058                            classPK, attributeValues);
059            }
060    
061            public java.util.Map<java.lang.String, java.io.Serializable> getData(
062                    long companyId, java.lang.String className, java.lang.String tableName,
063                    java.util.Collection<java.lang.String> columnNames, long classPK)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    return _expandoValueService.getData(companyId, className, tableName,
067                            columnNames, classPK);
068            }
069    
070            public java.io.Serializable getData(long companyId,
071                    java.lang.String className, java.lang.String tableName,
072                    java.lang.String columnName, long classPK)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _expandoValueService.getData(companyId, className, tableName,
076                            columnName, classPK);
077            }
078    
079            public com.liferay.portal.kernel.json.JSONObject getJSONData(
080                    long companyId, java.lang.String className, java.lang.String tableName,
081                    java.lang.String columnName, long classPK)
082                    throws com.liferay.portal.kernel.exception.PortalException,
083                            com.liferay.portal.kernel.exception.SystemException {
084                    return _expandoValueService.getJSONData(companyId, className,
085                            tableName, columnName, classPK);
086            }
087    
088            /**
089             * @deprecated Renamed to {@link #getWrappedService}
090             */
091            public ExpandoValueService getWrappedExpandoValueService() {
092                    return _expandoValueService;
093            }
094    
095            /**
096             * @deprecated Renamed to {@link #setWrappedService}
097             */
098            public void setWrappedExpandoValueService(
099                    ExpandoValueService expandoValueService) {
100                    _expandoValueService = expandoValueService;
101            }
102    
103            public ExpandoValueService getWrappedService() {
104                    return _expandoValueService;
105            }
106    
107            public void setWrappedService(ExpandoValueService expandoValueService) {
108                    _expandoValueService = expandoValueService;
109            }
110    
111            private ExpandoValueService _expandoValueService;
112    }