001
014
015 package com.liferay.portal.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.LocalizationUtil;
022 import com.liferay.portal.service.LayoutServiceUtil;
023
024 import java.rmi.RemoteException;
025
026 import java.util.Locale;
027 import java.util.Map;
028
029
069 @ProviderType
070 public class LayoutServiceSoap {
071
111 @Deprecated
112 public static com.liferay.portal.model.LayoutSoap addLayout(long groupId,
113 boolean privateLayout, long parentLayoutId,
114 java.lang.String[] localeNamesMapLanguageIds,
115 java.lang.String[] localeNamesMapValues,
116 java.lang.String[] localeTitlesMapLanguageIds,
117 java.lang.String[] localeTitlesMapValues,
118 java.lang.String[] descriptionMapLanguageIds,
119 java.lang.String[] descriptionMapValues,
120 java.lang.String[] keywordsMapLanguageIds,
121 java.lang.String[] keywordsMapValues,
122 java.lang.String[] robotsMapLanguageIds,
123 java.lang.String[] robotsMapValues, java.lang.String type,
124 boolean hidden, java.lang.String friendlyURL,
125 com.liferay.portal.service.ServiceContext serviceContext)
126 throws RemoteException {
127 try {
128 Map<Locale, String> localeNamesMap = LocalizationUtil.getLocalizationMap(localeNamesMapLanguageIds,
129 localeNamesMapValues);
130 Map<Locale, String> localeTitlesMap = LocalizationUtil.getLocalizationMap(localeTitlesMapLanguageIds,
131 localeTitlesMapValues);
132 Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
133 descriptionMapValues);
134 Map<Locale, String> keywordsMap = LocalizationUtil.getLocalizationMap(keywordsMapLanguageIds,
135 keywordsMapValues);
136 Map<Locale, String> robotsMap = LocalizationUtil.getLocalizationMap(robotsMapLanguageIds,
137 robotsMapValues);
138
139 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.addLayout(groupId,
140 privateLayout, parentLayoutId, localeNamesMap,
141 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
142 type, hidden, friendlyURL, serviceContext);
143
144 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
145 }
146 catch (Exception e) {
147 _log.error(e, e);
148
149 throw new RemoteException(e.getMessage());
150 }
151 }
152
153
191 public static com.liferay.portal.model.LayoutSoap addLayout(long groupId,
192 boolean privateLayout, long parentLayoutId,
193 java.lang.String[] localeNamesMapLanguageIds,
194 java.lang.String[] localeNamesMapValues,
195 java.lang.String[] localeTitlesMapLanguageIds,
196 java.lang.String[] localeTitlesMapValues,
197 java.lang.String[] descriptionMapLanguageIds,
198 java.lang.String[] descriptionMapValues,
199 java.lang.String[] keywordsMapLanguageIds,
200 java.lang.String[] keywordsMapValues,
201 java.lang.String[] robotsMapLanguageIds,
202 java.lang.String[] robotsMapValues, java.lang.String type,
203 java.lang.String typeSettings, boolean hidden,
204 java.lang.String[] friendlyURLMapLanguageIds,
205 java.lang.String[] friendlyURLMapValues,
206 com.liferay.portal.service.ServiceContext serviceContext)
207 throws RemoteException {
208 try {
209 Map<Locale, String> localeNamesMap = LocalizationUtil.getLocalizationMap(localeNamesMapLanguageIds,
210 localeNamesMapValues);
211 Map<Locale, String> localeTitlesMap = LocalizationUtil.getLocalizationMap(localeTitlesMapLanguageIds,
212 localeTitlesMapValues);
213 Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
214 descriptionMapValues);
215 Map<Locale, String> keywordsMap = LocalizationUtil.getLocalizationMap(keywordsMapLanguageIds,
216 keywordsMapValues);
217 Map<Locale, String> robotsMap = LocalizationUtil.getLocalizationMap(robotsMapLanguageIds,
218 robotsMapValues);
219 Map<Locale, String> friendlyURLMap = LocalizationUtil.getLocalizationMap(friendlyURLMapLanguageIds,
220 friendlyURLMapValues);
221
222 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.addLayout(groupId,
223 privateLayout, parentLayoutId, localeNamesMap,
224 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
225 type, typeSettings, hidden, friendlyURLMap, serviceContext);
226
227 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
228 }
229 catch (Exception e) {
230 _log.error(e, e);
231
232 throw new RemoteException(e.getMessage());
233 }
234 }
235
236
270 public static com.liferay.portal.model.LayoutSoap addLayout(long groupId,
271 boolean privateLayout, long parentLayoutId, java.lang.String name,
272 java.lang.String title, java.lang.String description,
273 java.lang.String type, boolean hidden, java.lang.String friendlyURL,
274 com.liferay.portal.service.ServiceContext serviceContext)
275 throws RemoteException {
276 try {
277 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.addLayout(groupId,
278 privateLayout, parentLayoutId, name, title, description,
279 type, hidden, friendlyURL, serviceContext);
280
281 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
282 }
283 catch (Exception e) {
284 _log.error(e, e);
285
286 throw new RemoteException(e.getMessage());
287 }
288 }
289
290
299 public static void deleteLayout(long groupId, boolean privateLayout,
300 long layoutId, com.liferay.portal.service.ServiceContext serviceContext)
301 throws RemoteException {
302 try {
303 LayoutServiceUtil.deleteLayout(groupId, privateLayout, layoutId,
304 serviceContext);
305 }
306 catch (Exception e) {
307 _log.error(e, e);
308
309 throw new RemoteException(e.getMessage());
310 }
311 }
312
313
320 public static void deleteLayout(long plid,
321 com.liferay.portal.service.ServiceContext serviceContext)
322 throws RemoteException {
323 try {
324 LayoutServiceUtil.deleteLayout(plid, serviceContext);
325 }
326 catch (Exception e) {
327 _log.error(e, e);
328
329 throw new RemoteException(e.getMessage());
330 }
331 }
332
333 public static void deleteTempFileEntry(long groupId,
334 java.lang.String folderName, java.lang.String fileName)
335 throws RemoteException {
336 try {
337 LayoutServiceUtil.deleteTempFileEntry(groupId, folderName, fileName);
338 }
339 catch (Exception e) {
340 _log.error(e, e);
341
342 throw new RemoteException(e.getMessage());
343 }
344 }
345
346
351 @Deprecated
352 public static long exportLayoutsAsFileInBackground(
353 com.liferay.portlet.exportimport.model.ExportImportConfigurationSoap exportImportConfiguration)
354 throws RemoteException {
355 try {
356 long returnValue = LayoutServiceUtil.exportLayoutsAsFileInBackground(com.liferay.portlet.exportimport.model.impl.ExportImportConfigurationModelImpl.toModel(
357 exportImportConfiguration));
358
359 return returnValue;
360 }
361 catch (Exception e) {
362 _log.error(e, e);
363
364 throw new RemoteException(e.getMessage());
365 }
366 }
367
368
373 @Deprecated
374 public static long exportLayoutsAsFileInBackground(
375 long exportImportConfigurationId) throws RemoteException {
376 try {
377 long returnValue = LayoutServiceUtil.exportLayoutsAsFileInBackground(exportImportConfigurationId);
378
379 return returnValue;
380 }
381 catch (Exception e) {
382 _log.error(e, e);
383
384 throw new RemoteException(e.getMessage());
385 }
386 }
387
388
394 public static com.liferay.portal.model.LayoutSoap[] getAncestorLayouts(
395 long plid) throws RemoteException {
396 try {
397 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getAncestorLayouts(plid);
398
399 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
400 }
401 catch (Exception e) {
402 _log.error(e, e);
403
404 throw new RemoteException(e.getMessage());
405 }
406 }
407
408
419 public static long getDefaultPlid(long groupId, long scopeGroupId,
420 boolean privateLayout, java.lang.String portletId)
421 throws RemoteException {
422 try {
423 long returnValue = LayoutServiceUtil.getDefaultPlid(groupId,
424 scopeGroupId, privateLayout, portletId);
425
426 return returnValue;
427 }
428 catch (Exception e) {
429 _log.error(e, e);
430
431 throw new RemoteException(e.getMessage());
432 }
433 }
434
435 public static long getDefaultPlid(long groupId, long scopeGroupId,
436 java.lang.String portletId) throws RemoteException {
437 try {
438 long returnValue = LayoutServiceUtil.getDefaultPlid(groupId,
439 scopeGroupId, portletId);
440
441 return returnValue;
442 }
443 catch (Exception e) {
444 _log.error(e, e);
445
446 throw new RemoteException(e.getMessage());
447 }
448 }
449
450
458 public static com.liferay.portal.model.LayoutSoap getLayoutByUuidAndGroupId(
459 java.lang.String uuid, long groupId, boolean privateLayout)
460 throws RemoteException {
461 try {
462 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.getLayoutByUuidAndGroupId(uuid,
463 groupId, privateLayout);
464
465 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
466 }
467 catch (Exception e) {
468 _log.error(e, e);
469
470 throw new RemoteException(e.getMessage());
471 }
472 }
473
474
484 public static java.lang.String getLayoutName(long groupId,
485 boolean privateLayout, long layoutId, java.lang.String languageId)
486 throws RemoteException {
487 try {
488 java.lang.String returnValue = LayoutServiceUtil.getLayoutName(groupId,
489 privateLayout, layoutId, languageId);
490
491 return returnValue;
492 }
493 catch (Exception e) {
494 _log.error(e, e);
495
496 throw new RemoteException(e.getMessage());
497 }
498 }
499
500
510 public static com.liferay.portal.model.LayoutReference[] getLayoutReferences(
511 long companyId, java.lang.String portletId,
512 java.lang.String preferencesKey, java.lang.String preferencesValue)
513 throws RemoteException {
514 try {
515 com.liferay.portal.model.LayoutReference[] returnValue = LayoutServiceUtil.getLayoutReferences(companyId,
516 portletId, preferencesKey, preferencesValue);
517
518 return returnValue;
519 }
520 catch (Exception e) {
521 _log.error(e, e);
522
523 throw new RemoteException(e.getMessage());
524 }
525 }
526
527 public static com.liferay.portal.model.LayoutSoap[] getLayouts(
528 long groupId, boolean privateLayout) throws RemoteException {
529 try {
530 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getLayouts(groupId,
531 privateLayout);
532
533 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
534 }
535 catch (Exception e) {
536 _log.error(e, e);
537
538 throw new RemoteException(e.getMessage());
539 }
540 }
541
542 public static com.liferay.portal.model.LayoutSoap[] getLayouts(
543 long groupId, boolean privateLayout, long parentLayoutId)
544 throws RemoteException {
545 try {
546 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getLayouts(groupId,
547 privateLayout, parentLayoutId);
548
549 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
550 }
551 catch (Exception e) {
552 _log.error(e, e);
553
554 throw new RemoteException(e.getMessage());
555 }
556 }
557
558 public static com.liferay.portal.model.LayoutSoap[] getLayouts(
559 long groupId, boolean privateLayout, long parentLayoutId,
560 boolean incomplete, int start, int end) throws RemoteException {
561 try {
562 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getLayouts(groupId,
563 privateLayout, parentLayoutId, incomplete, start, end);
564
565 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
566 }
567 catch (Exception e) {
568 _log.error(e, e);
569
570 throw new RemoteException(e.getMessage());
571 }
572 }
573
574 public static int getLayoutsCount(long groupId, boolean privateLayout,
575 long parentLayoutId) throws RemoteException {
576 try {
577 int returnValue = LayoutServiceUtil.getLayoutsCount(groupId,
578 privateLayout, parentLayoutId);
579
580 return returnValue;
581 }
582 catch (Exception e) {
583 _log.error(e, e);
584
585 throw new RemoteException(e.getMessage());
586 }
587 }
588
589 public static java.lang.String[] getTempFileNames(long groupId,
590 java.lang.String folderName) throws RemoteException {
591 try {
592 java.lang.String[] returnValue = LayoutServiceUtil.getTempFileNames(groupId,
593 folderName);
594
595 return returnValue;
596 }
597 catch (Exception e) {
598 _log.error(e, e);
599
600 throw new RemoteException(e.getMessage());
601 }
602 }
603
604
614 public static void setLayouts(long groupId, boolean privateLayout,
615 long parentLayoutId, long[] layoutIds,
616 com.liferay.portal.service.ServiceContext serviceContext)
617 throws RemoteException {
618 try {
619 LayoutServiceUtil.setLayouts(groupId, privateLayout,
620 parentLayoutId, layoutIds, serviceContext);
621 }
622 catch (Exception e) {
623 _log.error(e, e);
624
625 throw new RemoteException(e.getMessage());
626 }
627 }
628
629
638 public static void unschedulePublishToLive(long groupId,
639 java.lang.String jobName, java.lang.String groupName)
640 throws RemoteException {
641 try {
642 LayoutServiceUtil.unschedulePublishToLive(groupId, jobName,
643 groupName);
644 }
645 catch (Exception e) {
646 _log.error(e, e);
647
648 throw new RemoteException(e.getMessage());
649 }
650 }
651
652
661 public static void unschedulePublishToRemote(long groupId,
662 java.lang.String jobName, java.lang.String groupName)
663 throws RemoteException {
664 try {
665 LayoutServiceUtil.unschedulePublishToRemote(groupId, jobName,
666 groupName);
667 }
668 catch (Exception e) {
669 _log.error(e, e);
670
671 throw new RemoteException(e.getMessage());
672 }
673 }
674
675 public static com.liferay.portal.model.LayoutSoap updateIconImage(
676 long plid, byte[] bytes) throws RemoteException {
677 try {
678 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateIconImage(plid,
679 bytes);
680
681 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
682 }
683 catch (Exception e) {
684 _log.error(e, e);
685
686 throw new RemoteException(e.getMessage());
687 }
688 }
689
690
718 public static com.liferay.portal.model.LayoutSoap updateLayout(
719 long groupId, boolean privateLayout, long layoutId,
720 long parentLayoutId, java.lang.String[] localeNamesMapLanguageIds,
721 java.lang.String[] localeNamesMapValues,
722 java.lang.String[] localeTitlesMapLanguageIds,
723 java.lang.String[] localeTitlesMapValues,
724 java.lang.String[] descriptionMapLanguageIds,
725 java.lang.String[] descriptionMapValues,
726 java.lang.String[] keywordsMapLanguageIds,
727 java.lang.String[] keywordsMapValues,
728 java.lang.String[] robotsMapLanguageIds,
729 java.lang.String[] robotsMapValues, java.lang.String type,
730 boolean hidden, java.lang.String[] friendlyURLMapLanguageIds,
731 java.lang.String[] friendlyURLMapValues, boolean iconImage,
732 byte[] iconBytes,
733 com.liferay.portal.service.ServiceContext serviceContext)
734 throws RemoteException {
735 try {
736 Map<Locale, String> localeNamesMap = LocalizationUtil.getLocalizationMap(localeNamesMapLanguageIds,
737 localeNamesMapValues);
738 Map<Locale, String> localeTitlesMap = LocalizationUtil.getLocalizationMap(localeTitlesMapLanguageIds,
739 localeTitlesMapValues);
740 Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
741 descriptionMapValues);
742 Map<Locale, String> keywordsMap = LocalizationUtil.getLocalizationMap(keywordsMapLanguageIds,
743 keywordsMapValues);
744 Map<Locale, String> robotsMap = LocalizationUtil.getLocalizationMap(robotsMapLanguageIds,
745 robotsMapValues);
746 Map<Locale, String> friendlyURLMap = LocalizationUtil.getLocalizationMap(friendlyURLMapLanguageIds,
747 friendlyURLMapValues);
748
749 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLayout(groupId,
750 privateLayout, layoutId, parentLayoutId, localeNamesMap,
751 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
752 type, hidden, friendlyURLMap, iconImage, iconBytes,
753 serviceContext);
754
755 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
756 }
757 catch (Exception e) {
758 _log.error(e, e);
759
760 throw new RemoteException(e.getMessage());
761 }
762 }
763
764
797 @Deprecated
798 public static com.liferay.portal.model.LayoutSoap updateLayout(
799 long groupId, boolean privateLayout, long layoutId,
800 long parentLayoutId, java.lang.String[] localeNamesMapLanguageIds,
801 java.lang.String[] localeNamesMapValues,
802 java.lang.String[] localeTitlesMapLanguageIds,
803 java.lang.String[] localeTitlesMapValues,
804 java.lang.String[] descriptionMapLanguageIds,
805 java.lang.String[] descriptionMapValues,
806 java.lang.String[] keywordsMapLanguageIds,
807 java.lang.String[] keywordsMapValues,
808 java.lang.String[] robotsMapLanguageIds,
809 java.lang.String[] robotsMapValues, java.lang.String type,
810 boolean hidden, java.lang.String friendlyURL,
811 java.lang.Boolean iconImage, byte[] iconBytes,
812 com.liferay.portal.service.ServiceContext serviceContext)
813 throws RemoteException {
814 try {
815 Map<Locale, String> localeNamesMap = LocalizationUtil.getLocalizationMap(localeNamesMapLanguageIds,
816 localeNamesMapValues);
817 Map<Locale, String> localeTitlesMap = LocalizationUtil.getLocalizationMap(localeTitlesMapLanguageIds,
818 localeTitlesMapValues);
819 Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
820 descriptionMapValues);
821 Map<Locale, String> keywordsMap = LocalizationUtil.getLocalizationMap(keywordsMapLanguageIds,
822 keywordsMapValues);
823 Map<Locale, String> robotsMap = LocalizationUtil.getLocalizationMap(robotsMapLanguageIds,
824 robotsMapValues);
825
826 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLayout(groupId,
827 privateLayout, layoutId, parentLayoutId, localeNamesMap,
828 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
829 type, hidden, friendlyURL, iconImage, iconBytes,
830 serviceContext);
831
832 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
833 }
834 catch (Exception e) {
835 _log.error(e, e);
836
837 throw new RemoteException(e.getMessage());
838 }
839 }
840
841
852 public static com.liferay.portal.model.LayoutSoap updateLayout(
853 long groupId, boolean privateLayout, long layoutId,
854 java.lang.String typeSettings) throws RemoteException {
855 try {
856 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLayout(groupId,
857 privateLayout, layoutId, typeSettings);
858
859 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
860 }
861 catch (Exception e) {
862 _log.error(e, e);
863
864 throw new RemoteException(e.getMessage());
865 }
866 }
867
868
880 public static com.liferay.portal.model.LayoutSoap updateLookAndFeel(
881 long groupId, boolean privateLayout, long layoutId,
882 java.lang.String themeId, java.lang.String colorSchemeId,
883 java.lang.String css, boolean wapTheme) throws RemoteException {
884 try {
885 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLookAndFeel(groupId,
886 privateLayout, layoutId, themeId, colorSchemeId, css,
887 wapTheme);
888
889 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
890 }
891 catch (Exception e) {
892 _log.error(e, e);
893
894 throw new RemoteException(e.getMessage());
895 }
896 }
897
898
910 public static com.liferay.portal.model.LayoutSoap updateName(long groupId,
911 boolean privateLayout, long layoutId, java.lang.String name,
912 java.lang.String languageId) throws RemoteException {
913 try {
914 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateName(groupId,
915 privateLayout, layoutId, name, languageId);
916
917 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
918 }
919 catch (Exception e) {
920 _log.error(e, e);
921
922 throw new RemoteException(e.getMessage());
923 }
924 }
925
926
935 public static com.liferay.portal.model.LayoutSoap updateName(long plid,
936 java.lang.String name, java.lang.String languageId)
937 throws RemoteException {
938 try {
939 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateName(plid,
940 name, languageId);
941
942 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
943 }
944 catch (Exception e) {
945 _log.error(e, e);
946
947 throw new RemoteException(e.getMessage());
948 }
949 }
950
951
962 public static com.liferay.portal.model.LayoutSoap updateParentLayoutId(
963 long groupId, boolean privateLayout, long layoutId, long parentLayoutId)
964 throws RemoteException {
965 try {
966 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateParentLayoutId(groupId,
967 privateLayout, layoutId, parentLayoutId);
968
969 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
970 }
971 catch (Exception e) {
972 _log.error(e, e);
973
974 throw new RemoteException(e.getMessage());
975 }
976 }
977
978
988 public static com.liferay.portal.model.LayoutSoap updateParentLayoutId(
989 long plid, long parentPlid) throws RemoteException {
990 try {
991 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateParentLayoutId(plid,
992 parentPlid);
993
994 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
995 }
996 catch (Exception e) {
997 _log.error(e, e);
998
999 throw new RemoteException(e.getMessage());
1000 }
1001 }
1002
1003
1011 public static com.liferay.portal.model.LayoutSoap updateParentLayoutIdAndPriority(
1012 long plid, long parentPlid, int priority) throws RemoteException {
1013 try {
1014 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateParentLayoutIdAndPriority(plid,
1015 parentPlid, priority);
1016
1017 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1018 }
1019 catch (Exception e) {
1020 _log.error(e, e);
1021
1022 throw new RemoteException(e.getMessage());
1023 }
1024 }
1025
1026
1036 public static com.liferay.portal.model.LayoutSoap updatePriority(
1037 long groupId, boolean privateLayout, long layoutId, int priority)
1038 throws RemoteException {
1039 try {
1040 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updatePriority(groupId,
1041 privateLayout, layoutId, priority);
1042
1043 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1044 }
1045 catch (Exception e) {
1046 _log.error(e, e);
1047
1048 throw new RemoteException(e.getMessage());
1049 }
1050 }
1051
1052
1064 public static com.liferay.portal.model.LayoutSoap updatePriority(
1065 long groupId, boolean privateLayout, long layoutId, long nextLayoutId,
1066 long previousLayoutId) throws RemoteException {
1067 try {
1068 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updatePriority(groupId,
1069 privateLayout, layoutId, nextLayoutId, previousLayoutId);
1070
1071 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1072 }
1073 catch (Exception e) {
1074 _log.error(e, e);
1075
1076 throw new RemoteException(e.getMessage());
1077 }
1078 }
1079
1080
1087 public static com.liferay.portal.model.LayoutSoap updatePriority(
1088 long plid, int priority) throws RemoteException {
1089 try {
1090 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updatePriority(plid,
1091 priority);
1092
1093 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1094 }
1095 catch (Exception e) {
1096 _log.error(e, e);
1097
1098 throw new RemoteException(e.getMessage());
1099 }
1100 }
1101
1102 private static Log _log = LogFactoryUtil.getLog(LayoutServiceSoap.class);
1103 }