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="TagsEntryLocalServiceUtil.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 TagsEntryLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       TagsEntryLocalService
32   * @generated
33   */
34  public class TagsEntryLocalServiceWrapper implements TagsEntryLocalService {
35      public TagsEntryLocalServiceWrapper(
36          TagsEntryLocalService tagsEntryLocalService) {
37          _tagsEntryLocalService = tagsEntryLocalService;
38      }
39  
40      public com.liferay.portlet.tags.model.TagsEntry addTagsEntry(
41          com.liferay.portlet.tags.model.TagsEntry tagsEntry)
42          throws com.liferay.portal.SystemException {
43          return _tagsEntryLocalService.addTagsEntry(tagsEntry);
44      }
45  
46      public com.liferay.portlet.tags.model.TagsEntry createTagsEntry(
47          long entryId) {
48          return _tagsEntryLocalService.createTagsEntry(entryId);
49      }
50  
51      public void deleteTagsEntry(long entryId)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _tagsEntryLocalService.deleteTagsEntry(entryId);
55      }
56  
57      public void deleteTagsEntry(
58          com.liferay.portlet.tags.model.TagsEntry tagsEntry)
59          throws com.liferay.portal.SystemException {
60          _tagsEntryLocalService.deleteTagsEntry(tagsEntry);
61      }
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _tagsEntryLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.SystemException {
72          return _tagsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public com.liferay.portlet.tags.model.TagsEntry getTagsEntry(long entryId)
76          throws com.liferay.portal.PortalException,
77              com.liferay.portal.SystemException {
78          return _tagsEntryLocalService.getTagsEntry(entryId);
79      }
80  
81      public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getTagsEntries(
82          int start, int end) throws com.liferay.portal.SystemException {
83          return _tagsEntryLocalService.getTagsEntries(start, end);
84      }
85  
86      public int getTagsEntriesCount() throws com.liferay.portal.SystemException {
87          return _tagsEntryLocalService.getTagsEntriesCount();
88      }
89  
90      public com.liferay.portlet.tags.model.TagsEntry updateTagsEntry(
91          com.liferay.portlet.tags.model.TagsEntry tagsEntry)
92          throws com.liferay.portal.SystemException {
93          return _tagsEntryLocalService.updateTagsEntry(tagsEntry);
94      }
95  
96      public com.liferay.portlet.tags.model.TagsEntry updateTagsEntry(
97          com.liferay.portlet.tags.model.TagsEntry tagsEntry, boolean merge)
98          throws com.liferay.portal.SystemException {
99          return _tagsEntryLocalService.updateTagsEntry(tagsEntry, merge);
100     }
101 
102     public com.liferay.portlet.tags.model.TagsEntry addEntry(long userId,
103         java.lang.String name)
104         throws com.liferay.portal.PortalException,
105             com.liferay.portal.SystemException {
106         return _tagsEntryLocalService.addEntry(userId, name);
107     }
108 
109     public com.liferay.portlet.tags.model.TagsEntry addEntry(long userId,
110         java.lang.String name, java.lang.String[] properties)
111         throws com.liferay.portal.PortalException,
112             com.liferay.portal.SystemException {
113         return _tagsEntryLocalService.addEntry(userId, name, properties);
114     }
115 
116     public void checkEntries(long userId, java.lang.String[] names)
117         throws com.liferay.portal.PortalException,
118             com.liferay.portal.SystemException {
119         _tagsEntryLocalService.checkEntries(userId, names);
120     }
121 
122     public void deleteEntry(long entryId)
123         throws com.liferay.portal.PortalException,
124             com.liferay.portal.SystemException {
125         _tagsEntryLocalService.deleteEntry(entryId);
126     }
127 
128     public void deleteEntry(com.liferay.portlet.tags.model.TagsEntry entry)
129         throws com.liferay.portal.PortalException,
130             com.liferay.portal.SystemException {
131         _tagsEntryLocalService.deleteEntry(entry);
132     }
133 
134     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getAssetEntries(
135         long assetId) throws com.liferay.portal.SystemException {
136         return _tagsEntryLocalService.getAssetEntries(assetId);
137     }
138 
139     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries()
140         throws com.liferay.portal.SystemException {
141         return _tagsEntryLocalService.getEntries();
142     }
143 
144     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
145         long classNameId, long classPK)
146         throws com.liferay.portal.SystemException {
147         return _tagsEntryLocalService.getEntries(classNameId, classPK);
148     }
149 
150     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
151         long groupId, long companyId, long classNameId, java.lang.String name)
152         throws com.liferay.portal.SystemException {
153         return _tagsEntryLocalService.getEntries(groupId, companyId,
154             classNameId, name);
155     }
156 
157     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
158         long groupId, long companyId, long classNameId, java.lang.String name,
159         int start, int end) throws com.liferay.portal.SystemException {
160         return _tagsEntryLocalService.getEntries(groupId, companyId,
161             classNameId, name, start, end);
162     }
163 
164     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
165         java.lang.String className, long classPK)
166         throws com.liferay.portal.SystemException {
167         return _tagsEntryLocalService.getEntries(className, classPK);
168     }
169 
170     public int getEntriesSize(long groupId, long companyId, long classNameId,
171         java.lang.String name) throws com.liferay.portal.SystemException {
172         return _tagsEntryLocalService.getEntriesSize(groupId, companyId,
173             classNameId, name);
174     }
175 
176     public com.liferay.portlet.tags.model.TagsEntry getEntry(long entryId)
177         throws com.liferay.portal.PortalException,
178             com.liferay.portal.SystemException {
179         return _tagsEntryLocalService.getEntry(entryId);
180     }
181 
182     public com.liferay.portlet.tags.model.TagsEntry getEntry(long companyId,
183         java.lang.String name)
184         throws com.liferay.portal.PortalException,
185             com.liferay.portal.SystemException {
186         return _tagsEntryLocalService.getEntry(companyId, name);
187     }
188 
189     public long[] getEntryIds(long companyId, java.lang.String[] names)
190         throws com.liferay.portal.SystemException {
191         return _tagsEntryLocalService.getEntryIds(companyId, names);
192     }
193 
194     public java.lang.String[] getEntryNames()
195         throws com.liferay.portal.SystemException {
196         return _tagsEntryLocalService.getEntryNames();
197     }
198 
199     public java.lang.String[] getEntryNames(long classNameId, long classPK)
200         throws com.liferay.portal.SystemException {
201         return _tagsEntryLocalService.getEntryNames(classNameId, classPK);
202     }
203 
204     public java.lang.String[] getEntryNames(java.lang.String className,
205         long classPK) throws com.liferay.portal.SystemException {
206         return _tagsEntryLocalService.getEntryNames(className, classPK);
207     }
208 
209     public boolean hasEntry(long companyId, java.lang.String name)
210         throws com.liferay.portal.SystemException {
211         return _tagsEntryLocalService.hasEntry(companyId, name);
212     }
213 
214     public void mergeEntries(long fromEntryId, long toEntryId)
215         throws com.liferay.portal.PortalException,
216             com.liferay.portal.SystemException {
217         _tagsEntryLocalService.mergeEntries(fromEntryId, toEntryId);
218     }
219 
220     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(
221         long companyId, java.lang.String name, java.lang.String[] properties)
222         throws com.liferay.portal.SystemException {
223         return _tagsEntryLocalService.search(companyId, name, properties);
224     }
225 
226     public java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(
227         long companyId, java.lang.String name, java.lang.String[] properties,
228         int start, int end) throws com.liferay.portal.SystemException {
229         return _tagsEntryLocalService.search(companyId, name, properties,
230             start, end);
231     }
232 
233     public com.liferay.portal.kernel.json.JSONArray searchAutocomplete(
234         long companyId, java.lang.String name, java.lang.String[] properties,
235         int start, int end) throws com.liferay.portal.SystemException {
236         return _tagsEntryLocalService.searchAutocomplete(companyId, name,
237             properties, start, end);
238     }
239 
240     public int searchCount(long companyId, java.lang.String name,
241         java.lang.String[] properties)
242         throws com.liferay.portal.SystemException {
243         return _tagsEntryLocalService.searchCount(companyId, name, properties);
244     }
245 
246     public com.liferay.portlet.tags.model.TagsEntry updateEntry(long userId,
247         long entryId, java.lang.String name, java.lang.String[] properties)
248         throws com.liferay.portal.PortalException,
249             com.liferay.portal.SystemException {
250         return _tagsEntryLocalService.updateEntry(userId, entryId, name,
251             properties);
252     }
253 
254     public com.liferay.portlet.tags.model.TagsEntry updateEntry(long entryId,
255         java.lang.String name)
256         throws com.liferay.portal.PortalException,
257             com.liferay.portal.SystemException {
258         return _tagsEntryLocalService.updateEntry(entryId, name);
259     }
260 
261     public TagsEntryLocalService getWrappedTagsEntryLocalService() {
262         return _tagsEntryLocalService;
263     }
264 
265     private TagsEntryLocalService _tagsEntryLocalService;
266 }