001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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    }