001    /**
002     * Copyright (c) 2000-2011 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.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    }