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
117 @Deprecated
118 public static com.liferay.portal.model.LayoutSoap addLayout(long groupId,
119 boolean privateLayout, long parentLayoutId,
120 java.lang.String[] localeNamesMapLanguageIds,
121 java.lang.String[] localeNamesMapValues,
122 java.lang.String[] localeTitlesMapLanguageIds,
123 java.lang.String[] localeTitlesMapValues,
124 java.lang.String[] descriptionMapLanguageIds,
125 java.lang.String[] descriptionMapValues,
126 java.lang.String[] keywordsMapLanguageIds,
127 java.lang.String[] keywordsMapValues,
128 java.lang.String[] robotsMapLanguageIds,
129 java.lang.String[] robotsMapValues, java.lang.String type,
130 boolean hidden, java.lang.String friendlyURL,
131 com.liferay.portal.service.ServiceContext serviceContext)
132 throws RemoteException {
133 try {
134 Map<Locale, String> localeNamesMap = LocalizationUtil.getLocalizationMap(localeNamesMapLanguageIds,
135 localeNamesMapValues);
136 Map<Locale, String> localeTitlesMap = LocalizationUtil.getLocalizationMap(localeTitlesMapLanguageIds,
137 localeTitlesMapValues);
138 Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
139 descriptionMapValues);
140 Map<Locale, String> keywordsMap = LocalizationUtil.getLocalizationMap(keywordsMapLanguageIds,
141 keywordsMapValues);
142 Map<Locale, String> robotsMap = LocalizationUtil.getLocalizationMap(robotsMapLanguageIds,
143 robotsMapValues);
144
145 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.addLayout(groupId,
146 privateLayout, parentLayoutId, localeNamesMap,
147 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
148 type, hidden, friendlyURL, serviceContext);
149
150 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
151 }
152 catch (Exception e) {
153 _log.error(e, e);
154
155 throw new RemoteException(e.getMessage());
156 }
157 }
158
159
203 public static com.liferay.portal.model.LayoutSoap addLayout(long groupId,
204 boolean privateLayout, long parentLayoutId,
205 java.lang.String[] localeNamesMapLanguageIds,
206 java.lang.String[] localeNamesMapValues,
207 java.lang.String[] localeTitlesMapLanguageIds,
208 java.lang.String[] localeTitlesMapValues,
209 java.lang.String[] descriptionMapLanguageIds,
210 java.lang.String[] descriptionMapValues,
211 java.lang.String[] keywordsMapLanguageIds,
212 java.lang.String[] keywordsMapValues,
213 java.lang.String[] robotsMapLanguageIds,
214 java.lang.String[] robotsMapValues, java.lang.String type,
215 java.lang.String typeSettings, boolean hidden,
216 java.lang.String[] friendlyURLMapLanguageIds,
217 java.lang.String[] friendlyURLMapValues,
218 com.liferay.portal.service.ServiceContext serviceContext)
219 throws RemoteException {
220 try {
221 Map<Locale, String> localeNamesMap = LocalizationUtil.getLocalizationMap(localeNamesMapLanguageIds,
222 localeNamesMapValues);
223 Map<Locale, String> localeTitlesMap = LocalizationUtil.getLocalizationMap(localeTitlesMapLanguageIds,
224 localeTitlesMapValues);
225 Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
226 descriptionMapValues);
227 Map<Locale, String> keywordsMap = LocalizationUtil.getLocalizationMap(keywordsMapLanguageIds,
228 keywordsMapValues);
229 Map<Locale, String> robotsMap = LocalizationUtil.getLocalizationMap(robotsMapLanguageIds,
230 robotsMapValues);
231 Map<Locale, String> friendlyURLMap = LocalizationUtil.getLocalizationMap(friendlyURLMapLanguageIds,
232 friendlyURLMapValues);
233
234 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.addLayout(groupId,
235 privateLayout, parentLayoutId, localeNamesMap,
236 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
237 type, typeSettings, hidden, friendlyURLMap, serviceContext);
238
239 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
240 }
241 catch (Exception e) {
242 _log.error(e, e);
243
244 throw new RemoteException(e.getMessage());
245 }
246 }
247
248
288 public static com.liferay.portal.model.LayoutSoap addLayout(long groupId,
289 boolean privateLayout, long parentLayoutId, java.lang.String name,
290 java.lang.String title, java.lang.String description,
291 java.lang.String type, boolean hidden, java.lang.String friendlyURL,
292 com.liferay.portal.service.ServiceContext serviceContext)
293 throws RemoteException {
294 try {
295 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.addLayout(groupId,
296 privateLayout, parentLayoutId, name, title, description,
297 type, hidden, friendlyURL, serviceContext);
298
299 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
300 }
301 catch (Exception e) {
302 _log.error(e, e);
303
304 throw new RemoteException(e.getMessage());
305 }
306 }
307
308
320 public static void deleteLayout(long groupId, boolean privateLayout,
321 long layoutId, com.liferay.portal.service.ServiceContext serviceContext)
322 throws RemoteException {
323 try {
324 LayoutServiceUtil.deleteLayout(groupId, privateLayout, layoutId,
325 serviceContext);
326 }
327 catch (Exception e) {
328 _log.error(e, e);
329
330 throw new RemoteException(e.getMessage());
331 }
332 }
333
334
344 public static void deleteLayout(long plid,
345 com.liferay.portal.service.ServiceContext serviceContext)
346 throws RemoteException {
347 try {
348 LayoutServiceUtil.deleteLayout(plid, serviceContext);
349 }
350 catch (Exception e) {
351 _log.error(e, e);
352
353 throw new RemoteException(e.getMessage());
354 }
355 }
356
357 public static void deleteTempFileEntry(long groupId,
358 java.lang.String folderName, java.lang.String fileName)
359 throws RemoteException {
360 try {
361 LayoutServiceUtil.deleteTempFileEntry(groupId, folderName, fileName);
362 }
363 catch (Exception e) {
364 _log.error(e, e);
365
366 throw new RemoteException(e.getMessage());
367 }
368 }
369
370
375 @Deprecated
376 public static long exportLayoutsAsFileInBackground(
377 com.liferay.portlet.exportimport.model.ExportImportConfigurationSoap exportImportConfiguration)
378 throws RemoteException {
379 try {
380 long returnValue = LayoutServiceUtil.exportLayoutsAsFileInBackground(com.liferay.portlet.exportimport.model.impl.ExportImportConfigurationModelImpl.toModel(
381 exportImportConfiguration));
382
383 return returnValue;
384 }
385 catch (Exception e) {
386 _log.error(e, e);
387
388 throw new RemoteException(e.getMessage());
389 }
390 }
391
392
397 @Deprecated
398 public static long exportLayoutsAsFileInBackground(
399 long exportImportConfigurationId) throws RemoteException {
400 try {
401 long returnValue = LayoutServiceUtil.exportLayoutsAsFileInBackground(exportImportConfigurationId);
402
403 return returnValue;
404 }
405 catch (Exception e) {
406 _log.error(e, e);
407
408 throw new RemoteException(e.getMessage());
409 }
410 }
411
412
420 public static com.liferay.portal.model.LayoutSoap[] getAncestorLayouts(
421 long plid) throws RemoteException {
422 try {
423 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getAncestorLayouts(plid);
424
425 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
426 }
427 catch (Exception e) {
428 _log.error(e, e);
429
430 throw new RemoteException(e.getMessage());
431 }
432 }
433
434
447 public static long getDefaultPlid(long groupId, long scopeGroupId,
448 boolean privateLayout, java.lang.String portletId)
449 throws RemoteException {
450 try {
451 long returnValue = LayoutServiceUtil.getDefaultPlid(groupId,
452 scopeGroupId, privateLayout, portletId);
453
454 return returnValue;
455 }
456 catch (Exception e) {
457 _log.error(e, e);
458
459 throw new RemoteException(e.getMessage());
460 }
461 }
462
463 public static long getDefaultPlid(long groupId, long scopeGroupId,
464 java.lang.String portletId) throws RemoteException {
465 try {
466 long returnValue = LayoutServiceUtil.getDefaultPlid(groupId,
467 scopeGroupId, portletId);
468
469 return returnValue;
470 }
471 catch (Exception e) {
472 _log.error(e, e);
473
474 throw new RemoteException(e.getMessage());
475 }
476 }
477
478
489 public static com.liferay.portal.model.LayoutSoap getLayoutByUuidAndGroupId(
490 java.lang.String uuid, long groupId, boolean privateLayout)
491 throws RemoteException {
492 try {
493 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.getLayoutByUuidAndGroupId(uuid,
494 groupId, privateLayout);
495
496 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
497 }
498 catch (Exception e) {
499 _log.error(e, e);
500
501 throw new RemoteException(e.getMessage());
502 }
503 }
504
505
516 public static java.lang.String getLayoutName(long groupId,
517 boolean privateLayout, long layoutId, java.lang.String languageId)
518 throws RemoteException {
519 try {
520 java.lang.String returnValue = LayoutServiceUtil.getLayoutName(groupId,
521 privateLayout, layoutId, languageId);
522
523 return returnValue;
524 }
525 catch (Exception e) {
526 _log.error(e, e);
527
528 throw new RemoteException(e.getMessage());
529 }
530 }
531
532
542 public static com.liferay.portal.model.LayoutReference[] getLayoutReferences(
543 long companyId, java.lang.String portletId,
544 java.lang.String preferencesKey, java.lang.String preferencesValue)
545 throws RemoteException {
546 try {
547 com.liferay.portal.model.LayoutReference[] returnValue = LayoutServiceUtil.getLayoutReferences(companyId,
548 portletId, preferencesKey, preferencesValue);
549
550 return returnValue;
551 }
552 catch (Exception e) {
553 _log.error(e, e);
554
555 throw new RemoteException(e.getMessage());
556 }
557 }
558
559 public static com.liferay.portal.model.LayoutSoap[] getLayouts(
560 long groupId, boolean privateLayout) throws RemoteException {
561 try {
562 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getLayouts(groupId,
563 privateLayout);
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 com.liferay.portal.model.LayoutSoap[] getLayouts(
575 long groupId, boolean privateLayout, long parentLayoutId)
576 throws RemoteException {
577 try {
578 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getLayouts(groupId,
579 privateLayout, parentLayoutId);
580
581 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
582 }
583 catch (Exception e) {
584 _log.error(e, e);
585
586 throw new RemoteException(e.getMessage());
587 }
588 }
589
590 public static com.liferay.portal.model.LayoutSoap[] getLayouts(
591 long groupId, boolean privateLayout, long parentLayoutId,
592 boolean incomplete, int start, int end) throws RemoteException {
593 try {
594 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getLayouts(groupId,
595 privateLayout, parentLayoutId, incomplete, start, end);
596
597 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
598 }
599 catch (Exception e) {
600 _log.error(e, e);
601
602 throw new RemoteException(e.getMessage());
603 }
604 }
605
606 public static int getLayoutsCount(long groupId, boolean privateLayout,
607 long parentLayoutId) throws RemoteException {
608 try {
609 int returnValue = LayoutServiceUtil.getLayoutsCount(groupId,
610 privateLayout, parentLayoutId);
611
612 return returnValue;
613 }
614 catch (Exception e) {
615 _log.error(e, e);
616
617 throw new RemoteException(e.getMessage());
618 }
619 }
620
621 public static java.lang.String[] getTempFileNames(long groupId,
622 java.lang.String folderName) throws RemoteException {
623 try {
624 java.lang.String[] returnValue = LayoutServiceUtil.getTempFileNames(groupId,
625 folderName);
626
627 return returnValue;
628 }
629 catch (Exception e) {
630 _log.error(e, e);
631
632 throw new RemoteException(e.getMessage());
633 }
634 }
635
636
651 public static void setLayouts(long groupId, boolean privateLayout,
652 long parentLayoutId, long[] layoutIds,
653 com.liferay.portal.service.ServiceContext serviceContext)
654 throws RemoteException {
655 try {
656 LayoutServiceUtil.setLayouts(groupId, privateLayout,
657 parentLayoutId, layoutIds, serviceContext);
658 }
659 catch (Exception e) {
660 _log.error(e, e);
661
662 throw new RemoteException(e.getMessage());
663 }
664 }
665
666
677 public static void unschedulePublishToLive(long groupId,
678 java.lang.String jobName, java.lang.String groupName)
679 throws RemoteException {
680 try {
681 LayoutServiceUtil.unschedulePublishToLive(groupId, jobName,
682 groupName);
683 }
684 catch (Exception e) {
685 _log.error(e, e);
686
687 throw new RemoteException(e.getMessage());
688 }
689 }
690
691
702 public static void unschedulePublishToRemote(long groupId,
703 java.lang.String jobName, java.lang.String groupName)
704 throws RemoteException {
705 try {
706 LayoutServiceUtil.unschedulePublishToRemote(groupId, jobName,
707 groupName);
708 }
709 catch (Exception e) {
710 _log.error(e, e);
711
712 throw new RemoteException(e.getMessage());
713 }
714 }
715
716 public static com.liferay.portal.model.LayoutSoap updateIconImage(
717 long plid, byte[] bytes) throws RemoteException {
718 try {
719 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateIconImage(plid,
720 bytes);
721
722 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
723 }
724 catch (Exception e) {
725 _log.error(e, e);
726
727 throw new RemoteException(e.getMessage());
728 }
729 }
730
731
764 public static com.liferay.portal.model.LayoutSoap updateLayout(
765 long groupId, boolean privateLayout, long layoutId,
766 long parentLayoutId, java.lang.String[] localeNamesMapLanguageIds,
767 java.lang.String[] localeNamesMapValues,
768 java.lang.String[] localeTitlesMapLanguageIds,
769 java.lang.String[] localeTitlesMapValues,
770 java.lang.String[] descriptionMapLanguageIds,
771 java.lang.String[] descriptionMapValues,
772 java.lang.String[] keywordsMapLanguageIds,
773 java.lang.String[] keywordsMapValues,
774 java.lang.String[] robotsMapLanguageIds,
775 java.lang.String[] robotsMapValues, java.lang.String type,
776 boolean hidden, java.lang.String[] friendlyURLMapLanguageIds,
777 java.lang.String[] friendlyURLMapValues, boolean iconImage,
778 byte[] iconBytes,
779 com.liferay.portal.service.ServiceContext serviceContext)
780 throws RemoteException {
781 try {
782 Map<Locale, String> localeNamesMap = LocalizationUtil.getLocalizationMap(localeNamesMapLanguageIds,
783 localeNamesMapValues);
784 Map<Locale, String> localeTitlesMap = LocalizationUtil.getLocalizationMap(localeTitlesMapLanguageIds,
785 localeTitlesMapValues);
786 Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
787 descriptionMapValues);
788 Map<Locale, String> keywordsMap = LocalizationUtil.getLocalizationMap(keywordsMapLanguageIds,
789 keywordsMapValues);
790 Map<Locale, String> robotsMap = LocalizationUtil.getLocalizationMap(robotsMapLanguageIds,
791 robotsMapValues);
792 Map<Locale, String> friendlyURLMap = LocalizationUtil.getLocalizationMap(friendlyURLMapLanguageIds,
793 friendlyURLMapValues);
794
795 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLayout(groupId,
796 privateLayout, layoutId, parentLayoutId, localeNamesMap,
797 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
798 type, hidden, friendlyURLMap, iconImage, iconBytes,
799 serviceContext);
800
801 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
802 }
803 catch (Exception e) {
804 _log.error(e, e);
805
806 throw new RemoteException(e.getMessage());
807 }
808 }
809
810
848 @Deprecated
849 public static com.liferay.portal.model.LayoutSoap updateLayout(
850 long groupId, boolean privateLayout, long layoutId,
851 long parentLayoutId, java.lang.String[] localeNamesMapLanguageIds,
852 java.lang.String[] localeNamesMapValues,
853 java.lang.String[] localeTitlesMapLanguageIds,
854 java.lang.String[] localeTitlesMapValues,
855 java.lang.String[] descriptionMapLanguageIds,
856 java.lang.String[] descriptionMapValues,
857 java.lang.String[] keywordsMapLanguageIds,
858 java.lang.String[] keywordsMapValues,
859 java.lang.String[] robotsMapLanguageIds,
860 java.lang.String[] robotsMapValues, java.lang.String type,
861 boolean hidden, java.lang.String friendlyURL,
862 java.lang.Boolean iconImage, byte[] iconBytes,
863 com.liferay.portal.service.ServiceContext serviceContext)
864 throws RemoteException {
865 try {
866 Map<Locale, String> localeNamesMap = LocalizationUtil.getLocalizationMap(localeNamesMapLanguageIds,
867 localeNamesMapValues);
868 Map<Locale, String> localeTitlesMap = LocalizationUtil.getLocalizationMap(localeTitlesMapLanguageIds,
869 localeTitlesMapValues);
870 Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
871 descriptionMapValues);
872 Map<Locale, String> keywordsMap = LocalizationUtil.getLocalizationMap(keywordsMapLanguageIds,
873 keywordsMapValues);
874 Map<Locale, String> robotsMap = LocalizationUtil.getLocalizationMap(robotsMapLanguageIds,
875 robotsMapValues);
876
877 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLayout(groupId,
878 privateLayout, layoutId, parentLayoutId, localeNamesMap,
879 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
880 type, hidden, friendlyURL, iconImage, iconBytes,
881 serviceContext);
882
883 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
884 }
885 catch (Exception e) {
886 _log.error(e, e);
887
888 throw new RemoteException(e.getMessage());
889 }
890 }
891
892
905 public static com.liferay.portal.model.LayoutSoap updateLayout(
906 long groupId, boolean privateLayout, long layoutId,
907 java.lang.String typeSettings) throws RemoteException {
908 try {
909 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLayout(groupId,
910 privateLayout, layoutId, typeSettings);
911
912 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
913 }
914 catch (Exception e) {
915 _log.error(e, e);
916
917 throw new RemoteException(e.getMessage());
918 }
919 }
920
921
936 public static com.liferay.portal.model.LayoutSoap updateLookAndFeel(
937 long groupId, boolean privateLayout, long layoutId,
938 java.lang.String themeId, java.lang.String colorSchemeId,
939 java.lang.String css, boolean wapTheme) throws RemoteException {
940 try {
941 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLookAndFeel(groupId,
942 privateLayout, layoutId, themeId, colorSchemeId, css,
943 wapTheme);
944
945 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
946 }
947 catch (Exception e) {
948 _log.error(e, e);
949
950 throw new RemoteException(e.getMessage());
951 }
952 }
953
954
969 public static com.liferay.portal.model.LayoutSoap updateName(long groupId,
970 boolean privateLayout, long layoutId, java.lang.String name,
971 java.lang.String languageId) throws RemoteException {
972 try {
973 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateName(groupId,
974 privateLayout, layoutId, name, languageId);
975
976 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
977 }
978 catch (Exception e) {
979 _log.error(e, e);
980
981 throw new RemoteException(e.getMessage());
982 }
983 }
984
985
997 public static com.liferay.portal.model.LayoutSoap updateName(long plid,
998 java.lang.String name, java.lang.String languageId)
999 throws RemoteException {
1000 try {
1001 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateName(plid,
1002 name, languageId);
1003
1004 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1005 }
1006 catch (Exception e) {
1007 _log.error(e, e);
1008
1009 throw new RemoteException(e.getMessage());
1010 }
1011 }
1012
1013
1027 public static com.liferay.portal.model.LayoutSoap updateParentLayoutId(
1028 long groupId, boolean privateLayout, long layoutId, long parentLayoutId)
1029 throws RemoteException {
1030 try {
1031 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateParentLayoutId(groupId,
1032 privateLayout, layoutId, parentLayoutId);
1033
1034 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1035 }
1036 catch (Exception e) {
1037 _log.error(e, e);
1038
1039 throw new RemoteException(e.getMessage());
1040 }
1041 }
1042
1043
1057 public static com.liferay.portal.model.LayoutSoap updateParentLayoutId(
1058 long plid, long parentPlid) throws RemoteException {
1059 try {
1060 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateParentLayoutId(plid,
1061 parentPlid);
1062
1063 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1064 }
1065 catch (Exception e) {
1066 _log.error(e, e);
1067
1068 throw new RemoteException(e.getMessage());
1069 }
1070 }
1071
1072
1081 public static com.liferay.portal.model.LayoutSoap updateParentLayoutIdAndPriority(
1082 long plid, long parentPlid, int priority) throws RemoteException {
1083 try {
1084 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateParentLayoutIdAndPriority(plid,
1085 parentPlid, priority);
1086
1087 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1088 }
1089 catch (Exception e) {
1090 _log.error(e, e);
1091
1092 throw new RemoteException(e.getMessage());
1093 }
1094 }
1095
1096
1108 public static com.liferay.portal.model.LayoutSoap updatePriority(
1109 long groupId, boolean privateLayout, long layoutId, int priority)
1110 throws RemoteException {
1111 try {
1112 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updatePriority(groupId,
1113 privateLayout, layoutId, priority);
1114
1115 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1116 }
1117 catch (Exception e) {
1118 _log.error(e, e);
1119
1120 throw new RemoteException(e.getMessage());
1121 }
1122 }
1123
1124
1138 public static com.liferay.portal.model.LayoutSoap updatePriority(
1139 long groupId, boolean privateLayout, long layoutId, long nextLayoutId,
1140 long previousLayoutId) throws RemoteException {
1141 try {
1142 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updatePriority(groupId,
1143 privateLayout, layoutId, nextLayoutId, previousLayoutId);
1144
1145 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1146 }
1147 catch (Exception e) {
1148 _log.error(e, e);
1149
1150 throw new RemoteException(e.getMessage());
1151 }
1152 }
1153
1154
1163 public static com.liferay.portal.model.LayoutSoap updatePriority(
1164 long plid, int priority) throws RemoteException {
1165 try {
1166 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updatePriority(plid,
1167 priority);
1168
1169 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1170 }
1171 catch (Exception e) {
1172 _log.error(e, e);
1173
1174 throw new RemoteException(e.getMessage());
1175 }
1176 }
1177
1178 private static Log _log = LogFactoryUtil.getLog(LayoutServiceSoap.class);
1179 }