1
22
23 package com.liferay.portlet.tags.service;
24
25
26
53 public class TagsEntryLocalServiceUtil {
54 public static com.liferay.portlet.tags.model.TagsEntry addTagsEntry(
55 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
56 throws com.liferay.portal.SystemException {
57 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
58
59 return tagsEntryLocalService.addTagsEntry(tagsEntry);
60 }
61
62 public static void deleteTagsEntry(long entryId)
63 throws com.liferay.portal.PortalException,
64 com.liferay.portal.SystemException {
65 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
66
67 tagsEntryLocalService.deleteTagsEntry(entryId);
68 }
69
70 public static void deleteTagsEntry(
71 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
72 throws com.liferay.portal.SystemException {
73 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
74
75 tagsEntryLocalService.deleteTagsEntry(tagsEntry);
76 }
77
78 public static java.util.List<Object> dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
80 throws com.liferay.portal.SystemException {
81 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
82
83 return tagsEntryLocalService.dynamicQuery(dynamicQuery);
84 }
85
86 public static java.util.List<Object> dynamicQuery(
87 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
88 int end) throws com.liferay.portal.SystemException {
89 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
90
91 return tagsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
92 }
93
94 public static com.liferay.portlet.tags.model.TagsEntry getTagsEntry(
95 long entryId)
96 throws com.liferay.portal.PortalException,
97 com.liferay.portal.SystemException {
98 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
99
100 return tagsEntryLocalService.getTagsEntry(entryId);
101 }
102
103 public static com.liferay.portlet.tags.model.TagsEntry updateTagsEntry(
104 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
105 throws com.liferay.portal.SystemException {
106 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
107
108 return tagsEntryLocalService.updateTagsEntry(tagsEntry);
109 }
110
111 public static com.liferay.portlet.tags.model.TagsEntry addEntry(
112 long userId, java.lang.String name)
113 throws com.liferay.portal.PortalException,
114 com.liferay.portal.SystemException {
115 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
116
117 return tagsEntryLocalService.addEntry(userId, name);
118 }
119
120 public static com.liferay.portlet.tags.model.TagsEntry addEntry(
121 long userId, java.lang.String name, java.lang.String[] properties)
122 throws com.liferay.portal.PortalException,
123 com.liferay.portal.SystemException {
124 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
125
126 return tagsEntryLocalService.addEntry(userId, name, properties);
127 }
128
129 public static void checkEntries(long userId, java.lang.String[] names)
130 throws com.liferay.portal.PortalException,
131 com.liferay.portal.SystemException {
132 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
133
134 tagsEntryLocalService.checkEntries(userId, names);
135 }
136
137 public static void deleteEntry(long entryId)
138 throws com.liferay.portal.PortalException,
139 com.liferay.portal.SystemException {
140 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
141
142 tagsEntryLocalService.deleteEntry(entryId);
143 }
144
145 public static void deleteEntry(
146 com.liferay.portlet.tags.model.TagsEntry entry)
147 throws com.liferay.portal.PortalException,
148 com.liferay.portal.SystemException {
149 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
150
151 tagsEntryLocalService.deleteEntry(entry);
152 }
153
154 public static boolean hasEntry(long companyId, java.lang.String name)
155 throws com.liferay.portal.SystemException {
156 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
157
158 return tagsEntryLocalService.hasEntry(companyId, name);
159 }
160
161 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getAssetEntries(
162 long assetId) throws com.liferay.portal.SystemException {
163 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
164
165 return tagsEntryLocalService.getAssetEntries(assetId);
166 }
167
168 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries()
169 throws com.liferay.portal.SystemException {
170 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
171
172 return tagsEntryLocalService.getEntries();
173 }
174
175 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
176 java.lang.String className, long classPK)
177 throws com.liferay.portal.SystemException {
178 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
179
180 return tagsEntryLocalService.getEntries(className, classPK);
181 }
182
183 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
184 long classNameId, long classPK)
185 throws com.liferay.portal.SystemException {
186 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
187
188 return tagsEntryLocalService.getEntries(classNameId, classPK);
189 }
190
191 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
192 long groupId, long companyId, long classNameId, java.lang.String name)
193 throws com.liferay.portal.SystemException {
194 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
195
196 return tagsEntryLocalService.getEntries(groupId, companyId,
197 classNameId, name);
198 }
199
200 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
201 long groupId, long companyId, long classNameId, java.lang.String name,
202 int start, int end) throws com.liferay.portal.SystemException {
203 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
204
205 return tagsEntryLocalService.getEntries(groupId, companyId,
206 classNameId, name, start, end);
207 }
208
209 public static int getEntriesSize(long groupId, long companyId,
210 long classNameId, java.lang.String name)
211 throws com.liferay.portal.SystemException {
212 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
213
214 return tagsEntryLocalService.getEntriesSize(groupId, companyId,
215 classNameId, name);
216 }
217
218 public static com.liferay.portlet.tags.model.TagsEntry getEntry(
219 long entryId)
220 throws com.liferay.portal.PortalException,
221 com.liferay.portal.SystemException {
222 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
223
224 return tagsEntryLocalService.getEntry(entryId);
225 }
226
227 public static com.liferay.portlet.tags.model.TagsEntry getEntry(
228 long companyId, java.lang.String name)
229 throws com.liferay.portal.PortalException,
230 com.liferay.portal.SystemException {
231 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
232
233 return tagsEntryLocalService.getEntry(companyId, name);
234 }
235
236 public static long[] getEntryIds(long companyId, java.lang.String[] names)
237 throws com.liferay.portal.SystemException {
238 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
239
240 return tagsEntryLocalService.getEntryIds(companyId, names);
241 }
242
243 public static java.lang.String[] getEntryNames()
244 throws com.liferay.portal.SystemException {
245 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
246
247 return tagsEntryLocalService.getEntryNames();
248 }
249
250 public static java.lang.String[] getEntryNames(java.lang.String className,
251 long classPK) throws com.liferay.portal.SystemException {
252 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
253
254 return tagsEntryLocalService.getEntryNames(className, classPK);
255 }
256
257 public static java.lang.String[] getEntryNames(long classNameId,
258 long classPK) throws com.liferay.portal.SystemException {
259 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
260
261 return tagsEntryLocalService.getEntryNames(classNameId, classPK);
262 }
263
264 public static void mergeEntries(long fromEntryId, long toEntryId)
265 throws com.liferay.portal.PortalException,
266 com.liferay.portal.SystemException {
267 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
268
269 tagsEntryLocalService.mergeEntries(fromEntryId, toEntryId);
270 }
271
272 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(
273 long companyId, java.lang.String name, java.lang.String[] properties)
274 throws com.liferay.portal.SystemException {
275 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
276
277 return tagsEntryLocalService.search(companyId, name, properties);
278 }
279
280 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(
281 long companyId, java.lang.String name, java.lang.String[] properties,
282 int start, int end) throws com.liferay.portal.SystemException {
283 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
284
285 return tagsEntryLocalService.search(companyId, name, properties, start,
286 end);
287 }
288
289 public static com.liferay.portal.kernel.json.JSONArray searchAutocomplete(
290 long companyId, java.lang.String name, java.lang.String[] properties,
291 int start, int end) throws com.liferay.portal.SystemException {
292 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
293
294 return tagsEntryLocalService.searchAutocomplete(companyId, name,
295 properties, start, end);
296 }
297
298 public static int searchCount(long companyId, java.lang.String name,
299 java.lang.String[] properties)
300 throws com.liferay.portal.SystemException {
301 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
302
303 return tagsEntryLocalService.searchCount(companyId, name, properties);
304 }
305
306 public static com.liferay.portlet.tags.model.TagsEntry updateEntry(
307 long entryId, java.lang.String name)
308 throws com.liferay.portal.PortalException,
309 com.liferay.portal.SystemException {
310 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
311
312 return tagsEntryLocalService.updateEntry(entryId, name);
313 }
314
315 public static com.liferay.portlet.tags.model.TagsEntry updateEntry(
316 long userId, long entryId, java.lang.String name,
317 java.lang.String[] properties)
318 throws com.liferay.portal.PortalException,
319 com.liferay.portal.SystemException {
320 TagsEntryLocalService tagsEntryLocalService = TagsEntryLocalServiceFactory.getService();
321
322 return tagsEntryLocalService.updateEntry(userId, entryId, name,
323 properties);
324 }
325 }