001    /**
002     * Copyright (c) 2000-2011 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 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, long classNameId,
117                    java.lang.String name)
118                    throws com.liferay.portal.kernel.exception.SystemException {
119                    return _assetTagService.getTagsCount(groupId, classNameId, name);
120            }
121    
122            public int getTagsCount(long groupId, java.lang.String name)
123                    throws com.liferay.portal.kernel.exception.SystemException {
124                    return _assetTagService.getTagsCount(groupId, name);
125            }
126    
127            public int getTagsCount(long groupId, java.lang.String name,
128                    java.lang.String[] tagProperties)
129                    throws com.liferay.portal.kernel.exception.SystemException {
130                    return _assetTagService.getTagsCount(groupId, name, tagProperties);
131            }
132    
133            public void mergeTags(long fromTagId, long toTagId,
134                    boolean overrideProperties)
135                    throws com.liferay.portal.kernel.exception.PortalException,
136                            com.liferay.portal.kernel.exception.SystemException {
137                    _assetTagService.mergeTags(fromTagId, toTagId, overrideProperties);
138            }
139    
140            public void mergeTags(long[] fromTagIds, long toTagId,
141                    boolean overrideProperties)
142                    throws com.liferay.portal.kernel.exception.PortalException,
143                            com.liferay.portal.kernel.exception.SystemException {
144                    _assetTagService.mergeTags(fromTagIds, toTagId, overrideProperties);
145            }
146    
147            public com.liferay.portal.kernel.json.JSONArray search(long groupId,
148                    java.lang.String name, java.lang.String[] tagProperties, int start,
149                    int end) throws com.liferay.portal.kernel.exception.SystemException {
150                    return _assetTagService.search(groupId, name, tagProperties, start, end);
151            }
152    
153            public com.liferay.portlet.asset.model.AssetTag updateTag(long tagId,
154                    java.lang.String name, java.lang.String[] tagProperties,
155                    com.liferay.portal.service.ServiceContext serviceContext)
156                    throws com.liferay.portal.kernel.exception.PortalException,
157                            com.liferay.portal.kernel.exception.SystemException {
158                    return _assetTagService.updateTag(tagId, name, tagProperties,
159                            serviceContext);
160            }
161    
162            public AssetTagService getWrappedAssetTagService() {
163                    return _assetTagService;
164            }
165    
166            public void setWrappedAssetTagService(AssetTagService assetTagService) {
167                    _assetTagService = assetTagService;
168            }
169    
170            private AssetTagService _assetTagService;
171    }