001    /**
002     * Copyright (c) 2000-2010 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    /**
018     * <p>
019     * This class is a wrapper for {@link AssetTagService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AssetTagService
024     * @generated
025     */
026    public class AssetTagServiceWrapper implements AssetTagService {
027            public AssetTagServiceWrapper(AssetTagService assetTagService) {
028                    _assetTagService = assetTagService;
029            }
030    
031            public com.liferay.portlet.asset.model.AssetTag addTag(
032                    java.lang.String name, java.lang.String[] tagProperties,
033                    com.liferay.portal.service.ServiceContext serviceContext)
034                    throws com.liferay.portal.kernel.exception.PortalException,
035                            com.liferay.portal.kernel.exception.SystemException {
036                    return _assetTagService.addTag(name, tagProperties, serviceContext);
037            }
038    
039            public void deleteTag(long tagId)
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException {
042                    _assetTagService.deleteTag(tagId);
043            }
044    
045            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
046                    long groupId)
047                    throws com.liferay.portal.kernel.exception.PortalException,
048                            com.liferay.portal.kernel.exception.SystemException {
049                    return _assetTagService.getGroupTags(groupId);
050            }
051    
052            public com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    return _assetTagService.getTag(tagId);
056            }
057    
058            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
059                    long groupId, long classNameId, java.lang.String name)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException {
062                    return _assetTagService.getTags(groupId, classNameId, name);
063            }
064    
065            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
066                    java.lang.String className, long classPK)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    return _assetTagService.getTags(className, classPK);
070            }
071    
072            public void mergeTags(long fromTagId, long toTagId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    _assetTagService.mergeTags(fromTagId, toTagId);
076            }
077    
078            public com.liferay.portal.kernel.json.JSONArray search(long groupId,
079                    java.lang.String name, java.lang.String[] tagProperties, int start,
080                    int end) throws com.liferay.portal.kernel.exception.SystemException {
081                    return _assetTagService.search(groupId, name, tagProperties, start, end);
082            }
083    
084            public com.liferay.portlet.asset.model.AssetTag updateTag(long tagId,
085                    java.lang.String name, java.lang.String[] tagProperties,
086                    com.liferay.portal.service.ServiceContext serviceContext)
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException {
089                    return _assetTagService.updateTag(tagId, name, tagProperties,
090                            serviceContext);
091            }
092    
093            public AssetTagService getWrappedAssetTagService() {
094                    return _assetTagService;
095            }
096    
097            private AssetTagService _assetTagService;
098    }