001 /** 002 * Copyright (c) 2000-2011 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.model; 016 017 /** 018 * <p> 019 * This class is a wrapper for {@link Portlet}. 020 * </p> 021 * 022 * @author Brian Wing Shun Chan 023 * @see Portlet 024 * @generated 025 */ 026 public class PortletWrapper implements Portlet { 027 public PortletWrapper(Portlet portlet) { 028 _portlet = portlet; 029 } 030 031 public Class<?> getModelClass() { 032 return Portlet.class; 033 } 034 035 public String getModelClassName() { 036 return Portlet.class.getName(); 037 } 038 039 /** 040 * Returns the primary key of this portlet. 041 * 042 * @return the primary key of this portlet 043 */ 044 public long getPrimaryKey() { 045 return _portlet.getPrimaryKey(); 046 } 047 048 /** 049 * Sets the primary key of this portlet. 050 * 051 * @param primaryKey the primary key of this portlet 052 */ 053 public void setPrimaryKey(long primaryKey) { 054 _portlet.setPrimaryKey(primaryKey); 055 } 056 057 /** 058 * Returns the ID of this portlet. 059 * 060 * @return the ID of this portlet 061 */ 062 public long getId() { 063 return _portlet.getId(); 064 } 065 066 /** 067 * Sets the ID of this portlet. 068 * 069 * @param id the ID of this portlet 070 */ 071 public void setId(long id) { 072 _portlet.setId(id); 073 } 074 075 /** 076 * Returns the company ID of this portlet. 077 * 078 * @return the company ID of this portlet 079 */ 080 public long getCompanyId() { 081 return _portlet.getCompanyId(); 082 } 083 084 /** 085 * Sets the company ID of this portlet. 086 * 087 * @param companyId the company ID of this portlet 088 */ 089 public void setCompanyId(long companyId) { 090 _portlet.setCompanyId(companyId); 091 } 092 093 /** 094 * Returns the portlet ID of this portlet. 095 * 096 * @return the portlet ID of this portlet 097 */ 098 public java.lang.String getPortletId() { 099 return _portlet.getPortletId(); 100 } 101 102 /** 103 * Sets the portlet ID of this portlet. 104 * 105 * @param portletId the portlet ID of this portlet 106 */ 107 public void setPortletId(java.lang.String portletId) { 108 _portlet.setPortletId(portletId); 109 } 110 111 /** 112 * Returns the roles of this portlet. 113 * 114 * @return the roles of this portlet 115 */ 116 public java.lang.String getRoles() { 117 return _portlet.getRoles(); 118 } 119 120 /** 121 * Sets the roles of this portlet. 122 * 123 * @param roles the roles of this portlet 124 */ 125 public void setRoles(java.lang.String roles) { 126 _portlet.setRoles(roles); 127 } 128 129 /** 130 * Returns the active of this portlet. 131 * 132 * @return the active of this portlet 133 */ 134 public boolean getActive() { 135 return _portlet.getActive(); 136 } 137 138 /** 139 * Returns <code>true</code> if this portlet is active. 140 * 141 * @return <code>true</code> if this portlet is active; <code>false</code> otherwise 142 */ 143 public boolean isActive() { 144 return _portlet.isActive(); 145 } 146 147 /** 148 * Sets whether this portlet is active. 149 * 150 * @param active the active of this portlet 151 */ 152 public void setActive(boolean active) { 153 _portlet.setActive(active); 154 } 155 156 public boolean isNew() { 157 return _portlet.isNew(); 158 } 159 160 public void setNew(boolean n) { 161 _portlet.setNew(n); 162 } 163 164 public boolean isCachedModel() { 165 return _portlet.isCachedModel(); 166 } 167 168 public void setCachedModel(boolean cachedModel) { 169 _portlet.setCachedModel(cachedModel); 170 } 171 172 public boolean isEscapedModel() { 173 return _portlet.isEscapedModel(); 174 } 175 176 public java.io.Serializable getPrimaryKeyObj() { 177 return _portlet.getPrimaryKeyObj(); 178 } 179 180 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { 181 _portlet.setPrimaryKeyObj(primaryKeyObj); 182 } 183 184 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { 185 return _portlet.getExpandoBridge(); 186 } 187 188 public void setExpandoBridgeAttributes( 189 com.liferay.portal.service.ServiceContext serviceContext) { 190 _portlet.setExpandoBridgeAttributes(serviceContext); 191 } 192 193 @Override 194 public java.lang.Object clone() { 195 return new PortletWrapper((Portlet)_portlet.clone()); 196 } 197 198 public int compareTo(com.liferay.portal.model.Portlet portlet) { 199 return _portlet.compareTo(portlet); 200 } 201 202 @Override 203 public int hashCode() { 204 return _portlet.hashCode(); 205 } 206 207 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Portlet> toCacheModel() { 208 return _portlet.toCacheModel(); 209 } 210 211 public com.liferay.portal.model.Portlet toEscapedModel() { 212 return new PortletWrapper(_portlet.toEscapedModel()); 213 } 214 215 @Override 216 public java.lang.String toString() { 217 return _portlet.toString(); 218 } 219 220 public java.lang.String toXmlString() { 221 return _portlet.toXmlString(); 222 } 223 224 public void persist() 225 throws com.liferay.portal.kernel.exception.SystemException { 226 _portlet.persist(); 227 } 228 229 /** 230 * Returns the root portlet of this portlet instance. 231 * 232 * @return the root portlet of this portlet instance 233 */ 234 public com.liferay.portal.model.Portlet getRootPortlet() { 235 return _portlet.getRootPortlet(); 236 } 237 238 /** 239 * Returns the root portlet ID of the portlet. 240 * 241 * @return the root portlet ID of the portlet 242 */ 243 public java.lang.String getRootPortletId() { 244 return _portlet.getRootPortletId(); 245 } 246 247 /** 248 * Returns the instance ID of the portlet. 249 * 250 * @return the instance ID of the portlet 251 */ 252 public java.lang.String getInstanceId() { 253 return _portlet.getInstanceId(); 254 } 255 256 /** 257 * Returns the plugin ID of the portlet. 258 * 259 * @return the plugin ID of the portlet 260 */ 261 public java.lang.String getPluginId() { 262 return _portlet.getPluginId(); 263 } 264 265 /** 266 * Returns the plugin type of the portlet. 267 * 268 * @return the plugin type of the portlet 269 */ 270 public java.lang.String getPluginType() { 271 return _portlet.getPluginType(); 272 } 273 274 /** 275 * Returns this portlet's plugin package. 276 * 277 * @return this portlet's plugin package 278 */ 279 public com.liferay.portal.kernel.plugin.PluginPackage getPluginPackage() { 280 return _portlet.getPluginPackage(); 281 } 282 283 /** 284 * Sets this portlet's plugin package. 285 * 286 * @param pluginPackage this portlet's plugin package 287 */ 288 public void setPluginPackage( 289 com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) { 290 _portlet.setPluginPackage(pluginPackage); 291 } 292 293 /** 294 * Get the default plugin settings of the portlet. 295 * 296 * @return the plugin settings 297 */ 298 public com.liferay.portal.model.PluginSetting getDefaultPluginSetting() { 299 return _portlet.getDefaultPluginSetting(); 300 } 301 302 /** 303 * Sets the default plugin settings of the portlet. 304 * 305 * @param pluginSetting the plugin setting 306 */ 307 public void setDefaultPluginSetting( 308 com.liferay.portal.model.PluginSetting pluginSetting) { 309 _portlet.setDefaultPluginSetting(pluginSetting); 310 } 311 312 /** 313 * Returns the timestamp of the portlet. 314 * 315 * @return the timestamp of the portlet 316 */ 317 public long getTimestamp() { 318 return _portlet.getTimestamp(); 319 } 320 321 /** 322 * Sets the timestamp of the portlet. 323 * 324 * @param timestamp the timestamp of the portlet 325 */ 326 public void setTimestamp(long timestamp) { 327 _portlet.setTimestamp(timestamp); 328 } 329 330 /** 331 * Returns the icon of the portlet. 332 * 333 * @return the icon of the portlet 334 */ 335 public java.lang.String getIcon() { 336 return _portlet.getIcon(); 337 } 338 339 /** 340 * Sets the icon of the portlet. 341 * 342 * @param icon the icon of the portlet 343 */ 344 public void setIcon(java.lang.String icon) { 345 _portlet.setIcon(icon); 346 } 347 348 /** 349 * Returns the virtual path of the portlet. 350 * 351 * @return the virtual path of the portlet 352 */ 353 public java.lang.String getVirtualPath() { 354 return _portlet.getVirtualPath(); 355 } 356 357 /** 358 * Sets the virtual path of the portlet. 359 * 360 * @param virtualPath the virtual path of the portlet 361 */ 362 public void setVirtualPath(java.lang.String virtualPath) { 363 _portlet.setVirtualPath(virtualPath); 364 } 365 366 /** 367 * Returns the struts path of the portlet. 368 * 369 * @return the struts path of the portlet 370 */ 371 public java.lang.String getStrutsPath() { 372 return _portlet.getStrutsPath(); 373 } 374 375 /** 376 * Sets the struts path of the portlet. 377 * 378 * @param strutsPath the struts path of the portlet 379 */ 380 public void setStrutsPath(java.lang.String strutsPath) { 381 _portlet.setStrutsPath(strutsPath); 382 } 383 384 /** 385 * Returns the parent struts path of the portlet. 386 * 387 * @return the parent struts path of the portlet. 388 */ 389 public java.lang.String getParentStrutsPath() { 390 return _portlet.getParentStrutsPath(); 391 } 392 393 /** 394 * Sets the parent struts path of the portlet. 395 * 396 * @param parentStrutsPath the parent struts path of the portlet 397 */ 398 public void setParentStrutsPath(java.lang.String parentStrutsPath) { 399 _portlet.setParentStrutsPath(parentStrutsPath); 400 } 401 402 /** 403 * Returns the name of the portlet. 404 * 405 * @return the display name of the portlet 406 */ 407 public java.lang.String getPortletName() { 408 return _portlet.getPortletName(); 409 } 410 411 /** 412 * Sets the name of the portlet. 413 * 414 * @param portletName the name of the portlet 415 */ 416 public void setPortletName(java.lang.String portletName) { 417 _portlet.setPortletName(portletName); 418 } 419 420 /** 421 * Returns the display name of the portlet. 422 * 423 * @return the display name of the portlet 424 */ 425 public java.lang.String getDisplayName() { 426 return _portlet.getDisplayName(); 427 } 428 429 /** 430 * Sets the display name of the portlet. 431 * 432 * @param displayName the display name of the portlet 433 */ 434 public void setDisplayName(java.lang.String displayName) { 435 _portlet.setDisplayName(displayName); 436 } 437 438 /** 439 * Returns the name of the portlet class of the portlet. 440 * 441 * @return the name of the portlet class of the portlet 442 */ 443 public java.lang.String getPortletClass() { 444 return _portlet.getPortletClass(); 445 } 446 447 /** 448 * Sets the name of the portlet class of the portlet. 449 * 450 * @param portletClass the name of the portlet class of the portlet 451 */ 452 public void setPortletClass(java.lang.String portletClass) { 453 _portlet.setPortletClass(portletClass); 454 } 455 456 /** 457 * Returns the configuration action class of the portlet. 458 * 459 * @return the configuration action class of the portlet 460 */ 461 public java.lang.String getConfigurationActionClass() { 462 return _portlet.getConfigurationActionClass(); 463 } 464 465 /** 466 * Sets the configuration action class of the portlet. 467 * 468 * @param configurationActionClass the configuration action class of the 469 portlet 470 */ 471 public void setConfigurationActionClass( 472 java.lang.String configurationActionClass) { 473 _portlet.setConfigurationActionClass(configurationActionClass); 474 } 475 476 /** 477 * Returns the configuration action instance of the portlet. 478 * 479 * @return the configuration action instance of the portlet 480 */ 481 public com.liferay.portal.kernel.portlet.ConfigurationAction getConfigurationActionInstance() { 482 return _portlet.getConfigurationActionInstance(); 483 } 484 485 /** 486 * Returns the name of the classes that represent indexers associated with 487 * the portlet. 488 * 489 * @return the name of the classes that represent indexers associated with 490 the portlet 491 */ 492 public java.util.List<java.lang.String> getIndexerClasses() { 493 return _portlet.getIndexerClasses(); 494 } 495 496 /** 497 * Sets the name of the classes that represent indexers associated with the 498 * portlet. 499 * 500 * @param indexerClasses the name of the classes that represent indexers 501 associated with the portlet 502 */ 503 public void setIndexerClasses( 504 java.util.List<java.lang.String> indexerClasses) { 505 _portlet.setIndexerClasses(indexerClasses); 506 } 507 508 /** 509 * Returns the indexer instances of the portlet. 510 * 511 * @return the indexer instances of the portlet 512 */ 513 public java.util.List<com.liferay.portal.kernel.search.Indexer> getIndexerInstances() { 514 return _portlet.getIndexerInstances(); 515 } 516 517 /** 518 * Returns the name of the open search class of the portlet. 519 * 520 * @return the name of the open search class of the portlet 521 */ 522 public java.lang.String getOpenSearchClass() { 523 return _portlet.getOpenSearchClass(); 524 } 525 526 /** 527 * Sets the name of the open search class of the portlet. 528 * 529 * @param openSearchClass the name of the open search class of the portlet 530 */ 531 public void setOpenSearchClass(java.lang.String openSearchClass) { 532 _portlet.setOpenSearchClass(openSearchClass); 533 } 534 535 /** 536 * Returns the indexer instance of the portlet. 537 * 538 * @return the indexer instance of the portlet 539 */ 540 public com.liferay.portal.kernel.search.OpenSearch getOpenSearchInstance() { 541 return _portlet.getOpenSearchInstance(); 542 } 543 544 /** 545 * Adds a scheduler entry. 546 */ 547 public void addSchedulerEntry( 548 com.liferay.portal.kernel.scheduler.SchedulerEntry schedulerEntry) { 549 _portlet.addSchedulerEntry(schedulerEntry); 550 } 551 552 /** 553 * Returns the scheduler entries of the portlet. 554 * 555 * @return the scheduler entries of the portlet 556 */ 557 public java.util.List<com.liferay.portal.kernel.scheduler.SchedulerEntry> getSchedulerEntries() { 558 return _portlet.getSchedulerEntries(); 559 } 560 561 /** 562 * Sets the scheduler entries of the portlet. 563 * 564 * @param schedulerEntries the scheduler entries of the portlet 565 */ 566 public void setSchedulerEntries( 567 java.util.List<com.liferay.portal.kernel.scheduler.SchedulerEntry> schedulerEntries) { 568 _portlet.setSchedulerEntries(schedulerEntries); 569 } 570 571 /** 572 * Returns the name of the portlet URL class of the portlet. 573 * 574 * @return the name of the portlet URL class of the portlet 575 */ 576 public java.lang.String getPortletURLClass() { 577 return _portlet.getPortletURLClass(); 578 } 579 580 /** 581 * Sets the name of the portlet URL class of the portlet. 582 * 583 * @param portletURLClass the name of the portlet URL class of the portlet 584 */ 585 public void setPortletURLClass(java.lang.String portletURLClass) { 586 _portlet.setPortletURLClass(portletURLClass); 587 } 588 589 /** 590 * Returns the name of the friendly URL mapper class of the portlet. 591 * 592 * @return the name of the friendly URL mapper class of the portlet 593 */ 594 public java.lang.String getFriendlyURLMapperClass() { 595 return _portlet.getFriendlyURLMapperClass(); 596 } 597 598 /** 599 * Sets the name of the friendly URL mapper class of the portlet. 600 * 601 * @param friendlyURLMapperClass the name of the friendly URL mapper class 602 of the portlet 603 */ 604 public void setFriendlyURLMapperClass( 605 java.lang.String friendlyURLMapperClass) { 606 _portlet.setFriendlyURLMapperClass(friendlyURLMapperClass); 607 } 608 609 /** 610 * Returns the friendly URL mapper instance of the portlet. 611 * 612 * @return the friendly URL mapper instance of the portlet 613 */ 614 public com.liferay.portal.kernel.portlet.FriendlyURLMapper getFriendlyURLMapperInstance() { 615 return _portlet.getFriendlyURLMapperInstance(); 616 } 617 618 /** 619 * Returns the name of the friendly URL mapping of the portlet. 620 * 621 * @return the name of the friendly URL mapping of the portlet 622 */ 623 public java.lang.String getFriendlyURLMapping() { 624 return _portlet.getFriendlyURLMapping(); 625 } 626 627 /** 628 * Sets the name of the friendly URL mapping of the portlet. 629 * 630 * @param friendlyURLMapping the name of the friendly URL mapping of the 631 portlet 632 */ 633 public void setFriendlyURLMapping(java.lang.String friendlyURLMapping) { 634 _portlet.setFriendlyURLMapping(friendlyURLMapping); 635 } 636 637 /** 638 * Returns the class loader resource path to the friendly URL routes of the 639 * portlet. 640 * 641 * @return the class loader resource path to the friendly URL routes of the 642 portlet 643 */ 644 public java.lang.String getFriendlyURLRoutes() { 645 return _portlet.getFriendlyURLRoutes(); 646 } 647 648 /** 649 * Sets the class loader resource path to the friendly URL routes of the 650 * portlet. 651 * 652 * @param friendlyURLRoutes the class loader resource path to the friendly 653 URL routes of the portlet 654 */ 655 public void setFriendlyURLRoutes(java.lang.String friendlyURLRoutes) { 656 _portlet.setFriendlyURLRoutes(friendlyURLRoutes); 657 } 658 659 /** 660 * Returns the name of the URL encoder class of the portlet. 661 * 662 * @return the name of the URL encoder class of the portlet 663 */ 664 public java.lang.String getURLEncoderClass() { 665 return _portlet.getURLEncoderClass(); 666 } 667 668 /** 669 * Sets the name of the URL encoder class of the portlet. 670 * 671 * @param urlEncoderClass the name of the URL encoder class of the portlet 672 */ 673 public void setURLEncoderClass(java.lang.String urlEncoderClass) { 674 _portlet.setURLEncoderClass(urlEncoderClass); 675 } 676 677 /** 678 * Returns the URL encoder instance of the portlet. 679 * 680 * @return the URL encoder instance of the portlet 681 */ 682 public com.liferay.portal.kernel.servlet.URLEncoder getURLEncoderInstance() { 683 return _portlet.getURLEncoderInstance(); 684 } 685 686 /** 687 * Returns the name of the portlet data handler class of the portlet. 688 * 689 * @return the name of the portlet data handler class of the portlet 690 */ 691 public java.lang.String getPortletDataHandlerClass() { 692 return _portlet.getPortletDataHandlerClass(); 693 } 694 695 /** 696 * Sets the name of the portlet data handler class of the portlet. 697 * 698 * @param portletDataHandlerClass the name of portlet data handler class of 699 the portlet 700 */ 701 public void setPortletDataHandlerClass( 702 java.lang.String portletDataHandlerClass) { 703 _portlet.setPortletDataHandlerClass(portletDataHandlerClass); 704 } 705 706 /** 707 * Returns the portlet data handler instance of the portlet. 708 * 709 * @return the portlet data handler instance of the portlet 710 */ 711 public com.liferay.portal.kernel.lar.PortletDataHandler getPortletDataHandlerInstance() { 712 return _portlet.getPortletDataHandlerInstance(); 713 } 714 715 /** 716 * Returns the name of the portlet layout listener class of the portlet. 717 * 718 * @return the name of the portlet layout listener class of the portlet 719 */ 720 public java.lang.String getPortletLayoutListenerClass() { 721 return _portlet.getPortletLayoutListenerClass(); 722 } 723 724 /** 725 * Sets the name of the portlet layout listener class of the portlet. 726 * 727 * @param portletLayoutListenerClass the name of the portlet layout listener 728 class of the portlet 729 */ 730 public void setPortletLayoutListenerClass( 731 java.lang.String portletLayoutListenerClass) { 732 _portlet.setPortletLayoutListenerClass(portletLayoutListenerClass); 733 } 734 735 /** 736 * Returns the portlet layout listener instance of the portlet. 737 * 738 * @return the portlet layout listener instance of the portlet 739 */ 740 public com.liferay.portal.kernel.portlet.PortletLayoutListener getPortletLayoutListenerInstance() { 741 return _portlet.getPortletLayoutListenerInstance(); 742 } 743 744 /** 745 * Returns the name of the poller processor class of the portlet. 746 * 747 * @return the name of the poller processor class of the portlet 748 */ 749 public java.lang.String getPollerProcessorClass() { 750 return _portlet.getPollerProcessorClass(); 751 } 752 753 /** 754 * Sets the name of the poller processor class of the portlet. 755 * 756 * @param pollerProcessorClass the name of the poller processor class of the 757 portlet 758 */ 759 public void setPollerProcessorClass(java.lang.String pollerProcessorClass) { 760 _portlet.setPollerProcessorClass(pollerProcessorClass); 761 } 762 763 /** 764 * Returns the poller processor instance of the portlet. 765 * 766 * @return the poller processor instance of the portlet 767 */ 768 public com.liferay.portal.kernel.poller.PollerProcessor getPollerProcessorInstance() { 769 return _portlet.getPollerProcessorInstance(); 770 } 771 772 /** 773 * Returns the name of the POP message listener class of the portlet. 774 * 775 * @return the name of the POP message listener class of the portlet 776 */ 777 public java.lang.String getPopMessageListenerClass() { 778 return _portlet.getPopMessageListenerClass(); 779 } 780 781 /** 782 * Sets the name of the POP message listener class of the portlet. 783 * 784 * @param popMessageListenerClass the name of the POP message listener class 785 of the portlet 786 */ 787 public void setPopMessageListenerClass( 788 java.lang.String popMessageListenerClass) { 789 _portlet.setPopMessageListenerClass(popMessageListenerClass); 790 } 791 792 /** 793 * Returns the POP message listener instance of the portlet. 794 * 795 * @return the POP message listener instance of the portlet 796 */ 797 public com.liferay.portal.kernel.pop.MessageListener getPopMessageListenerInstance() { 798 return _portlet.getPopMessageListenerInstance(); 799 } 800 801 /** 802 * Returns the name of the social activity interpreter class of the portlet. 803 * 804 * @return the name of the social activity interpreter class of the portlet 805 */ 806 public java.lang.String getSocialActivityInterpreterClass() { 807 return _portlet.getSocialActivityInterpreterClass(); 808 } 809 810 /** 811 * Sets the name of the social activity interpreter class of the portlet. 812 * 813 * @param socialActivityInterpreterClass the name of the activity 814 interpreter class of the portlet 815 */ 816 public void setSocialActivityInterpreterClass( 817 java.lang.String socialActivityInterpreterClass) { 818 _portlet.setSocialActivityInterpreterClass(socialActivityInterpreterClass); 819 } 820 821 /** 822 * Returns the name of the social activity interpreter instance of the 823 * portlet. 824 * 825 * @return the name of the social activity interpreter instance of the 826 portlet 827 */ 828 public com.liferay.portlet.social.model.SocialActivityInterpreter getSocialActivityInterpreterInstance() { 829 return _portlet.getSocialActivityInterpreterInstance(); 830 } 831 832 /** 833 * Returns the name of the social request interpreter class of the portlet. 834 * 835 * @return the name of the social request interpreter class of the portlet 836 */ 837 public java.lang.String getSocialRequestInterpreterClass() { 838 return _portlet.getSocialRequestInterpreterClass(); 839 } 840 841 /** 842 * Sets the name of the social request interpreter class of the portlet. 843 * 844 * @param socialRequestInterpreterClass the name of the request interpreter 845 class of the portlet 846 */ 847 public void setSocialRequestInterpreterClass( 848 java.lang.String socialRequestInterpreterClass) { 849 _portlet.setSocialRequestInterpreterClass(socialRequestInterpreterClass); 850 } 851 852 /** 853 * Returns the name of the social request interpreter instance of the 854 * portlet. 855 * 856 * @return the name of the social request interpreter instance of the 857 portlet 858 */ 859 public com.liferay.portlet.social.model.SocialRequestInterpreter getSocialRequestInterpreterInstance() { 860 return _portlet.getSocialRequestInterpreterInstance(); 861 } 862 863 /** 864 * Returns the name of the WebDAV storage token of the portlet. 865 * 866 * @return the name of the WebDAV storage token of the portlet 867 */ 868 public java.lang.String getWebDAVStorageToken() { 869 return _portlet.getWebDAVStorageToken(); 870 } 871 872 /** 873 * Sets the name of the WebDAV storage token of the portlet. 874 * 875 * @param webDAVStorageToken the name of the WebDAV storage token of the 876 portlet 877 */ 878 public void setWebDAVStorageToken(java.lang.String webDAVStorageToken) { 879 _portlet.setWebDAVStorageToken(webDAVStorageToken); 880 } 881 882 /** 883 * Returns the name of the WebDAV storage class of the portlet. 884 * 885 * @return the name of the WebDAV storage class of the portlet 886 */ 887 public java.lang.String getWebDAVStorageClass() { 888 return _portlet.getWebDAVStorageClass(); 889 } 890 891 /** 892 * Sets the name of the WebDAV storage class of the portlet. 893 * 894 * @param webDAVStorageClass the name of the WebDAV storage class of the 895 portlet 896 */ 897 public void setWebDAVStorageClass(java.lang.String webDAVStorageClass) { 898 _portlet.setWebDAVStorageClass(webDAVStorageClass); 899 } 900 901 /** 902 * Returns the name of the WebDAV storage instance of the portlet. 903 * 904 * @return the name of the WebDAV storage instance of the portlet 905 */ 906 public com.liferay.portal.kernel.webdav.WebDAVStorage getWebDAVStorageInstance() { 907 return _portlet.getWebDAVStorageInstance(); 908 } 909 910 /** 911 * Returns the name of the XML-RPC method class of the portlet. 912 * 913 * @return the name of the XML-RPC method class of the portlet 914 */ 915 public java.lang.String getXmlRpcMethodClass() { 916 return _portlet.getXmlRpcMethodClass(); 917 } 918 919 /** 920 * Sets the name of the XML-RPC method class of the portlet. 921 * 922 * @param xmlRpcMethodClass the name of the XML-RPC method class of the 923 portlet 924 */ 925 public void setXmlRpcMethodClass(java.lang.String xmlRpcMethodClass) { 926 _portlet.setXmlRpcMethodClass(xmlRpcMethodClass); 927 } 928 929 /** 930 * Returns the name of the XML-RPC method instance of the portlet. 931 * 932 * @return the name of the XML-RPC method instance of the portlet 933 */ 934 public com.liferay.portal.kernel.xmlrpc.Method getXmlRpcMethodInstance() { 935 return _portlet.getXmlRpcMethodInstance(); 936 } 937 938 /** 939 * Returns the name of the category of the Control Panel where the portlet 940 * will be shown. 941 * 942 * @return the name of the category of the Control Panel where the portlet 943 will be shown 944 */ 945 public java.lang.String getControlPanelEntryCategory() { 946 return _portlet.getControlPanelEntryCategory(); 947 } 948 949 /** 950 * Set the name of the category of the Control Panel where the portlet will 951 * be shown. 952 * 953 * @param controlPanelEntryCategory the name of the category of the Control 954 Panel where the portlet will be shown 955 */ 956 public void setControlPanelEntryCategory( 957 java.lang.String controlPanelEntryCategory) { 958 _portlet.setControlPanelEntryCategory(controlPanelEntryCategory); 959 } 960 961 /** 962 * Returns the relative weight of the portlet with respect to the other 963 * portlets in the same category of the Control Panel. 964 * 965 * @return the relative weight of the portlet with respect to the other 966 portlets in the same category of the Control Panel 967 */ 968 public double getControlPanelEntryWeight() { 969 return _portlet.getControlPanelEntryWeight(); 970 } 971 972 /** 973 * Sets the relative weight of the portlet with respect to the other 974 * portlets in the same category of the Control Panel. 975 * 976 * @param controlPanelEntryWeight the relative weight of the portlet with 977 respect to the other portlets in the same category of the Control 978 Panel 979 */ 980 public void setControlPanelEntryWeight(double controlPanelEntryWeight) { 981 _portlet.setControlPanelEntryWeight(controlPanelEntryWeight); 982 } 983 984 /** 985 * Returns the name of the class that will control when the portlet will be 986 * shown in the Control Panel. 987 * 988 * @return the name of the class that will control when the portlet will be 989 shown in the Control Panel 990 */ 991 public java.lang.String getControlPanelEntryClass() { 992 return _portlet.getControlPanelEntryClass(); 993 } 994 995 /** 996 * Sets the name of the class that will control when the portlet will be 997 * shown in the Control Panel. 998 * 999 * @param controlPanelEntryClass the name of the class that will control 1000 when the portlet will be shown in the Control Panel 1001 */ 1002 public void setControlPanelEntryClass( 1003 java.lang.String controlPanelEntryClass) { 1004 _portlet.setControlPanelEntryClass(controlPanelEntryClass); 1005 } 1006 1007 /** 1008 * Returns an instance of the class that will control when the portlet will 1009 * be shown in the Control Panel. 1010 * 1011 * @return the instance of the class that will control when the portlet will 1012 be shown in the Control Panel 1013 */ 1014 public com.liferay.portlet.ControlPanelEntry getControlPanelEntryInstance() { 1015 return _portlet.getControlPanelEntryInstance(); 1016 } 1017 1018 /** 1019 * Returns the names of the classes that represent asset types associated 1020 * with the portlet. 1021 * 1022 * @return the names of the classes that represent asset types associated 1023 with the portlet 1024 */ 1025 public java.util.List<java.lang.String> getAssetRendererFactoryClasses() { 1026 return _portlet.getAssetRendererFactoryClasses(); 1027 } 1028 1029 /** 1030 * Sets the name of the classes that represent asset types associated with 1031 * the portlet. 1032 * 1033 * @param assetRendererFactoryClasses the names of the classes that 1034 represent asset types associated with the portlet 1035 */ 1036 public void setAssetRendererFactoryClasses( 1037 java.util.List<java.lang.String> assetRendererFactoryClasses) { 1038 _portlet.setAssetRendererFactoryClasses(assetRendererFactoryClasses); 1039 } 1040 1041 /** 1042 * Returns the asset type instances of the portlet. 1043 * 1044 * @return the asset type instances of the portlet 1045 */ 1046 public java.util.List<com.liferay.portlet.asset.model.AssetRendererFactory> getAssetRendererFactoryInstances() { 1047 return _portlet.getAssetRendererFactoryInstances(); 1048 } 1049 1050 /** 1051 * Returns the names of the classes that represent atom collection adapters 1052 * associated with the portlet. 1053 * 1054 * @return the names of the classes that represent atom collection adapters 1055 associated with the portlet 1056 */ 1057 public java.util.List<java.lang.String> getAtomCollectionAdapterClasses() { 1058 return _portlet.getAtomCollectionAdapterClasses(); 1059 } 1060 1061 /** 1062 * Sets the name of the classes that represent atom collection adapters 1063 * associated with the portlet. 1064 * 1065 * @param atomCollectionAdapterClasses the names of the classes that 1066 represent atom collection adapters associated with the portlet 1067 */ 1068 public void setAtomCollectionAdapterClasses( 1069 java.util.List<java.lang.String> atomCollectionAdapterClasses) { 1070 _portlet.setAtomCollectionAdapterClasses(atomCollectionAdapterClasses); 1071 } 1072 1073 /** 1074 * Returns the atom collection adapter instances of the portlet. 1075 * 1076 * @return the atom collection adapter instances of the portlet 1077 */ 1078 public java.util.List<com.liferay.portal.kernel.atom.AtomCollectionAdapter<?>> getAtomCollectionAdapterInstances() { 1079 return _portlet.getAtomCollectionAdapterInstances(); 1080 } 1081 1082 /** 1083 * Returns the names of the classes that represent custom attribute displays 1084 * associated with the portlet. 1085 * 1086 * @return the names of the classes that represent asset types associated 1087 with the portlet 1088 */ 1089 public java.util.List<java.lang.String> getCustomAttributesDisplayClasses() { 1090 return _portlet.getCustomAttributesDisplayClasses(); 1091 } 1092 1093 /** 1094 * Sets the name of the classes that represent custom attribute displays 1095 * associated with the portlet. 1096 * 1097 * @param customAttributesDisplayClasses the names of the classes that 1098 represent custom attribute displays associated with the portlet 1099 */ 1100 public void setCustomAttributesDisplayClasses( 1101 java.util.List<java.lang.String> customAttributesDisplayClasses) { 1102 _portlet.setCustomAttributesDisplayClasses(customAttributesDisplayClasses); 1103 } 1104 1105 /** 1106 * Returns the custom attribute display instances of the portlet. 1107 * 1108 * @return the custom attribute display instances of the portlet 1109 */ 1110 public java.util.List<com.liferay.portlet.expando.model.CustomAttributesDisplay> getCustomAttributesDisplayInstances() { 1111 return _portlet.getCustomAttributesDisplayInstances(); 1112 } 1113 1114 /** 1115 * Returns the name of the permission propagator class of the portlet. 1116 * 1117 * @return the name of the permission propagator class of the portlet 1118 */ 1119 public java.lang.String getPermissionPropagatorClass() { 1120 return _portlet.getPermissionPropagatorClass(); 1121 } 1122 1123 /** 1124 * Sets the name of the permission propagator class of the portlet. 1125 * 1126 * @param pollerProcessorClass the name of the permission propagator class 1127 of the portlet 1128 */ 1129 public void setPermissionPropagatorClass( 1130 java.lang.String permissionPropagatorClass) { 1131 _portlet.setPermissionPropagatorClass(permissionPropagatorClass); 1132 } 1133 1134 /** 1135 * Returns the permission propagator instance of the portlet. 1136 * 1137 * @return the permission propagator instance of the portlet 1138 */ 1139 public com.liferay.portal.security.permission.PermissionPropagator getPermissionPropagatorInstance() { 1140 return _portlet.getPermissionPropagatorInstance(); 1141 } 1142 1143 /** 1144 * Returns the names of the classes that represent workflow handlers 1145 * associated with the portlet. 1146 * 1147 * @return the names of the classes that represent workflow handlers 1148 associated with the portlet 1149 */ 1150 public java.util.List<java.lang.String> getWorkflowHandlerClasses() { 1151 return _portlet.getWorkflowHandlerClasses(); 1152 } 1153 1154 /** 1155 * Sets the name of the classes that represent workflow handlers associated 1156 * to the portlet. 1157 * 1158 * @param workflowHandlerClasses the names of the classes that represent 1159 workflow handlers associated with the portlet 1160 */ 1161 public void setWorkflowHandlerClasses( 1162 java.util.List<java.lang.String> workflowHandlerClasses) { 1163 _portlet.setWorkflowHandlerClasses(workflowHandlerClasses); 1164 } 1165 1166 /** 1167 * Returns the workflow handler instances of the portlet. 1168 * 1169 * @return the workflow handler instances of the portlet 1170 */ 1171 public java.util.List<com.liferay.portal.kernel.workflow.WorkflowHandler> getWorkflowHandlerInstances() { 1172 return _portlet.getWorkflowHandlerInstances(); 1173 } 1174 1175 /** 1176 * Returns the default preferences of the portlet. 1177 * 1178 * @return the default preferences of the portlet 1179 */ 1180 public java.lang.String getDefaultPreferences() { 1181 return _portlet.getDefaultPreferences(); 1182 } 1183 1184 /** 1185 * Sets the default preferences of the portlet. 1186 * 1187 * @param defaultPreferences the default preferences of the portlet 1188 */ 1189 public void setDefaultPreferences(java.lang.String defaultPreferences) { 1190 _portlet.setDefaultPreferences(defaultPreferences); 1191 } 1192 1193 /** 1194 * Returns the name of the preferences validator class of the portlet. 1195 * 1196 * @return the name of the preferences validator class of the portlet 1197 */ 1198 public java.lang.String getPreferencesValidator() { 1199 return _portlet.getPreferencesValidator(); 1200 } 1201 1202 /** 1203 * Sets the name of the preferences validator class of the portlet. 1204 * 1205 * @param preferencesValidator the name of the preferences validator class 1206 of the portlet 1207 */ 1208 public void setPreferencesValidator(java.lang.String preferencesValidator) { 1209 _portlet.setPreferencesValidator(preferencesValidator); 1210 } 1211 1212 /** 1213 * Returns <code>true</code> if preferences are shared across the entire 1214 * company. 1215 * 1216 * @return <code>true</code> if preferences are shared across the entire 1217 company 1218 */ 1219 public boolean getPreferencesCompanyWide() { 1220 return _portlet.getPreferencesCompanyWide(); 1221 } 1222 1223 /** 1224 * Returns <code>true</code> if preferences are shared across the entire 1225 * company. 1226 * 1227 * @return <code>true</code> if preferences are shared across the entire 1228 company 1229 */ 1230 public boolean isPreferencesCompanyWide() { 1231 return _portlet.isPreferencesCompanyWide(); 1232 } 1233 1234 /** 1235 * Set to <code>true</code> if preferences are shared across the entire 1236 * company. 1237 * 1238 * @param preferencesCompanyWide boolean value for whether preferences are 1239 shared across the entire company 1240 */ 1241 public void setPreferencesCompanyWide(boolean preferencesCompanyWide) { 1242 _portlet.setPreferencesCompanyWide(preferencesCompanyWide); 1243 } 1244 1245 /** 1246 * Returns <code>true</code> if preferences are unique per layout. 1247 * 1248 * @return <code>true</code> if preferences are unique per layout 1249 */ 1250 public boolean getPreferencesUniquePerLayout() { 1251 return _portlet.getPreferencesUniquePerLayout(); 1252 } 1253 1254 /** 1255 * Returns <code>true</code> if preferences are unique per layout. 1256 * 1257 * @return <code>true</code> if preferences are unique per layout 1258 */ 1259 public boolean isPreferencesUniquePerLayout() { 1260 return _portlet.isPreferencesUniquePerLayout(); 1261 } 1262 1263 /** 1264 * Set to <code>true</code> if preferences are unique per layout. 1265 * 1266 * @param preferencesUniquePerLayout boolean value for whether preferences 1267 are unique per layout 1268 */ 1269 public void setPreferencesUniquePerLayout( 1270 boolean preferencesUniquePerLayout) { 1271 _portlet.setPreferencesUniquePerLayout(preferencesUniquePerLayout); 1272 } 1273 1274 /** 1275 * Returns <code>true</code> if preferences are owned by the group when the 1276 * portlet is shown in a group layout. Returns <code>false</code> if 1277 * preferences are owned by the user at all times. 1278 * 1279 * @return <code>true</code> if preferences are owned by the group when the 1280 portlet is shown in a group layout; <code>false</code> if 1281 preferences are owned by the user at all times. 1282 */ 1283 public boolean getPreferencesOwnedByGroup() { 1284 return _portlet.getPreferencesOwnedByGroup(); 1285 } 1286 1287 /** 1288 * Returns <code>true</code> if preferences are owned by the group when the 1289 * portlet is shown in a group layout. Returns <code>false</code> if 1290 * preferences are owned by the user at all times. 1291 * 1292 * @return <code>true</code> if preferences are owned by the group when the 1293 portlet is shown in a group layout; <code>false</code> if 1294 preferences are owned by the user at all times. 1295 */ 1296 public boolean isPreferencesOwnedByGroup() { 1297 return _portlet.isPreferencesOwnedByGroup(); 1298 } 1299 1300 /** 1301 * Set to <code>true</code> if preferences are owned by the group when the 1302 * portlet is shown in a group layout. Set to <code>false</code> if 1303 * preferences are owned by the user at all times. 1304 * 1305 * @param preferencesOwnedByGroup boolean value for whether preferences are 1306 owned by the group when the portlet is shown in a group layout or 1307 preferences are owned by the user at all times 1308 */ 1309 public void setPreferencesOwnedByGroup(boolean preferencesOwnedByGroup) { 1310 _portlet.setPreferencesOwnedByGroup(preferencesOwnedByGroup); 1311 } 1312 1313 /** 1314 * Returns <code>true</code> if the portlet uses the default template. 1315 * 1316 * @return <code>true</code> if the portlet uses the default template 1317 */ 1318 public boolean getUseDefaultTemplate() { 1319 return _portlet.getUseDefaultTemplate(); 1320 } 1321 1322 /** 1323 * Returns <code>true</code> if the portlet uses the default template. 1324 * 1325 * @return <code>true</code> if the portlet uses the default template 1326 */ 1327 public boolean isUseDefaultTemplate() { 1328 return _portlet.isUseDefaultTemplate(); 1329 } 1330 1331 /** 1332 * Set to <code>true</code> if the portlet uses the default template. 1333 * 1334 * @param useDefaultTemplate boolean value for whether the portlet uses the 1335 default template 1336 */ 1337 public void setUseDefaultTemplate(boolean useDefaultTemplate) { 1338 _portlet.setUseDefaultTemplate(useDefaultTemplate); 1339 } 1340 1341 /** 1342 * Returns <code>true</code> if users are shown that they do not have access 1343 * to the portlet. 1344 * 1345 * @return <code>true</code> if users are shown that they do not have access 1346 to the portlet 1347 */ 1348 public boolean getShowPortletAccessDenied() { 1349 return _portlet.getShowPortletAccessDenied(); 1350 } 1351 1352 /** 1353 * Returns <code>true</code> if users are shown that they do not have access 1354 * to the portlet. 1355 * 1356 * @return <code>true</code> if users are shown that they do not have access 1357 to the portlet 1358 */ 1359 public boolean isShowPortletAccessDenied() { 1360 return _portlet.isShowPortletAccessDenied(); 1361 } 1362 1363 /** 1364 * Set to <code>true</code> if users are shown that they do not have access 1365 * to the portlet. 1366 * 1367 * @param showPortletAccessDenied boolean value for whether users are shown 1368 that they do not have access to the portlet 1369 */ 1370 public void setShowPortletAccessDenied(boolean showPortletAccessDenied) { 1371 _portlet.setShowPortletAccessDenied(showPortletAccessDenied); 1372 } 1373 1374 /** 1375 * Returns <code>true</code> if users are shown that the portlet is 1376 * inactive. 1377 * 1378 * @return <code>true</code> if users are shown that the portlet is inactive 1379 */ 1380 public boolean getShowPortletInactive() { 1381 return _portlet.getShowPortletInactive(); 1382 } 1383 1384 /** 1385 * Returns <code>true</code> if users are shown that the portlet is 1386 * inactive. 1387 * 1388 * @return <code>true</code> if users are shown that the portlet is inactive 1389 */ 1390 public boolean isShowPortletInactive() { 1391 return _portlet.isShowPortletInactive(); 1392 } 1393 1394 /** 1395 * Set to <code>true</code> if users are shown that the portlet is inactive. 1396 * 1397 * @param showPortletInactive boolean value for whether users are shown that 1398 the portlet is inactive 1399 */ 1400 public void setShowPortletInactive(boolean showPortletInactive) { 1401 _portlet.setShowPortletInactive(showPortletInactive); 1402 } 1403 1404 /** 1405 * Returns <code>true</code> if an action URL for this portlet should cause 1406 * an auto redirect. 1407 * 1408 * @return <code>true</code> if an action URL for this portlet should cause 1409 an auto redirect 1410 */ 1411 public boolean getActionURLRedirect() { 1412 return _portlet.getActionURLRedirect(); 1413 } 1414 1415 /** 1416 * Returns <code>true</code> if an action URL for this portlet should cause 1417 * an auto redirect. 1418 * 1419 * @return <code>true</code> if an action URL for this portlet should cause 1420 an auto redirect 1421 */ 1422 public boolean isActionURLRedirect() { 1423 return _portlet.isActionURLRedirect(); 1424 } 1425 1426 /** 1427 * Set to <code>true</code> if an action URL for this portlet should cause 1428 * an auto redirect. 1429 * 1430 * @param actionURLRedirect boolean value for whether an action URL for this 1431 portlet should cause an auto redirect 1432 */ 1433 public void setActionURLRedirect(boolean actionURLRedirect) { 1434 _portlet.setActionURLRedirect(actionURLRedirect); 1435 } 1436 1437 /** 1438 * Returns <code>true</code> if the portlet restores to the current view 1439 * from the maximized state. 1440 * 1441 * @return <code>true</code> if the portlet restores to the current view 1442 from the maximized state 1443 */ 1444 public boolean getRestoreCurrentView() { 1445 return _portlet.getRestoreCurrentView(); 1446 } 1447 1448 /** 1449 * Returns <code>true</code> if the portlet restores to the current view 1450 * from the maximized state. 1451 * 1452 * @return <code>true</code> if the portlet restores to the current view 1453 from the maximized state 1454 */ 1455 public boolean isRestoreCurrentView() { 1456 return _portlet.isRestoreCurrentView(); 1457 } 1458 1459 /** 1460 * Set to <code>true</code> if the portlet restores to the current view from 1461 * the maximized state. 1462 * 1463 * @param restoreCurrentView boolean value for whether the portlet restores 1464 to the current view from the maximized state 1465 */ 1466 public void setRestoreCurrentView(boolean restoreCurrentView) { 1467 _portlet.setRestoreCurrentView(restoreCurrentView); 1468 } 1469 1470 /** 1471 * Returns <code>true</code> if the portlet goes into the maximized state 1472 * when the user goes into the edit mode. 1473 * 1474 * @return <code>true</code> if the portlet goes into the maximized state 1475 when the user goes into the edit mode 1476 */ 1477 public boolean getMaximizeEdit() { 1478 return _portlet.getMaximizeEdit(); 1479 } 1480 1481 /** 1482 * Returns <code>true</code> if the portlet goes into the maximized state 1483 * when the user goes into the edit mode. 1484 * 1485 * @return <code>true</code> if the portlet goes into the maximized state 1486 when the user goes into the edit mode 1487 */ 1488 public boolean isMaximizeEdit() { 1489 return _portlet.isMaximizeEdit(); 1490 } 1491 1492 /** 1493 * Set to <code>true</code> if the portlet goes into the maximized state 1494 * when the user goes into the edit mode. 1495 * 1496 * @param maximizeEdit boolean value for whether the portlet goes into the 1497 maximized state when the user goes into the edit mode 1498 */ 1499 public void setMaximizeEdit(boolean maximizeEdit) { 1500 _portlet.setMaximizeEdit(maximizeEdit); 1501 } 1502 1503 /** 1504 * Returns <code>true</code> if the portlet goes into the maximized state 1505 * when the user goes into the help mode. 1506 * 1507 * @return <code>true</code> if the portlet goes into the maximized state 1508 when the user goes into the help mode 1509 */ 1510 public boolean getMaximizeHelp() { 1511 return _portlet.getMaximizeHelp(); 1512 } 1513 1514 /** 1515 * Returns <code>true</code> if the portlet goes into the maximized state 1516 * when the user goes into the help mode. 1517 * 1518 * @return <code>true</code> if the portlet goes into the maximized state 1519 when the user goes into the help mode 1520 */ 1521 public boolean isMaximizeHelp() { 1522 return _portlet.isMaximizeHelp(); 1523 } 1524 1525 /** 1526 * Set to <code>true</code> if the portlet goes into the maximized state 1527 * when the user goes into the help mode. 1528 * 1529 * @param maximizeHelp boolean value for whether the portlet goes into the 1530 maximized state when the user goes into the help mode 1531 */ 1532 public void setMaximizeHelp(boolean maximizeHelp) { 1533 _portlet.setMaximizeHelp(maximizeHelp); 1534 } 1535 1536 /** 1537 * Returns <code>true</code> if the portlet goes into the pop up state when 1538 * the user goes into the print mode. 1539 * 1540 * @return <code>true</code> if the portlet goes into the pop up state when 1541 the user goes into the print mode 1542 */ 1543 public boolean getPopUpPrint() { 1544 return _portlet.getPopUpPrint(); 1545 } 1546 1547 /** 1548 * Returns <code>true</code> if the portlet goes into the pop up state when 1549 * the user goes into the print mode. 1550 * 1551 * @return <code>true</code> if the portlet goes into the pop up state when 1552 the user goes into the print mode 1553 */ 1554 public boolean isPopUpPrint() { 1555 return _portlet.isPopUpPrint(); 1556 } 1557 1558 /** 1559 * Set to <code>true</code> if the portlet goes into the pop up state when 1560 * the user goes into the print mode. 1561 * 1562 * @param popUpPrint boolean value for whether the portlet goes into the pop 1563 up state when the user goes into the print mode 1564 */ 1565 public void setPopUpPrint(boolean popUpPrint) { 1566 _portlet.setPopUpPrint(popUpPrint); 1567 } 1568 1569 /** 1570 * Returns <code>true</code> to allow the portlet to be cached within the 1571 * layout. 1572 * 1573 * @return <code>true</code> if the portlet can be cached within the layout 1574 */ 1575 public boolean getLayoutCacheable() { 1576 return _portlet.getLayoutCacheable(); 1577 } 1578 1579 /** 1580 * Returns <code>true</code> to allow the portlet to be cached within the 1581 * layout. 1582 * 1583 * @return <code>true</code> if the portlet can be cached within the layout 1584 */ 1585 public boolean isLayoutCacheable() { 1586 return _portlet.isLayoutCacheable(); 1587 } 1588 1589 /** 1590 * Set to <code>true</code> to allow the portlet to be cached within the 1591 * layout. 1592 * 1593 * @param layoutCacheable boolean value for whether the portlet can be 1594 cached within the layout 1595 */ 1596 public void setLayoutCacheable(boolean layoutCacheable) { 1597 _portlet.setLayoutCacheable(layoutCacheable); 1598 } 1599 1600 /** 1601 * Returns <code>true</code> if the portlet can be added multiple times to a 1602 * layout. 1603 * 1604 * @return <code>true</code> if the portlet can be added multiple times to a 1605 layout 1606 */ 1607 public boolean getInstanceable() { 1608 return _portlet.getInstanceable(); 1609 } 1610 1611 /** 1612 * Returns <code>true</code> if the portlet can be added multiple times to a 1613 * layout. 1614 * 1615 * @return <code>true</code> if the portlet can be added multiple times to a 1616 layout 1617 */ 1618 public boolean isInstanceable() { 1619 return _portlet.isInstanceable(); 1620 } 1621 1622 /** 1623 * Set to <code>true</code> if the portlet can be added multiple times to a 1624 * layout. 1625 * 1626 * @param instanceable boolean value for whether the portlet can be added 1627 multiple times to a layout 1628 */ 1629 public void setInstanceable(boolean instanceable) { 1630 _portlet.setInstanceable(instanceable); 1631 } 1632 1633 /** 1634 * Returns <code>true</code> if the portlet supports remoting. 1635 * 1636 * @return <code>true</code> if the portlet supports remoting 1637 */ 1638 public boolean getRemoteable() { 1639 return _portlet.getRemoteable(); 1640 } 1641 1642 /** 1643 * Returns <code>true</code> if the portlet supports remoting. 1644 * 1645 * @return <code>true</code> if the portlet supports remoting 1646 */ 1647 public boolean isRemoteable() { 1648 return _portlet.isRemoteable(); 1649 } 1650 1651 /** 1652 * Set to <code>true</code> if the portlet supports remoting 1653 * 1654 * @param remoteable boolean value for whether or not the the portlet 1655 supports remoting 1656 */ 1657 public void setRemoteable(boolean remoteable) { 1658 _portlet.setRemoteable(remoteable); 1659 } 1660 1661 /** 1662 * Returns <code>true</code> if the portlet supports scoping of data. 1663 * 1664 * @return <code>true</code> if the portlet supports scoping of data 1665 */ 1666 public boolean getScopeable() { 1667 return _portlet.getScopeable(); 1668 } 1669 1670 /** 1671 * Returns <code>true</code> if the portlet supports scoping of data. 1672 * 1673 * @return <code>true</code> if the portlet supports scoping of data 1674 */ 1675 public boolean isScopeable() { 1676 return _portlet.isScopeable(); 1677 } 1678 1679 /** 1680 * Set to <code>true</code> if the portlet supports scoping of data. 1681 * 1682 * @param scopeable boolean value for whether or not the the portlet 1683 supports scoping of data 1684 */ 1685 public void setScopeable(boolean scopeable) { 1686 _portlet.setScopeable(scopeable); 1687 } 1688 1689 /** 1690 * Returns the user principal strategy of the portlet. 1691 * 1692 * @return the user principal strategy of the portlet 1693 */ 1694 public java.lang.String getUserPrincipalStrategy() { 1695 return _portlet.getUserPrincipalStrategy(); 1696 } 1697 1698 /** 1699 * Sets the user principal strategy of the portlet. 1700 * 1701 * @param userPrincipalStrategy the user principal strategy of the portlet 1702 */ 1703 public void setUserPrincipalStrategy(java.lang.String userPrincipalStrategy) { 1704 _portlet.setUserPrincipalStrategy(userPrincipalStrategy); 1705 } 1706 1707 /** 1708 * Returns <code>true</code> if the portlet does not share request 1709 * attributes with the portal or portlets from another WAR. 1710 * 1711 * @return <code>true</code> if the portlet does not share request 1712 attributes with the portal or portlets from another WAR 1713 */ 1714 public boolean getPrivateRequestAttributes() { 1715 return _portlet.getPrivateRequestAttributes(); 1716 } 1717 1718 /** 1719 * Returns <code>true</code> if the portlet does not share request 1720 * attributes with the portal or portlets from another WAR. 1721 * 1722 * @return <code>true</code> if the portlet does not share request 1723 attributes with the portal or portlets from another WAR 1724 */ 1725 public boolean isPrivateRequestAttributes() { 1726 return _portlet.isPrivateRequestAttributes(); 1727 } 1728 1729 /** 1730 * Set to <code>true</code> if the portlet does not share request attributes 1731 * with the portal or portlets from another WAR. 1732 * 1733 * @param privateRequestAttributes boolean value for whether the portlet 1734 shares request attributes with the portal or portlets from another 1735 WAR 1736 */ 1737 public void setPrivateRequestAttributes(boolean privateRequestAttributes) { 1738 _portlet.setPrivateRequestAttributes(privateRequestAttributes); 1739 } 1740 1741 /** 1742 * Returns <code>true</code> if the portlet does not share session 1743 * attributes with the portal. 1744 * 1745 * @return <code>true</code> if the portlet does not share session 1746 attributes with the portal 1747 */ 1748 public boolean getPrivateSessionAttributes() { 1749 return _portlet.getPrivateSessionAttributes(); 1750 } 1751 1752 /** 1753 * Returns <code>true</code> if the portlet does not share session 1754 * attributes with the portal. 1755 * 1756 * @return <code>true</code> if the portlet does not share session 1757 attributes with the portal 1758 */ 1759 public boolean isPrivateSessionAttributes() { 1760 return _portlet.isPrivateSessionAttributes(); 1761 } 1762 1763 /** 1764 * Set to <code>true</code> if the portlet does not share session attributes 1765 * with the portal. 1766 * 1767 * @param privateSessionAttributes boolean value for whether the portlet 1768 shares session attributes with the portal 1769 */ 1770 public void setPrivateSessionAttributes(boolean privateSessionAttributes) { 1771 _portlet.setPrivateSessionAttributes(privateSessionAttributes); 1772 } 1773 1774 /** 1775 * Returns the names of the parameters that will be automatically propagated 1776 * through the portlet. 1777 * 1778 * @return the names of the parameters that will be automatically propagated 1779 through the portlet 1780 */ 1781 public java.util.Set<java.lang.String> getAutopropagatedParameters() { 1782 return _portlet.getAutopropagatedParameters(); 1783 } 1784 1785 /** 1786 * Sets the names of the parameters that will be automatically propagated 1787 * through the portlet. 1788 * 1789 * @param autopropagatedParameters the names of the parameters that will be 1790 automatically propagated through the portlet 1791 */ 1792 public void setAutopropagatedParameters( 1793 java.util.Set<java.lang.String> autopropagatedParameters) { 1794 _portlet.setAutopropagatedParameters(autopropagatedParameters); 1795 } 1796 1797 /** 1798 * Returns the action timeout of the portlet. 1799 * 1800 * @return the action timeout of the portlet 1801 */ 1802 public int getActionTimeout() { 1803 return _portlet.getActionTimeout(); 1804 } 1805 1806 /** 1807 * Sets the action timeout of the portlet. 1808 * 1809 * @param actionTimeout the action timeout of the portlet 1810 */ 1811 public void setActionTimeout(int actionTimeout) { 1812 _portlet.setActionTimeout(actionTimeout); 1813 } 1814 1815 /** 1816 * Returns the render timeout of the portlet. 1817 * 1818 * @return the render timeout of the portlet 1819 */ 1820 public int getRenderTimeout() { 1821 return _portlet.getRenderTimeout(); 1822 } 1823 1824 /** 1825 * Sets the render timeout of the portlet. 1826 * 1827 * @param renderTimeout the render timeout of the portlet 1828 */ 1829 public void setRenderTimeout(int renderTimeout) { 1830 _portlet.setRenderTimeout(renderTimeout); 1831 } 1832 1833 /** 1834 * Returns the render weight of the portlet. 1835 * 1836 * @return the render weight of the portlet 1837 */ 1838 public int getRenderWeight() { 1839 return _portlet.getRenderWeight(); 1840 } 1841 1842 /** 1843 * Sets the render weight of the portlet. 1844 * 1845 * @param renderWeight int value for the render weight of the portlet 1846 */ 1847 public void setRenderWeight(int renderWeight) { 1848 _portlet.setRenderWeight(renderWeight); 1849 } 1850 1851 /** 1852 * Returns <code>true</code> if the portlet can be displayed via Ajax. 1853 * 1854 * @return <code>true</code> if the portlet can be displayed via Ajax 1855 */ 1856 public boolean getAjaxable() { 1857 return _portlet.getAjaxable(); 1858 } 1859 1860 /** 1861 * Returns <code>true</code> if the portlet can be displayed via Ajax. 1862 * 1863 * @return <code>true</code> if the portlet can be displayed via Ajax 1864 */ 1865 public boolean isAjaxable() { 1866 return _portlet.isAjaxable(); 1867 } 1868 1869 /** 1870 * Set to <code>true</code> if the portlet can be displayed via Ajax. 1871 * 1872 * @param ajaxable boolean value for whether the portlet can be displayed 1873 via Ajax 1874 */ 1875 public void setAjaxable(boolean ajaxable) { 1876 _portlet.setAjaxable(ajaxable); 1877 } 1878 1879 /** 1880 * Returns a list of CSS files that will be referenced from the page's 1881 * header relative to the portal's context path. 1882 * 1883 * @return a list of CSS files that will be referenced from the page's 1884 header relative to the portal's context path 1885 */ 1886 public java.util.List<java.lang.String> getHeaderPortalCss() { 1887 return _portlet.getHeaderPortalCss(); 1888 } 1889 1890 /** 1891 * Sets a list of CSS files that will be referenced from the page's header 1892 * relative to the portal's context path. 1893 * 1894 * @param headerPortalCss a list of CSS files that will be referenced from 1895 the page's header relative to the portal's context path 1896 */ 1897 public void setHeaderPortalCss( 1898 java.util.List<java.lang.String> headerPortalCss) { 1899 _portlet.setHeaderPortalCss(headerPortalCss); 1900 } 1901 1902 /** 1903 * Returns a list of CSS files that will be referenced from the page's 1904 * header relative to the portlet's context path. 1905 * 1906 * @return a list of CSS files that will be referenced from the page's 1907 header relative to the portlet's context path 1908 */ 1909 public java.util.List<java.lang.String> getHeaderPortletCss() { 1910 return _portlet.getHeaderPortletCss(); 1911 } 1912 1913 /** 1914 * Sets a list of CSS files that will be referenced from the page's header 1915 * relative to the portlet's context path. 1916 * 1917 * @param headerPortletCss a list of CSS files that will be referenced from 1918 the page's header relative to the portlet's context path 1919 */ 1920 public void setHeaderPortletCss( 1921 java.util.List<java.lang.String> headerPortletCss) { 1922 _portlet.setHeaderPortletCss(headerPortletCss); 1923 } 1924 1925 /** 1926 * Returns a list of JavaScript files that will be referenced from the 1927 * page's header relative to the portal's context path. 1928 * 1929 * @return a list of JavaScript files that will be referenced from the 1930 page's header relative to the portal's context path 1931 */ 1932 public java.util.List<java.lang.String> getHeaderPortalJavaScript() { 1933 return _portlet.getHeaderPortalJavaScript(); 1934 } 1935 1936 /** 1937 * Sets a list of JavaScript files that will be referenced from the page's 1938 * header relative to the portal's context path. 1939 * 1940 * @param headerPortalJavaScript a list of JavaScript files that will be 1941 referenced from the page's header relative to the portal's context 1942 path 1943 */ 1944 public void setHeaderPortalJavaScript( 1945 java.util.List<java.lang.String> headerPortalJavaScript) { 1946 _portlet.setHeaderPortalJavaScript(headerPortalJavaScript); 1947 } 1948 1949 /** 1950 * Returns a list of JavaScript files that will be referenced from the 1951 * page's header relative to the portlet's context path. 1952 * 1953 * @return a list of JavaScript files that will be referenced from the 1954 page's header relative to the portlet's context path 1955 */ 1956 public java.util.List<java.lang.String> getHeaderPortletJavaScript() { 1957 return _portlet.getHeaderPortletJavaScript(); 1958 } 1959 1960 /** 1961 * Sets a list of JavaScript files that will be referenced from the page's 1962 * header relative to the portlet's context path. 1963 * 1964 * @param headerPortletJavaScript a list of JavaScript files that will be 1965 referenced from the page's header relative to the portlet's 1966 context path 1967 */ 1968 public void setHeaderPortletJavaScript( 1969 java.util.List<java.lang.String> headerPortletJavaScript) { 1970 _portlet.setHeaderPortletJavaScript(headerPortletJavaScript); 1971 } 1972 1973 /** 1974 * Returns a list of CSS files that will be referenced from the page's 1975 * footer relative to the portal's context path. 1976 * 1977 * @return a list of CSS files that will be referenced from the page's 1978 footer relative to the portal's context path 1979 */ 1980 public java.util.List<java.lang.String> getFooterPortalCss() { 1981 return _portlet.getFooterPortalCss(); 1982 } 1983 1984 /** 1985 * Sets a list of CSS files that will be referenced from the page's footer 1986 * relative to the portal's context path. 1987 * 1988 * @param footerPortalCss a list of CSS files that will be referenced from 1989 the page's footer relative to the portal's context path 1990 */ 1991 public void setFooterPortalCss( 1992 java.util.List<java.lang.String> footerPortalCss) { 1993 _portlet.setFooterPortalCss(footerPortalCss); 1994 } 1995 1996 /** 1997 * Returns a list of CSS files that will be referenced from the page's 1998 * footer relative to the portlet's context path. 1999 * 2000 * @return a list of CSS files that will be referenced from the page's 2001 footer relative to the portlet's context path 2002 */ 2003 public java.util.List<java.lang.String> getFooterPortletCss() { 2004 return _portlet.getFooterPortletCss(); 2005 } 2006 2007 /** 2008 * Sets a list of CSS files that will be referenced from the page's footer 2009 * relative to the portlet's context path. 2010 * 2011 * @param footerPortletCss a list of CSS files that will be referenced from 2012 the page's footer relative to the portlet's context path 2013 */ 2014 public void setFooterPortletCss( 2015 java.util.List<java.lang.String> footerPortletCss) { 2016 _portlet.setFooterPortletCss(footerPortletCss); 2017 } 2018 2019 /** 2020 * Returns a list of JavaScript files that will be referenced from the 2021 * page's footer relative to the portal's context path. 2022 * 2023 * @return a list of JavaScript files that will be referenced from the 2024 page's footer relative to the portal's context path 2025 */ 2026 public java.util.List<java.lang.String> getFooterPortalJavaScript() { 2027 return _portlet.getFooterPortalJavaScript(); 2028 } 2029 2030 /** 2031 * Sets a list of JavaScript files that will be referenced from the page's 2032 * footer relative to the portal's context path. 2033 * 2034 * @param footerPortalJavaScript a list of JavaScript files that will be 2035 referenced from the page's footer relative to the portal's context 2036 path 2037 */ 2038 public void setFooterPortalJavaScript( 2039 java.util.List<java.lang.String> footerPortalJavaScript) { 2040 _portlet.setFooterPortalJavaScript(footerPortalJavaScript); 2041 } 2042 2043 /** 2044 * Returns a list of JavaScript files that will be referenced from the 2045 * page's footer relative to the portlet's context path. 2046 * 2047 * @return a list of JavaScript files that will be referenced from the 2048 page's footer relative to the portlet's context path 2049 */ 2050 public java.util.List<java.lang.String> getFooterPortletJavaScript() { 2051 return _portlet.getFooterPortletJavaScript(); 2052 } 2053 2054 /** 2055 * Sets a list of JavaScript files that will be referenced from the page's 2056 * footer relative to the portlet's context path. 2057 * 2058 * @param footerPortletJavaScript a list of JavaScript files that will be 2059 referenced from the page's footer relative to the portlet's 2060 context path 2061 */ 2062 public void setFooterPortletJavaScript( 2063 java.util.List<java.lang.String> footerPortletJavaScript) { 2064 _portlet.setFooterPortletJavaScript(footerPortletJavaScript); 2065 } 2066 2067 /** 2068 * Returns the name of the CSS class that will be injected in the DIV that 2069 * wraps this portlet. 2070 * 2071 * @return the name of the CSS class that will be injected in the DIV that 2072 wraps this portlet 2073 */ 2074 public java.lang.String getCssClassWrapper() { 2075 return _portlet.getCssClassWrapper(); 2076 } 2077 2078 /** 2079 * Sets the name of the CSS class that will be injected in the DIV that 2080 * wraps this portlet. 2081 * 2082 * @param cssClassWrapper the name of the CSS class that will be injected in 2083 the DIV that wraps this portlet 2084 */ 2085 public void setCssClassWrapper(java.lang.String cssClassWrapper) { 2086 _portlet.setCssClassWrapper(cssClassWrapper); 2087 } 2088 2089 /** 2090 * Returns the Facebook integration method of the portlet. 2091 * 2092 * @return the Facebook integration method of the portlet 2093 */ 2094 public java.lang.String getFacebookIntegration() { 2095 return _portlet.getFacebookIntegration(); 2096 } 2097 2098 /** 2099 * Sets the Facebook integration method of the portlet. 2100 * 2101 * @param facebookIntegration the Facebook integration method of the portlet 2102 */ 2103 public void setFacebookIntegration(java.lang.String facebookIntegration) { 2104 _portlet.setFacebookIntegration(facebookIntegration); 2105 } 2106 2107 /** 2108 * Returns <code>true</code> if default resources for the portlet are added 2109 * to a page. 2110 * 2111 * @return <code>true</code> if default resources for the portlet are added 2112 to a page 2113 */ 2114 public boolean getAddDefaultResource() { 2115 return _portlet.getAddDefaultResource(); 2116 } 2117 2118 /** 2119 * Returns <code>true</code> if default resources for the portlet are added 2120 * to a page. 2121 * 2122 * @return <code>true</code> if default resources for the portlet are added 2123 to a page 2124 */ 2125 public boolean isAddDefaultResource() { 2126 return _portlet.isAddDefaultResource(); 2127 } 2128 2129 /** 2130 * Set to <code>true</code> if default resources for the portlet are added 2131 * to a page. 2132 * 2133 * @param addDefaultResource boolean value for whether or not default 2134 resources for the portlet are added to a page 2135 */ 2136 public void setAddDefaultResource(boolean addDefaultResource) { 2137 _portlet.setAddDefaultResource(addDefaultResource); 2138 } 2139 2140 /** 2141 * Returns an array of required roles of the portlet. 2142 * 2143 * @return an array of required roles of the portlet 2144 */ 2145 public java.lang.String[] getRolesArray() { 2146 return _portlet.getRolesArray(); 2147 } 2148 2149 /** 2150 * Sets an array of required roles of the portlet. 2151 * 2152 * @param rolesArray an array of required roles of the portlet 2153 */ 2154 public void setRolesArray(java.lang.String[] rolesArray) { 2155 _portlet.setRolesArray(rolesArray); 2156 } 2157 2158 /** 2159 * Returns the unlinked roles of the portlet. 2160 * 2161 * @return unlinked roles of the portlet 2162 */ 2163 public java.util.Set<java.lang.String> getUnlinkedRoles() { 2164 return _portlet.getUnlinkedRoles(); 2165 } 2166 2167 /** 2168 * Sets the unlinked roles of the portlet. 2169 * 2170 * @param unlinkedRoles the unlinked roles of the portlet 2171 */ 2172 public void setUnlinkedRoles(java.util.Set<java.lang.String> unlinkedRoles) { 2173 _portlet.setUnlinkedRoles(unlinkedRoles); 2174 } 2175 2176 /** 2177 * Returns the role mappers of the portlet. 2178 * 2179 * @return role mappers of the portlet 2180 */ 2181 public java.util.Map<java.lang.String, java.lang.String> getRoleMappers() { 2182 return _portlet.getRoleMappers(); 2183 } 2184 2185 /** 2186 * Sets the role mappers of the portlet. 2187 * 2188 * @param roleMappers the role mappers of the portlet 2189 */ 2190 public void setRoleMappers( 2191 java.util.Map<java.lang.String, java.lang.String> roleMappers) { 2192 _portlet.setRoleMappers(roleMappers); 2193 } 2194 2195 /** 2196 * Link the role names set in portlet.xml with the Liferay roles set in 2197 * liferay-portlet.xml. 2198 */ 2199 public void linkRoles() { 2200 _portlet.linkRoles(); 2201 } 2202 2203 /** 2204 * Returns <code>true</code> if the portlet has a role with the specified 2205 * name. 2206 * 2207 * @return <code>true</code> if the portlet has a role with the specified 2208 name 2209 */ 2210 public boolean hasRoleWithName(java.lang.String roleName) { 2211 return _portlet.hasRoleWithName(roleName); 2212 } 2213 2214 /** 2215 * Returns <code>true</code> if the user has the permission to add the 2216 * portlet to a layout. 2217 * 2218 * @return <code>true</code> if the user has the permission to add the 2219 portlet to a layout 2220 */ 2221 public boolean hasAddPortletPermission(long userId) { 2222 return _portlet.hasAddPortletPermission(userId); 2223 } 2224 2225 /** 2226 * Returns <code>true</code> if the portlet is a system portlet that a user 2227 * cannot manually add to their page. 2228 * 2229 * @return <code>true</code> if the portlet is a system portlet that a user 2230 cannot manually add to their page 2231 */ 2232 public boolean getSystem() { 2233 return _portlet.getSystem(); 2234 } 2235 2236 /** 2237 * Returns <code>true</code> if the portlet is a system portlet that a user 2238 * cannot manually add to their page. 2239 * 2240 * @return <code>true</code> if the portlet is a system portlet that a user 2241 cannot manually add to their page 2242 */ 2243 public boolean isSystem() { 2244 return _portlet.isSystem(); 2245 } 2246 2247 /** 2248 * Set to <code>true</code> if the portlet is a system portlet that a user 2249 * cannot manually add to their page. 2250 * 2251 * @param system boolean value for whether the portlet is a system portlet 2252 that a user cannot manually add to their page 2253 */ 2254 public void setSystem(boolean system) { 2255 _portlet.setSystem(system); 2256 } 2257 2258 /** 2259 * Returns <code>true</code> to include the portlet and make it available to 2260 * be made active. 2261 * 2262 * @return <code>true</code> to include the portlet and make it available to 2263 be made active 2264 */ 2265 public boolean getInclude() { 2266 return _portlet.getInclude(); 2267 } 2268 2269 /** 2270 * Returns <code>true</code> to include the portlet and make it available to 2271 * be made active. 2272 * 2273 * @return <code>true</code> to include the portlet and make it available to 2274 be made active 2275 */ 2276 public boolean isInclude() { 2277 return _portlet.isInclude(); 2278 } 2279 2280 /** 2281 * Set to <code>true</code> to include the portlet and make it available to 2282 * be made active. 2283 * 2284 * @param include boolean value for whether to include the portlet and make 2285 it available to be made active 2286 */ 2287 public void setInclude(boolean include) { 2288 _portlet.setInclude(include); 2289 } 2290 2291 /** 2292 * Returns <code>true</code> if the portlet is ready to be used. 2293 * 2294 * @return <code>true</code> if the portlet is ready to be used 2295 */ 2296 public boolean getReady() { 2297 return _portlet.getReady(); 2298 } 2299 2300 /** 2301 * Returns <code>true</code> if the portlet is ready to be used. 2302 * 2303 * @return <code>true</code> if the portlet is ready to be used 2304 */ 2305 public boolean isReady() { 2306 return _portlet.isReady(); 2307 } 2308 2309 /** 2310 * Set to <code>true</code> if the portlet is ready to be used. 2311 * 2312 * @param ready whether the portlet is ready to be used 2313 */ 2314 public void setReady(boolean ready) { 2315 _portlet.setReady(ready); 2316 } 2317 2318 /** 2319 * Returns the init parameters of the portlet. 2320 * 2321 * @return init parameters of the portlet 2322 */ 2323 public java.util.Map<java.lang.String, java.lang.String> getInitParams() { 2324 return _portlet.getInitParams(); 2325 } 2326 2327 /** 2328 * Sets the init parameters of the portlet. 2329 * 2330 * @param initParams the init parameters of the portlet 2331 */ 2332 public void setInitParams( 2333 java.util.Map<java.lang.String, java.lang.String> initParams) { 2334 _portlet.setInitParams(initParams); 2335 } 2336 2337 /** 2338 * Returns expiration cache of the portlet. 2339 * 2340 * @return expiration cache of the portlet 2341 */ 2342 public java.lang.Integer getExpCache() { 2343 return _portlet.getExpCache(); 2344 } 2345 2346 /** 2347 * Sets expiration cache of the portlet. 2348 * 2349 * @param expCache expiration cache of the portlet 2350 */ 2351 public void setExpCache(java.lang.Integer expCache) { 2352 _portlet.setExpCache(expCache); 2353 } 2354 2355 /** 2356 * Returns the portlet modes of the portlet. 2357 * 2358 * @return portlet modes of the portlet 2359 */ 2360 public java.util.Map<java.lang.String, java.util.Set<java.lang.String>> getPortletModes() { 2361 return _portlet.getPortletModes(); 2362 } 2363 2364 /** 2365 * Sets the portlet modes of the portlet. 2366 * 2367 * @param portletModes the portlet modes of the portlet 2368 */ 2369 public void setPortletModes( 2370 java.util.Map<java.lang.String, java.util.Set<java.lang.String>> portletModes) { 2371 _portlet.setPortletModes(portletModes); 2372 } 2373 2374 /** 2375 * Returns <code>true</code> if the portlet supports the specified mime type 2376 * and portlet mode. 2377 * 2378 * @return <code>true</code> if the portlet supports the specified mime type 2379 and portlet mode 2380 */ 2381 public boolean hasPortletMode(java.lang.String mimeType, 2382 javax.portlet.PortletMode portletMode) { 2383 return _portlet.hasPortletMode(mimeType, portletMode); 2384 } 2385 2386 /** 2387 * Returns a list of all portlet modes supported by the portlet. 2388 * 2389 * @return a list of all portlet modes supported by the portlet 2390 */ 2391 public java.util.Set<java.lang.String> getAllPortletModes() { 2392 return _portlet.getAllPortletModes(); 2393 } 2394 2395 /** 2396 * Returns <code>true</code> if the portlet supports more than one mime 2397 * type. 2398 * 2399 * @return <code>true</code> if the portlet supports more than one mime type 2400 */ 2401 public boolean hasMultipleMimeTypes() { 2402 return _portlet.hasMultipleMimeTypes(); 2403 } 2404 2405 /** 2406 * Returns the window states of the portlet. 2407 * 2408 * @return window states of the portlet 2409 */ 2410 public java.util.Map<java.lang.String, java.util.Set<java.lang.String>> getWindowStates() { 2411 return _portlet.getWindowStates(); 2412 } 2413 2414 /** 2415 * Sets the window states of the portlet. 2416 * 2417 * @param windowStates the window states of the portlet 2418 */ 2419 public void setWindowStates( 2420 java.util.Map<java.lang.String, java.util.Set<java.lang.String>> windowStates) { 2421 _portlet.setWindowStates(windowStates); 2422 } 2423 2424 /** 2425 * Returns <code>true</code> if the portlet supports the specified mime type 2426 * and window state. 2427 * 2428 * @return <code>true</code> if the portlet supports the specified mime type 2429 and window state 2430 */ 2431 public boolean hasWindowState(java.lang.String mimeType, 2432 javax.portlet.WindowState windowState) { 2433 return _portlet.hasWindowState(mimeType, windowState); 2434 } 2435 2436 /** 2437 * Returns a list of all window states supported by the portlet. 2438 * 2439 * @return a list of all window states supported by the portlet 2440 */ 2441 public java.util.Set<java.lang.String> getAllWindowStates() { 2442 return _portlet.getAllWindowStates(); 2443 } 2444 2445 /** 2446 * Returns the supported locales of the portlet. 2447 * 2448 * @return supported locales of the portlet 2449 */ 2450 public java.util.Set<java.lang.String> getSupportedLocales() { 2451 return _portlet.getSupportedLocales(); 2452 } 2453 2454 /** 2455 * Sets the supported locales of the portlet. 2456 * 2457 * @param supportedLocales the supported locales of the portlet 2458 */ 2459 public void setSupportedLocales( 2460 java.util.Set<java.lang.String> supportedLocales) { 2461 _portlet.setSupportedLocales(supportedLocales); 2462 } 2463 2464 /** 2465 * Returns the resource bundle of the portlet. 2466 * 2467 * @return resource bundle of the portlet 2468 */ 2469 public java.lang.String getResourceBundle() { 2470 return _portlet.getResourceBundle(); 2471 } 2472 2473 /** 2474 * Sets the resource bundle of the portlet. 2475 * 2476 * @param resourceBundle the resource bundle of the portlet 2477 */ 2478 public void setResourceBundle(java.lang.String resourceBundle) { 2479 _portlet.setResourceBundle(resourceBundle); 2480 } 2481 2482 /** 2483 * Returns the portlet info of the portlet. 2484 * 2485 * @return portlet info of the portlet 2486 */ 2487 public com.liferay.portal.model.PortletInfo getPortletInfo() { 2488 return _portlet.getPortletInfo(); 2489 } 2490 2491 /** 2492 * Sets the portlet info of the portlet. 2493 * 2494 * @param portletInfo the portlet info of the portlet 2495 */ 2496 public void setPortletInfo(com.liferay.portal.model.PortletInfo portletInfo) { 2497 _portlet.setPortletInfo(portletInfo); 2498 } 2499 2500 /** 2501 * Returns the filters of the portlet. 2502 * 2503 * @return filters of the portlet 2504 */ 2505 public java.util.Map<java.lang.String, com.liferay.portal.model.PortletFilter> getPortletFilters() { 2506 return _portlet.getPortletFilters(); 2507 } 2508 2509 /** 2510 * Sets the filters of the portlet. 2511 * 2512 * @param portletFilters the filters of the portlet 2513 */ 2514 public void setPortletFilters( 2515 java.util.Map<java.lang.String, com.liferay.portal.model.PortletFilter> portletFilters) { 2516 _portlet.setPortletFilters(portletFilters); 2517 } 2518 2519 /** 2520 * Adds a supported processing event. 2521 */ 2522 public void addProcessingEvent( 2523 com.liferay.portal.kernel.xml.QName processingEvent) { 2524 _portlet.addProcessingEvent(processingEvent); 2525 } 2526 2527 /** 2528 * Returns the supported processing event from a namespace URI and a local 2529 * part. 2530 * 2531 * @return the supported processing event from a namespace URI and a local 2532 part 2533 */ 2534 public com.liferay.portal.kernel.xml.QName getProcessingEvent( 2535 java.lang.String uri, java.lang.String localPart) { 2536 return _portlet.getProcessingEvent(uri, localPart); 2537 } 2538 2539 /** 2540 * Returns the supported processing events of the portlet. 2541 * 2542 * @return supported processing events of the portlet 2543 */ 2544 public java.util.Set<com.liferay.portal.kernel.xml.QName> getProcessingEvents() { 2545 return _portlet.getProcessingEvents(); 2546 } 2547 2548 /** 2549 * Sets the supported processing events of the portlet. 2550 * 2551 * @param processingEvents the supported processing events of the portlet 2552 */ 2553 public void setProcessingEvents( 2554 java.util.Set<com.liferay.portal.kernel.xml.QName> processingEvents) { 2555 _portlet.setProcessingEvents(processingEvents); 2556 } 2557 2558 /** 2559 * Adds a supported publishing event. 2560 */ 2561 public void addPublishingEvent( 2562 com.liferay.portal.kernel.xml.QName publishingEvent) { 2563 _portlet.addPublishingEvent(publishingEvent); 2564 } 2565 2566 /** 2567 * Returns the supported publishing events of the portlet. 2568 * 2569 * @return supported publishing events of the portlet 2570 */ 2571 public java.util.Set<com.liferay.portal.kernel.xml.QName> getPublishingEvents() { 2572 return _portlet.getPublishingEvents(); 2573 } 2574 2575 /** 2576 * Sets the supported publishing events of the portlet. 2577 * 2578 * @param publishingEvents the supported publishing events of the portlet 2579 */ 2580 public void setPublishingEvents( 2581 java.util.Set<com.liferay.portal.kernel.xml.QName> publishingEvents) { 2582 _portlet.setPublishingEvents(publishingEvents); 2583 } 2584 2585 /** 2586 * Adds a supported public render parameter. 2587 * 2588 * @param publicRenderParameter a supported public render parameter 2589 */ 2590 public void addPublicRenderParameter( 2591 com.liferay.portal.model.PublicRenderParameter publicRenderParameter) { 2592 _portlet.addPublicRenderParameter(publicRenderParameter); 2593 } 2594 2595 /** 2596 * Returns the supported public render parameter from an identifier. 2597 * 2598 * @return the supported public render parameter from an identifier 2599 */ 2600 public com.liferay.portal.model.PublicRenderParameter getPublicRenderParameter( 2601 java.lang.String identifier) { 2602 return _portlet.getPublicRenderParameter(identifier); 2603 } 2604 2605 /** 2606 * Returns the supported public render parameter from a namespace URI and a 2607 * local part. 2608 * 2609 * @return the supported public render parameter from a namespace URI and a 2610 local part 2611 */ 2612 public com.liferay.portal.model.PublicRenderParameter getPublicRenderParameter( 2613 java.lang.String uri, java.lang.String localPart) { 2614 return _portlet.getPublicRenderParameter(uri, localPart); 2615 } 2616 2617 /** 2618 * Returns the supported public render parameters of the portlet. 2619 * 2620 * @return the supported public render parameters of the portlet 2621 */ 2622 public java.util.Set<com.liferay.portal.model.PublicRenderParameter> getPublicRenderParameters() { 2623 return _portlet.getPublicRenderParameters(); 2624 } 2625 2626 /** 2627 * Sets the supported public render parameters of the portlet. 2628 * 2629 * @param publicRenderParameters the supported public render parameters of 2630 the portlet 2631 */ 2632 public void setPublicRenderParameters( 2633 java.util.Set<com.liferay.portal.model.PublicRenderParameter> publicRenderParameters) { 2634 _portlet.setPublicRenderParameters(publicRenderParameters); 2635 } 2636 2637 /** 2638 * Returns the servlet context path of the portlet. 2639 * 2640 * @return the servlet context path of the portlet 2641 */ 2642 public java.lang.String getContextPath() { 2643 return _portlet.getContextPath(); 2644 } 2645 2646 /** 2647 * Returns the path for static resources served by this portlet. 2648 * 2649 * @return the path for static resources served by this portlet 2650 */ 2651 public java.lang.String getStaticResourcePath() { 2652 return _portlet.getStaticResourcePath(); 2653 } 2654 2655 /** 2656 * Returns this portlet's application. 2657 * 2658 * @return this portlet's application 2659 */ 2660 public com.liferay.portal.model.PortletApp getPortletApp() { 2661 return _portlet.getPortletApp(); 2662 } 2663 2664 /** 2665 * Sets this portlet's application. 2666 * 2667 * @param portletApp this portlet's application 2668 */ 2669 public void setPortletApp(com.liferay.portal.model.PortletApp portletApp) { 2670 _portlet.setPortletApp(portletApp); 2671 } 2672 2673 /** 2674 * Returns <code>true</code> if the portlet is found in a WAR file. 2675 * 2676 * @param portletId the cloned instance portlet ID 2677 * @return a cloned instance of the portlet 2678 */ 2679 public com.liferay.portal.model.Portlet getClonedInstance( 2680 java.lang.String portletId) { 2681 return _portlet.getClonedInstance(portletId); 2682 } 2683 2684 /** 2685 * Returns <code>true</code> if the portlet is a static portlet that is 2686 * cannot be moved. 2687 * 2688 * @return <code>true</code> if the portlet is a static portlet that is 2689 cannot be moved 2690 */ 2691 public boolean getStatic() { 2692 return _portlet.getStatic(); 2693 } 2694 2695 /** 2696 * Returns <code>true</code> if the portlet is a static portlet that is 2697 * cannot be moved. 2698 * 2699 * @return <code>true</code> if the portlet is a static portlet that is 2700 cannot be moved 2701 */ 2702 public boolean isStatic() { 2703 return _portlet.isStatic(); 2704 } 2705 2706 /** 2707 * Set to <code>true</code> if the portlet is a static portlet that is 2708 * cannot be moved. 2709 * 2710 * @param staticPortlet boolean value for whether the portlet is a static 2711 portlet that cannot be moved 2712 */ 2713 public void setStatic(boolean staticPortlet) { 2714 _portlet.setStatic(staticPortlet); 2715 } 2716 2717 /** 2718 * Returns <code>true</code> if the portlet is a static portlet at the start 2719 * of a list of portlets. 2720 * 2721 * @return <code>true</code> if the portlet is a static portlet at the start 2722 of a list of portlets 2723 */ 2724 public boolean getStaticStart() { 2725 return _portlet.getStaticStart(); 2726 } 2727 2728 /** 2729 * Returns <code>true</code> if the portlet is a static portlet at the start 2730 * of a list of portlets. 2731 * 2732 * @return <code>true</code> if the portlet is a static portlet at the start 2733 of a list of portlets 2734 */ 2735 public boolean isStaticStart() { 2736 return _portlet.isStaticStart(); 2737 } 2738 2739 /** 2740 * Set to <code>true</code> if the portlet is a static portlet at the start 2741 * of a list of portlets. 2742 * 2743 * @param staticPortletStart boolean value for whether the portlet is a 2744 static portlet at the start of a list of portlets 2745 */ 2746 public void setStaticStart(boolean staticPortletStart) { 2747 _portlet.setStaticStart(staticPortletStart); 2748 } 2749 2750 /** 2751 * Returns <code>true</code> if the portlet is a static portlet at the end 2752 * of a list of portlets. 2753 * 2754 * @return <code>true</code> if the portlet is a static portlet at the end 2755 of a list of portlets 2756 */ 2757 public boolean getStaticEnd() { 2758 return _portlet.getStaticEnd(); 2759 } 2760 2761 /** 2762 * Returns <code>true</code> if the portlet is a static portlet at the end 2763 * of a list of portlets. 2764 * 2765 * @return <code>true</code> if the portlet is a static portlet at the end 2766 of a list of portlets 2767 */ 2768 public boolean isStaticEnd() { 2769 return _portlet.isStaticEnd(); 2770 } 2771 2772 /** 2773 * Returns <code>true</code> if the portlet is an undeployed portlet. 2774 * 2775 * @return <code>true</code> if the portlet is a placeholder of an 2776 undeployed portlet 2777 */ 2778 public boolean getUndeployedPortlet() { 2779 return _portlet.getUndeployedPortlet(); 2780 } 2781 2782 /** 2783 * Returns <code>true</code> if the portlet is an undeployed portlet. 2784 * 2785 * @return <code>true</code> if the portlet is a placeholder of an 2786 undeployed portlet 2787 */ 2788 public boolean isUndeployedPortlet() { 2789 return _portlet.isUndeployedPortlet(); 2790 } 2791 2792 /** 2793 * Set to <code>true</code> if the portlet is an undeployed portlet. 2794 * 2795 * @param undeployedPortlet boolean value for whether the portlet is an 2796 undeployed portlet 2797 */ 2798 public void setUndeployedPortlet(boolean undeployedPortlet) { 2799 _portlet.setUndeployedPortlet(undeployedPortlet); 2800 } 2801 2802 /** 2803 * Checks whether this portlet is equal to the specified object. 2804 * 2805 * @param obj the object to compare this portlet against 2806 * @return <code>true</code> if the portlet is equal to the specified object 2807 */ 2808 public boolean equals(java.lang.Object obj) { 2809 return _portlet.equals(obj); 2810 } 2811 2812 public Portlet getWrappedPortlet() { 2813 return _portlet; 2814 } 2815 2816 public void resetOriginalValues() { 2817 _portlet.resetOriginalValues(); 2818 } 2819 2820 private Portlet _portlet; 2821 }