001    /**
002     * Copyright (c) 2000-2013 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            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            public java.lang.String getBeanIdentifier() {
040                    return _expandoValueService.getBeanIdentifier();
041            }
042    
043            /**
044            * Sets the Spring bean ID for this bean.
045            *
046            * @param beanIdentifier the Spring bean ID for this bean
047            */
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _expandoValueService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public com.liferay.portlet.expando.model.ExpandoValue addValue(
053                    long companyId, java.lang.String className, java.lang.String tableName,
054                    java.lang.String columnName, long classPK, java.lang.Object data)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    return _expandoValueService.addValue(companyId, className, tableName,
058                            columnName, classPK, data);
059            }
060    
061            public com.liferay.portlet.expando.model.ExpandoValue addValue(
062                    long companyId, java.lang.String className, java.lang.String tableName,
063                    java.lang.String columnName, long classPK, java.lang.String data)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    return _expandoValueService.addValue(companyId, className, tableName,
067                            columnName, classPK, data);
068            }
069    
070            public void addValues(long companyId, java.lang.String className,
071                    java.lang.String tableName, long classPK,
072                    java.util.Map<java.lang.String, java.io.Serializable> attributeValues)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    _expandoValueService.addValues(companyId, className, tableName,
076                            classPK, attributeValues);
077            }
078    
079            public java.util.Map<java.lang.String, java.io.Serializable> getData(
080                    long companyId, java.lang.String className, java.lang.String tableName,
081                    java.util.Collection<java.lang.String> columnNames, long classPK)
082                    throws com.liferay.portal.kernel.exception.PortalException,
083                            com.liferay.portal.kernel.exception.SystemException {
084                    return _expandoValueService.getData(companyId, className, tableName,
085                            columnNames, classPK);
086            }
087    
088            public java.io.Serializable getData(long companyId,
089                    java.lang.String className, java.lang.String tableName,
090                    java.lang.String columnName, long classPK)
091                    throws com.liferay.portal.kernel.exception.PortalException,
092                            com.liferay.portal.kernel.exception.SystemException {
093                    return _expandoValueService.getData(companyId, className, tableName,
094                            columnName, classPK);
095            }
096    
097            public com.liferay.portal.kernel.json.JSONObject getJSONData(
098                    long companyId, java.lang.String className, java.lang.String tableName,
099                    java.lang.String columnName, long classPK)
100                    throws com.liferay.portal.kernel.exception.PortalException,
101                            com.liferay.portal.kernel.exception.SystemException {
102                    return _expandoValueService.getJSONData(companyId, className,
103                            tableName, columnName, classPK);
104            }
105    
106            /**
107             * @deprecated Renamed to {@link #getWrappedService}
108             */
109            public ExpandoValueService getWrappedExpandoValueService() {
110                    return _expandoValueService;
111            }
112    
113            /**
114             * @deprecated Renamed to {@link #setWrappedService}
115             */
116            public void setWrappedExpandoValueService(
117                    ExpandoValueService expandoValueService) {
118                    _expandoValueService = expandoValueService;
119            }
120    
121            public ExpandoValueService getWrappedService() {
122                    return _expandoValueService;
123            }
124    
125            public void setWrappedService(ExpandoValueService expandoValueService) {
126                    _expandoValueService = expandoValueService;
127            }
128    
129            private ExpandoValueService _expandoValueService;
130    }