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