1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.tags.service;
16  
17  /**
18   * <a href="TagsVocabularyServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link TagsVocabularyService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       TagsVocabularyService
31   * @generated
32   */
33  public class TagsVocabularyServiceWrapper implements TagsVocabularyService {
34      public TagsVocabularyServiceWrapper(
35          TagsVocabularyService tagsVocabularyService) {
36          _tagsVocabularyService = tagsVocabularyService;
37      }
38  
39      public com.liferay.portlet.tags.model.TagsVocabulary addVocabulary(
40          java.lang.String name, boolean folksonomy,
41          com.liferay.portal.service.ServiceContext serviceContext)
42          throws com.liferay.portal.PortalException,
43              com.liferay.portal.SystemException {
44          return _tagsVocabularyService.addVocabulary(name, folksonomy,
45              serviceContext);
46      }
47  
48      public void deleteVocabulary(long vocabularyId)
49          throws com.liferay.portal.PortalException,
50              com.liferay.portal.SystemException {
51          _tagsVocabularyService.deleteVocabulary(vocabularyId);
52      }
53  
54      public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> getCompanyVocabularies(
55          long companyId, boolean folksonomy)
56          throws com.liferay.portal.PortalException,
57              com.liferay.portal.SystemException {
58          return _tagsVocabularyService.getCompanyVocabularies(companyId,
59              folksonomy);
60      }
61  
62      public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> getGroupVocabularies(
63          long groupId, boolean folksonomy)
64          throws com.liferay.portal.PortalException,
65              com.liferay.portal.SystemException {
66          return _tagsVocabularyService.getGroupVocabularies(groupId, folksonomy);
67      }
68  
69      public com.liferay.portlet.tags.model.TagsVocabulary getVocabulary(
70          long vocabularyId)
71          throws com.liferay.portal.PortalException,
72              com.liferay.portal.SystemException {
73          return _tagsVocabularyService.getVocabulary(vocabularyId);
74      }
75  
76      public com.liferay.portlet.tags.model.TagsVocabulary updateVocabulary(
77          long vocabularyId, java.lang.String name, boolean folksonomy)
78          throws com.liferay.portal.PortalException,
79              com.liferay.portal.SystemException {
80          return _tagsVocabularyService.updateVocabulary(vocabularyId, name,
81              folksonomy);
82      }
83  
84      public TagsVocabularyService getWrappedTagsVocabularyService() {
85          return _tagsVocabularyService;
86      }
87  
88      private TagsVocabularyService _tagsVocabularyService;
89  }