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