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="TagsEntryServiceUtil.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 TagsEntryService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       TagsEntryService
31   * @generated
32   */
33  public class TagsEntryServiceWrapper implements TagsEntryService {
34      public TagsEntryServiceWrapper(TagsEntryService tagsEntryService) {
35          _tagsEntryService = tagsEntryService;
36      }
37  
38      public com.liferay.portlet.tags.model.TagsEntry addEntry(
39          java.lang.String parentEntryName, java.lang.String name,
40          java.lang.String vocabularyName, java.lang.String[] properties,
41          com.liferay.portal.service.ServiceContext serviceContext)
42          throws com.liferay.portal.PortalException,
43              com.liferay.portal.SystemException {
44          return _tagsEntryService.addEntry(parentEntryName, name,
45              vocabularyName, properties, serviceContext);
46      }
47  
48      public void deleteEntry(long entryId)
49          throws com.liferay.portal.PortalException,
50              com.liferay.portal.SystemException {
51          _tagsEntryService.deleteEntry(entryId);
52      }
53  
54      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
55          long groupId, long classNameId, java.lang.String name)
56          throws com.liferay.portal.PortalException,
57              com.liferay.portal.SystemException {
58          return _tagsEntryService.getEntries(groupId, classNameId, name);
59      }
60  
61      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
62          java.lang.String className, long classPK)
63          throws com.liferay.portal.PortalException,
64              com.liferay.portal.SystemException {
65          return _tagsEntryService.getEntries(className, classPK);
66      }
67  
68      public com.liferay.portlet.tags.model.TagsEntry getEntry(long entryId)
69          throws com.liferay.portal.PortalException,
70              com.liferay.portal.SystemException {
71          return _tagsEntryService.getEntry(entryId);
72      }
73  
74      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyEntries(
75          long groupId, java.lang.String vocabularyName)
76          throws com.liferay.portal.PortalException,
77              com.liferay.portal.SystemException {
78          return _tagsEntryService.getGroupVocabularyEntries(groupId,
79              vocabularyName);
80      }
81  
82      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyEntries(
83          long groupId, java.lang.String parentEntryName,
84          java.lang.String vocabularyName)
85          throws com.liferay.portal.PortalException,
86              com.liferay.portal.SystemException {
87          return _tagsEntryService.getGroupVocabularyEntries(groupId,
88              parentEntryName, vocabularyName);
89      }
90  
91      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyRootEntries(
92          long groupId, java.lang.String vocabularyName)
93          throws com.liferay.portal.PortalException,
94              com.liferay.portal.SystemException {
95          return _tagsEntryService.getGroupVocabularyRootEntries(groupId,
96              vocabularyName);
97      }
98  
99      public void mergeEntries(long fromEntryId, long toEntryId)
100         throws com.liferay.portal.PortalException,
101             com.liferay.portal.SystemException {
102         _tagsEntryService.mergeEntries(fromEntryId, toEntryId);
103     }
104 
105     public com.liferay.portal.kernel.json.JSONArray search(long groupId,
106         java.lang.String name, java.lang.String[] properties, int start, int end)
107         throws com.liferay.portal.SystemException {
108         return _tagsEntryService.search(groupId, name, properties, start, end);
109     }
110 
111     public com.liferay.portlet.tags.model.TagsEntry updateEntry(long entryId,
112         java.lang.String parentEntryName, java.lang.String name,
113         java.lang.String vocabularyName, java.lang.String[] properties)
114         throws com.liferay.portal.PortalException,
115             com.liferay.portal.SystemException {
116         return _tagsEntryService.updateEntry(entryId, parentEntryName, name,
117             vocabularyName, properties);
118     }
119 
120     public TagsEntryService getWrappedTagsEntryService() {
121         return _tagsEntryService;
122     }
123 
124     private TagsEntryService _tagsEntryService;
125 }