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.asset.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * Provides a wrapper for {@link AssetCategoryPropertyService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see AssetCategoryPropertyService
024     * @generated
025     */
026    public class AssetCategoryPropertyServiceWrapper
027            implements AssetCategoryPropertyService,
028                    ServiceWrapper<AssetCategoryPropertyService> {
029            public AssetCategoryPropertyServiceWrapper(
030                    AssetCategoryPropertyService assetCategoryPropertyService) {
031                    _assetCategoryPropertyService = assetCategoryPropertyService;
032            }
033    
034            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            @Override
040            public java.lang.String getBeanIdentifier() {
041                    return _assetCategoryPropertyService.getBeanIdentifier();
042            }
043    
044            /**
045            * Sets the Spring bean ID for this bean.
046            *
047            * @param beanIdentifier the Spring bean ID for this bean
048            */
049            @Override
050            public void setBeanIdentifier(java.lang.String beanIdentifier) {
051                    _assetCategoryPropertyService.setBeanIdentifier(beanIdentifier);
052            }
053    
054            @Override
055            public com.liferay.portlet.asset.model.AssetCategoryProperty addCategoryProperty(
056                    long entryId, java.lang.String key, java.lang.String value)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _assetCategoryPropertyService.addCategoryProperty(entryId, key,
060                            value);
061            }
062    
063            @Override
064            public void deleteCategoryProperty(long categoryPropertyId)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    _assetCategoryPropertyService.deleteCategoryProperty(categoryPropertyId);
068            }
069    
070            @Override
071            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryProperties(
072                    long entryId)
073                    throws com.liferay.portal.kernel.exception.SystemException {
074                    return _assetCategoryPropertyService.getCategoryProperties(entryId);
075            }
076    
077            @Override
078            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryPropertyValues(
079                    long companyId, java.lang.String key)
080                    throws com.liferay.portal.kernel.exception.SystemException {
081                    return _assetCategoryPropertyService.getCategoryPropertyValues(companyId,
082                            key);
083            }
084    
085            @Override
086            public com.liferay.portlet.asset.model.AssetCategoryProperty updateCategoryProperty(
087                    long categoryPropertyId, java.lang.String key, java.lang.String value)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    return _assetCategoryPropertyService.updateCategoryProperty(categoryPropertyId,
091                            key, value);
092            }
093    
094            /**
095             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
096             */
097            public AssetCategoryPropertyService getWrappedAssetCategoryPropertyService() {
098                    return _assetCategoryPropertyService;
099            }
100    
101            /**
102             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
103             */
104            public void setWrappedAssetCategoryPropertyService(
105                    AssetCategoryPropertyService assetCategoryPropertyService) {
106                    _assetCategoryPropertyService = assetCategoryPropertyService;
107            }
108    
109            @Override
110            public AssetCategoryPropertyService getWrappedService() {
111                    return _assetCategoryPropertyService;
112            }
113    
114            @Override
115            public void setWrappedService(
116                    AssetCategoryPropertyService assetCategoryPropertyService) {
117                    _assetCategoryPropertyService = assetCategoryPropertyService;
118            }
119    
120            private AssetCategoryPropertyService _assetCategoryPropertyService;
121    }