001    /**
002     * Copyright (c) 2000-2010 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 java.io.Serializable getData(long companyId,
050                    java.lang.String className, java.lang.String tableName,
051                    java.lang.String columnName, long classPK)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    return _expandoValueService.getData(companyId, className, tableName,
055                            columnName, classPK);
056            }
057    
058            public com.liferay.portal.kernel.json.JSONObject getJSONData(
059                    long companyId, 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.getJSONData(companyId, className,
064                            tableName, columnName, classPK);
065            }
066    
067            public ExpandoValueService getWrappedExpandoValueService() {
068                    return _expandoValueService;
069            }
070    
071            private ExpandoValueService _expandoValueService;
072    }