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