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    /**
019     * <p>
020     * This class is a wrapper for {@link ExpandoValueService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       ExpandoValueService
025     * @generated
026     */
027    public class ExpandoValueServiceWrapper implements ExpandoValueService {
028            public ExpandoValueServiceWrapper(ExpandoValueService expandoValueService) {
029                    _expandoValueService = expandoValueService;
030            }
031    
032            public com.liferay.portlet.expando.model.ExpandoValue addValue(
033                    long companyId, java.lang.String className, java.lang.String tableName,
034                    java.lang.String columnName, long classPK, java.lang.Object data)
035                    throws com.liferay.portal.kernel.exception.PortalException,
036                            com.liferay.portal.kernel.exception.SystemException {
037                    return _expandoValueService.addValue(companyId, className, tableName,
038                            columnName, classPK, data);
039            }
040    
041            public com.liferay.portlet.expando.model.ExpandoValue addValue(
042                    long companyId, java.lang.String className, java.lang.String tableName,
043                    java.lang.String columnName, long classPK, java.lang.String data)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    return _expandoValueService.addValue(companyId, className, tableName,
047                            columnName, classPK, data);
048            }
049    
050            public java.io.Serializable getData(long companyId,
051                    java.lang.String className, java.lang.String tableName,
052                    java.lang.String columnName, long classPK)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    return _expandoValueService.getData(companyId, className, tableName,
056                            columnName, classPK);
057            }
058    
059            public com.liferay.portal.kernel.json.JSONObject getJSONData(
060                    long companyId, java.lang.String className, java.lang.String tableName,
061                    java.lang.String columnName, long classPK)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    return _expandoValueService.getJSONData(companyId, className,
065                            tableName, columnName, classPK);
066            }
067    
068            public ExpandoValueService getWrappedExpandoValueService() {
069                    return _expandoValueService;
070            }
071    
072            private ExpandoValueService _expandoValueService;
073    }