001 /** 002 * Copyright (c) 2000-present Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portal.service; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.exception.PortalException; 020 import com.liferay.portal.kernel.exception.SystemException; 021 import com.liferay.portal.kernel.jsonwebservice.JSONWebService; 022 import com.liferay.portal.kernel.security.access.control.AccessControlled; 023 import com.liferay.portal.kernel.transaction.Isolation; 024 import com.liferay.portal.kernel.transaction.Propagation; 025 import com.liferay.portal.kernel.transaction.Transactional; 026 027 /** 028 * Provides the remote service interface for Layout. Methods of this 029 * service are expected to have security checks based on the propagated JAAS 030 * credentials because this service can be accessed remotely. 031 * 032 * @author Brian Wing Shun Chan 033 * @see LayoutServiceUtil 034 * @see com.liferay.portal.service.base.LayoutServiceBaseImpl 035 * @see com.liferay.portal.service.impl.LayoutServiceImpl 036 * @generated 037 */ 038 @AccessControlled 039 @JSONWebService 040 @ProviderType 041 @Transactional(isolation = Isolation.PORTAL, rollbackFor = { 042 PortalException.class, SystemException.class}) 043 public interface LayoutService extends BaseService { 044 /* 045 * NOTE FOR DEVELOPERS: 046 * 047 * Never modify or reference this interface directly. Always use {@link LayoutServiceUtil} to access the layout remote service. Add custom service methods to {@link com.liferay.portal.service.impl.LayoutServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface. 048 */ 049 050 /** 051 * Adds a layout with additional parameters. 052 * 053 * <p> 054 * This method handles the creation of the layout including its resources, 055 * metadata, and internal data structures. It is not necessary to make 056 * subsequent calls to any methods to setup default groups, resources, ... 057 * etc. 058 * </p> 059 * 060 * @param groupId the primary key of the group 061 * @param privateLayout whether the layout is private to the group 062 * @param parentLayoutId the primary key of the parent layout 063 (optionally {@link LayoutConstants#DEFAULT_PARENT_LAYOUT_ID}) 064 * @param localeNamesMap the layout's locales and localized names 065 * @param localeTitlesMap the layout's locales and localized titles 066 * @param descriptionMap the layout's locales and localized 067 descriptions 068 * @param keywordsMap the layout's locales and localized keywords 069 * @param robotsMap the layout's locales and localized robots 070 * @param type the layout's type (optionally {@link 071 LayoutConstants#TYPE_PORTLET}). The possible types can be 072 found in {@link LayoutConstants}. 073 * @param hidden whether the layout is hidden 074 * @param friendlyURL the layout's locales and localized friendly URLs. 075 To see how the URL is normalized when accessed, see {@link 076 com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize( 077 String)}. 078 * @param serviceContext the service context to be applied. Must set 079 the UUID for the layout. Can set the creation date, 080 modification date, and expando bridge attributes for the 081 layout. For layouts that belong to a layout set prototype, an 082 attribute named <code>layoutUpdateable</code> can be used to 083 specify whether site administrators can modify this page 084 within their site. 085 * @return the layout 086 * @deprecated As of 6.2.0, replaced by {@link #addLayout(long, boolean, 087 long, Map, Map, Map, Map, Map, String, String, boolean, Map, 088 ServiceContext)} 089 */ 090 @java.lang.Deprecated 091 public com.liferay.portal.model.Layout addLayout(long groupId, 092 boolean privateLayout, long parentLayoutId, 093 java.util.Map<java.util.Locale, java.lang.String> localeNamesMap, 094 java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap, 095 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 096 java.util.Map<java.util.Locale, java.lang.String> keywordsMap, 097 java.util.Map<java.util.Locale, java.lang.String> robotsMap, 098 java.lang.String type, boolean hidden, java.lang.String friendlyURL, 099 com.liferay.portal.service.ServiceContext serviceContext) 100 throws PortalException; 101 102 /** 103 * Adds a layout with additional parameters. 104 * 105 * <p> 106 * This method handles the creation of the layout including its resources, 107 * metadata, and internal data structures. It is not necessary to make 108 * subsequent calls to any methods to setup default groups, resources, ... 109 * etc. 110 * </p> 111 * 112 * @param groupId the primary key of the group 113 * @param privateLayout whether the layout is private to the group 114 * @param parentLayoutId the primary key of the parent layout (optionally 115 {@link LayoutConstants#DEFAULT_PARENT_LAYOUT_ID}) 116 * @param localeNamesMap the layout's locales and localized names 117 * @param localeTitlesMap the layout's locales and localized titles 118 * @param descriptionMap the layout's locales and localized descriptions 119 * @param keywordsMap the layout's locales and localized keywords 120 * @param robotsMap the layout's locales and localized robots 121 * @param type the layout's type (optionally {@link 122 LayoutConstants#TYPE_PORTLET}). The possible types can be found 123 in {@link LayoutConstants}. 124 * @param typeSettings the settings to load the unicode properties object. 125 See {@link com.liferay.portal.kernel.util.UnicodeProperties 126 #fastLoad(String)}. 127 * @param hidden whether the layout is hidden 128 * @param friendlyURLMap the layout's locales and localized friendly URLs. 129 To see how the URL is normalized when accessed, see {@link 130 com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize( 131 String)}. 132 * @param serviceContext the service context to be applied. Must set the 133 UUID for the layout. Can set the creation date, modification 134 date, and expando bridge attributes for the layout. For layouts 135 that belong to a layout set prototype, an attribute named 136 <code>layoutUpdateable</code> can be used to specify whether site 137 administrators can modify this page within their site. 138 * @return the layout 139 */ 140 public com.liferay.portal.model.Layout addLayout(long groupId, 141 boolean privateLayout, long parentLayoutId, 142 java.util.Map<java.util.Locale, java.lang.String> localeNamesMap, 143 java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap, 144 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 145 java.util.Map<java.util.Locale, java.lang.String> keywordsMap, 146 java.util.Map<java.util.Locale, java.lang.String> robotsMap, 147 java.lang.String type, java.lang.String typeSettings, boolean hidden, 148 java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap, 149 com.liferay.portal.service.ServiceContext serviceContext) 150 throws PortalException; 151 152 /** 153 * Adds a layout with single entry maps for name, title, and description to 154 * the default locale. 155 * 156 * <p> 157 * This method handles the creation of the layout including its resources, 158 * metadata, and internal data structures. It is not necessary to make 159 * subsequent calls to any methods to setup default groups, resources, ... 160 * etc. 161 * </p> 162 * 163 * @param groupId the primary key of the group 164 * @param privateLayout whether the layout is private to the group 165 * @param parentLayoutId the primary key of the parent layout (optionally 166 {@link LayoutConstants#DEFAULT_PARENT_LAYOUT_ID}) 167 * @param name the layout's locales and localized names 168 * @param title the layout's locales and localized titles 169 * @param description the layout's locales and localized descriptions 170 * @param type the layout's type (optionally {@link 171 LayoutConstants#TYPE_PORTLET}). The possible types can be found 172 in {@link LayoutConstants}. 173 * @param hidden whether the layout is hidden 174 * @param friendlyURL the layout's locales and localized friendly URLs. To 175 see how the URL is normalized when accessed, see {@link 176 com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize( 177 String)}. 178 * @param serviceContext the service context to be applied. Must set the 179 UUID for the layout. Can specify the creation date, modification 180 date, and expando bridge attributes for the layout. For layouts 181 that belong to a layout set prototype, an attribute named 182 <code>layoutUpdateable</code> can be used to specify whether site 183 administrators can modify this page within their site. 184 * @return the layout 185 */ 186 public com.liferay.portal.model.Layout addLayout(long groupId, 187 boolean privateLayout, long parentLayoutId, java.lang.String name, 188 java.lang.String title, java.lang.String description, 189 java.lang.String type, boolean hidden, java.lang.String friendlyURL, 190 com.liferay.portal.service.ServiceContext serviceContext) 191 throws PortalException; 192 193 public com.liferay.portal.kernel.repository.model.FileEntry addTempFileEntry( 194 long groupId, java.lang.String folderName, java.lang.String fileName, 195 java.io.InputStream inputStream, java.lang.String mimeType) 196 throws PortalException; 197 198 /** 199 * Deletes the layout with the primary key, also deleting the layout's child 200 * layouts, and associated resources. 201 * 202 * @param groupId the primary key of the group 203 * @param privateLayout whether the layout is private to the group 204 * @param layoutId the primary key of the layout 205 * @param serviceContext the service context to be applied 206 */ 207 public void deleteLayout(long groupId, boolean privateLayout, 208 long layoutId, com.liferay.portal.service.ServiceContext serviceContext) 209 throws PortalException; 210 211 /** 212 * Deletes the layout with the plid, also deleting the layout's child 213 * layouts, and associated resources. 214 * 215 * @param plid the primary key of the layout 216 * @param serviceContext the service context to be applied 217 */ 218 public void deleteLayout(long plid, 219 com.liferay.portal.service.ServiceContext serviceContext) 220 throws PortalException; 221 222 public void deleteTempFileEntry(long groupId, java.lang.String folderName, 223 java.lang.String fileName) throws PortalException; 224 225 /** 226 * Exports the layouts that match the primary keys and the criteria as a 227 * byte array. 228 * 229 * @param groupId the primary key of the group 230 * @param privateLayout whether the layout is private to the group 231 * @param layoutIds the primary keys of the layouts to be exported 232 * @param parameterMap the mapping of parameters indicating which 233 information to export. For information on the keys used in 234 the map see {@link 235 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 236 * @param startDate the export's start date 237 * @param endDate the export's end date 238 * @return the layouts as a byte array 239 * @deprecated As of 7.0.0, with no direct replacement 240 */ 241 @java.lang.Deprecated 242 public byte[] exportLayouts(long groupId, boolean privateLayout, 243 long[] layoutIds, 244 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 245 java.util.Date startDate, java.util.Date endDate) 246 throws PortalException; 247 248 /** 249 * Exports all layouts that match the criteria as a byte array. 250 * 251 * @param groupId the primary key of the group 252 * @param privateLayout whether the layout is private to the group 253 * @param parameterMap the mapping of parameters indicating which 254 information to export. For information on the keys used in 255 the map see {@link 256 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 257 * @param startDate the export's start date 258 * @param endDate the export's end date 259 * @return the layout as a byte array 260 * @deprecated As of 7.0.0, with no direct replacement 261 */ 262 @java.lang.Deprecated 263 public byte[] exportLayouts(long groupId, boolean privateLayout, 264 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 265 java.util.Date startDate, java.util.Date endDate) 266 throws PortalException; 267 268 /** 269 * @deprecated As of 7.0.0, replaced by {@link 270 com.liferay.portlet.exportimport.service.ExportImportService#exportLayoutsAsFile( 271 ExportImportConfiguration)} 272 */ 273 @java.lang.Deprecated 274 public java.io.File exportLayoutsAsFile( 275 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration) 276 throws PortalException; 277 278 /** 279 * Exports all layouts that match the primary keys and criteria as a file. 280 * 281 * @param groupId the primary key of the group 282 * @param privateLayout whether the layout is private to the group 283 * @param layoutIds the primary keys of the layouts to be exported 284 (optionally <code>null</code>) 285 * @param parameterMap the mapping of parameters indicating which 286 information to export. For information on the keys used in 287 the map see {@link 288 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 289 * @param startDate the export's start date 290 * @param endDate the export's end date 291 * @return the layouts as a File 292 * @deprecated As of 7.0.0, with no direct replacement 293 */ 294 @java.lang.Deprecated 295 public java.io.File exportLayoutsAsFile(long groupId, 296 boolean privateLayout, long[] layoutIds, 297 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 298 java.util.Date startDate, java.util.Date endDate) 299 throws PortalException; 300 301 /** 302 * @deprecated As of 7.0.0, replaced by {@link 303 com.liferay.portlet.exportimport.service.ExportImportService#exportLayoutsAsFileInBackground( 304 ExportImportConfiguration)} 305 */ 306 @java.lang.Deprecated 307 public long exportLayoutsAsFileInBackground( 308 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration) 309 throws PortalException; 310 311 /** 312 * @deprecated As of 7.0.0, replaced by {@link 313 com.liferay.portlet.exportimport.service.ExportImportService#exportLayoutsAsFileInBackground( 314 long)} 315 */ 316 @java.lang.Deprecated 317 public long exportLayoutsAsFileInBackground( 318 long exportImportConfigurationId) throws PortalException; 319 320 /** 321 * @deprecated As of 7.0.0, with no direct replacement 322 */ 323 @java.lang.Deprecated 324 public long exportLayoutsAsFileInBackground(java.lang.String taskName, 325 long groupId, boolean privateLayout, long[] layoutIds, 326 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 327 java.util.Date startDate, java.util.Date endDate) 328 throws PortalException; 329 330 /** 331 * @deprecated As of 7.0.0, with no direct replacement 332 */ 333 @java.lang.Deprecated 334 public long exportLayoutsAsFileInBackground(java.lang.String taskName, 335 long groupId, boolean privateLayout, long[] layoutIds, 336 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 337 java.util.Date startDate, java.util.Date endDate, 338 java.lang.String fileName) throws PortalException; 339 340 /** 341 * @deprecated As of 7.0.0, with no direct replacement 342 */ 343 @java.lang.Deprecated 344 public byte[] exportPortletInfo(long companyId, java.lang.String portletId, 345 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 346 java.util.Date startDate, java.util.Date endDate) 347 throws PortalException; 348 349 /** 350 * Exports the portlet information (categories, permissions, ... etc.) as a 351 * byte array. 352 * 353 * @param plid the primary key of the layout 354 * @param groupId the primary key of the group 355 * @param portletId the primary key of the portlet 356 * @param parameterMap the mapping of parameters indicating which 357 information to export. For information on the keys used in 358 the map see {@link 359 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 360 * @param startDate the export's start date 361 * @param endDate the export's end date 362 * @return the portlet information as a byte array 363 * @deprecated As of 7.0.0, with no direct replacement 364 */ 365 @java.lang.Deprecated 366 public byte[] exportPortletInfo(long plid, long groupId, 367 java.lang.String portletId, 368 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 369 java.util.Date startDate, java.util.Date endDate) 370 throws PortalException; 371 372 /** 373 * @deprecated As of 7.0.0, replaced by {@link 374 com.liferay.portlet.exportimport.service.ExportImportService#exportPortletInfoAsFile( 375 ExportImportConfiguration)} 376 */ 377 @java.lang.Deprecated 378 public java.io.File exportPortletInfoAsFile( 379 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration) 380 throws PortalException; 381 382 /** 383 * Exports the portlet information (categories, permissions, ... etc.) as a 384 * file. 385 * 386 * @param plid the primary key of the layout 387 * @param groupId the primary key of the group 388 * @param portletId the primary key of the portlet 389 * @param parameterMap the mapping of parameters indicating which 390 information to export. For information on the keys used in 391 the map see {@link 392 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 393 * @param startDate the export's start date 394 * @param endDate the export's end date 395 * @return the portlet information as a file 396 * @deprecated As of 7.0.0, with no direct replacement 397 */ 398 @java.lang.Deprecated 399 public java.io.File exportPortletInfoAsFile(long plid, long groupId, 400 java.lang.String portletId, 401 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 402 java.util.Date startDate, java.util.Date endDate) 403 throws PortalException; 404 405 /** 406 * @deprecated As of 7.0.0, with no direct replacement 407 */ 408 @java.lang.Deprecated 409 public java.io.File exportPortletInfoAsFile(java.lang.String portletId, 410 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 411 java.util.Date startDate, java.util.Date endDate) 412 throws PortalException; 413 414 /** 415 * @deprecated As of 7.0.0, with no direct replacement 416 */ 417 @java.lang.Deprecated 418 public long exportPortletInfoAsFileInBackground(java.lang.String taskName, 419 long plid, long groupId, java.lang.String portletId, 420 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 421 java.util.Date startDate, java.util.Date endDate, 422 java.lang.String fileName) throws PortalException; 423 424 /** 425 * @deprecated As of 7.0.0, with no direct replacement 426 */ 427 @java.lang.Deprecated 428 public long exportPortletInfoAsFileInBackground(java.lang.String taskName, 429 java.lang.String portletId, 430 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 431 java.util.Date startDate, java.util.Date endDate, 432 java.lang.String fileName) throws PortalException; 433 434 /** 435 * Returns all the ancestor layouts of the layout. 436 * 437 * @param plid the primary key of the layout 438 * @return the ancestor layouts of the layout 439 */ 440 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) 441 public java.util.List<com.liferay.portal.model.Layout> getAncestorLayouts( 442 long plid) throws PortalException; 443 444 @com.liferay.portal.kernel.cache.thread.local.ThreadLocalCachable 445 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) 446 public long getDefaultPlid(long groupId, long scopeGroupId, 447 java.lang.String portletId) throws PortalException; 448 449 /** 450 * Returns the primary key of the default layout for the group. 451 * 452 * @param groupId the primary key of the group 453 * @param scopeGroupId the primary key of the scope group. See {@link 454 ServiceContext#getScopeGroupId()}. 455 * @param privateLayout whether the layout is private to the group 456 * @param portletId the primary key of the portlet 457 * @return Returns the primary key of the default layout group; {@link 458 LayoutConstants#DEFAULT_PLID} otherwise 459 */ 460 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) 461 public long getDefaultPlid(long groupId, long scopeGroupId, 462 boolean privateLayout, java.lang.String portletId) 463 throws PortalException; 464 465 /** 466 * Returns the layout matching the UUID, group, and privacy. 467 * 468 * @param uuid the layout's UUID 469 * @param groupId the primary key of the group 470 * @param privateLayout whether the layout is private to the group 471 * @return the matching layout 472 */ 473 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) 474 public com.liferay.portal.model.Layout getLayoutByUuidAndGroupId( 475 java.lang.String uuid, long groupId, boolean privateLayout) 476 throws PortalException; 477 478 /** 479 * Returns the name of the layout. 480 * 481 * @param groupId the primary key of the group 482 * @param privateLayout whether the layout is private to the group 483 * @param layoutId the primary key of the layout 484 * @param languageId the primary key of the language. For more information 485 See {@link Locale}. 486 * @return the layout's name 487 */ 488 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) 489 public java.lang.String getLayoutName(long groupId, boolean privateLayout, 490 long layoutId, java.lang.String languageId) throws PortalException; 491 492 /** 493 * Returns the layout references for all the layouts that belong to the 494 * company and belong to the portlet that matches the preferences. 495 * 496 * @param companyId the primary key of the company 497 * @param portletId the primary key of the portlet 498 * @param preferencesKey the portlet's preference key 499 * @param preferencesValue the portlet's preference value 500 * @return the layout references of the matching layouts 501 */ 502 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) 503 public com.liferay.portal.model.LayoutReference[] getLayoutReferences( 504 long companyId, java.lang.String portletId, 505 java.lang.String preferencesKey, java.lang.String preferencesValue); 506 507 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) 508 public java.util.List<com.liferay.portal.model.Layout> getLayouts( 509 long groupId, boolean privateLayout); 510 511 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) 512 public java.util.List<com.liferay.portal.model.Layout> getLayouts( 513 long groupId, boolean privateLayout, long parentLayoutId) 514 throws PortalException; 515 516 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) 517 public java.util.List<com.liferay.portal.model.Layout> getLayouts( 518 long groupId, boolean privateLayout, long parentLayoutId, 519 boolean incomplete, int start, int end) throws PortalException; 520 521 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) 522 public int getLayoutsCount(long groupId, boolean privateLayout, 523 long parentLayoutId); 524 525 /** 526 * Returns the OSGi service identifier. 527 * 528 * @return the OSGi service identifier 529 */ 530 public java.lang.String getOSGiServiceIdentifier(); 531 532 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) 533 public java.lang.String[] getTempFileNames(long groupId, 534 java.lang.String folderName) throws PortalException; 535 536 /** 537 * @deprecated As of 7.0.0, replaced by {@link 538 com.liferay.portlet.exportimport.service.ExportImportService#importLayouts( 539 ExportImportConfiguration, File)} 540 */ 541 @java.lang.Deprecated 542 public void importLayouts( 543 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 544 java.io.File file) throws PortalException; 545 546 /** 547 * @deprecated As of 7.0.0, replaced by {@link 548 com.liferay.portlet.exportimport.service.ExportImportService#importLayouts( 549 ExportImportConfiguration, InputStream)} 550 */ 551 @java.lang.Deprecated 552 public void importLayouts( 553 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 554 java.io.InputStream is) throws PortalException; 555 556 /** 557 * Imports the layouts from the byte array. 558 * 559 * @param groupId the primary key of the group 560 * @param privateLayout whether the layout is private to the group 561 * @param parameterMap the mapping of parameters indicating which 562 information will be imported. For information on the keys 563 used in the map see {@link 564 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 565 * @param bytes the byte array with the data 566 * @see com.liferay.portlet.exportimport.lar.LayoutImporter 567 * @deprecated As of 7.0.0, with no direct replacement 568 */ 569 @java.lang.Deprecated 570 public void importLayouts(long groupId, boolean privateLayout, 571 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 572 byte[] bytes) throws PortalException; 573 574 /** 575 * Imports the layouts from the file. 576 * 577 * @param groupId the primary key of the group 578 * @param privateLayout whether the layout is private to the group 579 * @param parameterMap the mapping of parameters indicating which 580 information will be imported. For information on the keys 581 used in the map see {@link 582 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 583 * @param file the LAR file with the data 584 * @see com.liferay.portlet.exportimport.lar.LayoutImporter 585 * @deprecated As of 7.0.0, with no direct replacement 586 */ 587 @java.lang.Deprecated 588 public void importLayouts(long groupId, boolean privateLayout, 589 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 590 java.io.File file) throws PortalException; 591 592 /** 593 * Imports the layouts from the input stream. 594 * 595 * @param groupId the primary key of the group 596 * @param privateLayout whether the layout is private to the group 597 * @param parameterMap the mapping of parameters indicating which 598 information will be imported. For information on the keys 599 used in the map see {@link 600 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 601 * @param is the input stream 602 * @see com.liferay.portlet.exportimport.lar.LayoutImporter 603 * @deprecated As of 7.0.0, with no direct replacement 604 */ 605 @java.lang.Deprecated 606 public void importLayouts(long groupId, boolean privateLayout, 607 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 608 java.io.InputStream is) throws PortalException; 609 610 /** 611 * @deprecated As of 7.0.0, with no direct replacement 612 */ 613 @java.lang.Deprecated 614 public long importLayoutsInBackground(java.lang.String taskName, 615 long groupId, boolean privateLayout, 616 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 617 java.io.File file) throws PortalException; 618 619 /** 620 * @deprecated As of 7.0.0, with no direct replacement 621 */ 622 @java.lang.Deprecated 623 public long importLayoutsInBackground(java.lang.String taskName, 624 long groupId, boolean privateLayout, 625 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 626 java.io.InputStream inputStream) throws PortalException; 627 628 /** 629 * @deprecated As of 7.0.0, replaced by {@link 630 com.liferay.portlet.exportimport.service.ExportImportService#importPortletInfo( 631 ExportImportConfiguration, File)} ( 632 */ 633 @java.lang.Deprecated 634 public void importPortletInfo( 635 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 636 java.io.File file) throws PortalException; 637 638 /** 639 * @deprecated As of 7.0.0, replaced by {@link 640 com.liferay.portlet.exportimport.service.ExportImportService#importPortletInfo( 641 ExportImportConfiguration, InputStream)} ( 642 */ 643 @java.lang.Deprecated 644 public void importPortletInfo( 645 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 646 java.io.InputStream is) throws PortalException; 647 648 /** 649 * Imports the portlet information (categories, permissions, ... etc.) from 650 * the file. 651 * 652 * @param plid the primary key of the layout 653 * @param groupId the primary key of the group 654 * @param portletId the primary key of the portlet 655 * @param parameterMap the mapping of parameters indicating which 656 information will be imported. For information on the keys 657 used in the map see {@link 658 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 659 * @param file the LAR file with the data 660 * @deprecated As of 7.0.0, with no direct replacement 661 */ 662 @java.lang.Deprecated 663 public void importPortletInfo(long plid, long groupId, 664 java.lang.String portletId, 665 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 666 java.io.File file) throws PortalException; 667 668 /** 669 * Imports the portlet information (categories, permissions, ... etc.) from 670 * the input stream. 671 * 672 * @param plid the primary key of the layout 673 * @param groupId the primary key of the group 674 * @param portletId the primary key of the portlet 675 * @param parameterMap the mapping of parameters indicating which 676 information will be imported. For information on the keys 677 used in the map see {@link 678 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 679 * @param is the input stream 680 * @deprecated As of 7.0.0, with no direct replacement 681 */ 682 @java.lang.Deprecated 683 public void importPortletInfo(long plid, long groupId, 684 java.lang.String portletId, 685 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 686 java.io.InputStream is) throws PortalException; 687 688 /** 689 * @deprecated As of 7.0.0, with no direct replacement 690 */ 691 @java.lang.Deprecated 692 public void importPortletInfo(java.lang.String portletId, 693 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 694 java.io.File file) throws PortalException; 695 696 /** 697 * @deprecated As of 7.0.0, with no direct replacement 698 */ 699 @java.lang.Deprecated 700 public void importPortletInfo(java.lang.String portletId, 701 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 702 java.io.InputStream is) throws PortalException; 703 704 /** 705 * @deprecated As of 7.0.0, with no direct replacement 706 */ 707 @java.lang.Deprecated 708 public long importPortletInfoInBackground(java.lang.String taskName, 709 long plid, long groupId, java.lang.String portletId, 710 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 711 java.io.File file) throws PortalException; 712 713 /** 714 * @deprecated As of 7.0.0, with no direct replacement 715 */ 716 @java.lang.Deprecated 717 public long importPortletInfoInBackground(java.lang.String taskName, 718 long plid, long groupId, java.lang.String portletId, 719 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 720 java.io.InputStream is) throws PortalException; 721 722 /** 723 * @deprecated As of 7.0.0, with no direct replacement 724 */ 725 @java.lang.Deprecated 726 public void importPortletInfoInBackground(java.lang.String taskName, 727 java.lang.String portletId, 728 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 729 java.io.File file) throws PortalException; 730 731 /** 732 * @deprecated As of 7.0.0, with no direct replacement 733 */ 734 @java.lang.Deprecated 735 public void importPortletInfoInBackground(java.lang.String taskName, 736 java.lang.String portletId, 737 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 738 java.io.InputStream is) throws PortalException; 739 740 /** 741 * Schedules a range of layouts to be published. 742 * 743 * @param sourceGroupId the primary key of the source group 744 * @param targetGroupId the primary key of the target group 745 * @param privateLayout whether the layout is private to the group 746 * @param layoutIdMap the layouts considered for publishing, specified 747 by the layout IDs and booleans indicating whether they have 748 children 749 * @param parameterMap the mapping of parameters indicating which 750 information will be used. See {@link 751 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 752 * @param groupName the group name (optionally {@link 753 DestinationNames#LAYOUTS_LOCAL_PUBLISHER}). See {@link 754 DestinationNames}. 755 * @param cronText the cron text. See {@link 756 com.liferay.portal.kernel.cal.RecurrenceSerializer 757 #toCronText} 758 * @param schedulerStartDate the scheduler start date 759 * @param schedulerEndDate the scheduler end date 760 * @param description the scheduler description 761 * @deprecated As of 7.0.0, replaced by {@link #schedulePublishToLive(long, 762 long, boolean, long[], Map, String, Date, Date, String, 763 String, Date, Date, String)} 764 */ 765 @java.lang.Deprecated 766 public void schedulePublishToLive(long sourceGroupId, long targetGroupId, 767 boolean privateLayout, 768 java.util.Map<java.lang.Long, java.lang.Boolean> layoutIdMap, 769 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 770 java.lang.String scope, java.util.Date startDate, 771 java.util.Date endDate, java.lang.String groupName, 772 java.lang.String cronText, java.util.Date schedulerStartDate, 773 java.util.Date schedulerEndDate, java.lang.String description) 774 throws PortalException; 775 776 /** 777 * Schedules a range of layouts to be published. 778 * 779 * @param sourceGroupId the primary key of the source group 780 * @param targetGroupId the primary key of the target group 781 * @param privateLayout whether the layout is private to the group 782 * @param layoutIds the layouts considered for publishing, specified by the 783 layout IDs 784 * @param parameterMap the mapping of parameters indicating which 785 information will be used. See {@link 786 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 787 * @param groupName the group name (optionally {@link 788 DestinationNames#LAYOUTS_LOCAL_PUBLISHER}). See {@link 789 DestinationNames}. 790 * @param cronText the cron text. See {@link 791 com.liferay.portal.kernel.cal.RecurrenceSerializer #toCronText} 792 * @param schedulerStartDate the scheduler start date 793 * @param schedulerEndDate the scheduler end date 794 * @param description the scheduler description 795 */ 796 public void schedulePublishToLive(long sourceGroupId, long targetGroupId, 797 boolean privateLayout, long[] layoutIds, 798 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 799 java.lang.String groupName, java.lang.String cronText, 800 java.util.Date schedulerStartDate, java.util.Date schedulerEndDate, 801 java.lang.String description) throws PortalException; 802 803 /** 804 * Schedules a range of layouts to be published. 805 * 806 * @param sourceGroupId the primary key of the source group 807 * @param targetGroupId the primary key of the target group 808 * @param privateLayout whether the layout is private to the group 809 * @param layoutIds the layouts considered for publishing, specified by 810 the layout IDs 811 * @param parameterMap the mapping of parameters indicating which 812 information will be used. See {@link 813 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 814 * @param scope the scope of the pages. It can be 815 <code>all-pages</code> or <code>selected-pages</code>. 816 * @param startDate the start date 817 * @param endDate the end date 818 * @param groupName the group name (optionally {@link 819 DestinationNames#LAYOUTS_LOCAL_PUBLISHER}). See {@link 820 DestinationNames}. 821 * @param cronText the cron text. See {@link 822 com.liferay.portal.kernel.cal.RecurrenceSerializer 823 #toCronText} 824 * @param schedulerStartDate the scheduler start date 825 * @param schedulerEndDate the scheduler end date 826 * @param description the scheduler description 827 * @deprecated As of 7.0.0, replaced by {@link #schedulePublishToLive(long, 828 long, boolean, long[], Map, String, String, Date, Date, 829 String)} 830 */ 831 @java.lang.Deprecated 832 public void schedulePublishToLive(long sourceGroupId, long targetGroupId, 833 boolean privateLayout, long[] layoutIds, 834 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 835 java.lang.String scope, java.util.Date startDate, 836 java.util.Date endDate, java.lang.String groupName, 837 java.lang.String cronText, java.util.Date schedulerStartDate, 838 java.util.Date schedulerEndDate, java.lang.String description) 839 throws PortalException; 840 841 /** 842 * Schedules a range of layouts to be stored. 843 * 844 * @param sourceGroupId the primary key of the source group 845 * @param privateLayout whether the layout is private to the group 846 * @param layoutIdMap the layouts considered for publishing, specified by 847 the layout IDs and booleans indicating whether they have children 848 * @param parameterMap the mapping of parameters indicating which 849 information will be used. See {@link 850 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 851 * @param remoteAddress the remote address 852 * @param remotePort the remote port 853 * @param remotePathContext the remote path context 854 * @param secureConnection whether the connection is secure 855 * @param remoteGroupId the primary key of the remote group 856 * @param remotePrivateLayout whether remote group's layout is private 857 * @param startDate the start date 858 * @param endDate the end date 859 * @param groupName the group name. Optionally {@link 860 DestinationNames#LAYOUTS_LOCAL_PUBLISHER}). See {@link 861 DestinationNames}. 862 * @param cronText the cron text. See {@link 863 com.liferay.portal.kernel.cal.RecurrenceSerializer #toCronText} 864 * @param schedulerStartDate the scheduler start date 865 * @param schedulerEndDate the scheduler end date 866 * @param description the scheduler description 867 */ 868 public void schedulePublishToRemote(long sourceGroupId, 869 boolean privateLayout, 870 java.util.Map<java.lang.Long, java.lang.Boolean> layoutIdMap, 871 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 872 java.lang.String remoteAddress, int remotePort, 873 java.lang.String remotePathContext, boolean secureConnection, 874 long remoteGroupId, boolean remotePrivateLayout, 875 java.util.Date startDate, java.util.Date endDate, 876 java.lang.String groupName, java.lang.String cronText, 877 java.util.Date schedulerStartDate, java.util.Date schedulerEndDate, 878 java.lang.String description) throws PortalException; 879 880 /** 881 * Sets the layouts for the group, replacing and prioritizing all layouts of 882 * the parent layout. 883 * 884 * @param groupId the primary key of the group 885 * @param privateLayout whether the layout is private to the group 886 * @param parentLayoutId the primary key of the parent layout 887 * @param layoutIds the primary keys of the layouts 888 * @param serviceContext the service context to be applied 889 */ 890 public void setLayouts(long groupId, boolean privateLayout, 891 long parentLayoutId, long[] layoutIds, 892 com.liferay.portal.service.ServiceContext serviceContext) 893 throws PortalException; 894 895 /** 896 * Deletes the job from the scheduler's queue. 897 * 898 * @param groupId the primary key of the group 899 * @param jobName the job name 900 * @param groupName the group name (optionally {@link 901 DestinationNames#LAYOUTS_LOCAL_PUBLISHER}). See {@link 902 DestinationNames}. 903 */ 904 public void unschedulePublishToLive(long groupId, java.lang.String jobName, 905 java.lang.String groupName) throws PortalException; 906 907 /** 908 * Deletes the job from the scheduler's persistent queue. 909 * 910 * @param groupId the primary key of the group 911 * @param jobName the job name 912 * @param groupName the group name (optionally {@link 913 DestinationNames#LAYOUTS_LOCAL_PUBLISHER}). See {@link 914 DestinationNames}. 915 */ 916 public void unschedulePublishToRemote(long groupId, 917 java.lang.String jobName, java.lang.String groupName) 918 throws PortalException; 919 920 public com.liferay.portal.model.Layout updateIconImage(long plid, 921 byte[] bytes) throws PortalException; 922 923 /** 924 * Updates the layout with additional parameters. 925 * 926 * @param groupId the primary key of the group 927 * @param privateLayout whether the layout is private to the group 928 * @param layoutId the primary key of the layout 929 * @param parentLayoutId the primary key of the layout's new parent 930 layout 931 * @param localeNamesMap the layout's locales and localized names 932 * @param localeTitlesMap the layout's locales and localized titles 933 * @param descriptionMap the locales and localized descriptions to 934 merge (optionally <code>null</code>) 935 * @param keywordsMap the locales and localized keywords to merge 936 (optionally <code>null</code>) 937 * @param robotsMap the locales and localized robots to merge 938 (optionally <code>null</code>) 939 * @param type the layout's new type (optionally {@link 940 LayoutConstants#TYPE_PORTLET}) 941 * @param hidden whether the layout is hidden 942 * @param friendlyURL the layout's locales and new friendly URLs. To 943 see how the URL is normalized when accessed, see {@link 944 com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize( 945 String)}. 946 * @param iconImage whether the icon image will be updated 947 * @param iconBytes the byte array of the layout's new icon image 948 * @param serviceContext the service context to be applied. Can set the 949 modification date and expando bridge attributes for the 950 layout. 951 * @return the updated layout 952 * @deprecated As of 6.2.0, replaced by {@link #updateLayout(long, boolean, 953 long, long, Map, Map, Map, Map, Map, String, boolean, Map, 954 boolean, byte[], ServiceContext)} 955 */ 956 @java.lang.Deprecated 957 public com.liferay.portal.model.Layout updateLayout(long groupId, 958 boolean privateLayout, long layoutId, long parentLayoutId, 959 java.util.Map<java.util.Locale, java.lang.String> localeNamesMap, 960 java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap, 961 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 962 java.util.Map<java.util.Locale, java.lang.String> keywordsMap, 963 java.util.Map<java.util.Locale, java.lang.String> robotsMap, 964 java.lang.String type, boolean hidden, java.lang.String friendlyURL, 965 java.lang.Boolean iconImage, byte[] iconBytes, 966 com.liferay.portal.service.ServiceContext serviceContext) 967 throws PortalException; 968 969 /** 970 * Updates the layout with additional parameters. 971 * 972 * @param groupId the primary key of the group 973 * @param privateLayout whether the layout is private to the group 974 * @param layoutId the primary key of the layout 975 * @param parentLayoutId the primary key of the layout's new parent layout 976 * @param localeNamesMap the layout's locales and localized names 977 * @param localeTitlesMap the layout's locales and localized titles 978 * @param descriptionMap the locales and localized descriptions to merge 979 (optionally <code>null</code>) 980 * @param keywordsMap the locales and localized keywords to merge 981 (optionally <code>null</code>) 982 * @param robotsMap the locales and localized robots to merge (optionally 983 <code>null</code>) 984 * @param type the layout's new type (optionally {@link 985 LayoutConstants#TYPE_PORTLET}) 986 * @param hidden whether the layout is hidden 987 * @param friendlyURLMap the layout's locales and localized friendly URLs. 988 To see how the URL is normalized when accessed see {@link 989 com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize( 990 String)}. 991 * @param iconImage whether the icon image will be updated 992 * @param iconBytes the byte array of the layout's new icon image 993 * @param serviceContext the service context to be applied. Can set the 994 modification date and expando bridge attributes for the layout. 995 * @return the updated layout 996 */ 997 public com.liferay.portal.model.Layout updateLayout(long groupId, 998 boolean privateLayout, long layoutId, long parentLayoutId, 999 java.util.Map<java.util.Locale, java.lang.String> localeNamesMap, 1000 java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap, 1001 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 1002 java.util.Map<java.util.Locale, java.lang.String> keywordsMap, 1003 java.util.Map<java.util.Locale, java.lang.String> robotsMap, 1004 java.lang.String type, boolean hidden, 1005 java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap, 1006 boolean iconImage, byte[] iconBytes, 1007 com.liferay.portal.service.ServiceContext serviceContext) 1008 throws PortalException; 1009 1010 /** 1011 * Updates the layout replacing its type settings. 1012 * 1013 * @param groupId the primary key of the group 1014 * @param privateLayout whether the layout is private to the group 1015 * @param layoutId the primary key of the layout 1016 * @param typeSettings the settings to load the unicode properties object. 1017 See {@link com.liferay.portal.kernel.util.UnicodeProperties 1018 #fastLoad(String)}. 1019 * @return the updated layout 1020 */ 1021 public com.liferay.portal.model.Layout updateLayout(long groupId, 1022 boolean privateLayout, long layoutId, java.lang.String typeSettings) 1023 throws PortalException; 1024 1025 /** 1026 * Updates the look and feel of the layout. 1027 * 1028 * @param groupId the primary key of the group 1029 * @param privateLayout whether the layout is private to the group 1030 * @param layoutId the primary key of the layout 1031 * @param themeId the primary key of the layout's new theme 1032 * @param colorSchemeId the primary key of the layout's new color scheme 1033 * @param css the layout's new CSS 1034 * @param wapTheme whether the theme is for WAP browsers 1035 * @return the updated layout 1036 */ 1037 public com.liferay.portal.model.Layout updateLookAndFeel(long groupId, 1038 boolean privateLayout, long layoutId, java.lang.String themeId, 1039 java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme) 1040 throws PortalException; 1041 1042 /** 1043 * Updates the name of the layout matching the group, layout ID, and 1044 * privacy. 1045 * 1046 * @param groupId the primary key of the group 1047 * @param privateLayout whether the layout is private to the group 1048 * @param layoutId the primary key of the layout 1049 * @param name the layout's new name 1050 * @param languageId the primary key of the language. For more information 1051 see {@link Locale}. 1052 * @return the updated layout 1053 */ 1054 public com.liferay.portal.model.Layout updateName(long groupId, 1055 boolean privateLayout, long layoutId, java.lang.String name, 1056 java.lang.String languageId) throws PortalException; 1057 1058 /** 1059 * Updates the name of the layout matching the primary key. 1060 * 1061 * @param plid the primary key of the layout 1062 * @param name the name to be assigned 1063 * @param languageId the primary key of the language. For more information 1064 see {@link Locale}. 1065 * @return the updated layout 1066 */ 1067 public com.liferay.portal.model.Layout updateName(long plid, 1068 java.lang.String name, java.lang.String languageId) 1069 throws PortalException; 1070 1071 /** 1072 * Updates the parent layout ID of the layout matching the group, layout ID, 1073 * and privacy. 1074 * 1075 * @param groupId the primary key of the group 1076 * @param privateLayout whether the layout is private to the group 1077 * @param layoutId the primary key of the layout 1078 * @param parentLayoutId the primary key to be assigned to the parent 1079 layout 1080 * @return the matching layout 1081 */ 1082 public com.liferay.portal.model.Layout updateParentLayoutId(long groupId, 1083 boolean privateLayout, long layoutId, long parentLayoutId) 1084 throws PortalException; 1085 1086 /** 1087 * Updates the parent layout ID of the layout matching the primary key. If a 1088 * layout matching the parent primary key is found, the layout ID of that 1089 * layout is assigned, otherwise {@link 1090 * LayoutConstants#DEFAULT_PARENT_LAYOUT_ID} is assigned. 1091 * 1092 * @param plid the primary key of the layout 1093 * @param parentPlid the primary key of the parent layout 1094 * @return the layout matching the primary key 1095 */ 1096 public com.liferay.portal.model.Layout updateParentLayoutId(long plid, 1097 long parentPlid) throws PortalException; 1098 1099 /** 1100 * Updates the parent layout ID and priority of the layout. 1101 * 1102 * @param plid the primary key of the layout 1103 * @param parentPlid the primary key of the parent layout 1104 * @param priority the layout's new priority 1105 * @return the layout matching the primary key 1106 */ 1107 public com.liferay.portal.model.Layout updateParentLayoutIdAndPriority( 1108 long plid, long parentPlid, int priority) throws PortalException; 1109 1110 /** 1111 * Updates the priority of the layout matching the group, layout ID, and 1112 * privacy, setting the layout's priority based on the priorities of the 1113 * next and previous layouts. 1114 * 1115 * @param groupId the primary key of the group 1116 * @param privateLayout whether the layout is private to the group 1117 * @param layoutId the primary key of the layout 1118 * @param nextLayoutId the primary key of the next layout 1119 * @param previousLayoutId the primary key of the previous layout 1120 * @return the updated layout 1121 */ 1122 public com.liferay.portal.model.Layout updatePriority(long groupId, 1123 boolean privateLayout, long layoutId, long nextLayoutId, 1124 long previousLayoutId) throws PortalException; 1125 1126 /** 1127 * Updates the priority of the layout matching the group, layout ID, and 1128 * privacy. 1129 * 1130 * @param groupId the primary key of the group 1131 * @param privateLayout whether the layout is private to the group 1132 * @param layoutId the primary key of the layout 1133 * @param priority the layout's new priority 1134 * @return the updated layout 1135 */ 1136 public com.liferay.portal.model.Layout updatePriority(long groupId, 1137 boolean privateLayout, long layoutId, int priority) 1138 throws PortalException; 1139 1140 /** 1141 * Updates the priority of the layout matching the primary key. 1142 * 1143 * @param plid the primary key of the layout 1144 * @param priority the layout's new priority 1145 * @return the updated layout 1146 */ 1147 public com.liferay.portal.model.Layout updatePriority(long plid, 1148 int priority) throws PortalException; 1149 1150 /** 1151 * @deprecated As of 7.0.0, replaced by {@link 1152 com.liferay.portlet.exportimport.service.ExportImportService#validateImportLayoutsFile( 1153 ExportImportConfiguration, File)} 1154 */ 1155 @java.lang.Deprecated 1156 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile( 1157 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 1158 java.io.File file) throws PortalException; 1159 1160 /** 1161 * @deprecated As of 7.0.0, replaced by {@link 1162 com.liferay.portlet.exportimport.service.ExportImportService#validateImportLayoutsFile( 1163 ExportImportConfiguration, InputStream)} 1164 */ 1165 @java.lang.Deprecated 1166 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile( 1167 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 1168 java.io.InputStream inputStream) throws PortalException; 1169 1170 /** 1171 * @deprecated As of 7.0.0, with no direct replacement 1172 */ 1173 @java.lang.Deprecated 1174 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile( 1175 long groupId, boolean privateLayout, 1176 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1177 java.io.File file) throws PortalException; 1178 1179 /** 1180 * @deprecated As of 7.0.0, with no direct replacement 1181 */ 1182 @java.lang.Deprecated 1183 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile( 1184 long groupId, boolean privateLayout, 1185 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1186 java.io.InputStream inputStream) throws PortalException; 1187 1188 /** 1189 * @deprecated As of 7.0.0, replaced by {@link 1190 com.liferay.portlet.exportimport.service.ExportImportService#validateImportPortletInfo( 1191 ExportImportConfiguration, File)} 1192 */ 1193 @java.lang.Deprecated 1194 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo( 1195 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 1196 java.io.File file) throws PortalException; 1197 1198 /** 1199 * @deprecated As of 7.0.0, replaced by {@link 1200 com.liferay.portlet.exportimport.service.ExportImportService#validateImportPortletInfo( 1201 ExportImportConfiguration, InputStream)} 1202 */ 1203 @java.lang.Deprecated 1204 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo( 1205 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 1206 java.io.InputStream inputStream) throws PortalException; 1207 1208 /** 1209 * @deprecated As of 7.0.0, with no direct replacement 1210 */ 1211 @java.lang.Deprecated 1212 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo( 1213 long plid, long groupId, java.lang.String portletId, 1214 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1215 java.io.File file) throws PortalException; 1216 1217 /** 1218 * @deprecated As of 7.0.0, with no direct replacement 1219 */ 1220 @java.lang.Deprecated 1221 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo( 1222 long plid, long groupId, java.lang.String portletId, 1223 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1224 java.io.InputStream inputStream) throws PortalException; 1225 }