001    /**
002     * Copyright (c) 2000-2012 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    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link AssetTagService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       AssetTagService
026     * @generated
027     */
028    public class AssetTagServiceWrapper implements AssetTagService,
029            ServiceWrapper<AssetTagService> {
030            public AssetTagServiceWrapper(AssetTagService assetTagService) {
031                    _assetTagService = assetTagService;
032            }
033    
034            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            public java.lang.String getBeanIdentifier() {
040                    return _assetTagService.getBeanIdentifier();
041            }
042    
043            /**
044            * Sets the Spring bean ID for this bean.
045            *
046            * @param beanIdentifier the Spring bean ID for this bean
047            */
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _assetTagService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public com.liferay.portlet.asset.model.AssetTag addTag(
053                    java.lang.String name, java.lang.String[] tagProperties,
054                    com.liferay.portal.service.ServiceContext serviceContext)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    return _assetTagService.addTag(name, tagProperties, serviceContext);
058            }
059    
060            public void deleteTag(long tagId)
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException {
063                    _assetTagService.deleteTag(tagId);
064            }
065    
066            public void deleteTags(long[] tagIds)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    _assetTagService.deleteTags(tagIds);
070            }
071    
072            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupsTags(
073                    long[] groupIds)
074                    throws com.liferay.portal.kernel.exception.SystemException {
075                    return _assetTagService.getGroupsTags(groupIds);
076            }
077    
078            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
079                    long groupId)
080                    throws com.liferay.portal.kernel.exception.SystemException {
081                    return _assetTagService.getGroupTags(groupId);
082            }
083    
084            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
085                    long groupId, int start, int end,
086                    com.liferay.portal.kernel.util.OrderByComparator obc)
087                    throws com.liferay.portal.kernel.exception.SystemException {
088                    return _assetTagService.getGroupTags(groupId, start, end, obc);
089            }
090    
091            public int getGroupTagsCount(long groupId)
092                    throws com.liferay.portal.kernel.exception.SystemException {
093                    return _assetTagService.getGroupTagsCount(groupId);
094            }
095    
096            public com.liferay.portal.kernel.json.JSONObject getJSONGroupTags(
097                    long groupId, java.lang.String name, int start, int end)
098                    throws com.liferay.portal.kernel.exception.PortalException,
099                            com.liferay.portal.kernel.exception.SystemException {
100                    return _assetTagService.getJSONGroupTags(groupId, name, start, end);
101            }
102    
103            public com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
104                    throws com.liferay.portal.kernel.exception.PortalException,
105                            com.liferay.portal.kernel.exception.SystemException {
106                    return _assetTagService.getTag(tagId);
107            }
108    
109            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
110                    long groupId, long classNameId, java.lang.String name)
111                    throws com.liferay.portal.kernel.exception.SystemException {
112                    return _assetTagService.getTags(groupId, classNameId, name);
113            }
114    
115            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
116                    long groupId, long classNameId, java.lang.String name, int start,
117                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
118                    throws com.liferay.portal.kernel.exception.SystemException {
119                    return _assetTagService.getTags(groupId, classNameId, name, start, end,
120                            obc);
121            }
122    
123            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
124                    long groupId, java.lang.String name, java.lang.String[] tagProperties,
125                    int start, int end)
126                    throws com.liferay.portal.kernel.exception.SystemException {
127                    return _assetTagService.getTags(groupId, name, tagProperties, start, end);
128            }
129    
130            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
131                    java.lang.String className, long classPK)
132                    throws com.liferay.portal.kernel.exception.PortalException,
133                            com.liferay.portal.kernel.exception.SystemException {
134                    return _assetTagService.getTags(className, classPK);
135            }
136    
137            public int getTagsCount(long groupId, long classNameId,
138                    java.lang.String name)
139                    throws com.liferay.portal.kernel.exception.SystemException {
140                    return _assetTagService.getTagsCount(groupId, classNameId, name);
141            }
142    
143            public int getTagsCount(long groupId, java.lang.String name)
144                    throws com.liferay.portal.kernel.exception.SystemException {
145                    return _assetTagService.getTagsCount(groupId, name);
146            }
147    
148            public int getTagsCount(long groupId, java.lang.String name,
149                    java.lang.String[] tagProperties)
150                    throws com.liferay.portal.kernel.exception.SystemException {
151                    return _assetTagService.getTagsCount(groupId, name, tagProperties);
152            }
153    
154            public void mergeTags(long fromTagId, long toTagId,
155                    boolean overrideProperties)
156                    throws com.liferay.portal.kernel.exception.PortalException,
157                            com.liferay.portal.kernel.exception.SystemException {
158                    _assetTagService.mergeTags(fromTagId, toTagId, overrideProperties);
159            }
160    
161            public void mergeTags(long[] fromTagIds, long toTagId,
162                    boolean overrideProperties)
163                    throws com.liferay.portal.kernel.exception.PortalException,
164                            com.liferay.portal.kernel.exception.SystemException {
165                    _assetTagService.mergeTags(fromTagIds, toTagId, overrideProperties);
166            }
167    
168            public com.liferay.portal.kernel.json.JSONArray search(long groupId,
169                    java.lang.String name, java.lang.String[] tagProperties, int start,
170                    int end) throws com.liferay.portal.kernel.exception.SystemException {
171                    return _assetTagService.search(groupId, name, tagProperties, start, end);
172            }
173    
174            public com.liferay.portlet.asset.model.AssetTag updateTag(long tagId,
175                    java.lang.String name, java.lang.String[] tagProperties,
176                    com.liferay.portal.service.ServiceContext serviceContext)
177                    throws com.liferay.portal.kernel.exception.PortalException,
178                            com.liferay.portal.kernel.exception.SystemException {
179                    return _assetTagService.updateTag(tagId, name, tagProperties,
180                            serviceContext);
181            }
182    
183            /**
184             * @deprecated Renamed to {@link #getWrappedService}
185             */
186            public AssetTagService getWrappedAssetTagService() {
187                    return _assetTagService;
188            }
189    
190            /**
191             * @deprecated Renamed to {@link #setWrappedService}
192             */
193            public void setWrappedAssetTagService(AssetTagService assetTagService) {
194                    _assetTagService = assetTagService;
195            }
196    
197            public AssetTagService getWrappedService() {
198                    return _assetTagService;
199            }
200    
201            public void setWrappedService(AssetTagService assetTagService) {
202                    _assetTagService = assetTagService;
203            }
204    
205            private AssetTagService _assetTagService;
206    }