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
115 @Deprecated
116 public static com.liferay.portal.model.LayoutSoap addLayout(long groupId,
117 boolean privateLayout, long parentLayoutId,
118 java.lang.String[] localeNamesMapLanguageIds,
119 java.lang.String[] localeNamesMapValues,
120 java.lang.String[] localeTitlesMapLanguageIds,
121 java.lang.String[] localeTitlesMapValues,
122 java.lang.String[] descriptionMapLanguageIds,
123 java.lang.String[] descriptionMapValues,
124 java.lang.String[] keywordsMapLanguageIds,
125 java.lang.String[] keywordsMapValues,
126 java.lang.String[] robotsMapLanguageIds,
127 java.lang.String[] robotsMapValues, java.lang.String type,
128 boolean hidden, java.lang.String friendlyURL,
129 com.liferay.portal.service.ServiceContext serviceContext)
130 throws RemoteException {
131 try {
132 Map<Locale, String> localeNamesMap = LocalizationUtil.getLocalizationMap(localeNamesMapLanguageIds,
133 localeNamesMapValues);
134 Map<Locale, String> localeTitlesMap = LocalizationUtil.getLocalizationMap(localeTitlesMapLanguageIds,
135 localeTitlesMapValues);
136 Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
137 descriptionMapValues);
138 Map<Locale, String> keywordsMap = LocalizationUtil.getLocalizationMap(keywordsMapLanguageIds,
139 keywordsMapValues);
140 Map<Locale, String> robotsMap = LocalizationUtil.getLocalizationMap(robotsMapLanguageIds,
141 robotsMapValues);
142
143 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.addLayout(groupId,
144 privateLayout, parentLayoutId, localeNamesMap,
145 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
146 type, hidden, friendlyURL, serviceContext);
147
148 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
149 }
150 catch (Exception e) {
151 _log.error(e, e);
152
153 throw new RemoteException(e.getMessage());
154 }
155 }
156
157
199 public static com.liferay.portal.model.LayoutSoap addLayout(long groupId,
200 boolean privateLayout, long parentLayoutId,
201 java.lang.String[] localeNamesMapLanguageIds,
202 java.lang.String[] localeNamesMapValues,
203 java.lang.String[] localeTitlesMapLanguageIds,
204 java.lang.String[] localeTitlesMapValues,
205 java.lang.String[] descriptionMapLanguageIds,
206 java.lang.String[] descriptionMapValues,
207 java.lang.String[] keywordsMapLanguageIds,
208 java.lang.String[] keywordsMapValues,
209 java.lang.String[] robotsMapLanguageIds,
210 java.lang.String[] robotsMapValues, java.lang.String type,
211 java.lang.String typeSettings, boolean hidden,
212 java.lang.String[] friendlyURLMapLanguageIds,
213 java.lang.String[] friendlyURLMapValues,
214 com.liferay.portal.service.ServiceContext serviceContext)
215 throws RemoteException {
216 try {
217 Map<Locale, String> localeNamesMap = LocalizationUtil.getLocalizationMap(localeNamesMapLanguageIds,
218 localeNamesMapValues);
219 Map<Locale, String> localeTitlesMap = LocalizationUtil.getLocalizationMap(localeTitlesMapLanguageIds,
220 localeTitlesMapValues);
221 Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
222 descriptionMapValues);
223 Map<Locale, String> keywordsMap = LocalizationUtil.getLocalizationMap(keywordsMapLanguageIds,
224 keywordsMapValues);
225 Map<Locale, String> robotsMap = LocalizationUtil.getLocalizationMap(robotsMapLanguageIds,
226 robotsMapValues);
227 Map<Locale, String> friendlyURLMap = LocalizationUtil.getLocalizationMap(friendlyURLMapLanguageIds,
228 friendlyURLMapValues);
229
230 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.addLayout(groupId,
231 privateLayout, parentLayoutId, localeNamesMap,
232 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
233 type, typeSettings, hidden, friendlyURLMap, serviceContext);
234
235 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
236 }
237 catch (Exception e) {
238 _log.error(e, e);
239
240 throw new RemoteException(e.getMessage());
241 }
242 }
243
244
282 public static com.liferay.portal.model.LayoutSoap addLayout(long groupId,
283 boolean privateLayout, long parentLayoutId, java.lang.String name,
284 java.lang.String title, java.lang.String description,
285 java.lang.String type, boolean hidden, java.lang.String friendlyURL,
286 com.liferay.portal.service.ServiceContext serviceContext)
287 throws RemoteException {
288 try {
289 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.addLayout(groupId,
290 privateLayout, parentLayoutId, name, title, description,
291 type, hidden, friendlyURL, serviceContext);
292
293 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
294 }
295 catch (Exception e) {
296 _log.error(e, e);
297
298 throw new RemoteException(e.getMessage());
299 }
300 }
301
302
314 public static void deleteLayout(long groupId, boolean privateLayout,
315 long layoutId, com.liferay.portal.service.ServiceContext serviceContext)
316 throws RemoteException {
317 try {
318 LayoutServiceUtil.deleteLayout(groupId, privateLayout, layoutId,
319 serviceContext);
320 }
321 catch (Exception e) {
322 _log.error(e, e);
323
324 throw new RemoteException(e.getMessage());
325 }
326 }
327
328
338 public static void deleteLayout(long plid,
339 com.liferay.portal.service.ServiceContext serviceContext)
340 throws RemoteException {
341 try {
342 LayoutServiceUtil.deleteLayout(plid, serviceContext);
343 }
344 catch (Exception e) {
345 _log.error(e, e);
346
347 throw new RemoteException(e.getMessage());
348 }
349 }
350
351 public static void deleteTempFileEntry(long groupId,
352 java.lang.String folderName, java.lang.String fileName)
353 throws RemoteException {
354 try {
355 LayoutServiceUtil.deleteTempFileEntry(groupId, folderName, fileName);
356 }
357 catch (Exception e) {
358 _log.error(e, e);
359
360 throw new RemoteException(e.getMessage());
361 }
362 }
363
364
369 @Deprecated
370 public static long exportLayoutsAsFileInBackground(
371 com.liferay.portlet.exportimport.model.ExportImportConfigurationSoap exportImportConfiguration)
372 throws RemoteException {
373 try {
374 long returnValue = LayoutServiceUtil.exportLayoutsAsFileInBackground(com.liferay.portlet.exportimport.model.impl.ExportImportConfigurationModelImpl.toModel(
375 exportImportConfiguration));
376
377 return returnValue;
378 }
379 catch (Exception e) {
380 _log.error(e, e);
381
382 throw new RemoteException(e.getMessage());
383 }
384 }
385
386
391 @Deprecated
392 public static long exportLayoutsAsFileInBackground(
393 long exportImportConfigurationId) throws RemoteException {
394 try {
395 long returnValue = LayoutServiceUtil.exportLayoutsAsFileInBackground(exportImportConfigurationId);
396
397 return returnValue;
398 }
399 catch (Exception e) {
400 _log.error(e, e);
401
402 throw new RemoteException(e.getMessage());
403 }
404 }
405
406
414 public static com.liferay.portal.model.LayoutSoap[] getAncestorLayouts(
415 long plid) throws RemoteException {
416 try {
417 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getAncestorLayouts(plid);
418
419 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
420 }
421 catch (Exception e) {
422 _log.error(e, e);
423
424 throw new RemoteException(e.getMessage());
425 }
426 }
427
428
441 public static long getDefaultPlid(long groupId, long scopeGroupId,
442 boolean privateLayout, java.lang.String portletId)
443 throws RemoteException {
444 try {
445 long returnValue = LayoutServiceUtil.getDefaultPlid(groupId,
446 scopeGroupId, privateLayout, portletId);
447
448 return returnValue;
449 }
450 catch (Exception e) {
451 _log.error(e, e);
452
453 throw new RemoteException(e.getMessage());
454 }
455 }
456
457 public static long getDefaultPlid(long groupId, long scopeGroupId,
458 java.lang.String portletId) throws RemoteException {
459 try {
460 long returnValue = LayoutServiceUtil.getDefaultPlid(groupId,
461 scopeGroupId, portletId);
462
463 return returnValue;
464 }
465 catch (Exception e) {
466 _log.error(e, e);
467
468 throw new RemoteException(e.getMessage());
469 }
470 }
471
472
483 public static com.liferay.portal.model.LayoutSoap getLayoutByUuidAndGroupId(
484 java.lang.String uuid, long groupId, boolean privateLayout)
485 throws RemoteException {
486 try {
487 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.getLayoutByUuidAndGroupId(uuid,
488 groupId, privateLayout);
489
490 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
491 }
492 catch (Exception e) {
493 _log.error(e, e);
494
495 throw new RemoteException(e.getMessage());
496 }
497 }
498
499
510 public static java.lang.String getLayoutName(long groupId,
511 boolean privateLayout, long layoutId, java.lang.String languageId)
512 throws RemoteException {
513 try {
514 java.lang.String returnValue = LayoutServiceUtil.getLayoutName(groupId,
515 privateLayout, layoutId, languageId);
516
517 return returnValue;
518 }
519 catch (Exception e) {
520 _log.error(e, e);
521
522 throw new RemoteException(e.getMessage());
523 }
524 }
525
526
536 public static com.liferay.portal.model.LayoutReference[] getLayoutReferences(
537 long companyId, java.lang.String portletId,
538 java.lang.String preferencesKey, java.lang.String preferencesValue)
539 throws RemoteException {
540 try {
541 com.liferay.portal.model.LayoutReference[] returnValue = LayoutServiceUtil.getLayoutReferences(companyId,
542 portletId, preferencesKey, preferencesValue);
543
544 return returnValue;
545 }
546 catch (Exception e) {
547 _log.error(e, e);
548
549 throw new RemoteException(e.getMessage());
550 }
551 }
552
553 public static com.liferay.portal.model.LayoutSoap[] getLayouts(
554 long groupId, boolean privateLayout) throws RemoteException {
555 try {
556 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getLayouts(groupId,
557 privateLayout);
558
559 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
560 }
561 catch (Exception e) {
562 _log.error(e, e);
563
564 throw new RemoteException(e.getMessage());
565 }
566 }
567
568 public static com.liferay.portal.model.LayoutSoap[] getLayouts(
569 long groupId, boolean privateLayout, long parentLayoutId)
570 throws RemoteException {
571 try {
572 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getLayouts(groupId,
573 privateLayout, parentLayoutId);
574
575 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
576 }
577 catch (Exception e) {
578 _log.error(e, e);
579
580 throw new RemoteException(e.getMessage());
581 }
582 }
583
584 public static com.liferay.portal.model.LayoutSoap[] getLayouts(
585 long groupId, boolean privateLayout, long parentLayoutId,
586 boolean incomplete, int start, int end) throws RemoteException {
587 try {
588 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getLayouts(groupId,
589 privateLayout, parentLayoutId, incomplete, start, end);
590
591 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
592 }
593 catch (Exception e) {
594 _log.error(e, e);
595
596 throw new RemoteException(e.getMessage());
597 }
598 }
599
600 public static int getLayoutsCount(long groupId, boolean privateLayout,
601 long parentLayoutId) throws RemoteException {
602 try {
603 int returnValue = LayoutServiceUtil.getLayoutsCount(groupId,
604 privateLayout, parentLayoutId);
605
606 return returnValue;
607 }
608 catch (Exception e) {
609 _log.error(e, e);
610
611 throw new RemoteException(e.getMessage());
612 }
613 }
614
615 public static java.lang.String[] getTempFileNames(long groupId,
616 java.lang.String folderName) throws RemoteException {
617 try {
618 java.lang.String[] returnValue = LayoutServiceUtil.getTempFileNames(groupId,
619 folderName);
620
621 return returnValue;
622 }
623 catch (Exception e) {
624 _log.error(e, e);
625
626 throw new RemoteException(e.getMessage());
627 }
628 }
629
630
645 public static void setLayouts(long groupId, boolean privateLayout,
646 long parentLayoutId, long[] layoutIds,
647 com.liferay.portal.service.ServiceContext serviceContext)
648 throws RemoteException {
649 try {
650 LayoutServiceUtil.setLayouts(groupId, privateLayout,
651 parentLayoutId, layoutIds, serviceContext);
652 }
653 catch (Exception e) {
654 _log.error(e, e);
655
656 throw new RemoteException(e.getMessage());
657 }
658 }
659
660
671 public static void unschedulePublishToLive(long groupId,
672 java.lang.String jobName, java.lang.String groupName)
673 throws RemoteException {
674 try {
675 LayoutServiceUtil.unschedulePublishToLive(groupId, jobName,
676 groupName);
677 }
678 catch (Exception e) {
679 _log.error(e, e);
680
681 throw new RemoteException(e.getMessage());
682 }
683 }
684
685
696 public static void unschedulePublishToRemote(long groupId,
697 java.lang.String jobName, java.lang.String groupName)
698 throws RemoteException {
699 try {
700 LayoutServiceUtil.unschedulePublishToRemote(groupId, jobName,
701 groupName);
702 }
703 catch (Exception e) {
704 _log.error(e, e);
705
706 throw new RemoteException(e.getMessage());
707 }
708 }
709
710 public static com.liferay.portal.model.LayoutSoap updateIconImage(
711 long plid, byte[] bytes) throws RemoteException {
712 try {
713 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateIconImage(plid,
714 bytes);
715
716 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
717 }
718 catch (Exception e) {
719 _log.error(e, e);
720
721 throw new RemoteException(e.getMessage());
722 }
723 }
724
725
758 public static com.liferay.portal.model.LayoutSoap updateLayout(
759 long groupId, boolean privateLayout, long layoutId,
760 long parentLayoutId, java.lang.String[] localeNamesMapLanguageIds,
761 java.lang.String[] localeNamesMapValues,
762 java.lang.String[] localeTitlesMapLanguageIds,
763 java.lang.String[] localeTitlesMapValues,
764 java.lang.String[] descriptionMapLanguageIds,
765 java.lang.String[] descriptionMapValues,
766 java.lang.String[] keywordsMapLanguageIds,
767 java.lang.String[] keywordsMapValues,
768 java.lang.String[] robotsMapLanguageIds,
769 java.lang.String[] robotsMapValues, java.lang.String type,
770 boolean hidden, java.lang.String[] friendlyURLMapLanguageIds,
771 java.lang.String[] friendlyURLMapValues, boolean iconImage,
772 byte[] iconBytes,
773 com.liferay.portal.service.ServiceContext serviceContext)
774 throws RemoteException {
775 try {
776 Map<Locale, String> localeNamesMap = LocalizationUtil.getLocalizationMap(localeNamesMapLanguageIds,
777 localeNamesMapValues);
778 Map<Locale, String> localeTitlesMap = LocalizationUtil.getLocalizationMap(localeTitlesMapLanguageIds,
779 localeTitlesMapValues);
780 Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
781 descriptionMapValues);
782 Map<Locale, String> keywordsMap = LocalizationUtil.getLocalizationMap(keywordsMapLanguageIds,
783 keywordsMapValues);
784 Map<Locale, String> robotsMap = LocalizationUtil.getLocalizationMap(robotsMapLanguageIds,
785 robotsMapValues);
786 Map<Locale, String> friendlyURLMap = LocalizationUtil.getLocalizationMap(friendlyURLMapLanguageIds,
787 friendlyURLMapValues);
788
789 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLayout(groupId,
790 privateLayout, layoutId, parentLayoutId, localeNamesMap,
791 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
792 type, hidden, friendlyURLMap, iconImage, iconBytes,
793 serviceContext);
794
795 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
796 }
797 catch (Exception e) {
798 _log.error(e, e);
799
800 throw new RemoteException(e.getMessage());
801 }
802 }
803
804
842 @Deprecated
843 public static com.liferay.portal.model.LayoutSoap updateLayout(
844 long groupId, boolean privateLayout, long layoutId,
845 long parentLayoutId, java.lang.String[] localeNamesMapLanguageIds,
846 java.lang.String[] localeNamesMapValues,
847 java.lang.String[] localeTitlesMapLanguageIds,
848 java.lang.String[] localeTitlesMapValues,
849 java.lang.String[] descriptionMapLanguageIds,
850 java.lang.String[] descriptionMapValues,
851 java.lang.String[] keywordsMapLanguageIds,
852 java.lang.String[] keywordsMapValues,
853 java.lang.String[] robotsMapLanguageIds,
854 java.lang.String[] robotsMapValues, java.lang.String type,
855 boolean hidden, java.lang.String friendlyURL,
856 java.lang.Boolean iconImage, byte[] iconBytes,
857 com.liferay.portal.service.ServiceContext serviceContext)
858 throws RemoteException {
859 try {
860 Map<Locale, String> localeNamesMap = LocalizationUtil.getLocalizationMap(localeNamesMapLanguageIds,
861 localeNamesMapValues);
862 Map<Locale, String> localeTitlesMap = LocalizationUtil.getLocalizationMap(localeTitlesMapLanguageIds,
863 localeTitlesMapValues);
864 Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
865 descriptionMapValues);
866 Map<Locale, String> keywordsMap = LocalizationUtil.getLocalizationMap(keywordsMapLanguageIds,
867 keywordsMapValues);
868 Map<Locale, String> robotsMap = LocalizationUtil.getLocalizationMap(robotsMapLanguageIds,
869 robotsMapValues);
870
871 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLayout(groupId,
872 privateLayout, layoutId, parentLayoutId, localeNamesMap,
873 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
874 type, hidden, friendlyURL, iconImage, iconBytes,
875 serviceContext);
876
877 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
878 }
879 catch (Exception e) {
880 _log.error(e, e);
881
882 throw new RemoteException(e.getMessage());
883 }
884 }
885
886
899 public static com.liferay.portal.model.LayoutSoap updateLayout(
900 long groupId, boolean privateLayout, long layoutId,
901 java.lang.String typeSettings) throws RemoteException {
902 try {
903 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLayout(groupId,
904 privateLayout, layoutId, typeSettings);
905
906 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
907 }
908 catch (Exception e) {
909 _log.error(e, e);
910
911 throw new RemoteException(e.getMessage());
912 }
913 }
914
915
930 public static com.liferay.portal.model.LayoutSoap updateLookAndFeel(
931 long groupId, boolean privateLayout, long layoutId,
932 java.lang.String themeId, java.lang.String colorSchemeId,
933 java.lang.String css, boolean wapTheme) throws RemoteException {
934 try {
935 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLookAndFeel(groupId,
936 privateLayout, layoutId, themeId, colorSchemeId, css,
937 wapTheme);
938
939 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
940 }
941 catch (Exception e) {
942 _log.error(e, e);
943
944 throw new RemoteException(e.getMessage());
945 }
946 }
947
948
963 public static com.liferay.portal.model.LayoutSoap updateName(long groupId,
964 boolean privateLayout, long layoutId, java.lang.String name,
965 java.lang.String languageId) throws RemoteException {
966 try {
967 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateName(groupId,
968 privateLayout, layoutId, name, languageId);
969
970 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
971 }
972 catch (Exception e) {
973 _log.error(e, e);
974
975 throw new RemoteException(e.getMessage());
976 }
977 }
978
979
991 public static com.liferay.portal.model.LayoutSoap updateName(long plid,
992 java.lang.String name, java.lang.String languageId)
993 throws RemoteException {
994 try {
995 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateName(plid,
996 name, languageId);
997
998 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
999 }
1000 catch (Exception e) {
1001 _log.error(e, e);
1002
1003 throw new RemoteException(e.getMessage());
1004 }
1005 }
1006
1007
1021 public static com.liferay.portal.model.LayoutSoap updateParentLayoutId(
1022 long groupId, boolean privateLayout, long layoutId, long parentLayoutId)
1023 throws RemoteException {
1024 try {
1025 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateParentLayoutId(groupId,
1026 privateLayout, layoutId, parentLayoutId);
1027
1028 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1029 }
1030 catch (Exception e) {
1031 _log.error(e, e);
1032
1033 throw new RemoteException(e.getMessage());
1034 }
1035 }
1036
1037
1050 public static com.liferay.portal.model.LayoutSoap updateParentLayoutId(
1051 long plid, long parentPlid) throws RemoteException {
1052 try {
1053 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateParentLayoutId(plid,
1054 parentPlid);
1055
1056 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1057 }
1058 catch (Exception e) {
1059 _log.error(e, e);
1060
1061 throw new RemoteException(e.getMessage());
1062 }
1063 }
1064
1065
1074 public static com.liferay.portal.model.LayoutSoap updateParentLayoutIdAndPriority(
1075 long plid, long parentPlid, int priority) throws RemoteException {
1076 try {
1077 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateParentLayoutIdAndPriority(plid,
1078 parentPlid, priority);
1079
1080 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1081 }
1082 catch (Exception e) {
1083 _log.error(e, e);
1084
1085 throw new RemoteException(e.getMessage());
1086 }
1087 }
1088
1089
1101 public static com.liferay.portal.model.LayoutSoap updatePriority(
1102 long groupId, boolean privateLayout, long layoutId, int priority)
1103 throws RemoteException {
1104 try {
1105 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updatePriority(groupId,
1106 privateLayout, layoutId, priority);
1107
1108 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1109 }
1110 catch (Exception e) {
1111 _log.error(e, e);
1112
1113 throw new RemoteException(e.getMessage());
1114 }
1115 }
1116
1117
1131 public static com.liferay.portal.model.LayoutSoap updatePriority(
1132 long groupId, boolean privateLayout, long layoutId, long nextLayoutId,
1133 long previousLayoutId) throws RemoteException {
1134 try {
1135 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updatePriority(groupId,
1136 privateLayout, layoutId, nextLayoutId, previousLayoutId);
1137
1138 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1139 }
1140 catch (Exception e) {
1141 _log.error(e, e);
1142
1143 throw new RemoteException(e.getMessage());
1144 }
1145 }
1146
1147
1156 public static com.liferay.portal.model.LayoutSoap updatePriority(
1157 long plid, int priority) throws RemoteException {
1158 try {
1159 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updatePriority(plid,
1160 priority);
1161
1162 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1163 }
1164 catch (Exception e) {
1165 _log.error(e, e);
1166
1167 throw new RemoteException(e.getMessage());
1168 }
1169 }
1170
1171 private static Log _log = LogFactoryUtil.getLog(LayoutServiceSoap.class);
1172 }