1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.asset.service;
16  
17  
18  /**
19   * <a href="AssetTagServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link AssetTagService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       AssetTagService
32   * @generated
33   */
34  public class AssetTagServiceWrapper implements AssetTagService {
35      public AssetTagServiceWrapper(AssetTagService assetTagService) {
36          _assetTagService = assetTagService;
37      }
38  
39      public com.liferay.portlet.asset.model.AssetTag addTag(
40          java.lang.String name, java.lang.String[] tagProperties,
41          com.liferay.portal.service.ServiceContext serviceContext)
42          throws com.liferay.portal.kernel.exception.PortalException,
43              com.liferay.portal.kernel.exception.SystemException {
44          return _assetTagService.addTag(name, tagProperties, serviceContext);
45      }
46  
47      public void deleteTag(long tagId)
48          throws com.liferay.portal.kernel.exception.PortalException,
49              com.liferay.portal.kernel.exception.SystemException {
50          _assetTagService.deleteTag(tagId);
51      }
52  
53      public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
54          long groupId)
55          throws com.liferay.portal.kernel.exception.PortalException,
56              com.liferay.portal.kernel.exception.SystemException {
57          return _assetTagService.getGroupTags(groupId);
58      }
59  
60      public com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
61          throws com.liferay.portal.kernel.exception.PortalException,
62              com.liferay.portal.kernel.exception.SystemException {
63          return _assetTagService.getTag(tagId);
64      }
65  
66      public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
67          long groupId, long classNameId, java.lang.String name)
68          throws com.liferay.portal.kernel.exception.PortalException,
69              com.liferay.portal.kernel.exception.SystemException {
70          return _assetTagService.getTags(groupId, classNameId, name);
71      }
72  
73      public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
74          java.lang.String className, long classPK)
75          throws com.liferay.portal.kernel.exception.PortalException,
76              com.liferay.portal.kernel.exception.SystemException {
77          return _assetTagService.getTags(className, classPK);
78      }
79  
80      public void mergeTags(long fromTagId, long toTagId)
81          throws com.liferay.portal.kernel.exception.PortalException,
82              com.liferay.portal.kernel.exception.SystemException {
83          _assetTagService.mergeTags(fromTagId, toTagId);
84      }
85  
86      public com.liferay.portal.kernel.json.JSONArray search(long groupId,
87          java.lang.String name, java.lang.String[] tagProperties, int start,
88          int end) throws com.liferay.portal.kernel.exception.SystemException {
89          return _assetTagService.search(groupId, name, tagProperties, start, end);
90      }
91  
92      public com.liferay.portlet.asset.model.AssetTag updateTag(long tagId,
93          java.lang.String name, java.lang.String[] tagProperties,
94          com.liferay.portal.service.ServiceContext serviceContext)
95          throws com.liferay.portal.kernel.exception.PortalException,
96              com.liferay.portal.kernel.exception.SystemException {
97          return _assetTagService.updateTag(tagId, name, tagProperties,
98              serviceContext);
99      }
100 
101     public AssetTagService getWrappedAssetTagService() {
102         return _assetTagService;
103     }
104 
105     private AssetTagService _assetTagService;
106 }