001    /**
002     * Copyright (c) 2000-2013 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 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            /**
038            * Returns the Spring bean ID for this bean.
039            *
040            * @return the Spring bean ID for this bean
041            */
042            @Override
043            public java.lang.String getBeanIdentifier() {
044                    return _assetCategoryPropertyService.getBeanIdentifier();
045            }
046    
047            /**
048            * Sets the Spring bean ID for this bean.
049            *
050            * @param beanIdentifier the Spring bean ID for this bean
051            */
052            @Override
053            public void setBeanIdentifier(java.lang.String beanIdentifier) {
054                    _assetCategoryPropertyService.setBeanIdentifier(beanIdentifier);
055            }
056    
057            @Override
058            public com.liferay.portlet.asset.model.AssetCategoryProperty addCategoryProperty(
059                    long entryId, java.lang.String key, java.lang.String value)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException {
062                    return _assetCategoryPropertyService.addCategoryProperty(entryId, key,
063                            value);
064            }
065    
066            @Override
067            public void deleteCategoryProperty(long categoryPropertyId)
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException {
070                    _assetCategoryPropertyService.deleteCategoryProperty(categoryPropertyId);
071            }
072    
073            @Override
074            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryProperties(
075                    long entryId)
076                    throws com.liferay.portal.kernel.exception.SystemException {
077                    return _assetCategoryPropertyService.getCategoryProperties(entryId);
078            }
079    
080            @Override
081            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryPropertyValues(
082                    long companyId, java.lang.String key)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _assetCategoryPropertyService.getCategoryPropertyValues(companyId,
085                            key);
086            }
087    
088            @Override
089            public com.liferay.portlet.asset.model.AssetCategoryProperty updateCategoryProperty(
090                    long categoryPropertyId, java.lang.String key, java.lang.String value)
091                    throws com.liferay.portal.kernel.exception.PortalException,
092                            com.liferay.portal.kernel.exception.SystemException {
093                    return _assetCategoryPropertyService.updateCategoryProperty(categoryPropertyId,
094                            key, value);
095            }
096    
097            /**
098             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
099             */
100            public AssetCategoryPropertyService getWrappedAssetCategoryPropertyService() {
101                    return _assetCategoryPropertyService;
102            }
103    
104            /**
105             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
106             */
107            public void setWrappedAssetCategoryPropertyService(
108                    AssetCategoryPropertyService assetCategoryPropertyService) {
109                    _assetCategoryPropertyService = assetCategoryPropertyService;
110            }
111    
112            @Override
113            public AssetCategoryPropertyService getWrappedService() {
114                    return _assetCategoryPropertyService;
115            }
116    
117            @Override
118            public void setWrappedService(
119                    AssetCategoryPropertyService assetCategoryPropertyService) {
120                    _assetCategoryPropertyService = assetCategoryPropertyService;
121            }
122    
123            private AssetCategoryPropertyService _assetCategoryPropertyService;
124    }