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