001    /**
002     * Copyright (c) 2000-2012 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.asset.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link AssetCategoryPropertyService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       AssetCategoryPropertyService
026     * @generated
027     */
028    public class AssetCategoryPropertyServiceWrapper
029            implements AssetCategoryPropertyService,
030                    ServiceWrapper<AssetCategoryPropertyService> {
031            public AssetCategoryPropertyServiceWrapper(
032                    AssetCategoryPropertyService assetCategoryPropertyService) {
033                    _assetCategoryPropertyService = assetCategoryPropertyService;
034            }
035    
036            public com.liferay.portlet.asset.model.AssetCategoryProperty addCategoryProperty(
037                    long entryId, java.lang.String key, java.lang.String value)
038                    throws com.liferay.portal.kernel.exception.PortalException,
039                            com.liferay.portal.kernel.exception.SystemException {
040                    return _assetCategoryPropertyService.addCategoryProperty(entryId, key,
041                            value);
042            }
043    
044            public void deleteCategoryProperty(long categoryPropertyId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _assetCategoryPropertyService.deleteCategoryProperty(categoryPropertyId);
048            }
049    
050            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryProperties(
051                    long entryId)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    return _assetCategoryPropertyService.getCategoryProperties(entryId);
054            }
055    
056            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryPropertyValues(
057                    long companyId, java.lang.String key)
058                    throws com.liferay.portal.kernel.exception.SystemException {
059                    return _assetCategoryPropertyService.getCategoryPropertyValues(companyId,
060                            key);
061            }
062    
063            public com.liferay.portlet.asset.model.AssetCategoryProperty updateCategoryProperty(
064                    long categoryPropertyId, java.lang.String key, java.lang.String value)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    return _assetCategoryPropertyService.updateCategoryProperty(categoryPropertyId,
068                            key, value);
069            }
070    
071            /**
072             * @deprecated Renamed to {@link #getWrappedService}
073             */
074            public AssetCategoryPropertyService getWrappedAssetCategoryPropertyService() {
075                    return _assetCategoryPropertyService;
076            }
077    
078            /**
079             * @deprecated Renamed to {@link #setWrappedService}
080             */
081            public void setWrappedAssetCategoryPropertyService(
082                    AssetCategoryPropertyService assetCategoryPropertyService) {
083                    _assetCategoryPropertyService = assetCategoryPropertyService;
084            }
085    
086            public AssetCategoryPropertyService getWrappedService() {
087                    return _assetCategoryPropertyService;
088            }
089    
090            public void setWrappedService(
091                    AssetCategoryPropertyService assetCategoryPropertyService) {
092                    _assetCategoryPropertyService = assetCategoryPropertyService;
093            }
094    
095            private AssetCategoryPropertyService _assetCategoryPropertyService;
096    }