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 /** 020 * Provides a wrapper for {@link LayoutLocalService}. 021 * 022 * @author Brian Wing Shun Chan 023 * @see LayoutLocalService 024 * @generated 025 */ 026 @ProviderType 027 public class LayoutLocalServiceWrapper implements LayoutLocalService, 028 ServiceWrapper<LayoutLocalService> { 029 public LayoutLocalServiceWrapper(LayoutLocalService layoutLocalService) { 030 _layoutLocalService = layoutLocalService; 031 } 032 033 /** 034 * Adds the layout to the database. Also notifies the appropriate model listeners. 035 * 036 * @param layout the layout 037 * @return the layout that was added 038 */ 039 @Override 040 public com.liferay.portal.model.Layout addLayout( 041 com.liferay.portal.model.Layout layout) { 042 return _layoutLocalService.addLayout(layout); 043 } 044 045 /** 046 * Adds a layout with single entry maps for name, title, and description to 047 * the default locale. 048 * 049 * <p> 050 * This method handles the creation of the layout including its resources, 051 * metadata, and internal data structures. It is not necessary to make 052 * subsequent calls to any methods to setup default groups, resources, ... 053 * etc. 054 * </p> 055 * 056 * @param userId the primary key of the user 057 * @param groupId the primary key of the group 058 * @param privateLayout whether the layout is private to the group 059 * @param parentLayoutId the primary key of the parent layout (optionally 060 {@link 061 com.liferay.portal.model.LayoutConstants#DEFAULT_PARENT_LAYOUT_ID}). 062 The possible values can be found in {@link 063 com.liferay.portal.model.LayoutConstants}. 064 * @param name the layout's name (optionally {@link 065 com.liferay.portal.util.PropsValues#DEFAULT_USER_PRIVATE_LAYOUT_NAME} 066 or {@link 067 com.liferay.portal.util.PropsValues#DEFAULT_USER_PUBLIC_LAYOUT_NAME}). 068 The default values can be overridden in 069 <code>portal-ext.properties</code> by specifying new values for 070 the corresponding properties defined in {@link 071 com.liferay.portal.util.PropsValues} 072 * @param title the layout's title 073 * @param description the layout's description 074 * @param type the layout's type (optionally {@link 075 com.liferay.portal.model.LayoutConstants#TYPE_PORTLET}). The 076 possible types can be found in {@link 077 com.liferay.portal.model.LayoutConstants}. 078 * @param hidden whether the layout is hidden 079 * @param friendlyURL the friendly URL of the layout (optionally {@link 080 com.liferay.portal.util.PropsValues#DEFAULT_USER_PRIVATE_LAYOUT_FRIENDLY_URL} 081 or {@link 082 com.liferay.portal.util.PropsValues#DEFAULT_USER_PUBLIC_LAYOUT_FRIENDLY_URL}). 083 The default values can be overridden in 084 <code>portal-ext.properties</code> by specifying new values for 085 the corresponding properties defined in {@link 086 com.liferay.portal.util.PropsValues}. To see how the URL is 087 normalized when accessed, see {@link 088 com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize( 089 String)}. 090 * @param serviceContext the service context to be applied. Must set the 091 UUID for the layout. Can set the creation date and modification 092 date for the layout. For layouts that belong to a layout set 093 prototype, an attribute named <code>layoutUpdateable</code> can 094 be set to specify whether site administrators can modify this 095 page within their site. 096 * @return the layout 097 * @throws PortalException if a group or user with the primary key could not 098 be found, or if a portal exception occurred 099 */ 100 @Override 101 public com.liferay.portal.model.Layout addLayout(long userId, long groupId, 102 boolean privateLayout, long parentLayoutId, java.lang.String name, 103 java.lang.String title, java.lang.String description, 104 java.lang.String type, boolean hidden, java.lang.String friendlyURL, 105 com.liferay.portal.service.ServiceContext serviceContext) 106 throws com.liferay.portal.kernel.exception.PortalException { 107 return _layoutLocalService.addLayout(userId, groupId, privateLayout, 108 parentLayoutId, name, title, description, type, hidden, 109 friendlyURL, serviceContext); 110 } 111 112 /** 113 * Adds a layout. 114 * 115 * <p> 116 * This method handles the creation of the layout including its resources, 117 * metadata, and internal data structures. It is not necessary to make 118 * subsequent calls to any methods to setup default groups, resources, ... 119 * etc. 120 * </p> 121 * 122 * @param userId the primary key of the user 123 * @param groupId the primary key of the group 124 * @param privateLayout whether the layout is private to the group 125 * @param parentLayoutId the primary key of the parent layout 126 (optionally {@link 127 com.liferay.portal.model.LayoutConstants#DEFAULT_PARENT_LAYOUT_ID}) 128 * @param nameMap the layout's locales and localized names 129 * @param titleMap the layout's locales and localized titles 130 * @param descriptionMap the layout's locales and localized 131 descriptions 132 * @param keywordsMap the layout's locales and localized keywords 133 * @param robotsMap the layout's locales and localized robots 134 * @param type the layout's type (optionally {@link 135 com.liferay.portal.model.LayoutConstants#TYPE_PORTLET}). The 136 possible types can be found in {@link 137 com.liferay.portal.model.LayoutConstants}. 138 * @param hidden whether the layout is hidden 139 * @param friendlyURL the layout's friendly URL (optionally {@link 140 com.liferay.portal.util.PropsValues#DEFAULT_USER_PRIVATE_LAYOUT_FRIENDLY_URL} 141 or {@link 142 com.liferay.portal.util.PropsValues#DEFAULT_USER_PUBLIC_LAYOUT_FRIENDLY_URL}). 143 The default values can be overridden in 144 <code>portal-ext.properties</code> by specifying new values 145 for the corresponding properties defined in {@link 146 com.liferay.portal.util.PropsValues}. To see how the URL is 147 normalized when accessed, see {@link 148 com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize( 149 String)}. 150 * @param serviceContext the service context to be applied. Must set 151 the UUID for the layout. Can set the creation date, 152 modification date and the expando bridge attributes for the 153 layout. For layouts that belong to a layout set prototype, an 154 attribute named <code>layoutUpdateable</code> can be set to 155 specify whether site administrators can modify this page 156 within their site. For layouts that are created from a layout 157 prototype, attributes named <code>layoutPrototypeUuid</code> 158 and <code>layoutPrototypeLinkedEnabled</code> can be 159 specified to provide the unique identifier of the source 160 prototype and a boolean to determine whether a link to it 161 should be enabled to activate propagation of changes made to 162 the linked page in the prototype. 163 * @return the layout 164 * @throws PortalException if a group or user with the primary key could 165 not be found, if layout values were invalid, or if a portal 166 exception occurred 167 * @deprecated As of 6.2.0, replaced by {@link #addLayout(long, long, 168 boolean, long, Map, Map, Map, Map, Map, String, String, 169 boolean, Map, ServiceContext)} 170 */ 171 @Deprecated 172 @Override 173 public com.liferay.portal.model.Layout addLayout(long userId, long groupId, 174 boolean privateLayout, long parentLayoutId, 175 java.util.Map<java.util.Locale, java.lang.String> nameMap, 176 java.util.Map<java.util.Locale, java.lang.String> titleMap, 177 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 178 java.util.Map<java.util.Locale, java.lang.String> keywordsMap, 179 java.util.Map<java.util.Locale, java.lang.String> robotsMap, 180 java.lang.String type, boolean hidden, java.lang.String friendlyURL, 181 com.liferay.portal.service.ServiceContext serviceContext) 182 throws com.liferay.portal.kernel.exception.PortalException { 183 return _layoutLocalService.addLayout(userId, groupId, privateLayout, 184 parentLayoutId, nameMap, titleMap, descriptionMap, keywordsMap, 185 robotsMap, type, hidden, friendlyURL, serviceContext); 186 } 187 188 /** 189 * Adds a layout with additional parameters. 190 * 191 * <p> 192 * This method handles the creation of the layout including its resources, 193 * metadata, and internal data structures. It is not necessary to make 194 * subsequent calls to any methods to setup default groups, resources, ... 195 * etc. 196 * </p> 197 * 198 * @param userId the primary key of the user 199 * @param groupId the primary key of the group 200 * @param privateLayout whether the layout is private to the group 201 * @param parentLayoutId the primary key of the parent layout (optionally 202 {@link 203 com.liferay.portal.model.LayoutConstants#DEFAULT_PARENT_LAYOUT_ID}) 204 * @param nameMap the layout's locales and localized names 205 * @param titleMap the layout's locales and localized titles 206 * @param descriptionMap the layout's locales and localized descriptions 207 * @param keywordsMap the layout's locales and localized keywords 208 * @param robotsMap the layout's locales and localized robots 209 * @param type the layout's type (optionally {@link 210 com.liferay.portal.model.LayoutConstants#TYPE_PORTLET}). The 211 possible types can be found in {@link 212 com.liferay.portal.model.LayoutConstants}. 213 * @param typeSettings the settings to load the unicode properties object. 214 See {@link com.liferay.portal.kernel.util.UnicodeProperties 215 #fastLoad(String)}. 216 * @param hidden whether the layout is hidden 217 * @param friendlyURLMap the layout's locales and localized friendly URLs. 218 To see how the URL is normalized when accessed, see {@link 219 com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize( 220 String)}. 221 * @param serviceContext the service context to be applied. Must set the 222 UUID for the layout. Can set the creation date, modification 223 date, and expando bridge attributes for the layout. For layouts 224 that belong to a layout set prototype, an attribute named 225 <code>layoutUpdateable</code> can be set to specify whether site 226 administrators can modify this page within their site. For 227 layouts that are created from a layout prototype, attributes 228 named <code>layoutPrototypeUuid</code> and 229 <code>layoutPrototypeLinkedEnabled</code> can be specified to 230 provide the unique identifier of the source prototype and a 231 boolean to determine whether a link to it should be enabled to 232 activate propagation of changes made to the linked page in the 233 prototype. 234 * @return the layout 235 * @throws PortalException if a group or user with the primary key could not 236 be found, if layout values were invalid, or if a portal exception 237 occurred 238 */ 239 @Override 240 public com.liferay.portal.model.Layout addLayout(long userId, long groupId, 241 boolean privateLayout, long parentLayoutId, 242 java.util.Map<java.util.Locale, java.lang.String> nameMap, 243 java.util.Map<java.util.Locale, java.lang.String> titleMap, 244 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 245 java.util.Map<java.util.Locale, java.lang.String> keywordsMap, 246 java.util.Map<java.util.Locale, java.lang.String> robotsMap, 247 java.lang.String type, java.lang.String typeSettings, boolean hidden, 248 java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap, 249 com.liferay.portal.service.ServiceContext serviceContext) 250 throws com.liferay.portal.kernel.exception.PortalException { 251 return _layoutLocalService.addLayout(userId, groupId, privateLayout, 252 parentLayoutId, nameMap, titleMap, descriptionMap, keywordsMap, 253 robotsMap, type, typeSettings, hidden, friendlyURLMap, 254 serviceContext); 255 } 256 257 /** 258 * Creates a new layout with the primary key. Does not add the layout to the database. 259 * 260 * @param plid the primary key for the new layout 261 * @return the new layout 262 */ 263 @Override 264 public com.liferay.portal.model.Layout createLayout(long plid) { 265 return _layoutLocalService.createLayout(plid); 266 } 267 268 /** 269 * Deletes the layout with the primary key, also deleting the layout's child 270 * layouts, and associated resources. 271 * 272 * @param groupId the primary key of the group 273 * @param privateLayout whether the layout is private to the group 274 * @param layoutId the primary key of the layout 275 * @param serviceContext the service context to be applied 276 * @throws PortalException if a matching layout could not be found , or if 277 some other portal exception occurred 278 */ 279 @Override 280 public void deleteLayout(long groupId, boolean privateLayout, 281 long layoutId, com.liferay.portal.service.ServiceContext serviceContext) 282 throws com.liferay.portal.kernel.exception.PortalException { 283 _layoutLocalService.deleteLayout(groupId, privateLayout, layoutId, 284 serviceContext); 285 } 286 287 /** 288 * Deletes the layout from the database. Also notifies the appropriate model listeners. 289 * 290 * @param layout the layout 291 * @return the layout that was removed 292 */ 293 @Override 294 public com.liferay.portal.model.Layout deleteLayout( 295 com.liferay.portal.model.Layout layout) { 296 return _layoutLocalService.deleteLayout(layout); 297 } 298 299 /** 300 * Deletes the layout, its child layouts, and its associated resources. 301 * 302 * @param layout the layout 303 * @param updateLayoutSet whether the layout set's page counter needs to be 304 updated 305 * @param serviceContext the service context to be applied 306 * @throws PortalException if a portal exception occurred 307 */ 308 @Override 309 public void deleteLayout(com.liferay.portal.model.Layout layout, 310 boolean updateLayoutSet, 311 com.liferay.portal.service.ServiceContext serviceContext) 312 throws com.liferay.portal.kernel.exception.PortalException { 313 _layoutLocalService.deleteLayout(layout, updateLayoutSet, serviceContext); 314 } 315 316 /** 317 * Deletes the layout with the primary key from the database. Also notifies the appropriate model listeners. 318 * 319 * @param plid the primary key of the layout 320 * @return the layout that was removed 321 * @throws PortalException if a layout with the primary key could not be found 322 */ 323 @Override 324 public com.liferay.portal.model.Layout deleteLayout(long plid) 325 throws com.liferay.portal.kernel.exception.PortalException { 326 return _layoutLocalService.deleteLayout(plid); 327 } 328 329 /** 330 * Deletes the layout with the plid, also deleting the layout's child 331 * layouts, and associated resources. 332 * 333 * @param plid the primary key of the layout 334 * @param serviceContext the service context to be applied 335 * @throws PortalException if a layout with the primary key could not be 336 found , or if some other portal exception occurred 337 */ 338 @Override 339 public void deleteLayout(long plid, 340 com.liferay.portal.service.ServiceContext serviceContext) 341 throws com.liferay.portal.kernel.exception.PortalException { 342 _layoutLocalService.deleteLayout(plid, serviceContext); 343 } 344 345 /** 346 * Deletes the group's private or non-private layouts, also deleting the 347 * layouts' child layouts, and associated resources. 348 * 349 * @param groupId the primary key of the group 350 * @param privateLayout whether the layout is private to the group 351 * @param serviceContext the service context to be applied. The parent 352 layout set's page count will be updated by default, unless an 353 attribute named <code>updatePageCount</code> is set to 354 <code>false</code>. 355 * @throws PortalException if a group with the primary key could not be 356 found or if a layout set for the group and privacy could not be 357 found 358 */ 359 @Override 360 public void deleteLayouts(long groupId, boolean privateLayout, 361 com.liferay.portal.service.ServiceContext serviceContext) 362 throws com.liferay.portal.kernel.exception.PortalException { 363 _layoutLocalService.deleteLayouts(groupId, privateLayout, serviceContext); 364 } 365 366 /** 367 * @throws PortalException 368 */ 369 @Override 370 public com.liferay.portal.model.PersistedModel deletePersistedModel( 371 com.liferay.portal.model.PersistedModel persistedModel) 372 throws com.liferay.portal.kernel.exception.PortalException { 373 return _layoutLocalService.deletePersistedModel(persistedModel); 374 } 375 376 @Override 377 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { 378 return _layoutLocalService.dynamicQuery(); 379 } 380 381 /** 382 * Performs a dynamic query on the database and returns the matching rows. 383 * 384 * @param dynamicQuery the dynamic query 385 * @return the matching rows 386 */ 387 @Override 388 public <T> java.util.List<T> dynamicQuery( 389 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { 390 return _layoutLocalService.dynamicQuery(dynamicQuery); 391 } 392 393 /** 394 * Performs a dynamic query on the database and returns a range of the matching rows. 395 * 396 * <p> 397 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 398 * </p> 399 * 400 * @param dynamicQuery the dynamic query 401 * @param start the lower bound of the range of model instances 402 * @param end the upper bound of the range of model instances (not inclusive) 403 * @return the range of matching rows 404 */ 405 @Override 406 public <T> java.util.List<T> dynamicQuery( 407 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, 408 int end) { 409 return _layoutLocalService.dynamicQuery(dynamicQuery, start, end); 410 } 411 412 /** 413 * Performs a dynamic query on the database and returns an ordered range of the matching rows. 414 * 415 * <p> 416 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 417 * </p> 418 * 419 * @param dynamicQuery the dynamic query 420 * @param start the lower bound of the range of model instances 421 * @param end the upper bound of the range of model instances (not inclusive) 422 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 423 * @return the ordered range of matching rows 424 */ 425 @Override 426 public <T> java.util.List<T> dynamicQuery( 427 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, 428 int end, 429 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) { 430 return _layoutLocalService.dynamicQuery(dynamicQuery, start, end, 431 orderByComparator); 432 } 433 434 /** 435 * Returns the number of rows matching the dynamic query. 436 * 437 * @param dynamicQuery the dynamic query 438 * @return the number of rows matching the dynamic query 439 */ 440 @Override 441 public long dynamicQueryCount( 442 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { 443 return _layoutLocalService.dynamicQueryCount(dynamicQuery); 444 } 445 446 /** 447 * Returns the number of rows matching the dynamic query. 448 * 449 * @param dynamicQuery the dynamic query 450 * @param projection the projection to apply to the query 451 * @return the number of rows matching the dynamic query 452 */ 453 @Override 454 public long dynamicQueryCount( 455 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, 456 com.liferay.portal.kernel.dao.orm.Projection projection) { 457 return _layoutLocalService.dynamicQueryCount(dynamicQuery, projection); 458 } 459 460 /** 461 * Exports layouts with the primary keys and criteria as a byte array. 462 * 463 * @param groupId the primary key of the group 464 * @param privateLayout whether the layout is private to the group 465 * @param layoutIds the primary keys of the layouts to be exported 466 * @param parameterMap the mapping of parameters indicating which 467 information to export. For information on the keys used in 468 the map see {@link 469 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 470 * @param startDate the export's start date 471 * @param endDate the export's end date 472 * @return the layouts as a byte array 473 * @throws PortalException if a group or any layout with the primary key 474 could not be found, or if some other portal exception 475 occurred 476 * @deprecated As of 7.0.0, with no direct replacement 477 */ 478 @Deprecated 479 @Override 480 public byte[] exportLayouts(long groupId, boolean privateLayout, 481 long[] layoutIds, 482 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 483 java.util.Date startDate, java.util.Date endDate) 484 throws com.liferay.portal.kernel.exception.PortalException { 485 return _layoutLocalService.exportLayouts(groupId, privateLayout, 486 layoutIds, parameterMap, startDate, endDate); 487 } 488 489 /** 490 * Exports all layouts that match the criteria as a byte array. 491 * 492 * @param groupId the primary key of the group 493 * @param privateLayout whether the layout is private to the group 494 * @param parameterMap the mapping of parameters indicating which 495 information to export. For information on the keys used in 496 the map see {@link 497 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 498 * @param startDate the export's start date 499 * @param endDate the export's end date 500 * @return the layout as a byte array 501 * @throws PortalException if a group with the primary key could not be 502 found or if some other portal exception occurred 503 * @deprecated As of 7.0.0, with no direct replacement 504 */ 505 @Deprecated 506 @Override 507 public byte[] exportLayouts(long groupId, boolean privateLayout, 508 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 509 java.util.Date startDate, java.util.Date endDate) 510 throws com.liferay.portal.kernel.exception.PortalException { 511 return _layoutLocalService.exportLayouts(groupId, privateLayout, 512 parameterMap, startDate, endDate); 513 } 514 515 /** 516 * @throws PortalException 517 * @deprecated As of 7.0.0, replaced by {@link 518 com.liferay.portlet.exportimport.service.ExportImportLocalService#exportLayoutsAsFile( 519 ExportImportConfiguration)} 520 */ 521 @Deprecated 522 @Override 523 public java.io.File exportLayoutsAsFile( 524 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration) 525 throws com.liferay.portal.kernel.exception.PortalException { 526 return _layoutLocalService.exportLayoutsAsFile(exportImportConfiguration); 527 } 528 529 /** 530 * Exports the layouts that match the primary keys and criteria as a file. 531 * 532 * @param groupId the primary key of the group 533 * @param privateLayout whether the layout is private to the group 534 * @param layoutIds the primary keys of the layouts to be exported 535 (optionally <code>null</code>) 536 * @param parameterMap the mapping of parameters indicating which 537 information to export. For information on the keys used in 538 the map see {@link 539 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 540 * @param startDate the export's start date 541 * @param endDate the export's end date 542 * @return the layouts as a File 543 * @throws PortalException if a group or any layout with the primary key 544 could not be found, or if some other portal exception 545 occurred 546 * @deprecated As of 7.0.0, with no direct replacement 547 */ 548 @Deprecated 549 @Override 550 public java.io.File exportLayoutsAsFile(long groupId, 551 boolean privateLayout, long[] layoutIds, 552 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 553 java.util.Date startDate, java.util.Date endDate) 554 throws com.liferay.portal.kernel.exception.PortalException { 555 return _layoutLocalService.exportLayoutsAsFile(groupId, privateLayout, 556 layoutIds, parameterMap, startDate, endDate); 557 } 558 559 /** 560 * @throws PortalException 561 * @deprecated As of 7.0.0, replaced by {@link 562 com.liferay.portlet.exportimport.service.ExportImportLocalService#exportLayoutsAsFileInBackground( 563 long, ExportImportConfiguration)} 564 */ 565 @Deprecated 566 @Override 567 public long exportLayoutsAsFileInBackground(long userId, 568 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration) 569 throws com.liferay.portal.kernel.exception.PortalException { 570 return _layoutLocalService.exportLayoutsAsFileInBackground(userId, 571 exportImportConfiguration); 572 } 573 574 /** 575 * @throws PortalException 576 * @deprecated As of 7.0.0, replaced by {@link 577 com.liferay.portlet.exportimport.service.ExportImportLocalService#exportLayoutsAsFileInBackground( 578 long, long)} 579 */ 580 @Deprecated 581 @Override 582 public long exportLayoutsAsFileInBackground(long userId, 583 long exportImportConfigurationId) 584 throws com.liferay.portal.kernel.exception.PortalException { 585 return _layoutLocalService.exportLayoutsAsFileInBackground(userId, 586 exportImportConfigurationId); 587 } 588 589 /** 590 * @throws PortalException 591 * @deprecated As of 7.0.0, with no direct replacement 592 */ 593 @Deprecated 594 @Override 595 public long exportLayoutsAsFileInBackground(long userId, 596 java.lang.String taskName, long groupId, boolean privateLayout, 597 long[] layoutIds, 598 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 599 java.util.Date startDate, java.util.Date endDate) 600 throws com.liferay.portal.kernel.exception.PortalException { 601 return _layoutLocalService.exportLayoutsAsFileInBackground(userId, 602 taskName, groupId, privateLayout, layoutIds, parameterMap, 603 startDate, endDate); 604 } 605 606 /** 607 * @throws PortalException 608 * @deprecated As of 7.0.0, with no direct replacement 609 */ 610 @Deprecated 611 @Override 612 public long exportLayoutsAsFileInBackground(long userId, 613 java.lang.String taskName, long groupId, boolean privateLayout, 614 long[] layoutIds, 615 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 616 java.util.Date startDate, java.util.Date endDate, 617 java.lang.String fileName) 618 throws com.liferay.portal.kernel.exception.PortalException { 619 return _layoutLocalService.exportLayoutsAsFileInBackground(userId, 620 taskName, groupId, privateLayout, layoutIds, parameterMap, 621 startDate, endDate, fileName); 622 } 623 624 /** 625 * @throws PortalException 626 * @deprecated As of 7.0.0, with no direct replacement 627 */ 628 @Deprecated 629 @Override 630 public byte[] exportPortletInfo(long companyId, java.lang.String portletId, 631 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 632 java.util.Date startDate, java.util.Date endDate) 633 throws com.liferay.portal.kernel.exception.PortalException { 634 return _layoutLocalService.exportPortletInfo(companyId, portletId, 635 parameterMap, startDate, endDate); 636 } 637 638 /** 639 * Exports the portlet information (categories, permissions, ... etc.) as a 640 * byte array. 641 * 642 * @param plid the primary key of the layout 643 * @param groupId the primary key of the group 644 * @param portletId the primary key of the portlet 645 * @param parameterMap the mapping of parameters indicating which 646 information to export. For information on the keys used in 647 the map see {@link 648 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 649 * @param startDate the export's start date 650 * @param endDate the export's end date 651 * @return the portlet information as a byte array 652 * @throws PortalException if a group or portlet with the primary key 653 could not be found, or if some other portal exception 654 occurred 655 * @deprecated As of 7.0.0, with no direct replacement 656 */ 657 @Deprecated 658 @Override 659 public byte[] exportPortletInfo(long plid, long groupId, 660 java.lang.String portletId, 661 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 662 java.util.Date startDate, java.util.Date endDate) 663 throws com.liferay.portal.kernel.exception.PortalException { 664 return _layoutLocalService.exportPortletInfo(plid, groupId, portletId, 665 parameterMap, startDate, endDate); 666 } 667 668 /** 669 * @throws PortalException 670 * @deprecated As of 7.0.0, with no direct replacement 671 */ 672 @Deprecated 673 @Override 674 public java.io.File exportPortletInfoAsFile(long companyId, 675 java.lang.String portletId, 676 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 677 java.util.Date startDate, java.util.Date endDate) 678 throws com.liferay.portal.kernel.exception.PortalException { 679 return _layoutLocalService.exportPortletInfoAsFile(companyId, 680 portletId, parameterMap, startDate, endDate); 681 } 682 683 /** 684 * @throws PortalException 685 * @deprecated As of 7.0.0, replaced by {@link 686 com.liferay.portlet.exportimport.service.ExportImportLocalService#exportPortletInfoAsFile( 687 ExportImportConfiguration)}} 688 */ 689 @Deprecated 690 @Override 691 public java.io.File exportPortletInfoAsFile( 692 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration) 693 throws com.liferay.portal.kernel.exception.PortalException { 694 return _layoutLocalService.exportPortletInfoAsFile(exportImportConfiguration); 695 } 696 697 /** 698 * Exports the portlet information (categories, permissions, ... etc.) as a 699 * file. 700 * 701 * @param plid the primary key of the layout 702 * @param groupId the primary key of the group 703 * @param portletId the primary key of the portlet 704 * @param parameterMap the mapping of parameters indicating which 705 information to export. For information on the keys used in 706 the map see {@link 707 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 708 * @param startDate the export's start date 709 * @param endDate the export's end date 710 * @return the portlet information as a file 711 * @throws PortalException if a group or portlet with the primary key 712 could not be found, or if some other portal exception 713 occurred 714 * @deprecated As of 7.0.0, with no direct replacement 715 */ 716 @Deprecated 717 @Override 718 public java.io.File exportPortletInfoAsFile(long plid, long groupId, 719 java.lang.String portletId, 720 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 721 java.util.Date startDate, java.util.Date endDate) 722 throws com.liferay.portal.kernel.exception.PortalException { 723 return _layoutLocalService.exportPortletInfoAsFile(plid, groupId, 724 portletId, parameterMap, startDate, endDate); 725 } 726 727 /** 728 * @throws PortalException 729 * @deprecated As of 7.0.0, replaced by {@link 730 com.liferay.portlet.exportimport.service.ExportImportLocalService#exportPortletInfoAsFileInBackground( 731 long, ExportImportConfiguration)}} 732 */ 733 @Deprecated 734 @Override 735 public long exportPortletInfoAsFileInBackground(long userId, 736 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration) 737 throws com.liferay.portal.kernel.exception.PortalException { 738 return _layoutLocalService.exportPortletInfoAsFileInBackground(userId, 739 exportImportConfiguration); 740 } 741 742 /** 743 * @throws PortalException 744 * @deprecated As of 7.0.0, replaced by {@link 745 com.liferay.portlet.exportimport.service.ExportImportLocalService#exportPortletInfoAsFileInBackground( 746 long, long)}} 747 */ 748 @Deprecated 749 @Override 750 public long exportPortletInfoAsFileInBackground(long userId, 751 long exportImportConfigurationId) 752 throws com.liferay.portal.kernel.exception.PortalException { 753 return _layoutLocalService.exportPortletInfoAsFileInBackground(userId, 754 exportImportConfigurationId); 755 } 756 757 /** 758 * @throws PortalException 759 * @deprecated As of 7.0.0, with no direct replacement 760 */ 761 @Deprecated 762 @Override 763 public long exportPortletInfoAsFileInBackground(long userId, 764 java.lang.String taskName, long plid, long groupId, 765 java.lang.String portletId, 766 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 767 java.util.Date startDate, java.util.Date endDate, 768 java.lang.String fileName) 769 throws com.liferay.portal.kernel.exception.PortalException { 770 return _layoutLocalService.exportPortletInfoAsFileInBackground(userId, 771 taskName, plid, groupId, portletId, parameterMap, startDate, 772 endDate, fileName); 773 } 774 775 /** 776 * @throws PortalException 777 * @deprecated As of 7.0.0, with no direct replacement 778 */ 779 @Deprecated 780 @Override 781 public long exportPortletInfoAsFileInBackground(long userId, 782 java.lang.String taskName, java.lang.String portletId, 783 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 784 java.util.Date startDate, java.util.Date endDate, 785 java.lang.String fileName) 786 throws com.liferay.portal.kernel.exception.PortalException { 787 return _layoutLocalService.exportPortletInfoAsFileInBackground(userId, 788 taskName, portletId, parameterMap, startDate, endDate, fileName); 789 } 790 791 @Override 792 public com.liferay.portal.model.Layout fetchFirstLayout(long groupId, 793 boolean privateLayout, long parentLayoutId) { 794 return _layoutLocalService.fetchFirstLayout(groupId, privateLayout, 795 parentLayoutId); 796 } 797 798 @Override 799 public com.liferay.portal.model.Layout fetchLayout(long groupId, 800 boolean privateLayout, long layoutId) { 801 return _layoutLocalService.fetchLayout(groupId, privateLayout, layoutId); 802 } 803 804 @Override 805 public com.liferay.portal.model.Layout fetchLayout(long plid) { 806 return _layoutLocalService.fetchLayout(plid); 807 } 808 809 @Override 810 public com.liferay.portal.model.Layout fetchLayoutByFriendlyURL( 811 long groupId, boolean privateLayout, java.lang.String friendlyURL) { 812 return _layoutLocalService.fetchLayoutByFriendlyURL(groupId, 813 privateLayout, friendlyURL); 814 } 815 816 /** 817 * Returns the layout matching the UUID, group, and privacy. 818 * 819 * @param uuid the layout's UUID 820 * @param groupId the primary key of the group 821 * @param privateLayout whether the layout is private to the group 822 * @return the matching layout, or <code>null</code> if a matching layout could not be found 823 */ 824 @Override 825 public com.liferay.portal.model.Layout fetchLayoutByUuidAndGroupId( 826 java.lang.String uuid, long groupId, boolean privateLayout) { 827 return _layoutLocalService.fetchLayoutByUuidAndGroupId(uuid, groupId, 828 privateLayout); 829 } 830 831 @Override 832 public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() { 833 return _layoutLocalService.getActionableDynamicQuery(); 834 } 835 836 /** 837 * Returns the Spring bean ID for this bean. 838 * 839 * @return the Spring bean ID for this bean 840 */ 841 @Override 842 public java.lang.String getBeanIdentifier() { 843 return _layoutLocalService.getBeanIdentifier(); 844 } 845 846 /** 847 * Returns the primary key of the default layout for the group 848 * 849 * @param groupId the primary key of the group 850 * @return the primary key of the default layout for the group (optionally 851 {@link com.liferay.portal.model.LayoutConstants#DEFAULT_PLID}) 852 */ 853 @Override 854 public long getDefaultPlid(long groupId) { 855 return _layoutLocalService.getDefaultPlid(groupId); 856 } 857 858 /** 859 * Returns primary key of the matching default layout for the group 860 * 861 * @param groupId the primary key of the group 862 * @param privateLayout whether the layout is private to the group 863 * @return the primary key of the default layout for the group; {@link 864 com.liferay.portal.model.LayoutConstants#DEFAULT_PLID}) otherwise 865 */ 866 @Override 867 public long getDefaultPlid(long groupId, boolean privateLayout) { 868 return _layoutLocalService.getDefaultPlid(groupId, privateLayout); 869 } 870 871 /** 872 * Returns primary key of the default portlet layout for the group 873 * 874 * @param groupId the primary key of the group 875 * @param privateLayout whether the layout is private to the group 876 * @param portletId the primary key of the portlet 877 * @return the primary key of the default portlet layout for the group; 878 {@link com.liferay.portal.model.LayoutConstants#DEFAULT_PLID} 879 otherwise 880 * @throws PortalException if a portlet with the primary key could not be 881 found 882 */ 883 @Override 884 public long getDefaultPlid(long groupId, boolean privateLayout, 885 java.lang.String portletId) 886 throws com.liferay.portal.kernel.exception.PortalException { 887 return _layoutLocalService.getDefaultPlid(groupId, privateLayout, 888 portletId); 889 } 890 891 @Override 892 public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery( 893 com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) { 894 return _layoutLocalService.getExportActionableDynamicQuery(portletDataContext); 895 } 896 897 /** 898 * Returns the layout for the friendly URL 899 * 900 * @param groupId the primary key of the group 901 * @param privateLayout whether the layout is private to the group 902 * @param friendlyURL the friendly URL of the layout 903 * @return the layout for the friendly URL 904 * @throws PortalException if the friendly URL is <code>null</code> or a 905 matching layout could not be found 906 */ 907 @Override 908 public com.liferay.portal.model.Layout getFriendlyURLLayout(long groupId, 909 boolean privateLayout, java.lang.String friendlyURL) 910 throws com.liferay.portal.kernel.exception.PortalException { 911 return _layoutLocalService.getFriendlyURLLayout(groupId, privateLayout, 912 friendlyURL); 913 } 914 915 /** 916 * Returns the layout matching the primary key, group, and privacy; throws a 917 * {@link com.liferay.portal.NoSuchLayoutException} otherwise. 918 * 919 * @param groupId the primary key of the group 920 * @param privateLayout whether the layout is private to the group 921 * @param layoutId the primary key of the layout 922 * @return the matching layout 923 * @throws PortalException if a matching layout could not be found 924 */ 925 @Override 926 public com.liferay.portal.model.Layout getLayout(long groupId, 927 boolean privateLayout, long layoutId) 928 throws com.liferay.portal.kernel.exception.PortalException { 929 return _layoutLocalService.getLayout(groupId, privateLayout, layoutId); 930 } 931 932 /** 933 * Returns the layout with the primary key. 934 * 935 * @param plid the primary key of the layout 936 * @return the layout 937 * @throws PortalException if a layout with the primary key could not be found 938 */ 939 @Override 940 public com.liferay.portal.model.Layout getLayout(long plid) 941 throws com.liferay.portal.kernel.exception.PortalException { 942 return _layoutLocalService.getLayout(plid); 943 } 944 945 /** 946 * Returns the layout for the icon image; throws a {@link 947 * com.liferay.portal.NoSuchLayoutException} otherwise. 948 * 949 * @param iconImageId the primary key of the icon image 950 * @return Returns the layout for the icon image 951 * @throws PortalException if an icon image with the primary key could not 952 be found 953 */ 954 @Override 955 public com.liferay.portal.model.Layout getLayoutByIconImageId( 956 long iconImageId) 957 throws com.liferay.portal.kernel.exception.PortalException { 958 return _layoutLocalService.getLayoutByIconImageId(iconImageId); 959 } 960 961 /** 962 * Returns the layout matching the UUID, group, and privacy. 963 * 964 * @param uuid the layout's UUID 965 * @param groupId the primary key of the group 966 * @param privateLayout whether the layout is private to the group 967 * @return the matching layout 968 * @throws PortalException if a matching layout could not be found 969 */ 970 @Override 971 public com.liferay.portal.model.Layout getLayoutByUuidAndGroupId( 972 java.lang.String uuid, long groupId, boolean privateLayout) 973 throws com.liferay.portal.kernel.exception.PortalException { 974 return _layoutLocalService.getLayoutByUuidAndGroupId(uuid, groupId, 975 privateLayout); 976 } 977 978 /** 979 * Returns the layout references for all the layouts that belong to the 980 * company and belong to the portlet that matches the preferences. 981 * 982 * @param companyId the primary key of the company 983 * @param portletId the primary key of the portlet 984 * @param preferencesKey the portlet's preference key 985 * @param preferencesValue the portlet's preference value 986 * @return the layout references of the matching layouts 987 */ 988 @Override 989 public com.liferay.portal.model.LayoutReference[] getLayouts( 990 long companyId, java.lang.String portletId, 991 java.lang.String preferencesKey, java.lang.String preferencesValue) { 992 return _layoutLocalService.getLayouts(companyId, portletId, 993 preferencesKey, preferencesValue); 994 } 995 996 /** 997 * Returns all the layouts belonging to the group. 998 * 999 * @param groupId the primary key of the group 1000 * @param privateLayout whether the layout is private to the group 1001 * @return the matching layouts, or <code>null</code> if no matches were 1002 found 1003 */ 1004 @Override 1005 public java.util.List<com.liferay.portal.model.Layout> getLayouts( 1006 long groupId, boolean privateLayout) { 1007 return _layoutLocalService.getLayouts(groupId, privateLayout); 1008 } 1009 1010 /** 1011 * Returns all the layouts that match the layout IDs and belong to the 1012 * group. 1013 * 1014 * @param groupId the primary key of the group 1015 * @param privateLayout whether the layout is private to the group 1016 * @param layoutIds the primary keys of the layouts 1017 * @return the matching layouts, or an empty list if no matches were found 1018 * @throws PortalException if a group or layout with the primary key could 1019 not be found 1020 */ 1021 @Override 1022 public java.util.List<com.liferay.portal.model.Layout> getLayouts( 1023 long groupId, boolean privateLayout, long[] layoutIds) 1024 throws com.liferay.portal.kernel.exception.PortalException { 1025 return _layoutLocalService.getLayouts(groupId, privateLayout, layoutIds); 1026 } 1027 1028 /** 1029 * Returns all the layouts belonging to the group that are children of the 1030 * parent layout. 1031 * 1032 * @param groupId the primary key of the group 1033 * @param privateLayout whether the layout is private to the group 1034 * @param parentLayoutId the primary key of the parent layout 1035 * @return the matching layouts, or <code>null</code> if no matches were 1036 found 1037 */ 1038 @Override 1039 public java.util.List<com.liferay.portal.model.Layout> getLayouts( 1040 long groupId, boolean privateLayout, long parentLayoutId) { 1041 return _layoutLocalService.getLayouts(groupId, privateLayout, 1042 parentLayoutId); 1043 } 1044 1045 /** 1046 * Returns a range of all the layouts belonging to the group that are 1047 * children of the parent layout. 1048 * 1049 * <p> 1050 * Useful when paginating results. Returns a maximum of <code>end - 1051 * start</code> instances. <code>start</code> and <code>end</code> are not 1052 * primary keys, they are indexes in the result set. Thus, <code>0</code> 1053 * refers to the first result in the set. Setting both <code>start</code> 1054 * and <code>end</code> to {@link 1055 * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full 1056 * result set. 1057 * </p> 1058 * 1059 * @param groupId the primary key of the group 1060 * @param privateLayout whether the layout is private to the group 1061 * @param parentLayoutId the primary key of the parent layout 1062 * @param incomplete whether the layout is incomplete 1063 * @param start the lower bound of the range of layouts 1064 * @param end the upper bound of the range of layouts (not inclusive) 1065 * @return the matching layouts, or <code>null</code> if no matches were 1066 found 1067 */ 1068 @Override 1069 public java.util.List<com.liferay.portal.model.Layout> getLayouts( 1070 long groupId, boolean privateLayout, long parentLayoutId, 1071 boolean incomplete, int start, int end) { 1072 return _layoutLocalService.getLayouts(groupId, privateLayout, 1073 parentLayoutId, incomplete, start, end); 1074 } 1075 1076 /** 1077 * Returns all the layouts that match the type and belong to the group. 1078 * 1079 * @param groupId the primary key of the group 1080 * @param privateLayout whether the layout is private to the group 1081 * @param type the type of the layouts (optionally {@link 1082 com.liferay.portal.model.LayoutConstants#TYPE_PORTLET}) 1083 * @return the matching layouts, or <code>null</code> if no matches were 1084 found 1085 */ 1086 @Override 1087 public java.util.List<com.liferay.portal.model.Layout> getLayouts( 1088 long groupId, boolean privateLayout, java.lang.String type) { 1089 return _layoutLocalService.getLayouts(groupId, privateLayout, type); 1090 } 1091 1092 /** 1093 * Returns a range of all the layouts. 1094 * 1095 * <p> 1096 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1097 * </p> 1098 * 1099 * @param start the lower bound of the range of layouts 1100 * @param end the upper bound of the range of layouts (not inclusive) 1101 * @return the range of layouts 1102 */ 1103 @Override 1104 public java.util.List<com.liferay.portal.model.Layout> getLayouts( 1105 int start, int end) { 1106 return _layoutLocalService.getLayouts(start, end); 1107 } 1108 1109 @Override 1110 public java.util.List<com.liferay.portal.model.Layout> getLayoutsByLayoutPrototypeUuid( 1111 java.lang.String layoutPrototypeUuid) { 1112 return _layoutLocalService.getLayoutsByLayoutPrototypeUuid(layoutPrototypeUuid); 1113 } 1114 1115 @Override 1116 public int getLayoutsByLayoutPrototypeUuidCount( 1117 java.lang.String layoutPrototypeUuid) { 1118 return _layoutLocalService.getLayoutsByLayoutPrototypeUuidCount(layoutPrototypeUuid); 1119 } 1120 1121 /** 1122 * Returns all the layouts matching the UUID and company. 1123 * 1124 * @param uuid the UUID of the layouts 1125 * @param companyId the primary key of the company 1126 * @return the matching layouts, or an empty list if no matches were found 1127 */ 1128 @Override 1129 public java.util.List<com.liferay.portal.model.Layout> getLayoutsByUuidAndCompanyId( 1130 java.lang.String uuid, long companyId) { 1131 return _layoutLocalService.getLayoutsByUuidAndCompanyId(uuid, companyId); 1132 } 1133 1134 /** 1135 * Returns a range of layouts matching the UUID and company. 1136 * 1137 * @param uuid the UUID of the layouts 1138 * @param companyId the primary key of the company 1139 * @param start the lower bound of the range of layouts 1140 * @param end the upper bound of the range of layouts (not inclusive) 1141 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1142 * @return the range of matching layouts, or an empty list if no matches were found 1143 */ 1144 @Override 1145 public java.util.List<com.liferay.portal.model.Layout> getLayoutsByUuidAndCompanyId( 1146 java.lang.String uuid, long companyId, int start, int end, 1147 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.Layout> orderByComparator) { 1148 return _layoutLocalService.getLayoutsByUuidAndCompanyId(uuid, 1149 companyId, start, end, orderByComparator); 1150 } 1151 1152 /** 1153 * Returns the number of layouts. 1154 * 1155 * @return the number of layouts 1156 */ 1157 @Override 1158 public int getLayoutsCount() { 1159 return _layoutLocalService.getLayoutsCount(); 1160 } 1161 1162 @Override 1163 public int getLayoutsCount(com.liferay.portal.model.Group group, 1164 boolean privateLayout) 1165 throws com.liferay.portal.kernel.exception.PortalException { 1166 return _layoutLocalService.getLayoutsCount(group, privateLayout); 1167 } 1168 1169 @Override 1170 public int getLayoutsCount(com.liferay.portal.model.Group group, 1171 boolean privateLayout, boolean includeUserGroups) 1172 throws com.liferay.portal.kernel.exception.PortalException { 1173 return _layoutLocalService.getLayoutsCount(group, privateLayout, 1174 includeUserGroups); 1175 } 1176 1177 @Override 1178 public int getLayoutsCount(com.liferay.portal.model.Group group, 1179 boolean privateLayout, long parentLayoutId) { 1180 return _layoutLocalService.getLayoutsCount(group, privateLayout, 1181 parentLayoutId); 1182 } 1183 1184 @Override 1185 public int getLayoutsCount(com.liferay.portal.model.User user, 1186 boolean privateLayout) 1187 throws com.liferay.portal.kernel.exception.PortalException { 1188 return _layoutLocalService.getLayoutsCount(user, privateLayout); 1189 } 1190 1191 @Override 1192 public int getLayoutsCount(com.liferay.portal.model.User user, 1193 boolean privateLayout, boolean includeUserGroups) 1194 throws com.liferay.portal.kernel.exception.PortalException { 1195 return _layoutLocalService.getLayoutsCount(user, privateLayout, 1196 includeUserGroups); 1197 } 1198 1199 /** 1200 * Returns the primary key to use for the next layout. 1201 * 1202 * @param groupId the primary key of the group 1203 * @param privateLayout whether the layout is private to the group 1204 * @return the primary key to use for the next layout 1205 */ 1206 @Override 1207 public long getNextLayoutId(long groupId, boolean privateLayout) { 1208 return _layoutLocalService.getNextLayoutId(groupId, privateLayout); 1209 } 1210 1211 /** 1212 * Returns all the layouts without resource permissions 1213 * 1214 * @param roleId the primary key of the role 1215 * @return all the layouts without resource permissions 1216 */ 1217 @Override 1218 public java.util.List<com.liferay.portal.model.Layout> getNoPermissionLayouts( 1219 long roleId) { 1220 return _layoutLocalService.getNoPermissionLayouts(roleId); 1221 } 1222 1223 /** 1224 * Returns all the layouts whose friendly URLs are <code>null</code> 1225 * 1226 * @return all the layouts whose friendly URLs are <code>null</code> 1227 */ 1228 @Override 1229 public java.util.List<com.liferay.portal.model.Layout> getNullFriendlyURLLayouts() { 1230 return _layoutLocalService.getNullFriendlyURLLayouts(); 1231 } 1232 1233 @Override 1234 public com.liferay.portal.model.Layout getParentLayout( 1235 com.liferay.portal.model.Layout layout) 1236 throws com.liferay.portal.kernel.exception.PortalException { 1237 return _layoutLocalService.getParentLayout(layout); 1238 } 1239 1240 @Override 1241 public com.liferay.portal.model.PersistedModel getPersistedModel( 1242 java.io.Serializable primaryKeyObj) 1243 throws com.liferay.portal.kernel.exception.PortalException { 1244 return _layoutLocalService.getPersistedModel(primaryKeyObj); 1245 } 1246 1247 /** 1248 * Returns all the layouts within scope of the group 1249 * 1250 * @param groupId the primary key of the group 1251 * @param privateLayout whether the layout is private to the group 1252 * @return the layouts within scope of the group 1253 */ 1254 @Override 1255 public java.util.List<com.liferay.portal.model.Layout> getScopeGroupLayouts( 1256 long groupId, boolean privateLayout) { 1257 return _layoutLocalService.getScopeGroupLayouts(groupId, privateLayout); 1258 } 1259 1260 @Override 1261 public boolean hasLayoutSetPrototypeLayout(long layoutSetPrototypeId, 1262 java.lang.String layoutUuid) 1263 throws com.liferay.portal.kernel.exception.PortalException { 1264 return _layoutLocalService.hasLayoutSetPrototypeLayout(layoutSetPrototypeId, 1265 layoutUuid); 1266 } 1267 1268 @Override 1269 public boolean hasLayoutSetPrototypeLayout( 1270 java.lang.String layoutSetPrototypeUuid, long companyId, 1271 java.lang.String layoutUuid) 1272 throws com.liferay.portal.kernel.exception.PortalException { 1273 return _layoutLocalService.hasLayoutSetPrototypeLayout(layoutSetPrototypeUuid, 1274 companyId, layoutUuid); 1275 } 1276 1277 @Override 1278 public boolean hasLayouts(com.liferay.portal.model.Group group, 1279 boolean privateLayout) 1280 throws com.liferay.portal.kernel.exception.PortalException { 1281 return _layoutLocalService.hasLayouts(group, privateLayout); 1282 } 1283 1284 @Override 1285 public boolean hasLayouts(com.liferay.portal.model.Group group, 1286 boolean privateLayout, boolean includeUserGroups) 1287 throws com.liferay.portal.kernel.exception.PortalException { 1288 return _layoutLocalService.hasLayouts(group, privateLayout, 1289 includeUserGroups); 1290 } 1291 1292 /** 1293 * Returns <code>true</code> if the group has any layouts; 1294 * <code>false</code> otherwise. 1295 * 1296 * @param groupId the primary key of the group 1297 * @param privateLayout whether the layout is private to the group 1298 * @param parentLayoutId the primary key of the parent layout 1299 * @return <code>true</code> if the group has any layouts; 1300 <code>false</code> otherwise 1301 */ 1302 @Override 1303 public boolean hasLayouts(long groupId, boolean privateLayout, 1304 long parentLayoutId) { 1305 return _layoutLocalService.hasLayouts(groupId, privateLayout, 1306 parentLayoutId); 1307 } 1308 1309 @Override 1310 public boolean hasLayouts(com.liferay.portal.model.User user, 1311 boolean privateLayout) 1312 throws com.liferay.portal.kernel.exception.PortalException { 1313 return _layoutLocalService.hasLayouts(user, privateLayout); 1314 } 1315 1316 @Override 1317 public boolean hasLayouts(com.liferay.portal.model.User user, 1318 boolean privateLayout, boolean includeUserGroups) 1319 throws com.liferay.portal.kernel.exception.PortalException { 1320 return _layoutLocalService.hasLayouts(user, privateLayout, 1321 includeUserGroups); 1322 } 1323 1324 /** 1325 * @throws PortalException 1326 * @deprecated As of 7.0.0, replaced by {@link 1327 com.liferay.portlet.exportimport.service.ExportImportLocalService#importLayouts( 1328 ExportImportConfiguration, File)}} 1329 */ 1330 @Deprecated 1331 @Override 1332 public void importLayouts( 1333 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 1334 java.io.File file) 1335 throws com.liferay.portal.kernel.exception.PortalException { 1336 _layoutLocalService.importLayouts(exportImportConfiguration, file); 1337 } 1338 1339 /** 1340 * @throws PortalException 1341 * @deprecated As of 7.0.0, replaced by {@link 1342 com.liferay.portlet.exportimport.service.ExportImportLocalService#importLayouts( 1343 ExportImportConfiguration, InputStream)}} 1344 */ 1345 @Deprecated 1346 @Override 1347 public void importLayouts( 1348 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 1349 java.io.InputStream is) 1350 throws com.liferay.portal.kernel.exception.PortalException { 1351 _layoutLocalService.importLayouts(exportImportConfiguration, is); 1352 } 1353 1354 /** 1355 * Imports the layouts from the byte array. 1356 * 1357 * @param userId the primary key of the user 1358 * @param groupId the primary key of the group 1359 * @param privateLayout whether the layout is private to the group 1360 * @param parameterMap the mapping of parameters indicating which 1361 information will be imported. For information on the keys 1362 used in the map see {@link 1363 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 1364 * @param bytes the byte array with the data 1365 * @throws PortalException if a group or user with the primary key could 1366 not be found, or if some other portal exception occurred 1367 * @see com.liferay.portlet.exportimport.lar.LayoutImporter 1368 * @deprecated As of 7.0.0, with no direct replacement 1369 */ 1370 @Deprecated 1371 @Override 1372 public void importLayouts(long userId, long groupId, boolean privateLayout, 1373 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1374 byte[] bytes) 1375 throws com.liferay.portal.kernel.exception.PortalException { 1376 _layoutLocalService.importLayouts(userId, groupId, privateLayout, 1377 parameterMap, bytes); 1378 } 1379 1380 /** 1381 * Imports the layouts from the file. 1382 * 1383 * @param userId the primary key of the user 1384 * @param groupId the primary key of the group 1385 * @param privateLayout whether the layout is private to the group 1386 * @param parameterMap the mapping of parameters indicating which 1387 information will be imported. For information on the keys 1388 used in the map see {@link 1389 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 1390 * @param file the LAR file with the data 1391 * @throws PortalException if a group or user with the primary key could 1392 not be found, or if some other portal exception occurred 1393 * @see com.liferay.portlet.exportimport.lar.LayoutImporter 1394 * @deprecated As of 7.0.0, with no direct replacement 1395 */ 1396 @Deprecated 1397 @Override 1398 public void importLayouts(long userId, long groupId, boolean privateLayout, 1399 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1400 java.io.File file) 1401 throws com.liferay.portal.kernel.exception.PortalException { 1402 _layoutLocalService.importLayouts(userId, groupId, privateLayout, 1403 parameterMap, file); 1404 } 1405 1406 /** 1407 * Imports the layouts from the input stream. 1408 * 1409 * @param userId the primary key of the user 1410 * @param groupId the primary key of the group 1411 * @param privateLayout whether the layout is private to the group 1412 * @param parameterMap the mapping of parameters indicating which 1413 information will be imported. For information on the keys 1414 used in the map see {@link 1415 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 1416 * @param is the input stream 1417 * @throws PortalException if a group or user with the primary key could 1418 not be found, or if some other portal exception occurred 1419 * @see com.liferay.portlet.exportimport.lar.LayoutImporter 1420 * @deprecated As of 7.0.0, with no direct replacement 1421 */ 1422 @Deprecated 1423 @Override 1424 public void importLayouts(long userId, long groupId, boolean privateLayout, 1425 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1426 java.io.InputStream is) 1427 throws com.liferay.portal.kernel.exception.PortalException { 1428 _layoutLocalService.importLayouts(userId, groupId, privateLayout, 1429 parameterMap, is); 1430 } 1431 1432 /** 1433 * @throws PortalException 1434 * @deprecated As of 7.0.0, replaced by {@link 1435 com.liferay.portlet.exportimport.service.ExportImportLocalService#importLayoutsDataDeletions( 1436 ExportImportConfiguration, File)} 1437 */ 1438 @Deprecated 1439 @Override 1440 public void importLayoutsDataDeletions( 1441 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 1442 java.io.File file) 1443 throws com.liferay.portal.kernel.exception.PortalException { 1444 _layoutLocalService.importLayoutsDataDeletions(exportImportConfiguration, 1445 file); 1446 } 1447 1448 /** 1449 * @throws PortalException 1450 * @deprecated As of 7.0.0, replaced by {@link 1451 com.liferay.portlet.exportimport.service.ExportImportLocalService#importLayoutsInBackground( 1452 long, ExportImportConfiguration, File)} 1453 */ 1454 @Deprecated 1455 @Override 1456 public long importLayoutsInBackground(long userId, 1457 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 1458 java.io.File file) 1459 throws com.liferay.portal.kernel.exception.PortalException { 1460 return _layoutLocalService.importLayoutsInBackground(userId, 1461 exportImportConfiguration, file); 1462 } 1463 1464 /** 1465 * @throws PortalException 1466 * @deprecated As of 7.0.0, replaced by {@link 1467 com.liferay.portlet.exportimport.service.ExportImportLocalService#importLayoutsInBackground( 1468 long, long, File)} 1469 */ 1470 @Deprecated 1471 @Override 1472 public long importLayoutsInBackground(long userId, 1473 long exportImportConfigurationId, java.io.File file) 1474 throws com.liferay.portal.kernel.exception.PortalException { 1475 return _layoutLocalService.importLayoutsInBackground(userId, 1476 exportImportConfigurationId, file); 1477 } 1478 1479 /** 1480 * @throws PortalException 1481 * @deprecated As of 7.0.0, with no direct replacement 1482 */ 1483 @Deprecated 1484 @Override 1485 public long importLayoutsInBackground(long userId, 1486 java.lang.String taskName, long groupId, boolean privateLayout, 1487 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1488 java.io.File file) 1489 throws com.liferay.portal.kernel.exception.PortalException { 1490 return _layoutLocalService.importLayoutsInBackground(userId, taskName, 1491 groupId, privateLayout, parameterMap, file); 1492 } 1493 1494 /** 1495 * @throws PortalException 1496 * @deprecated As of 7.0.0, with no direct replacement 1497 */ 1498 @Deprecated 1499 @Override 1500 public long importLayoutsInBackground(long userId, 1501 java.lang.String taskName, long groupId, boolean privateLayout, 1502 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1503 java.io.InputStream is) 1504 throws com.liferay.portal.kernel.exception.PortalException { 1505 return _layoutLocalService.importLayoutsInBackground(userId, taskName, 1506 groupId, privateLayout, parameterMap, is); 1507 } 1508 1509 /** 1510 * @throws PortalException 1511 * @deprecated As of 7.0.0, replaced by {@link 1512 com.liferay.portlet.exportimport.service.ExportImportLocalService#importPortletDataDeletions( 1513 ExportImportConfiguration, File)} 1514 */ 1515 @Deprecated 1516 @Override 1517 public void importPortletDataDeletions( 1518 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 1519 java.io.File file) 1520 throws com.liferay.portal.kernel.exception.PortalException { 1521 _layoutLocalService.importPortletDataDeletions(exportImportConfiguration, 1522 file); 1523 } 1524 1525 /** 1526 * @throws PortalException 1527 * @deprecated As of 7.0.0, replaced by {@link 1528 com.liferay.portlet.exportimport.service.ExportImportLocalService#importPortletInfo( 1529 ExportImportConfiguration, File)} 1530 */ 1531 @Deprecated 1532 @Override 1533 public void importPortletInfo( 1534 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 1535 java.io.File file) 1536 throws com.liferay.portal.kernel.exception.PortalException { 1537 _layoutLocalService.importPortletInfo(exportImportConfiguration, file); 1538 } 1539 1540 /** 1541 * @throws PortalException 1542 * @deprecated As of 7.0.0, replaced by {@link 1543 com.liferay.portlet.exportimport.service.ExportImportLocalService#importPortletInfo( 1544 ExportImportConfiguration, InputStream)} 1545 */ 1546 @Deprecated 1547 @Override 1548 public void importPortletInfo( 1549 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 1550 java.io.InputStream is) 1551 throws com.liferay.portal.kernel.exception.PortalException { 1552 _layoutLocalService.importPortletInfo(exportImportConfiguration, is); 1553 } 1554 1555 /** 1556 * Imports the portlet information (categories, permissions, ... etc.) from 1557 * the file. 1558 * 1559 * @param userId the primary key of the user 1560 * @param plid the primary key of the target layout 1561 * @param groupId the primary key of the target group 1562 * @param portletId the primary key of the portlet 1563 * @param parameterMap the mapping of parameters indicating which 1564 information will be imported. For information on the keys 1565 used in the map see {@link 1566 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 1567 * @param file the LAR file with the data 1568 * @throws PortalException if a group, layout, portlet or user with the 1569 primary key could not be found 1570 * @deprecated As of 7.0.0, with no direct replacement 1571 */ 1572 @Deprecated 1573 @Override 1574 public void importPortletInfo(long userId, long plid, long groupId, 1575 java.lang.String portletId, 1576 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1577 java.io.File file) 1578 throws com.liferay.portal.kernel.exception.PortalException { 1579 _layoutLocalService.importPortletInfo(userId, plid, groupId, portletId, 1580 parameterMap, file); 1581 } 1582 1583 /** 1584 * Imports the portlet information (categories, permissions, ... etc.) from 1585 * the input stream. 1586 * 1587 * @param userId the primary key of the user 1588 * @param plid the primary key of the layout 1589 * @param groupId the primary key of the group 1590 * @param portletId the primary key of the portlet 1591 * @param parameterMap the mapping of parameters indicating which 1592 information will be imported. For information on the keys 1593 used in the map see {@link 1594 com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}. 1595 * @param is the input stream 1596 * @throws PortalException if a group, portlet, layout or user with the 1597 primary key could not be found 1598 * @deprecated As of 7.0.0, with no direct replacement 1599 */ 1600 @Deprecated 1601 @Override 1602 public void importPortletInfo(long userId, long plid, long groupId, 1603 java.lang.String portletId, 1604 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1605 java.io.InputStream is) 1606 throws com.liferay.portal.kernel.exception.PortalException { 1607 _layoutLocalService.importPortletInfo(userId, plid, groupId, portletId, 1608 parameterMap, is); 1609 } 1610 1611 /** 1612 * @throws PortalException 1613 * @deprecated As of 7.0.0, with no direct replacement 1614 */ 1615 @Deprecated 1616 @Override 1617 public void importPortletInfo(long userId, java.lang.String portletId, 1618 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1619 java.io.File file) 1620 throws com.liferay.portal.kernel.exception.PortalException { 1621 _layoutLocalService.importPortletInfo(userId, portletId, parameterMap, 1622 file); 1623 } 1624 1625 /** 1626 * @throws PortalException 1627 * @deprecated As of 7.0.0, with no direct replacement 1628 */ 1629 @Deprecated 1630 @Override 1631 public void importPortletInfo(long userId, java.lang.String portletId, 1632 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1633 java.io.InputStream is) 1634 throws com.liferay.portal.kernel.exception.PortalException { 1635 _layoutLocalService.importPortletInfo(userId, portletId, parameterMap, 1636 is); 1637 } 1638 1639 /** 1640 * @throws PortalException 1641 * @deprecated As of 7.0.0, replaced by {@link 1642 com.liferay.portlet.exportimport.service.ExportImportLocalService#importPortletInfoInBackground( 1643 long, ExportImportConfiguration, File)} 1644 */ 1645 @Deprecated 1646 @Override 1647 public long importPortletInfoInBackground(long userId, 1648 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 1649 java.io.File file) 1650 throws com.liferay.portal.kernel.exception.PortalException { 1651 return _layoutLocalService.importPortletInfoInBackground(userId, 1652 exportImportConfiguration, file); 1653 } 1654 1655 /** 1656 * @throws PortalException 1657 * @deprecated As of 7.0.0, replaced by {@link 1658 com.liferay.portlet.exportimport.service.ExportImportLocalService#importPortletInfoInBackground( 1659 long, long, File)} 1660 */ 1661 @Deprecated 1662 @Override 1663 public long importPortletInfoInBackground(long userId, 1664 long exportImportConfigurationId, java.io.File file) 1665 throws com.liferay.portal.kernel.exception.PortalException { 1666 return _layoutLocalService.importPortletInfoInBackground(userId, 1667 exportImportConfigurationId, file); 1668 } 1669 1670 /** 1671 * @throws PortalException 1672 * @deprecated As of 7.0.0, with no direct replacement 1673 */ 1674 @Deprecated 1675 @Override 1676 public long importPortletInfoInBackground(long userId, 1677 java.lang.String taskName, long plid, long groupId, 1678 java.lang.String portletId, 1679 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1680 java.io.File file) 1681 throws com.liferay.portal.kernel.exception.PortalException { 1682 return _layoutLocalService.importPortletInfoInBackground(userId, 1683 taskName, plid, groupId, portletId, parameterMap, file); 1684 } 1685 1686 /** 1687 * @throws PortalException 1688 * @deprecated As of 7.0.0, with no direct replacement 1689 */ 1690 @Deprecated 1691 @Override 1692 public long importPortletInfoInBackground(long userId, 1693 java.lang.String taskName, long plid, long groupId, 1694 java.lang.String portletId, 1695 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1696 java.io.InputStream is) 1697 throws com.liferay.portal.kernel.exception.PortalException { 1698 return _layoutLocalService.importPortletInfoInBackground(userId, 1699 taskName, plid, groupId, portletId, parameterMap, is); 1700 } 1701 1702 /** 1703 * @throws PortalException 1704 * @deprecated As of 7.0.0, with no direct replacement 1705 */ 1706 @Deprecated 1707 @Override 1708 public long importPortletInfoInBackground(long userId, 1709 java.lang.String taskName, java.lang.String portletId, 1710 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1711 java.io.File file) 1712 throws com.liferay.portal.kernel.exception.PortalException { 1713 return _layoutLocalService.importPortletInfoInBackground(userId, 1714 taskName, portletId, parameterMap, file); 1715 } 1716 1717 /** 1718 * @throws PortalException 1719 * @deprecated As of 7.0.0, with no direct replacement 1720 */ 1721 @Deprecated 1722 @Override 1723 public long importPortletInfoInBackground(long userId, 1724 java.lang.String taskName, java.lang.String portletId, 1725 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 1726 java.io.InputStream is) 1727 throws com.liferay.portal.kernel.exception.PortalException { 1728 return _layoutLocalService.importPortletInfoInBackground(userId, 1729 taskName, portletId, parameterMap, is); 1730 } 1731 1732 /** 1733 * Sets the Spring bean ID for this bean. 1734 * 1735 * @param beanIdentifier the Spring bean ID for this bean 1736 */ 1737 @Override 1738 public void setBeanIdentifier(java.lang.String beanIdentifier) { 1739 _layoutLocalService.setBeanIdentifier(beanIdentifier); 1740 } 1741 1742 /** 1743 * Sets the layouts for the group, replacing and prioritizing all layouts of 1744 * the parent layout. 1745 * 1746 * @param groupId the primary key of the group 1747 * @param privateLayout whether the layout is private to the group 1748 * @param parentLayoutId the primary key of the parent layout 1749 * @param layoutIds the primary keys of the layouts 1750 * @param serviceContext the service context to be applied 1751 * @throws PortalException if a group or layout with the primary key could 1752 not be found, if no layouts were specified, if the first layout 1753 was not page-able, if the first layout was hidden, or if some 1754 other portal exception occurred 1755 */ 1756 @Override 1757 public void setLayouts(long groupId, boolean privateLayout, 1758 long parentLayoutId, long[] layoutIds, 1759 com.liferay.portal.service.ServiceContext serviceContext) 1760 throws com.liferay.portal.kernel.exception.PortalException { 1761 _layoutLocalService.setLayouts(groupId, privateLayout, parentLayoutId, 1762 layoutIds, serviceContext); 1763 } 1764 1765 @Override 1766 public void updateAsset(long userId, 1767 com.liferay.portal.model.Layout layout, long[] assetCategoryIds, 1768 java.lang.String[] assetTagNames) 1769 throws com.liferay.portal.kernel.exception.PortalException { 1770 _layoutLocalService.updateAsset(userId, layout, assetCategoryIds, 1771 assetTagNames); 1772 } 1773 1774 /** 1775 * Updates the friendly URL of the layout. 1776 * 1777 * @param plid the primary key of the layout 1778 * @param friendlyURL the friendly URL to be assigned 1779 * @param languageId the primary key of the language 1780 * @return the updated layout 1781 * @throws PortalException if a group or layout with the primary key 1782 could not be found 1783 * @deprecated As of 7.0.0, replaced by {@link #updateFriendlyURL(long, 1784 long, String, String)} 1785 */ 1786 @Deprecated 1787 @Override 1788 public com.liferay.portal.model.Layout updateFriendlyURL(long plid, 1789 java.lang.String friendlyURL, java.lang.String languageId) 1790 throws com.liferay.portal.kernel.exception.PortalException { 1791 return _layoutLocalService.updateFriendlyURL(plid, friendlyURL, 1792 languageId); 1793 } 1794 1795 /** 1796 * Updates the friendly URL of the layout. 1797 * 1798 * @param userId the primary key of the user 1799 * @param plid the primary key of the layout 1800 * @param friendlyURL the friendly URL to be assigned 1801 * @param languageId the primary key of the language 1802 * @return the updated layout 1803 * @throws PortalException if a group or layout with the primary key could 1804 not be found 1805 */ 1806 @Override 1807 public com.liferay.portal.model.Layout updateFriendlyURL(long userId, 1808 long plid, java.lang.String friendlyURL, java.lang.String languageId) 1809 throws com.liferay.portal.kernel.exception.PortalException { 1810 return _layoutLocalService.updateFriendlyURL(userId, plid, friendlyURL, 1811 languageId); 1812 } 1813 1814 @Override 1815 public com.liferay.portal.model.Layout updateIconImage(long plid, 1816 byte[] bytes) 1817 throws com.liferay.portal.kernel.exception.PortalException { 1818 return _layoutLocalService.updateIconImage(plid, bytes); 1819 } 1820 1821 /** 1822 * Updates the layout. 1823 * 1824 * @param groupId the primary key of the group 1825 * @param privateLayout whether the layout is private to the group 1826 * @param layoutId the primary key of the layout 1827 * @param parentLayoutId the primary key of the layout's new parent 1828 layout 1829 * @param nameMap the locales and localized names to merge (optionally 1830 <code>null</code>) 1831 * @param titleMap the locales and localized titles to merge 1832 (optionally <code>null</code>) 1833 * @param descriptionMap the locales and localized descriptions to 1834 merge (optionally <code>null</code>) 1835 * @param keywordsMap the locales and localized keywords to merge 1836 (optionally <code>null</code>) 1837 * @param robotsMap the locales and localized robots to merge 1838 (optionally <code>null</code>) 1839 * @param type the layout's new type (optionally {@link 1840 com.liferay.portal.model.LayoutConstants#TYPE_PORTLET}) 1841 * @param hidden whether the layout is hidden 1842 * @param friendlyURL the layout's new friendly URL (optionally {@link 1843 com.liferay.portal.util.PropsValues#DEFAULT_USER_PRIVATE_LAYOUT_FRIENDLY_URL} 1844 or {@link 1845 com.liferay.portal.util.PropsValues#DEFAULT_USER_PRIVATE_LAYOUT_FRIENDLY_URL}). 1846 The default values can be overridden in 1847 <code>portal-ext.properties</code> by specifying new values 1848 for the corresponding properties defined in {@link 1849 com.liferay.portal.util.PropsValues}. To see how the URL is 1850 normalized when accessed, see {@link 1851 com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize( 1852 String)}. 1853 * @param iconImage whether the icon image will be updated 1854 * @param iconBytes the byte array of the layout's new icon image 1855 * @param serviceContext the service context to be applied. Can set the 1856 modification date and expando bridge attributes for the 1857 layout. For layouts that are linked to a layout prototype, 1858 attributes named <code>layoutPrototypeUuid</code> and 1859 <code>layoutPrototypeLinkedEnabled</code> can be specified to 1860 provide the unique identifier of the source prototype and a 1861 boolean to determine whether a link to it should be enabled 1862 to activate propagation of changes made to the linked page in 1863 the prototype. 1864 * @return the updated layout 1865 * @throws PortalException if a group or layout with the primary key 1866 could not be found, if a unique friendly URL could not be 1867 generated, if a valid parent layout ID to use could not be 1868 found, if the layout parameters were invalid, or if a portal 1869 exception occurred 1870 * @deprecated As of 6.2.0, replaced by {@link #updateLayout(long, boolean, 1871 long, long, Map, Map, Map, Map, Map, String, boolean, Map, 1872 boolean, byte[], ServiceContext)} 1873 */ 1874 @Deprecated 1875 @Override 1876 public com.liferay.portal.model.Layout updateLayout(long groupId, 1877 boolean privateLayout, long layoutId, long parentLayoutId, 1878 java.util.Map<java.util.Locale, java.lang.String> nameMap, 1879 java.util.Map<java.util.Locale, java.lang.String> titleMap, 1880 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 1881 java.util.Map<java.util.Locale, java.lang.String> keywordsMap, 1882 java.util.Map<java.util.Locale, java.lang.String> robotsMap, 1883 java.lang.String type, boolean hidden, java.lang.String friendlyURL, 1884 java.lang.Boolean iconImage, byte[] iconBytes, 1885 com.liferay.portal.service.ServiceContext serviceContext) 1886 throws com.liferay.portal.kernel.exception.PortalException { 1887 return _layoutLocalService.updateLayout(groupId, privateLayout, 1888 layoutId, parentLayoutId, nameMap, titleMap, descriptionMap, 1889 keywordsMap, robotsMap, type, hidden, friendlyURL, iconImage, 1890 iconBytes, serviceContext); 1891 } 1892 1893 /** 1894 * Updates the layout. 1895 * 1896 * @param groupId the primary key of the group 1897 * @param privateLayout whether the layout is private to the group 1898 * @param layoutId the primary key of the layout 1899 * @param parentLayoutId the primary key of the layout's new parent layout 1900 * @param nameMap the locales and localized names to merge (optionally 1901 <code>null</code>) 1902 * @param titleMap the locales and localized titles to merge (optionally 1903 <code>null</code>) 1904 * @param descriptionMap the locales and localized descriptions to merge 1905 (optionally <code>null</code>) 1906 * @param keywordsMap the locales and localized keywords to merge 1907 (optionally <code>null</code>) 1908 * @param robotsMap the locales and localized robots to merge (optionally 1909 <code>null</code>) 1910 * @param type the layout's new type (optionally {@link 1911 com.liferay.portal.model.LayoutConstants#TYPE_PORTLET}) 1912 * @param hidden whether the layout is hidden 1913 * @param friendlyURLMap the layout's locales and localized friendly URLs. 1914 To see how the URL is normalized when accessed, see {@link 1915 com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize( 1916 String)}. 1917 * @param iconImage whether the icon image will be updated 1918 * @param iconBytes the byte array of the layout's new icon image 1919 * @param serviceContext the service context to be applied. Can set the 1920 modification date and expando bridge attributes for the layout. 1921 For layouts that are linked to a layout prototype, attributes 1922 named <code>layoutPrototypeUuid</code> and 1923 <code>layoutPrototypeLinkedEnabled</code> can be specified to 1924 provide the unique identifier of the source prototype and a 1925 boolean to determine whether a link to it should be enabled to 1926 activate propagation of changes made to the linked page in the 1927 prototype. 1928 * @return the updated layout 1929 * @throws PortalException if a group or layout with the primary key could 1930 not be found, if a unique friendly URL could not be generated, if 1931 a valid parent layout ID to use could not be found, if the layout 1932 parameters were invalid, or if a portal exception occurred 1933 */ 1934 @Override 1935 public com.liferay.portal.model.Layout updateLayout(long groupId, 1936 boolean privateLayout, long layoutId, long parentLayoutId, 1937 java.util.Map<java.util.Locale, java.lang.String> nameMap, 1938 java.util.Map<java.util.Locale, java.lang.String> titleMap, 1939 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 1940 java.util.Map<java.util.Locale, java.lang.String> keywordsMap, 1941 java.util.Map<java.util.Locale, java.lang.String> robotsMap, 1942 java.lang.String type, boolean hidden, 1943 java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap, 1944 boolean iconImage, byte[] iconBytes, 1945 com.liferay.portal.service.ServiceContext serviceContext) 1946 throws com.liferay.portal.kernel.exception.PortalException { 1947 return _layoutLocalService.updateLayout(groupId, privateLayout, 1948 layoutId, parentLayoutId, nameMap, titleMap, descriptionMap, 1949 keywordsMap, robotsMap, type, hidden, friendlyURLMap, iconImage, 1950 iconBytes, serviceContext); 1951 } 1952 1953 /** 1954 * Updates the layout replacing its type settings. 1955 * 1956 * @param groupId the primary key of the group 1957 * @param privateLayout whether the layout is private to the group 1958 * @param layoutId the primary key of the layout 1959 * @param typeSettings the settings to load the unicode properties object. 1960 See {@link com.liferay.portal.kernel.util.UnicodeProperties 1961 #fastLoad(String)}. 1962 * @return the updated layout 1963 * @throws PortalException if a matching layout could not be found or if a 1964 portal exception occurred 1965 */ 1966 @Override 1967 public com.liferay.portal.model.Layout updateLayout(long groupId, 1968 boolean privateLayout, long layoutId, java.lang.String typeSettings) 1969 throws com.liferay.portal.kernel.exception.PortalException { 1970 return _layoutLocalService.updateLayout(groupId, privateLayout, 1971 layoutId, typeSettings); 1972 } 1973 1974 /** 1975 * Updates the layout in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. 1976 * 1977 * @param layout the layout 1978 * @return the layout that was updated 1979 */ 1980 @Override 1981 public com.liferay.portal.model.Layout updateLayout( 1982 com.liferay.portal.model.Layout layout) { 1983 return _layoutLocalService.updateLayout(layout); 1984 } 1985 1986 /** 1987 * Updates the look and feel of the layout. 1988 * 1989 * @param groupId the primary key of the group 1990 * @param privateLayout whether the layout is private to the group 1991 * @param layoutId the primary key of the layout 1992 * @param themeId the primary key of the layout's new theme 1993 * @param colorSchemeId the primary key of the layout's new color scheme 1994 * @param css the layout's new CSS 1995 * @param wapTheme whether the theme is for WAP browsers 1996 * @return the updated layout 1997 * @throws PortalException if a matching layout could not be found 1998 */ 1999 @Override 2000 public com.liferay.portal.model.Layout updateLookAndFeel(long groupId, 2001 boolean privateLayout, long layoutId, java.lang.String themeId, 2002 java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme) 2003 throws com.liferay.portal.kernel.exception.PortalException { 2004 return _layoutLocalService.updateLookAndFeel(groupId, privateLayout, 2005 layoutId, themeId, colorSchemeId, css, wapTheme); 2006 } 2007 2008 /** 2009 * Updates the name of the layout matching the group, layout ID, and 2010 * privacy. 2011 * 2012 * @param groupId the primary key of the group 2013 * @param privateLayout whether the layout is private to the group 2014 * @param layoutId the primary key of the layout 2015 * @param name the layout's new name 2016 * @param languageId the primary key of the language. For more information 2017 see {@link java.util.Locale}. 2018 * @return the updated layout 2019 * @throws PortalException if a matching layout could not be found or if the 2020 new name was <code>null</code> 2021 */ 2022 @Override 2023 public com.liferay.portal.model.Layout updateName(long groupId, 2024 boolean privateLayout, long layoutId, java.lang.String name, 2025 java.lang.String languageId) 2026 throws com.liferay.portal.kernel.exception.PortalException { 2027 return _layoutLocalService.updateName(groupId, privateLayout, layoutId, 2028 name, languageId); 2029 } 2030 2031 /** 2032 * Updates the name of the layout. 2033 * 2034 * @param layout the layout to be updated 2035 * @param name the layout's new name 2036 * @param languageId the primary key of the language. For more information 2037 see {@link java.util.Locale}. 2038 * @return the updated layout 2039 * @throws PortalException if the new name was <code>null</code> 2040 */ 2041 @Override 2042 public com.liferay.portal.model.Layout updateName( 2043 com.liferay.portal.model.Layout layout, java.lang.String name, 2044 java.lang.String languageId) 2045 throws com.liferay.portal.kernel.exception.PortalException { 2046 return _layoutLocalService.updateName(layout, name, languageId); 2047 } 2048 2049 /** 2050 * Updates the name of the layout matching the primary key. 2051 * 2052 * @param plid the primary key of the layout 2053 * @param name the name to be assigned 2054 * @param languageId the primary key of the language. For more information 2055 see {@link java.util.Locale}. 2056 * @return the updated layout 2057 * @throws PortalException if a layout with the primary key could not be 2058 found or if the name was <code>null</code> 2059 */ 2060 @Override 2061 public com.liferay.portal.model.Layout updateName(long plid, 2062 java.lang.String name, java.lang.String languageId) 2063 throws com.liferay.portal.kernel.exception.PortalException { 2064 return _layoutLocalService.updateName(plid, name, languageId); 2065 } 2066 2067 /** 2068 * Updates the parent layout ID of the layout matching the group, layout ID, 2069 * and privacy. 2070 * 2071 * @param groupId the primary key of the group 2072 * @param privateLayout whether the layout is private to the group 2073 * @param layoutId the primary key of the layout 2074 * @param parentLayoutId the primary key to be assigned to the parent 2075 layout 2076 * @return the matching layout 2077 * @throws PortalException if a valid parent layout ID to use could not be 2078 found or if a matching layout could not be found 2079 */ 2080 @Override 2081 public com.liferay.portal.model.Layout updateParentLayoutId(long groupId, 2082 boolean privateLayout, long layoutId, long parentLayoutId) 2083 throws com.liferay.portal.kernel.exception.PortalException { 2084 return _layoutLocalService.updateParentLayoutId(groupId, privateLayout, 2085 layoutId, parentLayoutId); 2086 } 2087 2088 /** 2089 * Updates the parent layout ID of the layout matching the primary key. If a 2090 * layout matching the parent primary key is found, the layout ID of that 2091 * layout is assigned, otherwise {@link 2092 * com.liferay.portal.model.LayoutConstants#DEFAULT_PARENT_LAYOUT_ID} is 2093 * assigned. 2094 * 2095 * @param plid the primary key of the layout 2096 * @param parentPlid the primary key of the parent layout 2097 * @return the layout matching the primary key 2098 * @throws PortalException if a layout with the primary key could not be 2099 found or if a valid parent layout ID to use could not be found 2100 */ 2101 @Override 2102 public com.liferay.portal.model.Layout updateParentLayoutId(long plid, 2103 long parentPlid) 2104 throws com.liferay.portal.kernel.exception.PortalException { 2105 return _layoutLocalService.updateParentLayoutId(plid, parentPlid); 2106 } 2107 2108 /** 2109 * Updates the parent layout ID and priority of the layout. 2110 * 2111 * @param plid the primary key of the layout 2112 * @param parentPlid the primary key of the parent layout 2113 * @param priority the layout's new priority 2114 * @return the layout matching the primary key 2115 * @throws PortalException if a layout with the primary key could not be 2116 found or if a valid parent layout ID could not be found 2117 */ 2118 @Override 2119 public com.liferay.portal.model.Layout updateParentLayoutIdAndPriority( 2120 long plid, long parentPlid, int priority) 2121 throws com.liferay.portal.kernel.exception.PortalException { 2122 return _layoutLocalService.updateParentLayoutIdAndPriority(plid, 2123 parentPlid, priority); 2124 } 2125 2126 /** 2127 * Updates the priorities of the layouts. 2128 * 2129 * @param groupId the primary key of the group 2130 * @param privateLayout whether the layout is private to the group 2131 * @throws PortalException if a matching layout could not be found 2132 */ 2133 @Override 2134 public void updatePriorities(long groupId, boolean privateLayout) 2135 throws com.liferay.portal.kernel.exception.PortalException { 2136 _layoutLocalService.updatePriorities(groupId, privateLayout); 2137 } 2138 2139 /** 2140 * Updates the priority of the layout matching the group, layout ID, and 2141 * privacy, setting the layout's priority based on the priorities of the 2142 * next and previous layouts. 2143 * 2144 * @param groupId the primary key of the group 2145 * @param privateLayout whether the layout is private to the group 2146 * @param layoutId the primary key of the layout 2147 * @param nextLayoutId the primary key of the next layout 2148 * @param previousLayoutId the primary key of the previous layout 2149 * @return the updated layout 2150 * @throws PortalException if a matching layout could not be found 2151 */ 2152 @Override 2153 public com.liferay.portal.model.Layout updatePriority(long groupId, 2154 boolean privateLayout, long layoutId, long nextLayoutId, 2155 long previousLayoutId) 2156 throws com.liferay.portal.kernel.exception.PortalException { 2157 return _layoutLocalService.updatePriority(groupId, privateLayout, 2158 layoutId, nextLayoutId, previousLayoutId); 2159 } 2160 2161 /** 2162 * Updates the priority of the layout matching the group, layout ID, and 2163 * privacy. 2164 * 2165 * @param groupId the primary key of the group 2166 * @param privateLayout whether the layout is private to the group 2167 * @param layoutId the primary key of the layout 2168 * @param priority the layout's new priority 2169 * @return the updated layout 2170 * @throws PortalException if a matching layout could not be found 2171 */ 2172 @Override 2173 public com.liferay.portal.model.Layout updatePriority(long groupId, 2174 boolean privateLayout, long layoutId, int priority) 2175 throws com.liferay.portal.kernel.exception.PortalException { 2176 return _layoutLocalService.updatePriority(groupId, privateLayout, 2177 layoutId, priority); 2178 } 2179 2180 /** 2181 * Updates the priority of the layout. 2182 * 2183 * @param layout the layout to be updated 2184 * @param priority the layout's new priority 2185 * @return the updated layout 2186 * @throws PortalException if a portal exception occurred 2187 */ 2188 @Override 2189 public com.liferay.portal.model.Layout updatePriority( 2190 com.liferay.portal.model.Layout layout, int priority) 2191 throws com.liferay.portal.kernel.exception.PortalException { 2192 return _layoutLocalService.updatePriority(layout, priority); 2193 } 2194 2195 /** 2196 * Updates the priority of the layout matching the primary key. 2197 * 2198 * @param plid the primary key of the layout 2199 * @param priority the layout's new priority 2200 * @return the updated layout 2201 * @throws PortalException if a layout with the primary key could not be 2202 found 2203 */ 2204 @Override 2205 public com.liferay.portal.model.Layout updatePriority(long plid, 2206 int priority) 2207 throws com.liferay.portal.kernel.exception.PortalException { 2208 return _layoutLocalService.updatePriority(plid, priority); 2209 } 2210 2211 /** 2212 * Updates the names of the portlets within scope of the group, the scope of 2213 * the layout's UUID, and the privacy. 2214 * 2215 * @param groupId the primary key of the group 2216 * @param privateLayout whether the layout is private to the group 2217 * @param layoutId the primary key of the layout whose UUID to match 2218 * @param name the new name for the portlets 2219 * @param languageId the primary key of the language 2220 * @throws PortalException if a matching layout could not be found 2221 * @see com.liferay.portlet.portletconfiguration.action.EditScopeAction 2222 * @deprecated As of 6.2.0, with no direct replacement 2223 */ 2224 @Deprecated 2225 @Override 2226 public void updateScopedPortletNames(long groupId, boolean privateLayout, 2227 long layoutId, java.lang.String name, java.lang.String languageId) 2228 throws com.liferay.portal.kernel.exception.PortalException { 2229 _layoutLocalService.updateScopedPortletNames(groupId, privateLayout, 2230 layoutId, name, languageId); 2231 } 2232 2233 /** 2234 * @deprecated As of 6.2.0, with no direct replacement 2235 */ 2236 @Deprecated 2237 @Override 2238 public void updateScopedPortletNames(long groupId, boolean privateLayout, 2239 long layoutId, 2240 java.util.Map<java.util.Locale, java.lang.String> nameMap, 2241 java.util.List<java.util.Locale> nameMapModifiedLocales) 2242 throws com.liferay.portal.kernel.exception.PortalException { 2243 _layoutLocalService.updateScopedPortletNames(groupId, privateLayout, 2244 layoutId, nameMap, nameMapModifiedLocales); 2245 } 2246 2247 /** 2248 * @throws PortalException 2249 * @deprecated As of 7.0.0, replaced by {@link 2250 com.liferay.portlet.exportimport.service.ExportImportLocalService#validateImportLayoutsFile( 2251 ExportImportConfiguration, File)} 2252 */ 2253 @Deprecated 2254 @Override 2255 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile( 2256 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 2257 java.io.File file) 2258 throws com.liferay.portal.kernel.exception.PortalException { 2259 return _layoutLocalService.validateImportLayoutsFile(exportImportConfiguration, 2260 file); 2261 } 2262 2263 /** 2264 * @throws PortalException 2265 * @deprecated As of 7.0.0, replaced by {@link 2266 com.liferay.portlet.exportimport.service.ExportImportLocalService#validateImportLayoutsFile( 2267 ExportImportConfiguration, InputStream)} 2268 */ 2269 @Deprecated 2270 @Override 2271 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile( 2272 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 2273 java.io.InputStream inputStream) 2274 throws com.liferay.portal.kernel.exception.PortalException { 2275 return _layoutLocalService.validateImportLayoutsFile(exportImportConfiguration, 2276 inputStream); 2277 } 2278 2279 /** 2280 * @throws PortalException 2281 * @deprecated As of 7.0.0, with no direct replacement 2282 */ 2283 @Deprecated 2284 @Override 2285 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile( 2286 long userId, long groupId, boolean privateLayout, 2287 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 2288 java.io.File file) 2289 throws com.liferay.portal.kernel.exception.PortalException { 2290 return _layoutLocalService.validateImportLayoutsFile(userId, groupId, 2291 privateLayout, parameterMap, file); 2292 } 2293 2294 /** 2295 * @throws PortalException 2296 * @deprecated As of 7.0.0, with no direct replacement 2297 */ 2298 @Deprecated 2299 @Override 2300 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile( 2301 long userId, long groupId, boolean privateLayout, 2302 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 2303 java.io.InputStream inputStream) 2304 throws com.liferay.portal.kernel.exception.PortalException { 2305 return _layoutLocalService.validateImportLayoutsFile(userId, groupId, 2306 privateLayout, parameterMap, inputStream); 2307 } 2308 2309 /** 2310 * @throws PortalException 2311 * @deprecated As of 7.0.0, replaced by {@link 2312 com.liferay.portlet.exportimport.service.ExportImportLocalService#validateImportPortletInfo( 2313 ExportImportConfiguration, File)} 2314 */ 2315 @Deprecated 2316 @Override 2317 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo( 2318 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 2319 java.io.File file) 2320 throws com.liferay.portal.kernel.exception.PortalException { 2321 return _layoutLocalService.validateImportPortletInfo(exportImportConfiguration, 2322 file); 2323 } 2324 2325 /** 2326 * @throws PortalException 2327 * @deprecated As of 7.0.0, replaced by {@link 2328 com.liferay.portlet.exportimport.service.ExportImportLocalService#validateImportPortletInfo( 2329 ExportImportConfiguration, InputStream)} 2330 */ 2331 @Deprecated 2332 @Override 2333 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo( 2334 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration, 2335 java.io.InputStream inputStream) 2336 throws com.liferay.portal.kernel.exception.PortalException { 2337 return _layoutLocalService.validateImportPortletInfo(exportImportConfiguration, 2338 inputStream); 2339 } 2340 2341 /** 2342 * @throws PortalException 2343 * @deprecated As of 7.0.0, with no direct replacement 2344 */ 2345 @Deprecated 2346 @Override 2347 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo( 2348 long userId, long plid, long groupId, java.lang.String portletId, 2349 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 2350 java.io.File file) 2351 throws com.liferay.portal.kernel.exception.PortalException { 2352 return _layoutLocalService.validateImportPortletInfo(userId, plid, 2353 groupId, portletId, parameterMap, file); 2354 } 2355 2356 /** 2357 * @throws PortalException 2358 * @deprecated As of 7.0.0, with no direct replacement 2359 */ 2360 @Deprecated 2361 @Override 2362 public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo( 2363 long userId, long plid, long groupId, java.lang.String portletId, 2364 java.util.Map<java.lang.String, java.lang.String[]> parameterMap, 2365 java.io.InputStream inputStream) 2366 throws com.liferay.portal.kernel.exception.PortalException { 2367 return _layoutLocalService.validateImportPortletInfo(userId, plid, 2368 groupId, portletId, parameterMap, inputStream); 2369 } 2370 2371 /** 2372 * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} 2373 */ 2374 @Deprecated 2375 public LayoutLocalService getWrappedLayoutLocalService() { 2376 return _layoutLocalService; 2377 } 2378 2379 /** 2380 * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} 2381 */ 2382 @Deprecated 2383 public void setWrappedLayoutLocalService( 2384 LayoutLocalService layoutLocalService) { 2385 _layoutLocalService = layoutLocalService; 2386 } 2387 2388 @Override 2389 public LayoutLocalService getWrappedService() { 2390 return _layoutLocalService; 2391 } 2392 2393 @Override 2394 public void setWrappedService(LayoutLocalService layoutLocalService) { 2395 _layoutLocalService = layoutLocalService; 2396 } 2397 2398 private LayoutLocalService _layoutLocalService; 2399 }