001
014
015 package com.liferay.portlet.bookmarks.service.http;
016
017 import com.liferay.portal.kernel.log.Log;
018 import com.liferay.portal.kernel.log.LogFactoryUtil;
019 import com.liferay.portal.kernel.util.MethodHandler;
020 import com.liferay.portal.kernel.util.MethodKey;
021 import com.liferay.portal.security.auth.HttpPrincipal;
022 import com.liferay.portal.service.http.TunnelUtil;
023
024 import com.liferay.portlet.bookmarks.service.BookmarksEntryServiceUtil;
025
026
056 public class BookmarksEntryServiceHttp {
057 public static com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
058 HttpPrincipal httpPrincipal, long groupId, long folderId,
059 java.lang.String name, java.lang.String url,
060 java.lang.String description,
061 com.liferay.portal.service.ServiceContext serviceContext)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 try {
065 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
066 "addEntry", _addEntryParameterTypes0);
067
068 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
069 folderId, name, url, description, serviceContext);
070
071 Object returnObj = null;
072
073 try {
074 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
075 }
076 catch (Exception e) {
077 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
078 throw (com.liferay.portal.kernel.exception.PortalException)e;
079 }
080
081 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
082 throw (com.liferay.portal.kernel.exception.SystemException)e;
083 }
084
085 throw new com.liferay.portal.kernel.exception.SystemException(e);
086 }
087
088 return (com.liferay.portlet.bookmarks.model.BookmarksEntry)returnObj;
089 }
090 catch (com.liferay.portal.kernel.exception.SystemException se) {
091 _log.error(se, se);
092
093 throw se;
094 }
095 }
096
097 public static void deleteEntry(HttpPrincipal httpPrincipal, long entryId)
098 throws com.liferay.portal.kernel.exception.PortalException,
099 com.liferay.portal.kernel.exception.SystemException {
100 try {
101 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
102 "deleteEntry", _deleteEntryParameterTypes1);
103
104 MethodHandler methodHandler = new MethodHandler(methodKey, entryId);
105
106 try {
107 TunnelUtil.invoke(httpPrincipal, methodHandler);
108 }
109 catch (Exception e) {
110 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
111 throw (com.liferay.portal.kernel.exception.PortalException)e;
112 }
113
114 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
115 throw (com.liferay.portal.kernel.exception.SystemException)e;
116 }
117
118 throw new com.liferay.portal.kernel.exception.SystemException(e);
119 }
120 }
121 catch (com.liferay.portal.kernel.exception.SystemException se) {
122 _log.error(se, se);
123
124 throw se;
125 }
126 }
127
128 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
129 HttpPrincipal httpPrincipal, long groupId, long folderId, int start,
130 int end) throws com.liferay.portal.kernel.exception.SystemException {
131 try {
132 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
133 "getEntries", _getEntriesParameterTypes2);
134
135 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
136 folderId, start, end);
137
138 Object returnObj = null;
139
140 try {
141 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
142 }
143 catch (Exception e) {
144 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
145 throw (com.liferay.portal.kernel.exception.SystemException)e;
146 }
147
148 throw new com.liferay.portal.kernel.exception.SystemException(e);
149 }
150
151 return (java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry>)returnObj;
152 }
153 catch (com.liferay.portal.kernel.exception.SystemException se) {
154 _log.error(se, se);
155
156 throw se;
157 }
158 }
159
160 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
161 HttpPrincipal httpPrincipal, long groupId, long folderId, int start,
162 int end,
163 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 try {
166 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
167 "getEntries", _getEntriesParameterTypes3);
168
169 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
170 folderId, start, end, orderByComparator);
171
172 Object returnObj = null;
173
174 try {
175 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
176 }
177 catch (Exception e) {
178 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
179 throw (com.liferay.portal.kernel.exception.SystemException)e;
180 }
181
182 throw new com.liferay.portal.kernel.exception.SystemException(e);
183 }
184
185 return (java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry>)returnObj;
186 }
187 catch (com.liferay.portal.kernel.exception.SystemException se) {
188 _log.error(se, se);
189
190 throw se;
191 }
192 }
193
194 public static int getEntriesCount(HttpPrincipal httpPrincipal,
195 long groupId, long folderId)
196 throws com.liferay.portal.kernel.exception.SystemException {
197 try {
198 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
199 "getEntriesCount", _getEntriesCountParameterTypes4);
200
201 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
202 folderId);
203
204 Object returnObj = null;
205
206 try {
207 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
208 }
209 catch (Exception e) {
210 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
211 throw (com.liferay.portal.kernel.exception.SystemException)e;
212 }
213
214 throw new com.liferay.portal.kernel.exception.SystemException(e);
215 }
216
217 return ((Integer)returnObj).intValue();
218 }
219 catch (com.liferay.portal.kernel.exception.SystemException se) {
220 _log.error(se, se);
221
222 throw se;
223 }
224 }
225
226 public static com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
227 HttpPrincipal httpPrincipal, long entryId)
228 throws com.liferay.portal.kernel.exception.PortalException,
229 com.liferay.portal.kernel.exception.SystemException {
230 try {
231 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
232 "getEntry", _getEntryParameterTypes5);
233
234 MethodHandler methodHandler = new MethodHandler(methodKey, entryId);
235
236 Object returnObj = null;
237
238 try {
239 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
240 }
241 catch (Exception e) {
242 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
243 throw (com.liferay.portal.kernel.exception.PortalException)e;
244 }
245
246 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
247 throw (com.liferay.portal.kernel.exception.SystemException)e;
248 }
249
250 throw new com.liferay.portal.kernel.exception.SystemException(e);
251 }
252
253 return (com.liferay.portlet.bookmarks.model.BookmarksEntry)returnObj;
254 }
255 catch (com.liferay.portal.kernel.exception.SystemException se) {
256 _log.error(se, se);
257
258 throw se;
259 }
260 }
261
262 public static int getFoldersEntriesCount(HttpPrincipal httpPrincipal,
263 long groupId, java.util.List<java.lang.Long> folderIds)
264 throws com.liferay.portal.kernel.exception.SystemException {
265 try {
266 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
267 "getFoldersEntriesCount",
268 _getFoldersEntriesCountParameterTypes6);
269
270 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
271 folderIds);
272
273 Object returnObj = null;
274
275 try {
276 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
277 }
278 catch (Exception e) {
279 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
280 throw (com.liferay.portal.kernel.exception.SystemException)e;
281 }
282
283 throw new com.liferay.portal.kernel.exception.SystemException(e);
284 }
285
286 return ((Integer)returnObj).intValue();
287 }
288 catch (com.liferay.portal.kernel.exception.SystemException se) {
289 _log.error(se, se);
290
291 throw se;
292 }
293 }
294
295 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
296 HttpPrincipal httpPrincipal, long groupId, int start, int end)
297 throws com.liferay.portal.kernel.exception.SystemException {
298 try {
299 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
300 "getGroupEntries", _getGroupEntriesParameterTypes7);
301
302 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
303 start, end);
304
305 Object returnObj = null;
306
307 try {
308 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
309 }
310 catch (Exception e) {
311 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
312 throw (com.liferay.portal.kernel.exception.SystemException)e;
313 }
314
315 throw new com.liferay.portal.kernel.exception.SystemException(e);
316 }
317
318 return (java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry>)returnObj;
319 }
320 catch (com.liferay.portal.kernel.exception.SystemException se) {
321 _log.error(se, se);
322
323 throw se;
324 }
325 }
326
327 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
328 HttpPrincipal httpPrincipal, long groupId, long userId, int start,
329 int end) throws com.liferay.portal.kernel.exception.SystemException {
330 try {
331 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
332 "getGroupEntries", _getGroupEntriesParameterTypes8);
333
334 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
335 userId, start, end);
336
337 Object returnObj = null;
338
339 try {
340 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
341 }
342 catch (Exception e) {
343 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
344 throw (com.liferay.portal.kernel.exception.SystemException)e;
345 }
346
347 throw new com.liferay.portal.kernel.exception.SystemException(e);
348 }
349
350 return (java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry>)returnObj;
351 }
352 catch (com.liferay.portal.kernel.exception.SystemException se) {
353 _log.error(se, se);
354
355 throw se;
356 }
357 }
358
359 public static int getGroupEntriesCount(HttpPrincipal httpPrincipal,
360 long groupId)
361 throws com.liferay.portal.kernel.exception.SystemException {
362 try {
363 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
364 "getGroupEntriesCount", _getGroupEntriesCountParameterTypes9);
365
366 MethodHandler methodHandler = new MethodHandler(methodKey, groupId);
367
368 Object returnObj = null;
369
370 try {
371 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
372 }
373 catch (Exception e) {
374 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
375 throw (com.liferay.portal.kernel.exception.SystemException)e;
376 }
377
378 throw new com.liferay.portal.kernel.exception.SystemException(e);
379 }
380
381 return ((Integer)returnObj).intValue();
382 }
383 catch (com.liferay.portal.kernel.exception.SystemException se) {
384 _log.error(se, se);
385
386 throw se;
387 }
388 }
389
390 public static int getGroupEntriesCount(HttpPrincipal httpPrincipal,
391 long groupId, long userId)
392 throws com.liferay.portal.kernel.exception.SystemException {
393 try {
394 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
395 "getGroupEntriesCount",
396 _getGroupEntriesCountParameterTypes10);
397
398 MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
399 userId);
400
401 Object returnObj = null;
402
403 try {
404 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
405 }
406 catch (Exception e) {
407 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
408 throw (com.liferay.portal.kernel.exception.SystemException)e;
409 }
410
411 throw new com.liferay.portal.kernel.exception.SystemException(e);
412 }
413
414 return ((Integer)returnObj).intValue();
415 }
416 catch (com.liferay.portal.kernel.exception.SystemException se) {
417 _log.error(se, se);
418
419 throw se;
420 }
421 }
422
423 public static com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntry(
424 HttpPrincipal httpPrincipal, long entryId, long parentFolderId)
425 throws com.liferay.portal.kernel.exception.PortalException,
426 com.liferay.portal.kernel.exception.SystemException {
427 try {
428 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
429 "moveEntry", _moveEntryParameterTypes11);
430
431 MethodHandler methodHandler = new MethodHandler(methodKey, entryId,
432 parentFolderId);
433
434 Object returnObj = null;
435
436 try {
437 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
438 }
439 catch (Exception e) {
440 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
441 throw (com.liferay.portal.kernel.exception.PortalException)e;
442 }
443
444 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
445 throw (com.liferay.portal.kernel.exception.SystemException)e;
446 }
447
448 throw new com.liferay.portal.kernel.exception.SystemException(e);
449 }
450
451 return (com.liferay.portlet.bookmarks.model.BookmarksEntry)returnObj;
452 }
453 catch (com.liferay.portal.kernel.exception.SystemException se) {
454 _log.error(se, se);
455
456 throw se;
457 }
458 }
459
460 public static com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntryFromTrash(
461 HttpPrincipal httpPrincipal, long entryId, long parentFolderId)
462 throws com.liferay.portal.kernel.exception.PortalException,
463 com.liferay.portal.kernel.exception.SystemException {
464 try {
465 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
466 "moveEntryFromTrash", _moveEntryFromTrashParameterTypes12);
467
468 MethodHandler methodHandler = new MethodHandler(methodKey, entryId,
469 parentFolderId);
470
471 Object returnObj = null;
472
473 try {
474 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
475 }
476 catch (Exception e) {
477 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
478 throw (com.liferay.portal.kernel.exception.PortalException)e;
479 }
480
481 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
482 throw (com.liferay.portal.kernel.exception.SystemException)e;
483 }
484
485 throw new com.liferay.portal.kernel.exception.SystemException(e);
486 }
487
488 return (com.liferay.portlet.bookmarks.model.BookmarksEntry)returnObj;
489 }
490 catch (com.liferay.portal.kernel.exception.SystemException se) {
491 _log.error(se, se);
492
493 throw se;
494 }
495 }
496
497 public static void moveEntryToTrash(HttpPrincipal httpPrincipal,
498 long entryId)
499 throws com.liferay.portal.kernel.exception.PortalException,
500 com.liferay.portal.kernel.exception.SystemException {
501 try {
502 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
503 "moveEntryToTrash", _moveEntryToTrashParameterTypes13);
504
505 MethodHandler methodHandler = new MethodHandler(methodKey, entryId);
506
507 try {
508 TunnelUtil.invoke(httpPrincipal, methodHandler);
509 }
510 catch (Exception e) {
511 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
512 throw (com.liferay.portal.kernel.exception.PortalException)e;
513 }
514
515 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
516 throw (com.liferay.portal.kernel.exception.SystemException)e;
517 }
518
519 throw new com.liferay.portal.kernel.exception.SystemException(e);
520 }
521 }
522 catch (com.liferay.portal.kernel.exception.SystemException se) {
523 _log.error(se, se);
524
525 throw se;
526 }
527 }
528
529 public static com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
530 HttpPrincipal httpPrincipal,
531 com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
532 throws com.liferay.portal.kernel.exception.PortalException,
533 com.liferay.portal.kernel.exception.SystemException {
534 try {
535 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
536 "openEntry", _openEntryParameterTypes14);
537
538 MethodHandler methodHandler = new MethodHandler(methodKey, entry);
539
540 Object returnObj = null;
541
542 try {
543 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
544 }
545 catch (Exception e) {
546 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
547 throw (com.liferay.portal.kernel.exception.PortalException)e;
548 }
549
550 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
551 throw (com.liferay.portal.kernel.exception.SystemException)e;
552 }
553
554 throw new com.liferay.portal.kernel.exception.SystemException(e);
555 }
556
557 return (com.liferay.portlet.bookmarks.model.BookmarksEntry)returnObj;
558 }
559 catch (com.liferay.portal.kernel.exception.SystemException se) {
560 _log.error(se, se);
561
562 throw se;
563 }
564 }
565
566 public static com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
567 HttpPrincipal httpPrincipal, long entryId)
568 throws com.liferay.portal.kernel.exception.PortalException,
569 com.liferay.portal.kernel.exception.SystemException {
570 try {
571 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
572 "openEntry", _openEntryParameterTypes15);
573
574 MethodHandler methodHandler = new MethodHandler(methodKey, entryId);
575
576 Object returnObj = null;
577
578 try {
579 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
580 }
581 catch (Exception e) {
582 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
583 throw (com.liferay.portal.kernel.exception.PortalException)e;
584 }
585
586 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
587 throw (com.liferay.portal.kernel.exception.SystemException)e;
588 }
589
590 throw new com.liferay.portal.kernel.exception.SystemException(e);
591 }
592
593 return (com.liferay.portlet.bookmarks.model.BookmarksEntry)returnObj;
594 }
595 catch (com.liferay.portal.kernel.exception.SystemException se) {
596 _log.error(se, se);
597
598 throw se;
599 }
600 }
601
602 public static void restoreEntryFromTrash(HttpPrincipal httpPrincipal,
603 long entryId)
604 throws com.liferay.portal.kernel.exception.PortalException,
605 com.liferay.portal.kernel.exception.SystemException {
606 try {
607 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
608 "restoreEntryFromTrash",
609 _restoreEntryFromTrashParameterTypes16);
610
611 MethodHandler methodHandler = new MethodHandler(methodKey, entryId);
612
613 try {
614 TunnelUtil.invoke(httpPrincipal, methodHandler);
615 }
616 catch (Exception e) {
617 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
618 throw (com.liferay.portal.kernel.exception.PortalException)e;
619 }
620
621 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
622 throw (com.liferay.portal.kernel.exception.SystemException)e;
623 }
624
625 throw new com.liferay.portal.kernel.exception.SystemException(e);
626 }
627 }
628 catch (com.liferay.portal.kernel.exception.SystemException se) {
629 _log.error(se, se);
630
631 throw se;
632 }
633 }
634
635 public static void subscribeEntry(HttpPrincipal httpPrincipal, long entryId)
636 throws com.liferay.portal.kernel.exception.PortalException,
637 com.liferay.portal.kernel.exception.SystemException {
638 try {
639 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
640 "subscribeEntry", _subscribeEntryParameterTypes17);
641
642 MethodHandler methodHandler = new MethodHandler(methodKey, entryId);
643
644 try {
645 TunnelUtil.invoke(httpPrincipal, methodHandler);
646 }
647 catch (Exception e) {
648 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
649 throw (com.liferay.portal.kernel.exception.PortalException)e;
650 }
651
652 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
653 throw (com.liferay.portal.kernel.exception.SystemException)e;
654 }
655
656 throw new com.liferay.portal.kernel.exception.SystemException(e);
657 }
658 }
659 catch (com.liferay.portal.kernel.exception.SystemException se) {
660 _log.error(se, se);
661
662 throw se;
663 }
664 }
665
666 public static void unsubscribeEntry(HttpPrincipal httpPrincipal,
667 long entryId)
668 throws com.liferay.portal.kernel.exception.PortalException,
669 com.liferay.portal.kernel.exception.SystemException {
670 try {
671 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
672 "unsubscribeEntry", _unsubscribeEntryParameterTypes18);
673
674 MethodHandler methodHandler = new MethodHandler(methodKey, entryId);
675
676 try {
677 TunnelUtil.invoke(httpPrincipal, methodHandler);
678 }
679 catch (Exception e) {
680 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
681 throw (com.liferay.portal.kernel.exception.PortalException)e;
682 }
683
684 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
685 throw (com.liferay.portal.kernel.exception.SystemException)e;
686 }
687
688 throw new com.liferay.portal.kernel.exception.SystemException(e);
689 }
690 }
691 catch (com.liferay.portal.kernel.exception.SystemException se) {
692 _log.error(se, se);
693
694 throw se;
695 }
696 }
697
698 public static com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
699 HttpPrincipal httpPrincipal, long entryId, long groupId, long folderId,
700 java.lang.String name, java.lang.String url,
701 java.lang.String description,
702 com.liferay.portal.service.ServiceContext serviceContext)
703 throws com.liferay.portal.kernel.exception.PortalException,
704 com.liferay.portal.kernel.exception.SystemException {
705 try {
706 MethodKey methodKey = new MethodKey(BookmarksEntryServiceUtil.class,
707 "updateEntry", _updateEntryParameterTypes19);
708
709 MethodHandler methodHandler = new MethodHandler(methodKey, entryId,
710 groupId, folderId, name, url, description, serviceContext);
711
712 Object returnObj = null;
713
714 try {
715 returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
716 }
717 catch (Exception e) {
718 if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
719 throw (com.liferay.portal.kernel.exception.PortalException)e;
720 }
721
722 if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
723 throw (com.liferay.portal.kernel.exception.SystemException)e;
724 }
725
726 throw new com.liferay.portal.kernel.exception.SystemException(e);
727 }
728
729 return (com.liferay.portlet.bookmarks.model.BookmarksEntry)returnObj;
730 }
731 catch (com.liferay.portal.kernel.exception.SystemException se) {
732 _log.error(se, se);
733
734 throw se;
735 }
736 }
737
738 private static Log _log = LogFactoryUtil.getLog(BookmarksEntryServiceHttp.class);
739 private static final Class<?>[] _addEntryParameterTypes0 = new Class[] {
740 long.class, long.class, java.lang.String.class,
741 java.lang.String.class, java.lang.String.class,
742 com.liferay.portal.service.ServiceContext.class
743 };
744 private static final Class<?>[] _deleteEntryParameterTypes1 = new Class[] {
745 long.class
746 };
747 private static final Class<?>[] _getEntriesParameterTypes2 = new Class[] {
748 long.class, long.class, int.class, int.class
749 };
750 private static final Class<?>[] _getEntriesParameterTypes3 = new Class[] {
751 long.class, long.class, int.class, int.class,
752 com.liferay.portal.kernel.util.OrderByComparator.class
753 };
754 private static final Class<?>[] _getEntriesCountParameterTypes4 = new Class[] {
755 long.class, long.class
756 };
757 private static final Class<?>[] _getEntryParameterTypes5 = new Class[] {
758 long.class
759 };
760 private static final Class<?>[] _getFoldersEntriesCountParameterTypes6 = new Class[] {
761 long.class, java.util.List.class
762 };
763 private static final Class<?>[] _getGroupEntriesParameterTypes7 = new Class[] {
764 long.class, int.class, int.class
765 };
766 private static final Class<?>[] _getGroupEntriesParameterTypes8 = new Class[] {
767 long.class, long.class, int.class, int.class
768 };
769 private static final Class<?>[] _getGroupEntriesCountParameterTypes9 = new Class[] {
770 long.class
771 };
772 private static final Class<?>[] _getGroupEntriesCountParameterTypes10 = new Class[] {
773 long.class, long.class
774 };
775 private static final Class<?>[] _moveEntryParameterTypes11 = new Class[] {
776 long.class, long.class
777 };
778 private static final Class<?>[] _moveEntryFromTrashParameterTypes12 = new Class[] {
779 long.class, long.class
780 };
781 private static final Class<?>[] _moveEntryToTrashParameterTypes13 = new Class[] {
782 long.class
783 };
784 private static final Class<?>[] _openEntryParameterTypes14 = new Class[] {
785 com.liferay.portlet.bookmarks.model.BookmarksEntry.class
786 };
787 private static final Class<?>[] _openEntryParameterTypes15 = new Class[] {
788 long.class
789 };
790 private static final Class<?>[] _restoreEntryFromTrashParameterTypes16 = new Class[] {
791 long.class
792 };
793 private static final Class<?>[] _subscribeEntryParameterTypes17 = new Class[] {
794 long.class
795 };
796 private static final Class<?>[] _unsubscribeEntryParameterTypes18 = new Class[] {
797 long.class
798 };
799 private static final Class<?>[] _updateEntryParameterTypes19 = new Class[] {
800 long.class, long.class, long.class, java.lang.String.class,
801 java.lang.String.class, java.lang.String.class,
802 com.liferay.portal.service.ServiceContext.class
803 };
804 }