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.tags.service;
16  
17  
18  /**
19   * <a href="TagsVocabularyServiceUtil.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 TagsVocabularyService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       TagsVocabularyService
32   * @generated
33   */
34  public class TagsVocabularyServiceWrapper implements TagsVocabularyService {
35      public TagsVocabularyServiceWrapper(
36          TagsVocabularyService tagsVocabularyService) {
37          _tagsVocabularyService = tagsVocabularyService;
38      }
39  
40      public com.liferay.portlet.tags.model.TagsVocabulary addVocabulary(
41          java.lang.String name, boolean folksonomy,
42          com.liferay.portal.service.ServiceContext serviceContext)
43          throws com.liferay.portal.PortalException,
44              com.liferay.portal.SystemException {
45          return _tagsVocabularyService.addVocabulary(name, folksonomy,
46              serviceContext);
47      }
48  
49      public void deleteVocabulary(long vocabularyId)
50          throws com.liferay.portal.PortalException,
51              com.liferay.portal.SystemException {
52          _tagsVocabularyService.deleteVocabulary(vocabularyId);
53      }
54  
55      public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> getCompanyVocabularies(
56          long companyId, boolean folksonomy)
57          throws com.liferay.portal.PortalException,
58              com.liferay.portal.SystemException {
59          return _tagsVocabularyService.getCompanyVocabularies(companyId,
60              folksonomy);
61      }
62  
63      public java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> getGroupVocabularies(
64          long groupId, boolean folksonomy)
65          throws com.liferay.portal.PortalException,
66              com.liferay.portal.SystemException {
67          return _tagsVocabularyService.getGroupVocabularies(groupId, folksonomy);
68      }
69  
70      public com.liferay.portlet.tags.model.TagsVocabulary getVocabulary(
71          long vocabularyId)
72          throws com.liferay.portal.PortalException,
73              com.liferay.portal.SystemException {
74          return _tagsVocabularyService.getVocabulary(vocabularyId);
75      }
76  
77      public com.liferay.portlet.tags.model.TagsVocabulary updateVocabulary(
78          long vocabularyId, java.lang.String name, boolean folksonomy)
79          throws com.liferay.portal.PortalException,
80              com.liferay.portal.SystemException {
81          return _tagsVocabularyService.updateVocabulary(vocabularyId, name,
82              folksonomy);
83      }
84  
85      public TagsVocabularyService getWrappedTagsVocabularyService() {
86          return _tagsVocabularyService;
87      }
88  
89      private TagsVocabularyService _tagsVocabularyService;
90  }