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            @Override
052            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryProperties(
053                    long entryId) {
054                    return _assetCategoryPropertyService.getCategoryProperties(entryId);
055            }
056    
057            @Override
058            public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryPropertyValues(
059                    long companyId, java.lang.String key) {
060                    return _assetCategoryPropertyService.getCategoryPropertyValues(companyId,
061                            key);
062            }
063    
064            /**
065            * Returns the OSGi service identifier.
066            *
067            * @return the OSGi service identifier
068            */
069            @Override
070            public java.lang.String getOSGiServiceIdentifier() {
071                    return _assetCategoryPropertyService.getOSGiServiceIdentifier();
072            }
073    
074            @Override
075            public com.liferay.portlet.asset.model.AssetCategoryProperty updateCategoryProperty(
076                    long categoryPropertyId, java.lang.String key, java.lang.String value)
077                    throws com.liferay.portal.kernel.exception.PortalException {
078                    return _assetCategoryPropertyService.updateCategoryProperty(categoryPropertyId,
079                            key, value);
080            }
081    
082            @Override
083            public com.liferay.portlet.asset.model.AssetCategoryProperty updateCategoryProperty(
084                    long userId, long categoryPropertyId, java.lang.String key,
085                    java.lang.String value)
086                    throws com.liferay.portal.kernel.exception.PortalException {
087                    return _assetCategoryPropertyService.updateCategoryProperty(userId,
088                            categoryPropertyId, key, value);
089            }
090    
091            @Override
092            public AssetCategoryPropertyService getWrappedService() {
093                    return _assetCategoryPropertyService;
094            }
095    
096            @Override
097            public void setWrappedService(
098                    AssetCategoryPropertyService assetCategoryPropertyService) {
099                    _assetCategoryPropertyService = assetCategoryPropertyService;
100            }
101    
102            private AssetCategoryPropertyService _assetCategoryPropertyService;
103    }