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     * <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                    long[] groupIds, java.lang.String name,
132                    java.lang.String[] tagProperties, int start, int end)
133                    throws com.liferay.portal.kernel.exception.SystemException {
134                    return _assetTagService.getTags(groupIds, name, tagProperties, start,
135                            end);
136            }
137    
138            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
139                    java.lang.String className, long classPK)
140                    throws com.liferay.portal.kernel.exception.PortalException,
141                            com.liferay.portal.kernel.exception.SystemException {
142                    return _assetTagService.getTags(className, classPK);
143            }
144    
145            public int getTagsCount(long groupId, long classNameId,
146                    java.lang.String name)
147                    throws com.liferay.portal.kernel.exception.SystemException {
148                    return _assetTagService.getTagsCount(groupId, classNameId, name);
149            }
150    
151            public int getTagsCount(long groupId, java.lang.String name)
152                    throws com.liferay.portal.kernel.exception.SystemException {
153                    return _assetTagService.getTagsCount(groupId, name);
154            }
155    
156            public int getTagsCount(long groupId, java.lang.String name,
157                    java.lang.String[] tagProperties)
158                    throws com.liferay.portal.kernel.exception.SystemException {
159                    return _assetTagService.getTagsCount(groupId, name, tagProperties);
160            }
161    
162            public void mergeTags(long fromTagId, long toTagId,
163                    boolean overrideProperties)
164                    throws com.liferay.portal.kernel.exception.PortalException,
165                            com.liferay.portal.kernel.exception.SystemException {
166                    _assetTagService.mergeTags(fromTagId, toTagId, overrideProperties);
167            }
168    
169            public void mergeTags(long[] fromTagIds, long toTagId,
170                    boolean overrideProperties)
171                    throws com.liferay.portal.kernel.exception.PortalException,
172                            com.liferay.portal.kernel.exception.SystemException {
173                    _assetTagService.mergeTags(fromTagIds, toTagId, overrideProperties);
174            }
175    
176            public com.liferay.portal.kernel.json.JSONArray search(long groupId,
177                    java.lang.String name, java.lang.String[] tagProperties, int start,
178                    int end) throws com.liferay.portal.kernel.exception.SystemException {
179                    return _assetTagService.search(groupId, name, tagProperties, start, end);
180            }
181    
182            public com.liferay.portal.kernel.json.JSONArray search(long[] groupIds,
183                    java.lang.String name, java.lang.String[] tagProperties, int start,
184                    int end) throws com.liferay.portal.kernel.exception.SystemException {
185                    return _assetTagService.search(groupIds, name, tagProperties, start, end);
186            }
187    
188            public com.liferay.portlet.asset.model.AssetTag updateTag(long tagId,
189                    java.lang.String name, java.lang.String[] tagProperties,
190                    com.liferay.portal.service.ServiceContext serviceContext)
191                    throws com.liferay.portal.kernel.exception.PortalException,
192                            com.liferay.portal.kernel.exception.SystemException {
193                    return _assetTagService.updateTag(tagId, name, tagProperties,
194                            serviceContext);
195            }
196    
197            /**
198             * @deprecated Renamed to {@link #getWrappedService}
199             */
200            public AssetTagService getWrappedAssetTagService() {
201                    return _assetTagService;
202            }
203    
204            /**
205             * @deprecated Renamed to {@link #setWrappedService}
206             */
207            public void setWrappedAssetTagService(AssetTagService assetTagService) {
208                    _assetTagService = assetTagService;
209            }
210    
211            public AssetTagService getWrappedService() {
212                    return _assetTagService;
213            }
214    
215            public void setWrappedService(AssetTagService assetTagService) {
216                    _assetTagService = assetTagService;
217            }
218    
219            private AssetTagService _assetTagService;
220    }