1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.tags.service;
24  
25  
26  /**
27   * <a href="TagsEntryServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link TagsEntryService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       TagsEntryService
40   * @generated
41   */
42  public class TagsEntryServiceWrapper implements TagsEntryService {
43      public TagsEntryServiceWrapper(TagsEntryService tagsEntryService) {
44          _tagsEntryService = tagsEntryService;
45      }
46  
47      public com.liferay.portlet.tags.model.TagsEntry addEntry(
48          java.lang.String parentEntryName, java.lang.String name,
49          java.lang.String vocabularyName, java.lang.String[] properties,
50          com.liferay.portal.service.ServiceContext serviceContext)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          return _tagsEntryService.addEntry(parentEntryName, name,
54              vocabularyName, properties, serviceContext);
55      }
56  
57      public void deleteEntry(long entryId)
58          throws com.liferay.portal.PortalException,
59              com.liferay.portal.SystemException {
60          _tagsEntryService.deleteEntry(entryId);
61      }
62  
63      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
64          long groupId, long classNameId, java.lang.String name)
65          throws com.liferay.portal.PortalException,
66              com.liferay.portal.SystemException {
67          return _tagsEntryService.getEntries(groupId, classNameId, name);
68      }
69  
70      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
71          java.lang.String className, long classPK)
72          throws com.liferay.portal.PortalException,
73              com.liferay.portal.SystemException {
74          return _tagsEntryService.getEntries(className, classPK);
75      }
76  
77      public com.liferay.portlet.tags.model.TagsEntry getEntry(long entryId)
78          throws com.liferay.portal.PortalException,
79              com.liferay.portal.SystemException {
80          return _tagsEntryService.getEntry(entryId);
81      }
82  
83      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyEntries(
84          long groupId, java.lang.String vocabularyName)
85          throws com.liferay.portal.PortalException,
86              com.liferay.portal.SystemException {
87          return _tagsEntryService.getGroupVocabularyEntries(groupId,
88              vocabularyName);
89      }
90  
91      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyEntries(
92          long groupId, java.lang.String parentEntryName,
93          java.lang.String vocabularyName)
94          throws com.liferay.portal.PortalException,
95              com.liferay.portal.SystemException {
96          return _tagsEntryService.getGroupVocabularyEntries(groupId,
97              parentEntryName, vocabularyName);
98      }
99  
100     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyRootEntries(
101         long groupId, java.lang.String vocabularyName)
102         throws com.liferay.portal.PortalException,
103             com.liferay.portal.SystemException {
104         return _tagsEntryService.getGroupVocabularyRootEntries(groupId,
105             vocabularyName);
106     }
107 
108     public void mergeEntries(long fromEntryId, long toEntryId)
109         throws com.liferay.portal.PortalException,
110             com.liferay.portal.SystemException {
111         _tagsEntryService.mergeEntries(fromEntryId, toEntryId);
112     }
113 
114     public com.liferay.portal.kernel.json.JSONArray search(long groupId,
115         java.lang.String name, java.lang.String[] properties, int start, int end)
116         throws com.liferay.portal.SystemException {
117         return _tagsEntryService.search(groupId, name, properties, start, end);
118     }
119 
120     public com.liferay.portlet.tags.model.TagsEntry updateEntry(long entryId,
121         java.lang.String parentEntryName, java.lang.String name,
122         java.lang.String vocabularyName, java.lang.String[] properties)
123         throws com.liferay.portal.PortalException,
124             com.liferay.portal.SystemException {
125         return _tagsEntryService.updateEntry(entryId, parentEntryName, name,
126             vocabularyName, properties);
127     }
128 
129     public TagsEntryService getWrappedTagsEntryService() {
130         return _tagsEntryService;
131     }
132 
133     private TagsEntryService _tagsEntryService;
134 }