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