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