001    /**
002     * Copyright (c) 2000-2010 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    /**
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)
081                    throws com.liferay.portal.kernel.exception.PortalException,
082                            com.liferay.portal.kernel.exception.SystemException {
083                    return _assetTagService.search(groupId, name, tagProperties, start, end);
084            }
085    
086            public com.liferay.portlet.asset.model.AssetTag updateTag(long tagId,
087                    java.lang.String name, java.lang.String[] tagProperties,
088                    com.liferay.portal.service.ServiceContext serviceContext)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _assetTagService.updateTag(tagId, name, tagProperties,
092                            serviceContext);
093            }
094    
095            public AssetTagService getWrappedAssetTagService() {
096                    return _assetTagService;
097            }
098    
099            private AssetTagService _assetTagService;
100    }