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 name)
41          throws com.liferay.portal.PortalException,
42              com.liferay.portal.SystemException, java.rmi.RemoteException {
43          return _tagsEntryService.addEntry(name);
44      }
45  
46      public com.liferay.portlet.tags.model.TagsEntry addEntry(
47          java.lang.String name, java.lang.String[] properties)
48          throws com.liferay.portal.PortalException,
49              com.liferay.portal.SystemException, java.rmi.RemoteException {
50          return _tagsEntryService.addEntry(name, properties);
51      }
52  
53      public void deleteEntry(long entryId)
54          throws com.liferay.portal.PortalException,
55              com.liferay.portal.SystemException, java.rmi.RemoteException {
56          _tagsEntryService.deleteEntry(entryId);
57      }
58  
59      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
60          long groupId, long companyId, long classNameId, java.lang.String name)
61          throws com.liferay.portal.SystemException, java.rmi.RemoteException {
62          return _tagsEntryService.getEntries(groupId, companyId, classNameId,
63              name);
64      }
65  
66      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
67          java.lang.String className, long classPK)
68          throws com.liferay.portal.SystemException, java.rmi.RemoteException {
69          return _tagsEntryService.getEntries(className, classPK);
70      }
71  
72      public void mergeEntries(long fromEntryId, long toEntryId)
73          throws com.liferay.portal.PortalException,
74              com.liferay.portal.SystemException, java.rmi.RemoteException {
75          _tagsEntryService.mergeEntries(fromEntryId, toEntryId);
76      }
77  
78      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(
79          long companyId, java.lang.String name, java.lang.String[] properties)
80          throws com.liferay.portal.SystemException, java.rmi.RemoteException {
81          return _tagsEntryService.search(companyId, name, properties);
82      }
83  
84      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(
85          long companyId, java.lang.String name, java.lang.String[] properties,
86          int start, int end)
87          throws com.liferay.portal.SystemException, java.rmi.RemoteException {
88          return _tagsEntryService.search(companyId, name, properties, start, end);
89      }
90  
91      public com.liferay.portal.kernel.json.JSONArray searchAutocomplete(
92          long companyId, java.lang.String name, java.lang.String[] properties,
93          int start, int end)
94          throws com.liferay.portal.SystemException, java.rmi.RemoteException {
95          return _tagsEntryService.searchAutocomplete(companyId, name,
96              properties, start, end);
97      }
98  
99      public int searchCount(long companyId, java.lang.String name,
100         java.lang.String[] properties)
101         throws com.liferay.portal.SystemException, java.rmi.RemoteException {
102         return _tagsEntryService.searchCount(companyId, name, properties);
103     }
104 
105     public com.liferay.portlet.tags.model.TagsEntry updateEntry(long entryId,
106         java.lang.String name)
107         throws com.liferay.portal.PortalException,
108             com.liferay.portal.SystemException, java.rmi.RemoteException {
109         return _tagsEntryService.updateEntry(entryId, name);
110     }
111 
112     public com.liferay.portlet.tags.model.TagsEntry updateEntry(long entryId,
113         java.lang.String name, java.lang.String[] properties)
114         throws com.liferay.portal.PortalException,
115             com.liferay.portal.SystemException, java.rmi.RemoteException {
116         return _tagsEntryService.updateEntry(entryId, name, properties);
117     }
118 
119     public TagsEntryService getWrappedTagsEntryService() {
120         return _tagsEntryService;
121     }
122 
123     private TagsEntryService _tagsEntryService;
124 }