001    /**
002     * Copyright (c) 2000-2011 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 void deleteTags(long[] tagIds)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    _assetTagService.deleteTags(tagIds);
049            }
050    
051            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupsTags(
052                    long[] groupIds)
053                    throws com.liferay.portal.kernel.exception.SystemException {
054                    return _assetTagService.getGroupsTags(groupIds);
055            }
056    
057            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
058                    long groupId)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _assetTagService.getGroupTags(groupId);
061            }
062    
063            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
064                    long groupId, int start, int end,
065                    com.liferay.portal.kernel.util.OrderByComparator obc)
066                    throws com.liferay.portal.kernel.exception.SystemException {
067                    return _assetTagService.getGroupTags(groupId, start, end, obc);
068            }
069    
070            public int getGroupTagsCount(long groupId)
071                    throws com.liferay.portal.kernel.exception.SystemException {
072                    return _assetTagService.getGroupTagsCount(groupId);
073            }
074    
075            public com.liferay.portal.kernel.json.JSONObject getJSONGroupTags(
076                    long groupId, java.lang.String name, int start, int end)
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException {
079                    return _assetTagService.getJSONGroupTags(groupId, name, start, end);
080            }
081    
082            public com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    return _assetTagService.getTag(tagId);
086            }
087    
088            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
089                    long groupId, long classNameId, java.lang.String name)
090                    throws com.liferay.portal.kernel.exception.SystemException {
091                    return _assetTagService.getTags(groupId, classNameId, name);
092            }
093    
094            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
095                    long groupId, long classNameId, java.lang.String name, int start,
096                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
097                    throws com.liferay.portal.kernel.exception.SystemException {
098                    return _assetTagService.getTags(groupId, classNameId, name, start, end,
099                            obc);
100            }
101    
102            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
103                    long groupId, java.lang.String name, java.lang.String[] tagProperties,
104                    int start, int end)
105                    throws com.liferay.portal.kernel.exception.SystemException {
106                    return _assetTagService.getTags(groupId, name, tagProperties, start, end);
107            }
108    
109            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
110                    java.lang.String className, long classPK)
111                    throws com.liferay.portal.kernel.exception.PortalException,
112                            com.liferay.portal.kernel.exception.SystemException {
113                    return _assetTagService.getTags(className, classPK);
114            }
115    
116            public int getTagsCount(long groupId, java.lang.String name,
117                    java.lang.String[] tagProperties)
118                    throws com.liferay.portal.kernel.exception.SystemException {
119                    return _assetTagService.getTagsCount(groupId, name, tagProperties);
120            }
121    
122            /**
123            * @deprecated {@link #mergeTags(long, long, boolean)}
124            */
125            public void mergeTags(long fromTagId, long toTagId)
126                    throws com.liferay.portal.kernel.exception.PortalException,
127                            com.liferay.portal.kernel.exception.SystemException {
128                    _assetTagService.mergeTags(fromTagId, toTagId);
129            }
130    
131            public void mergeTags(long fromTagId, long toTagId,
132                    boolean overrideProperties)
133                    throws com.liferay.portal.kernel.exception.PortalException,
134                            com.liferay.portal.kernel.exception.SystemException {
135                    _assetTagService.mergeTags(fromTagId, toTagId, overrideProperties);
136            }
137    
138            public void mergeTags(long[] fromTagIds, long toTagId,
139                    boolean overrideProperties)
140                    throws com.liferay.portal.kernel.exception.PortalException,
141                            com.liferay.portal.kernel.exception.SystemException {
142                    _assetTagService.mergeTags(fromTagIds, toTagId, overrideProperties);
143            }
144    
145            public com.liferay.portal.kernel.json.JSONArray search(long groupId,
146                    java.lang.String name, java.lang.String[] tagProperties, int start,
147                    int end) throws com.liferay.portal.kernel.exception.SystemException {
148                    return _assetTagService.search(groupId, name, tagProperties, start, end);
149            }
150    
151            public com.liferay.portlet.asset.model.AssetTag updateTag(long tagId,
152                    java.lang.String name, java.lang.String[] tagProperties,
153                    com.liferay.portal.service.ServiceContext serviceContext)
154                    throws com.liferay.portal.kernel.exception.PortalException,
155                            com.liferay.portal.kernel.exception.SystemException {
156                    return _assetTagService.updateTag(tagId, name, tagProperties,
157                            serviceContext);
158            }
159    
160            public AssetTagService getWrappedAssetTagService() {
161                    return _assetTagService;
162            }
163    
164            public void setWrappedAssetTagService(AssetTagService assetTagService) {
165                    _assetTagService = assetTagService;
166            }
167    
168            private AssetTagService _assetTagService;
169    }