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