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