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 public static long exportLayoutsAsFileInBackground(
371 com.liferay.portal.model.ExportImportConfigurationSoap exportImportConfiguration)
372 throws RemoteException {
373 try {
374 long returnValue = LayoutServiceUtil.exportLayoutsAsFileInBackground(com.liferay.portal.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 public static long exportLayoutsAsFileInBackground(
387 long exportImportConfigurationId) throws RemoteException {
388 try {
389 long returnValue = LayoutServiceUtil.exportLayoutsAsFileInBackground(exportImportConfigurationId);
390
391 return returnValue;
392 }
393 catch (Exception e) {
394 _log.error(e, e);
395
396 throw new RemoteException(e.getMessage());
397 }
398 }
399
400
408 public static com.liferay.portal.model.LayoutSoap[] getAncestorLayouts(
409 long plid) throws RemoteException {
410 try {
411 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getAncestorLayouts(plid);
412
413 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
414 }
415 catch (Exception e) {
416 _log.error(e, e);
417
418 throw new RemoteException(e.getMessage());
419 }
420 }
421
422
435 public static long getDefaultPlid(long groupId, long scopeGroupId,
436 boolean privateLayout, java.lang.String portletId)
437 throws RemoteException {
438 try {
439 long returnValue = LayoutServiceUtil.getDefaultPlid(groupId,
440 scopeGroupId, privateLayout, portletId);
441
442 return returnValue;
443 }
444 catch (Exception e) {
445 _log.error(e, e);
446
447 throw new RemoteException(e.getMessage());
448 }
449 }
450
451 public static long getDefaultPlid(long groupId, long scopeGroupId,
452 java.lang.String portletId) throws RemoteException {
453 try {
454 long returnValue = LayoutServiceUtil.getDefaultPlid(groupId,
455 scopeGroupId, portletId);
456
457 return returnValue;
458 }
459 catch (Exception e) {
460 _log.error(e, e);
461
462 throw new RemoteException(e.getMessage());
463 }
464 }
465
466
477 public static com.liferay.portal.model.LayoutSoap getLayoutByUuidAndGroupId(
478 java.lang.String uuid, long groupId, boolean privateLayout)
479 throws RemoteException {
480 try {
481 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.getLayoutByUuidAndGroupId(uuid,
482 groupId, privateLayout);
483
484 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
485 }
486 catch (Exception e) {
487 _log.error(e, e);
488
489 throw new RemoteException(e.getMessage());
490 }
491 }
492
493
504 public static java.lang.String getLayoutName(long groupId,
505 boolean privateLayout, long layoutId, java.lang.String languageId)
506 throws RemoteException {
507 try {
508 java.lang.String returnValue = LayoutServiceUtil.getLayoutName(groupId,
509 privateLayout, layoutId, languageId);
510
511 return returnValue;
512 }
513 catch (Exception e) {
514 _log.error(e, e);
515
516 throw new RemoteException(e.getMessage());
517 }
518 }
519
520
530 public static com.liferay.portal.model.LayoutReference[] getLayoutReferences(
531 long companyId, java.lang.String portletId,
532 java.lang.String preferencesKey, java.lang.String preferencesValue)
533 throws RemoteException {
534 try {
535 com.liferay.portal.model.LayoutReference[] returnValue = LayoutServiceUtil.getLayoutReferences(companyId,
536 portletId, preferencesKey, preferencesValue);
537
538 return returnValue;
539 }
540 catch (Exception e) {
541 _log.error(e, e);
542
543 throw new RemoteException(e.getMessage());
544 }
545 }
546
547 public static com.liferay.portal.model.LayoutSoap[] getLayouts(
548 long groupId, boolean privateLayout) throws RemoteException {
549 try {
550 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getLayouts(groupId,
551 privateLayout);
552
553 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
554 }
555 catch (Exception e) {
556 _log.error(e, e);
557
558 throw new RemoteException(e.getMessage());
559 }
560 }
561
562 public static com.liferay.portal.model.LayoutSoap[] getLayouts(
563 long groupId, boolean privateLayout, long parentLayoutId)
564 throws RemoteException {
565 try {
566 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getLayouts(groupId,
567 privateLayout, parentLayoutId);
568
569 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
570 }
571 catch (Exception e) {
572 _log.error(e, e);
573
574 throw new RemoteException(e.getMessage());
575 }
576 }
577
578 public static com.liferay.portal.model.LayoutSoap[] getLayouts(
579 long groupId, boolean privateLayout, long parentLayoutId,
580 boolean incomplete, int start, int end) throws RemoteException {
581 try {
582 java.util.List<com.liferay.portal.model.Layout> returnValue = LayoutServiceUtil.getLayouts(groupId,
583 privateLayout, parentLayoutId, incomplete, start, end);
584
585 return com.liferay.portal.model.LayoutSoap.toSoapModels(returnValue);
586 }
587 catch (Exception e) {
588 _log.error(e, e);
589
590 throw new RemoteException(e.getMessage());
591 }
592 }
593
594 public static int getLayoutsCount(long groupId, boolean privateLayout,
595 long parentLayoutId) throws RemoteException {
596 try {
597 int returnValue = LayoutServiceUtil.getLayoutsCount(groupId,
598 privateLayout, parentLayoutId);
599
600 return returnValue;
601 }
602 catch (Exception e) {
603 _log.error(e, e);
604
605 throw new RemoteException(e.getMessage());
606 }
607 }
608
609 public static java.lang.String[] getTempFileNames(long groupId,
610 java.lang.String folderName) throws RemoteException {
611 try {
612 java.lang.String[] returnValue = LayoutServiceUtil.getTempFileNames(groupId,
613 folderName);
614
615 return returnValue;
616 }
617 catch (Exception e) {
618 _log.error(e, e);
619
620 throw new RemoteException(e.getMessage());
621 }
622 }
623
624
639 public static void setLayouts(long groupId, boolean privateLayout,
640 long parentLayoutId, long[] layoutIds,
641 com.liferay.portal.service.ServiceContext serviceContext)
642 throws RemoteException {
643 try {
644 LayoutServiceUtil.setLayouts(groupId, privateLayout,
645 parentLayoutId, layoutIds, serviceContext);
646 }
647 catch (Exception e) {
648 _log.error(e, e);
649
650 throw new RemoteException(e.getMessage());
651 }
652 }
653
654
665 public static void unschedulePublishToLive(long groupId,
666 java.lang.String jobName, java.lang.String groupName)
667 throws RemoteException {
668 try {
669 LayoutServiceUtil.unschedulePublishToLive(groupId, jobName,
670 groupName);
671 }
672 catch (Exception e) {
673 _log.error(e, e);
674
675 throw new RemoteException(e.getMessage());
676 }
677 }
678
679
690 public static void unschedulePublishToRemote(long groupId,
691 java.lang.String jobName, java.lang.String groupName)
692 throws RemoteException {
693 try {
694 LayoutServiceUtil.unschedulePublishToRemote(groupId, jobName,
695 groupName);
696 }
697 catch (Exception e) {
698 _log.error(e, e);
699
700 throw new RemoteException(e.getMessage());
701 }
702 }
703
704 public static com.liferay.portal.model.LayoutSoap updateIconImage(
705 long plid, byte[] bytes) throws RemoteException {
706 try {
707 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateIconImage(plid,
708 bytes);
709
710 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
711 }
712 catch (Exception e) {
713 _log.error(e, e);
714
715 throw new RemoteException(e.getMessage());
716 }
717 }
718
719
752 public static com.liferay.portal.model.LayoutSoap updateLayout(
753 long groupId, boolean privateLayout, long layoutId,
754 long parentLayoutId, java.lang.String[] localeNamesMapLanguageIds,
755 java.lang.String[] localeNamesMapValues,
756 java.lang.String[] localeTitlesMapLanguageIds,
757 java.lang.String[] localeTitlesMapValues,
758 java.lang.String[] descriptionMapLanguageIds,
759 java.lang.String[] descriptionMapValues,
760 java.lang.String[] keywordsMapLanguageIds,
761 java.lang.String[] keywordsMapValues,
762 java.lang.String[] robotsMapLanguageIds,
763 java.lang.String[] robotsMapValues, java.lang.String type,
764 boolean hidden, java.lang.String[] friendlyURLMapLanguageIds,
765 java.lang.String[] friendlyURLMapValues, boolean iconImage,
766 byte[] iconBytes,
767 com.liferay.portal.service.ServiceContext serviceContext)
768 throws RemoteException {
769 try {
770 Map<Locale, String> localeNamesMap = LocalizationUtil.getLocalizationMap(localeNamesMapLanguageIds,
771 localeNamesMapValues);
772 Map<Locale, String> localeTitlesMap = LocalizationUtil.getLocalizationMap(localeTitlesMapLanguageIds,
773 localeTitlesMapValues);
774 Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
775 descriptionMapValues);
776 Map<Locale, String> keywordsMap = LocalizationUtil.getLocalizationMap(keywordsMapLanguageIds,
777 keywordsMapValues);
778 Map<Locale, String> robotsMap = LocalizationUtil.getLocalizationMap(robotsMapLanguageIds,
779 robotsMapValues);
780 Map<Locale, String> friendlyURLMap = LocalizationUtil.getLocalizationMap(friendlyURLMapLanguageIds,
781 friendlyURLMapValues);
782
783 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLayout(groupId,
784 privateLayout, layoutId, parentLayoutId, localeNamesMap,
785 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
786 type, hidden, friendlyURLMap, iconImage, iconBytes,
787 serviceContext);
788
789 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
790 }
791 catch (Exception e) {
792 _log.error(e, e);
793
794 throw new RemoteException(e.getMessage());
795 }
796 }
797
798
836 @Deprecated
837 public static com.liferay.portal.model.LayoutSoap updateLayout(
838 long groupId, boolean privateLayout, long layoutId,
839 long parentLayoutId, java.lang.String[] localeNamesMapLanguageIds,
840 java.lang.String[] localeNamesMapValues,
841 java.lang.String[] localeTitlesMapLanguageIds,
842 java.lang.String[] localeTitlesMapValues,
843 java.lang.String[] descriptionMapLanguageIds,
844 java.lang.String[] descriptionMapValues,
845 java.lang.String[] keywordsMapLanguageIds,
846 java.lang.String[] keywordsMapValues,
847 java.lang.String[] robotsMapLanguageIds,
848 java.lang.String[] robotsMapValues, java.lang.String type,
849 boolean hidden, java.lang.String friendlyURL,
850 java.lang.Boolean iconImage, byte[] iconBytes,
851 com.liferay.portal.service.ServiceContext serviceContext)
852 throws RemoteException {
853 try {
854 Map<Locale, String> localeNamesMap = LocalizationUtil.getLocalizationMap(localeNamesMapLanguageIds,
855 localeNamesMapValues);
856 Map<Locale, String> localeTitlesMap = LocalizationUtil.getLocalizationMap(localeTitlesMapLanguageIds,
857 localeTitlesMapValues);
858 Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
859 descriptionMapValues);
860 Map<Locale, String> keywordsMap = LocalizationUtil.getLocalizationMap(keywordsMapLanguageIds,
861 keywordsMapValues);
862 Map<Locale, String> robotsMap = LocalizationUtil.getLocalizationMap(robotsMapLanguageIds,
863 robotsMapValues);
864
865 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLayout(groupId,
866 privateLayout, layoutId, parentLayoutId, localeNamesMap,
867 localeTitlesMap, descriptionMap, keywordsMap, robotsMap,
868 type, hidden, friendlyURL, iconImage, iconBytes,
869 serviceContext);
870
871 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
872 }
873 catch (Exception e) {
874 _log.error(e, e);
875
876 throw new RemoteException(e.getMessage());
877 }
878 }
879
880
893 public static com.liferay.portal.model.LayoutSoap updateLayout(
894 long groupId, boolean privateLayout, long layoutId,
895 java.lang.String typeSettings) throws RemoteException {
896 try {
897 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLayout(groupId,
898 privateLayout, layoutId, typeSettings);
899
900 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
901 }
902 catch (Exception e) {
903 _log.error(e, e);
904
905 throw new RemoteException(e.getMessage());
906 }
907 }
908
909
924 public static com.liferay.portal.model.LayoutSoap updateLookAndFeel(
925 long groupId, boolean privateLayout, long layoutId,
926 java.lang.String themeId, java.lang.String colorSchemeId,
927 java.lang.String css, boolean wapTheme) throws RemoteException {
928 try {
929 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateLookAndFeel(groupId,
930 privateLayout, layoutId, themeId, colorSchemeId, css,
931 wapTheme);
932
933 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
934 }
935 catch (Exception e) {
936 _log.error(e, e);
937
938 throw new RemoteException(e.getMessage());
939 }
940 }
941
942
957 public static com.liferay.portal.model.LayoutSoap updateName(long groupId,
958 boolean privateLayout, long layoutId, java.lang.String name,
959 java.lang.String languageId) throws RemoteException {
960 try {
961 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateName(groupId,
962 privateLayout, layoutId, name, languageId);
963
964 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
965 }
966 catch (Exception e) {
967 _log.error(e, e);
968
969 throw new RemoteException(e.getMessage());
970 }
971 }
972
973
985 public static com.liferay.portal.model.LayoutSoap updateName(long plid,
986 java.lang.String name, java.lang.String languageId)
987 throws RemoteException {
988 try {
989 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateName(plid,
990 name, languageId);
991
992 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
993 }
994 catch (Exception e) {
995 _log.error(e, e);
996
997 throw new RemoteException(e.getMessage());
998 }
999 }
1000
1001
1015 public static com.liferay.portal.model.LayoutSoap updateParentLayoutId(
1016 long groupId, boolean privateLayout, long layoutId, long parentLayoutId)
1017 throws RemoteException {
1018 try {
1019 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateParentLayoutId(groupId,
1020 privateLayout, layoutId, parentLayoutId);
1021
1022 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1023 }
1024 catch (Exception e) {
1025 _log.error(e, e);
1026
1027 throw new RemoteException(e.getMessage());
1028 }
1029 }
1030
1031
1045 public static com.liferay.portal.model.LayoutSoap updateParentLayoutId(
1046 long plid, long parentPlid) throws RemoteException {
1047 try {
1048 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateParentLayoutId(plid,
1049 parentPlid);
1050
1051 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1052 }
1053 catch (Exception e) {
1054 _log.error(e, e);
1055
1056 throw new RemoteException(e.getMessage());
1057 }
1058 }
1059
1060
1069 public static com.liferay.portal.model.LayoutSoap updateParentLayoutIdAndPriority(
1070 long plid, long parentPlid, int priority) throws RemoteException {
1071 try {
1072 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updateParentLayoutIdAndPriority(plid,
1073 parentPlid, priority);
1074
1075 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1076 }
1077 catch (Exception e) {
1078 _log.error(e, e);
1079
1080 throw new RemoteException(e.getMessage());
1081 }
1082 }
1083
1084
1096 public static com.liferay.portal.model.LayoutSoap updatePriority(
1097 long groupId, boolean privateLayout, long layoutId, int priority)
1098 throws RemoteException {
1099 try {
1100 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updatePriority(groupId,
1101 privateLayout, layoutId, priority);
1102
1103 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1104 }
1105 catch (Exception e) {
1106 _log.error(e, e);
1107
1108 throw new RemoteException(e.getMessage());
1109 }
1110 }
1111
1112
1126 public static com.liferay.portal.model.LayoutSoap updatePriority(
1127 long groupId, boolean privateLayout, long layoutId, long nextLayoutId,
1128 long previousLayoutId) throws RemoteException {
1129 try {
1130 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updatePriority(groupId,
1131 privateLayout, layoutId, nextLayoutId, previousLayoutId);
1132
1133 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1134 }
1135 catch (Exception e) {
1136 _log.error(e, e);
1137
1138 throw new RemoteException(e.getMessage());
1139 }
1140 }
1141
1142
1151 public static com.liferay.portal.model.LayoutSoap updatePriority(
1152 long plid, int priority) throws RemoteException {
1153 try {
1154 com.liferay.portal.model.Layout returnValue = LayoutServiceUtil.updatePriority(plid,
1155 priority);
1156
1157 return com.liferay.portal.model.LayoutSoap.toSoapModel(returnValue);
1158 }
1159 catch (Exception e) {
1160 _log.error(e, e);
1161
1162 throw new RemoteException(e.getMessage());
1163 }
1164 }
1165
1166 private static Log _log = LogFactoryUtil.getLog(LayoutServiceSoap.class);
1167 }