001 /** 002 * Copyright (c) 2000-2012 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, ModelWrapper<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 public void setPermissionPropagatorClass( 1127 java.lang.String permissionPropagatorClass) { 1128 _portlet.setPermissionPropagatorClass(permissionPropagatorClass); 1129 } 1130 1131 /** 1132 * Returns the permission propagator instance of the portlet. 1133 * 1134 * @return the permission propagator instance of the portlet 1135 */ 1136 public com.liferay.portal.security.permission.PermissionPropagator getPermissionPropagatorInstance() { 1137 return _portlet.getPermissionPropagatorInstance(); 1138 } 1139 1140 /** 1141 * Returns the names of the classes that represent workflow handlers 1142 * associated with the portlet. 1143 * 1144 * @return the names of the classes that represent workflow handlers 1145 associated with the portlet 1146 */ 1147 public java.util.List<java.lang.String> getWorkflowHandlerClasses() { 1148 return _portlet.getWorkflowHandlerClasses(); 1149 } 1150 1151 /** 1152 * Sets the name of the classes that represent workflow handlers associated 1153 * to the portlet. 1154 * 1155 * @param workflowHandlerClasses the names of the classes that represent 1156 workflow handlers associated with the portlet 1157 */ 1158 public void setWorkflowHandlerClasses( 1159 java.util.List<java.lang.String> workflowHandlerClasses) { 1160 _portlet.setWorkflowHandlerClasses(workflowHandlerClasses); 1161 } 1162 1163 /** 1164 * Returns the workflow handler instances of the portlet. 1165 * 1166 * @return the workflow handler instances of the portlet 1167 */ 1168 public java.util.List<com.liferay.portal.kernel.workflow.WorkflowHandler> getWorkflowHandlerInstances() { 1169 return _portlet.getWorkflowHandlerInstances(); 1170 } 1171 1172 /** 1173 * Returns the default preferences of the portlet. 1174 * 1175 * @return the default preferences of the portlet 1176 */ 1177 public java.lang.String getDefaultPreferences() { 1178 return _portlet.getDefaultPreferences(); 1179 } 1180 1181 /** 1182 * Sets the default preferences of the portlet. 1183 * 1184 * @param defaultPreferences the default preferences of the portlet 1185 */ 1186 public void setDefaultPreferences(java.lang.String defaultPreferences) { 1187 _portlet.setDefaultPreferences(defaultPreferences); 1188 } 1189 1190 /** 1191 * Returns the name of the preferences validator class of the portlet. 1192 * 1193 * @return the name of the preferences validator class of the portlet 1194 */ 1195 public java.lang.String getPreferencesValidator() { 1196 return _portlet.getPreferencesValidator(); 1197 } 1198 1199 /** 1200 * Sets the name of the preferences validator class of the portlet. 1201 * 1202 * @param preferencesValidator the name of the preferences validator class 1203 of the portlet 1204 */ 1205 public void setPreferencesValidator(java.lang.String preferencesValidator) { 1206 _portlet.setPreferencesValidator(preferencesValidator); 1207 } 1208 1209 /** 1210 * Returns <code>true</code> if preferences are shared across the entire 1211 * company. 1212 * 1213 * @return <code>true</code> if preferences are shared across the entire 1214 company 1215 */ 1216 public boolean getPreferencesCompanyWide() { 1217 return _portlet.getPreferencesCompanyWide(); 1218 } 1219 1220 /** 1221 * Returns <code>true</code> if preferences are shared across the entire 1222 * company. 1223 * 1224 * @return <code>true</code> if preferences are shared across the entire 1225 company 1226 */ 1227 public boolean isPreferencesCompanyWide() { 1228 return _portlet.isPreferencesCompanyWide(); 1229 } 1230 1231 /** 1232 * Set to <code>true</code> if preferences are shared across the entire 1233 * company. 1234 * 1235 * @param preferencesCompanyWide boolean value for whether preferences are 1236 shared across the entire company 1237 */ 1238 public void setPreferencesCompanyWide(boolean preferencesCompanyWide) { 1239 _portlet.setPreferencesCompanyWide(preferencesCompanyWide); 1240 } 1241 1242 /** 1243 * Returns <code>true</code> if preferences are unique per layout. 1244 * 1245 * @return <code>true</code> if preferences are unique per layout 1246 */ 1247 public boolean getPreferencesUniquePerLayout() { 1248 return _portlet.getPreferencesUniquePerLayout(); 1249 } 1250 1251 /** 1252 * Returns <code>true</code> if preferences are unique per layout. 1253 * 1254 * @return <code>true</code> if preferences are unique per layout 1255 */ 1256 public boolean isPreferencesUniquePerLayout() { 1257 return _portlet.isPreferencesUniquePerLayout(); 1258 } 1259 1260 /** 1261 * Set to <code>true</code> if preferences are unique per layout. 1262 * 1263 * @param preferencesUniquePerLayout boolean value for whether preferences 1264 are unique per layout 1265 */ 1266 public void setPreferencesUniquePerLayout( 1267 boolean preferencesUniquePerLayout) { 1268 _portlet.setPreferencesUniquePerLayout(preferencesUniquePerLayout); 1269 } 1270 1271 /** 1272 * Returns <code>true</code> if preferences are owned by the group when the 1273 * portlet is shown in a group layout. Returns <code>false</code> if 1274 * preferences are owned by the user at all times. 1275 * 1276 * @return <code>true</code> if preferences are owned by the group when the 1277 portlet is shown in a group layout; <code>false</code> if 1278 preferences are owned by the user at all times. 1279 */ 1280 public boolean getPreferencesOwnedByGroup() { 1281 return _portlet.getPreferencesOwnedByGroup(); 1282 } 1283 1284 /** 1285 * Returns <code>true</code> if preferences are owned by the group when the 1286 * portlet is shown in a group layout. Returns <code>false</code> if 1287 * preferences are owned by the user at all times. 1288 * 1289 * @return <code>true</code> if preferences are owned by the group when the 1290 portlet is shown in a group layout; <code>false</code> if 1291 preferences are owned by the user at all times. 1292 */ 1293 public boolean isPreferencesOwnedByGroup() { 1294 return _portlet.isPreferencesOwnedByGroup(); 1295 } 1296 1297 /** 1298 * Set to <code>true</code> if preferences are owned by the group when the 1299 * portlet is shown in a group layout. Set to <code>false</code> if 1300 * preferences are owned by the user at all times. 1301 * 1302 * @param preferencesOwnedByGroup boolean value for whether preferences are 1303 owned by the group when the portlet is shown in a group layout or 1304 preferences are owned by the user at all times 1305 */ 1306 public void setPreferencesOwnedByGroup(boolean preferencesOwnedByGroup) { 1307 _portlet.setPreferencesOwnedByGroup(preferencesOwnedByGroup); 1308 } 1309 1310 /** 1311 * Returns <code>true</code> if the portlet uses the default template. 1312 * 1313 * @return <code>true</code> if the portlet uses the default template 1314 */ 1315 public boolean getUseDefaultTemplate() { 1316 return _portlet.getUseDefaultTemplate(); 1317 } 1318 1319 /** 1320 * Returns <code>true</code> if the portlet uses the default template. 1321 * 1322 * @return <code>true</code> if the portlet uses the default template 1323 */ 1324 public boolean isUseDefaultTemplate() { 1325 return _portlet.isUseDefaultTemplate(); 1326 } 1327 1328 /** 1329 * Set to <code>true</code> if the portlet uses the default template. 1330 * 1331 * @param useDefaultTemplate boolean value for whether the portlet uses the 1332 default template 1333 */ 1334 public void setUseDefaultTemplate(boolean useDefaultTemplate) { 1335 _portlet.setUseDefaultTemplate(useDefaultTemplate); 1336 } 1337 1338 /** 1339 * Returns <code>true</code> if users are shown that they do not have access 1340 * to the portlet. 1341 * 1342 * @return <code>true</code> if users are shown that they do not have access 1343 to the portlet 1344 */ 1345 public boolean getShowPortletAccessDenied() { 1346 return _portlet.getShowPortletAccessDenied(); 1347 } 1348 1349 /** 1350 * Returns <code>true</code> if users are shown that they do not have access 1351 * to the portlet. 1352 * 1353 * @return <code>true</code> if users are shown that they do not have access 1354 to the portlet 1355 */ 1356 public boolean isShowPortletAccessDenied() { 1357 return _portlet.isShowPortletAccessDenied(); 1358 } 1359 1360 /** 1361 * Set to <code>true</code> if users are shown that they do not have access 1362 * to the portlet. 1363 * 1364 * @param showPortletAccessDenied boolean value for whether users are shown 1365 that they do not have access to the portlet 1366 */ 1367 public void setShowPortletAccessDenied(boolean showPortletAccessDenied) { 1368 _portlet.setShowPortletAccessDenied(showPortletAccessDenied); 1369 } 1370 1371 /** 1372 * Returns <code>true</code> if users are shown that the portlet is 1373 * inactive. 1374 * 1375 * @return <code>true</code> if users are shown that the portlet is inactive 1376 */ 1377 public boolean getShowPortletInactive() { 1378 return _portlet.getShowPortletInactive(); 1379 } 1380 1381 /** 1382 * Returns <code>true</code> if users are shown that the portlet is 1383 * inactive. 1384 * 1385 * @return <code>true</code> if users are shown that the portlet is inactive 1386 */ 1387 public boolean isShowPortletInactive() { 1388 return _portlet.isShowPortletInactive(); 1389 } 1390 1391 /** 1392 * Set to <code>true</code> if users are shown that the portlet is inactive. 1393 * 1394 * @param showPortletInactive boolean value for whether users are shown that 1395 the portlet is inactive 1396 */ 1397 public void setShowPortletInactive(boolean showPortletInactive) { 1398 _portlet.setShowPortletInactive(showPortletInactive); 1399 } 1400 1401 /** 1402 * Returns <code>true</code> if an action URL for this portlet should cause 1403 * an auto redirect. 1404 * 1405 * @return <code>true</code> if an action URL for this portlet should cause 1406 an auto redirect 1407 */ 1408 public boolean getActionURLRedirect() { 1409 return _portlet.getActionURLRedirect(); 1410 } 1411 1412 /** 1413 * Returns <code>true</code> if an action URL for this portlet should cause 1414 * an auto redirect. 1415 * 1416 * @return <code>true</code> if an action URL for this portlet should cause 1417 an auto redirect 1418 */ 1419 public boolean isActionURLRedirect() { 1420 return _portlet.isActionURLRedirect(); 1421 } 1422 1423 /** 1424 * Set to <code>true</code> if an action URL for this portlet should cause 1425 * an auto redirect. 1426 * 1427 * @param actionURLRedirect boolean value for whether an action URL for this 1428 portlet should cause an auto redirect 1429 */ 1430 public void setActionURLRedirect(boolean actionURLRedirect) { 1431 _portlet.setActionURLRedirect(actionURLRedirect); 1432 } 1433 1434 /** 1435 * Returns <code>true</code> if the portlet restores to the current view 1436 * from the maximized state. 1437 * 1438 * @return <code>true</code> if the portlet restores to the current view 1439 from the maximized state 1440 */ 1441 public boolean getRestoreCurrentView() { 1442 return _portlet.getRestoreCurrentView(); 1443 } 1444 1445 /** 1446 * Returns <code>true</code> if the portlet restores to the current view 1447 * from the maximized state. 1448 * 1449 * @return <code>true</code> if the portlet restores to the current view 1450 from the maximized state 1451 */ 1452 public boolean isRestoreCurrentView() { 1453 return _portlet.isRestoreCurrentView(); 1454 } 1455 1456 /** 1457 * Set to <code>true</code> if the portlet restores to the current view from 1458 * the maximized state. 1459 * 1460 * @param restoreCurrentView boolean value for whether the portlet restores 1461 to the current view from the maximized state 1462 */ 1463 public void setRestoreCurrentView(boolean restoreCurrentView) { 1464 _portlet.setRestoreCurrentView(restoreCurrentView); 1465 } 1466 1467 /** 1468 * Returns <code>true</code> if the portlet goes into the maximized state 1469 * when the user goes into the edit mode. 1470 * 1471 * @return <code>true</code> if the portlet goes into the maximized state 1472 when the user goes into the edit mode 1473 */ 1474 public boolean getMaximizeEdit() { 1475 return _portlet.getMaximizeEdit(); 1476 } 1477 1478 /** 1479 * Returns <code>true</code> if the portlet goes into the maximized state 1480 * when the user goes into the edit mode. 1481 * 1482 * @return <code>true</code> if the portlet goes into the maximized state 1483 when the user goes into the edit mode 1484 */ 1485 public boolean isMaximizeEdit() { 1486 return _portlet.isMaximizeEdit(); 1487 } 1488 1489 /** 1490 * Set to <code>true</code> if the portlet goes into the maximized state 1491 * when the user goes into the edit mode. 1492 * 1493 * @param maximizeEdit boolean value for whether the portlet goes into the 1494 maximized state when the user goes into the edit mode 1495 */ 1496 public void setMaximizeEdit(boolean maximizeEdit) { 1497 _portlet.setMaximizeEdit(maximizeEdit); 1498 } 1499 1500 /** 1501 * Returns <code>true</code> if the portlet goes into the maximized state 1502 * when the user goes into the help mode. 1503 * 1504 * @return <code>true</code> if the portlet goes into the maximized state 1505 when the user goes into the help mode 1506 */ 1507 public boolean getMaximizeHelp() { 1508 return _portlet.getMaximizeHelp(); 1509 } 1510 1511 /** 1512 * Returns <code>true</code> if the portlet goes into the maximized state 1513 * when the user goes into the help mode. 1514 * 1515 * @return <code>true</code> if the portlet goes into the maximized state 1516 when the user goes into the help mode 1517 */ 1518 public boolean isMaximizeHelp() { 1519 return _portlet.isMaximizeHelp(); 1520 } 1521 1522 /** 1523 * Set to <code>true</code> if the portlet goes into the maximized state 1524 * when the user goes into the help mode. 1525 * 1526 * @param maximizeHelp boolean value for whether the portlet goes into the 1527 maximized state when the user goes into the help mode 1528 */ 1529 public void setMaximizeHelp(boolean maximizeHelp) { 1530 _portlet.setMaximizeHelp(maximizeHelp); 1531 } 1532 1533 /** 1534 * Returns <code>true</code> if the portlet goes into the pop up state when 1535 * the user goes into the print mode. 1536 * 1537 * @return <code>true</code> if the portlet goes into the pop up state when 1538 the user goes into the print mode 1539 */ 1540 public boolean getPopUpPrint() { 1541 return _portlet.getPopUpPrint(); 1542 } 1543 1544 /** 1545 * Returns <code>true</code> if the portlet goes into the pop up state when 1546 * the user goes into the print mode. 1547 * 1548 * @return <code>true</code> if the portlet goes into the pop up state when 1549 the user goes into the print mode 1550 */ 1551 public boolean isPopUpPrint() { 1552 return _portlet.isPopUpPrint(); 1553 } 1554 1555 /** 1556 * Set to <code>true</code> if the portlet goes into the pop up state when 1557 * the user goes into the print mode. 1558 * 1559 * @param popUpPrint boolean value for whether the portlet goes into the pop 1560 up state when the user goes into the print mode 1561 */ 1562 public void setPopUpPrint(boolean popUpPrint) { 1563 _portlet.setPopUpPrint(popUpPrint); 1564 } 1565 1566 /** 1567 * Returns <code>true</code> to allow the portlet to be cached within the 1568 * layout. 1569 * 1570 * @return <code>true</code> if the portlet can be cached within the layout 1571 */ 1572 public boolean getLayoutCacheable() { 1573 return _portlet.getLayoutCacheable(); 1574 } 1575 1576 /** 1577 * Returns <code>true</code> to allow the portlet to be cached within the 1578 * layout. 1579 * 1580 * @return <code>true</code> if the portlet can be cached within the layout 1581 */ 1582 public boolean isLayoutCacheable() { 1583 return _portlet.isLayoutCacheable(); 1584 } 1585 1586 /** 1587 * Set to <code>true</code> to allow the portlet to be cached within the 1588 * layout. 1589 * 1590 * @param layoutCacheable boolean value for whether the portlet can be 1591 cached within the layout 1592 */ 1593 public void setLayoutCacheable(boolean layoutCacheable) { 1594 _portlet.setLayoutCacheable(layoutCacheable); 1595 } 1596 1597 /** 1598 * Returns <code>true</code> if the portlet can be added multiple times to a 1599 * layout. 1600 * 1601 * @return <code>true</code> if the portlet can be added multiple times to a 1602 layout 1603 */ 1604 public boolean getInstanceable() { 1605 return _portlet.getInstanceable(); 1606 } 1607 1608 /** 1609 * Returns <code>true</code> if the portlet can be added multiple times to a 1610 * layout. 1611 * 1612 * @return <code>true</code> if the portlet can be added multiple times to a 1613 layout 1614 */ 1615 public boolean isInstanceable() { 1616 return _portlet.isInstanceable(); 1617 } 1618 1619 /** 1620 * Set to <code>true</code> if the portlet can be added multiple times to a 1621 * layout. 1622 * 1623 * @param instanceable boolean value for whether the portlet can be added 1624 multiple times to a layout 1625 */ 1626 public void setInstanceable(boolean instanceable) { 1627 _portlet.setInstanceable(instanceable); 1628 } 1629 1630 /** 1631 * Returns <code>true</code> if the portlet supports remoting. 1632 * 1633 * @return <code>true</code> if the portlet supports remoting 1634 */ 1635 public boolean getRemoteable() { 1636 return _portlet.getRemoteable(); 1637 } 1638 1639 /** 1640 * Returns <code>true</code> if the portlet supports remoting. 1641 * 1642 * @return <code>true</code> if the portlet supports remoting 1643 */ 1644 public boolean isRemoteable() { 1645 return _portlet.isRemoteable(); 1646 } 1647 1648 /** 1649 * Set to <code>true</code> if the portlet supports remoting 1650 * 1651 * @param remoteable boolean value for whether or not the the portlet 1652 supports remoting 1653 */ 1654 public void setRemoteable(boolean remoteable) { 1655 _portlet.setRemoteable(remoteable); 1656 } 1657 1658 /** 1659 * Returns <code>true</code> if the portlet supports scoping of data. 1660 * 1661 * @return <code>true</code> if the portlet supports scoping of data 1662 */ 1663 public boolean getScopeable() { 1664 return _portlet.getScopeable(); 1665 } 1666 1667 /** 1668 * Returns <code>true</code> if the portlet supports scoping of data. 1669 * 1670 * @return <code>true</code> if the portlet supports scoping of data 1671 */ 1672 public boolean isScopeable() { 1673 return _portlet.isScopeable(); 1674 } 1675 1676 /** 1677 * Set to <code>true</code> if the portlet supports scoping of data. 1678 * 1679 * @param scopeable boolean value for whether or not the the portlet 1680 supports scoping of data 1681 */ 1682 public void setScopeable(boolean scopeable) { 1683 _portlet.setScopeable(scopeable); 1684 } 1685 1686 /** 1687 * Returns the user principal strategy of the portlet. 1688 * 1689 * @return the user principal strategy of the portlet 1690 */ 1691 public java.lang.String getUserPrincipalStrategy() { 1692 return _portlet.getUserPrincipalStrategy(); 1693 } 1694 1695 /** 1696 * Sets the user principal strategy of the portlet. 1697 * 1698 * @param userPrincipalStrategy the user principal strategy of the portlet 1699 */ 1700 public void setUserPrincipalStrategy(java.lang.String userPrincipalStrategy) { 1701 _portlet.setUserPrincipalStrategy(userPrincipalStrategy); 1702 } 1703 1704 /** 1705 * Returns <code>true</code> if the portlet does not share request 1706 * attributes with the portal or portlets from another WAR. 1707 * 1708 * @return <code>true</code> if the portlet does not share request 1709 attributes with the portal or portlets from another WAR 1710 */ 1711 public boolean getPrivateRequestAttributes() { 1712 return _portlet.getPrivateRequestAttributes(); 1713 } 1714 1715 /** 1716 * Returns <code>true</code> if the portlet does not share request 1717 * attributes with the portal or portlets from another WAR. 1718 * 1719 * @return <code>true</code> if the portlet does not share request 1720 attributes with the portal or portlets from another WAR 1721 */ 1722 public boolean isPrivateRequestAttributes() { 1723 return _portlet.isPrivateRequestAttributes(); 1724 } 1725 1726 /** 1727 * Set to <code>true</code> if the portlet does not share request attributes 1728 * with the portal or portlets from another WAR. 1729 * 1730 * @param privateRequestAttributes boolean value for whether the portlet 1731 shares request attributes with the portal or portlets from another 1732 WAR 1733 */ 1734 public void setPrivateRequestAttributes(boolean privateRequestAttributes) { 1735 _portlet.setPrivateRequestAttributes(privateRequestAttributes); 1736 } 1737 1738 /** 1739 * Returns <code>true</code> if the portlet does not share session 1740 * attributes with the portal. 1741 * 1742 * @return <code>true</code> if the portlet does not share session 1743 attributes with the portal 1744 */ 1745 public boolean getPrivateSessionAttributes() { 1746 return _portlet.getPrivateSessionAttributes(); 1747 } 1748 1749 /** 1750 * Returns <code>true</code> if the portlet does not share session 1751 * attributes with the portal. 1752 * 1753 * @return <code>true</code> if the portlet does not share session 1754 attributes with the portal 1755 */ 1756 public boolean isPrivateSessionAttributes() { 1757 return _portlet.isPrivateSessionAttributes(); 1758 } 1759 1760 /** 1761 * Set to <code>true</code> if the portlet does not share session attributes 1762 * with the portal. 1763 * 1764 * @param privateSessionAttributes boolean value for whether the portlet 1765 shares session attributes with the portal 1766 */ 1767 public void setPrivateSessionAttributes(boolean privateSessionAttributes) { 1768 _portlet.setPrivateSessionAttributes(privateSessionAttributes); 1769 } 1770 1771 /** 1772 * Returns the names of the parameters that will be automatically propagated 1773 * through the portlet. 1774 * 1775 * @return the names of the parameters that will be automatically propagated 1776 through the portlet 1777 */ 1778 public java.util.Set<java.lang.String> getAutopropagatedParameters() { 1779 return _portlet.getAutopropagatedParameters(); 1780 } 1781 1782 /** 1783 * Sets the names of the parameters that will be automatically propagated 1784 * through the portlet. 1785 * 1786 * @param autopropagatedParameters the names of the parameters that will be 1787 automatically propagated through the portlet 1788 */ 1789 public void setAutopropagatedParameters( 1790 java.util.Set<java.lang.String> autopropagatedParameters) { 1791 _portlet.setAutopropagatedParameters(autopropagatedParameters); 1792 } 1793 1794 /** 1795 * Returns the action timeout of the portlet. 1796 * 1797 * @return the action timeout of the portlet 1798 */ 1799 public int getActionTimeout() { 1800 return _portlet.getActionTimeout(); 1801 } 1802 1803 /** 1804 * Sets the action timeout of the portlet. 1805 * 1806 * @param actionTimeout the action timeout of the portlet 1807 */ 1808 public void setActionTimeout(int actionTimeout) { 1809 _portlet.setActionTimeout(actionTimeout); 1810 } 1811 1812 /** 1813 * Returns the render timeout of the portlet. 1814 * 1815 * @return the render timeout of the portlet 1816 */ 1817 public int getRenderTimeout() { 1818 return _portlet.getRenderTimeout(); 1819 } 1820 1821 /** 1822 * Sets the render timeout of the portlet. 1823 * 1824 * @param renderTimeout the render timeout of the portlet 1825 */ 1826 public void setRenderTimeout(int renderTimeout) { 1827 _portlet.setRenderTimeout(renderTimeout); 1828 } 1829 1830 /** 1831 * Returns the render weight of the portlet. 1832 * 1833 * @return the render weight of the portlet 1834 */ 1835 public int getRenderWeight() { 1836 return _portlet.getRenderWeight(); 1837 } 1838 1839 /** 1840 * Sets the render weight of the portlet. 1841 * 1842 * @param renderWeight int value for the render weight of the portlet 1843 */ 1844 public void setRenderWeight(int renderWeight) { 1845 _portlet.setRenderWeight(renderWeight); 1846 } 1847 1848 /** 1849 * Returns <code>true</code> if the portlet can be displayed via Ajax. 1850 * 1851 * @return <code>true</code> if the portlet can be displayed via Ajax 1852 */ 1853 public boolean getAjaxable() { 1854 return _portlet.getAjaxable(); 1855 } 1856 1857 /** 1858 * Returns <code>true</code> if the portlet can be displayed via Ajax. 1859 * 1860 * @return <code>true</code> if the portlet can be displayed via Ajax 1861 */ 1862 public boolean isAjaxable() { 1863 return _portlet.isAjaxable(); 1864 } 1865 1866 /** 1867 * Set to <code>true</code> if the portlet can be displayed via Ajax. 1868 * 1869 * @param ajaxable boolean value for whether the portlet can be displayed 1870 via Ajax 1871 */ 1872 public void setAjaxable(boolean ajaxable) { 1873 _portlet.setAjaxable(ajaxable); 1874 } 1875 1876 /** 1877 * Returns a list of CSS files that will be referenced from the page's 1878 * header relative to the portal's context path. 1879 * 1880 * @return a list of CSS files that will be referenced from the page's 1881 header relative to the portal's context path 1882 */ 1883 public java.util.List<java.lang.String> getHeaderPortalCss() { 1884 return _portlet.getHeaderPortalCss(); 1885 } 1886 1887 /** 1888 * Sets a list of CSS files that will be referenced from the page's header 1889 * relative to the portal's context path. 1890 * 1891 * @param headerPortalCss a list of CSS files that will be referenced from 1892 the page's header relative to the portal's context path 1893 */ 1894 public void setHeaderPortalCss( 1895 java.util.List<java.lang.String> headerPortalCss) { 1896 _portlet.setHeaderPortalCss(headerPortalCss); 1897 } 1898 1899 /** 1900 * Returns a list of CSS files that will be referenced from the page's 1901 * header relative to the portlet's context path. 1902 * 1903 * @return a list of CSS files that will be referenced from the page's 1904 header relative to the portlet's context path 1905 */ 1906 public java.util.List<java.lang.String> getHeaderPortletCss() { 1907 return _portlet.getHeaderPortletCss(); 1908 } 1909 1910 /** 1911 * Sets a list of CSS files that will be referenced from the page's header 1912 * relative to the portlet's context path. 1913 * 1914 * @param headerPortletCss a list of CSS files that will be referenced from 1915 the page's header relative to the portlet's context path 1916 */ 1917 public void setHeaderPortletCss( 1918 java.util.List<java.lang.String> headerPortletCss) { 1919 _portlet.setHeaderPortletCss(headerPortletCss); 1920 } 1921 1922 /** 1923 * Returns a list of JavaScript files that will be referenced from the 1924 * page's header relative to the portal's context path. 1925 * 1926 * @return a list of JavaScript files that will be referenced from the 1927 page's header relative to the portal's context path 1928 */ 1929 public java.util.List<java.lang.String> getHeaderPortalJavaScript() { 1930 return _portlet.getHeaderPortalJavaScript(); 1931 } 1932 1933 /** 1934 * Sets a list of JavaScript files that will be referenced from the page's 1935 * header relative to the portal's context path. 1936 * 1937 * @param headerPortalJavaScript a list of JavaScript files that will be 1938 referenced from the page's header relative to the portal's context 1939 path 1940 */ 1941 public void setHeaderPortalJavaScript( 1942 java.util.List<java.lang.String> headerPortalJavaScript) { 1943 _portlet.setHeaderPortalJavaScript(headerPortalJavaScript); 1944 } 1945 1946 /** 1947 * Returns a list of JavaScript files that will be referenced from the 1948 * page's header relative to the portlet's context path. 1949 * 1950 * @return a list of JavaScript files that will be referenced from the 1951 page's header relative to the portlet's context path 1952 */ 1953 public java.util.List<java.lang.String> getHeaderPortletJavaScript() { 1954 return _portlet.getHeaderPortletJavaScript(); 1955 } 1956 1957 /** 1958 * Sets a list of JavaScript files that will be referenced from the page's 1959 * header relative to the portlet's context path. 1960 * 1961 * @param headerPortletJavaScript a list of JavaScript files that will be 1962 referenced from the page's header relative to the portlet's 1963 context path 1964 */ 1965 public void setHeaderPortletJavaScript( 1966 java.util.List<java.lang.String> headerPortletJavaScript) { 1967 _portlet.setHeaderPortletJavaScript(headerPortletJavaScript); 1968 } 1969 1970 /** 1971 * Returns a list of CSS files that will be referenced from the page's 1972 * footer relative to the portal's context path. 1973 * 1974 * @return a list of CSS files that will be referenced from the page's 1975 footer relative to the portal's context path 1976 */ 1977 public java.util.List<java.lang.String> getFooterPortalCss() { 1978 return _portlet.getFooterPortalCss(); 1979 } 1980 1981 /** 1982 * Sets a list of CSS files that will be referenced from the page's footer 1983 * relative to the portal's context path. 1984 * 1985 * @param footerPortalCss a list of CSS files that will be referenced from 1986 the page's footer relative to the portal's context path 1987 */ 1988 public void setFooterPortalCss( 1989 java.util.List<java.lang.String> footerPortalCss) { 1990 _portlet.setFooterPortalCss(footerPortalCss); 1991 } 1992 1993 /** 1994 * Returns a list of CSS files that will be referenced from the page's 1995 * footer relative to the portlet's context path. 1996 * 1997 * @return a list of CSS files that will be referenced from the page's 1998 footer relative to the portlet's context path 1999 */ 2000 public java.util.List<java.lang.String> getFooterPortletCss() { 2001 return _portlet.getFooterPortletCss(); 2002 } 2003 2004 /** 2005 * Sets a list of CSS files that will be referenced from the page's footer 2006 * relative to the portlet's context path. 2007 * 2008 * @param footerPortletCss a list of CSS files that will be referenced from 2009 the page's footer relative to the portlet's context path 2010 */ 2011 public void setFooterPortletCss( 2012 java.util.List<java.lang.String> footerPortletCss) { 2013 _portlet.setFooterPortletCss(footerPortletCss); 2014 } 2015 2016 /** 2017 * Returns a list of JavaScript files that will be referenced from the 2018 * page's footer relative to the portal's context path. 2019 * 2020 * @return a list of JavaScript files that will be referenced from the 2021 page's footer relative to the portal's context path 2022 */ 2023 public java.util.List<java.lang.String> getFooterPortalJavaScript() { 2024 return _portlet.getFooterPortalJavaScript(); 2025 } 2026 2027 /** 2028 * Sets a list of JavaScript files that will be referenced from the page's 2029 * footer relative to the portal's context path. 2030 * 2031 * @param footerPortalJavaScript a list of JavaScript files that will be 2032 referenced from the page's footer relative to the portal's context 2033 path 2034 */ 2035 public void setFooterPortalJavaScript( 2036 java.util.List<java.lang.String> footerPortalJavaScript) { 2037 _portlet.setFooterPortalJavaScript(footerPortalJavaScript); 2038 } 2039 2040 /** 2041 * Returns a list of JavaScript files that will be referenced from the 2042 * page's footer relative to the portlet's context path. 2043 * 2044 * @return a list of JavaScript files that will be referenced from the 2045 page's footer relative to the portlet's context path 2046 */ 2047 public java.util.List<java.lang.String> getFooterPortletJavaScript() { 2048 return _portlet.getFooterPortletJavaScript(); 2049 } 2050 2051 /** 2052 * Sets a list of JavaScript files that will be referenced from the page's 2053 * footer relative to the portlet's context path. 2054 * 2055 * @param footerPortletJavaScript a list of JavaScript files that will be 2056 referenced from the page's footer relative to the portlet's 2057 context path 2058 */ 2059 public void setFooterPortletJavaScript( 2060 java.util.List<java.lang.String> footerPortletJavaScript) { 2061 _portlet.setFooterPortletJavaScript(footerPortletJavaScript); 2062 } 2063 2064 /** 2065 * Returns the name of the CSS class that will be injected in the DIV that 2066 * wraps this portlet. 2067 * 2068 * @return the name of the CSS class that will be injected in the DIV that 2069 wraps this portlet 2070 */ 2071 public java.lang.String getCssClassWrapper() { 2072 return _portlet.getCssClassWrapper(); 2073 } 2074 2075 /** 2076 * Sets the name of the CSS class that will be injected in the DIV that 2077 * wraps this portlet. 2078 * 2079 * @param cssClassWrapper the name of the CSS class that will be injected in 2080 the DIV that wraps this portlet 2081 */ 2082 public void setCssClassWrapper(java.lang.String cssClassWrapper) { 2083 _portlet.setCssClassWrapper(cssClassWrapper); 2084 } 2085 2086 /** 2087 * Returns the Facebook integration method of the portlet. 2088 * 2089 * @return the Facebook integration method of the portlet 2090 */ 2091 public java.lang.String getFacebookIntegration() { 2092 return _portlet.getFacebookIntegration(); 2093 } 2094 2095 /** 2096 * Sets the Facebook integration method of the portlet. 2097 * 2098 * @param facebookIntegration the Facebook integration method of the portlet 2099 */ 2100 public void setFacebookIntegration(java.lang.String facebookIntegration) { 2101 _portlet.setFacebookIntegration(facebookIntegration); 2102 } 2103 2104 /** 2105 * Returns <code>true</code> if default resources for the portlet are added 2106 * to a page. 2107 * 2108 * @return <code>true</code> if default resources for the portlet are added 2109 to a page 2110 */ 2111 public boolean getAddDefaultResource() { 2112 return _portlet.getAddDefaultResource(); 2113 } 2114 2115 /** 2116 * Returns <code>true</code> if default resources for the portlet are added 2117 * to a page. 2118 * 2119 * @return <code>true</code> if default resources for the portlet are added 2120 to a page 2121 */ 2122 public boolean isAddDefaultResource() { 2123 return _portlet.isAddDefaultResource(); 2124 } 2125 2126 /** 2127 * Set to <code>true</code> if default resources for the portlet are added 2128 * to a page. 2129 * 2130 * @param addDefaultResource boolean value for whether or not default 2131 resources for the portlet are added to a page 2132 */ 2133 public void setAddDefaultResource(boolean addDefaultResource) { 2134 _portlet.setAddDefaultResource(addDefaultResource); 2135 } 2136 2137 /** 2138 * Returns an array of required roles of the portlet. 2139 * 2140 * @return an array of required roles of the portlet 2141 */ 2142 public java.lang.String[] getRolesArray() { 2143 return _portlet.getRolesArray(); 2144 } 2145 2146 /** 2147 * Sets an array of required roles of the portlet. 2148 * 2149 * @param rolesArray an array of required roles of the portlet 2150 */ 2151 public void setRolesArray(java.lang.String[] rolesArray) { 2152 _portlet.setRolesArray(rolesArray); 2153 } 2154 2155 /** 2156 * Returns the unlinked roles of the portlet. 2157 * 2158 * @return unlinked roles of the portlet 2159 */ 2160 public java.util.Set<java.lang.String> getUnlinkedRoles() { 2161 return _portlet.getUnlinkedRoles(); 2162 } 2163 2164 /** 2165 * Sets the unlinked roles of the portlet. 2166 * 2167 * @param unlinkedRoles the unlinked roles of the portlet 2168 */ 2169 public void setUnlinkedRoles(java.util.Set<java.lang.String> unlinkedRoles) { 2170 _portlet.setUnlinkedRoles(unlinkedRoles); 2171 } 2172 2173 /** 2174 * Returns the role mappers of the portlet. 2175 * 2176 * @return role mappers of the portlet 2177 */ 2178 public java.util.Map<java.lang.String, java.lang.String> getRoleMappers() { 2179 return _portlet.getRoleMappers(); 2180 } 2181 2182 /** 2183 * Sets the role mappers of the portlet. 2184 * 2185 * @param roleMappers the role mappers of the portlet 2186 */ 2187 public void setRoleMappers( 2188 java.util.Map<java.lang.String, java.lang.String> roleMappers) { 2189 _portlet.setRoleMappers(roleMappers); 2190 } 2191 2192 /** 2193 * Link the role names set in portlet.xml with the Liferay roles set in 2194 * liferay-portlet.xml. 2195 */ 2196 public void linkRoles() { 2197 _portlet.linkRoles(); 2198 } 2199 2200 /** 2201 * Returns <code>true</code> if the portlet has a role with the specified 2202 * name. 2203 * 2204 * @return <code>true</code> if the portlet has a role with the specified 2205 name 2206 */ 2207 public boolean hasRoleWithName(java.lang.String roleName) { 2208 return _portlet.hasRoleWithName(roleName); 2209 } 2210 2211 /** 2212 * Returns <code>true</code> if the user has the permission to add the 2213 * portlet to a layout. 2214 * 2215 * @return <code>true</code> if the user has the permission to add the 2216 portlet to a layout 2217 */ 2218 public boolean hasAddPortletPermission(long userId) { 2219 return _portlet.hasAddPortletPermission(userId); 2220 } 2221 2222 /** 2223 * Returns <code>true</code> if the portlet is a system portlet that a user 2224 * cannot manually add to their page. 2225 * 2226 * @return <code>true</code> if the portlet is a system portlet that a user 2227 cannot manually add to their page 2228 */ 2229 public boolean getSystem() { 2230 return _portlet.getSystem(); 2231 } 2232 2233 /** 2234 * Returns <code>true</code> if the portlet is a system portlet that a user 2235 * cannot manually add to their page. 2236 * 2237 * @return <code>true</code> if the portlet is a system portlet that a user 2238 cannot manually add to their page 2239 */ 2240 public boolean isSystem() { 2241 return _portlet.isSystem(); 2242 } 2243 2244 /** 2245 * Set to <code>true</code> if the portlet is a system portlet that a user 2246 * cannot manually add to their page. 2247 * 2248 * @param system boolean value for whether the portlet is a system portlet 2249 that a user cannot manually add to their page 2250 */ 2251 public void setSystem(boolean system) { 2252 _portlet.setSystem(system); 2253 } 2254 2255 /** 2256 * Returns <code>true</code> to include the portlet and make it available to 2257 * be made active. 2258 * 2259 * @return <code>true</code> to include the portlet and make it available to 2260 be made active 2261 */ 2262 public boolean getInclude() { 2263 return _portlet.getInclude(); 2264 } 2265 2266 /** 2267 * Returns <code>true</code> to include the portlet and make it available to 2268 * be made active. 2269 * 2270 * @return <code>true</code> to include the portlet and make it available to 2271 be made active 2272 */ 2273 public boolean isInclude() { 2274 return _portlet.isInclude(); 2275 } 2276 2277 /** 2278 * Set to <code>true</code> to include the portlet and make it available to 2279 * be made active. 2280 * 2281 * @param include boolean value for whether to include the portlet and make 2282 it available to be made active 2283 */ 2284 public void setInclude(boolean include) { 2285 _portlet.setInclude(include); 2286 } 2287 2288 /** 2289 * Returns <code>true</code> if the portlet is ready to be used. 2290 * 2291 * @return <code>true</code> if the portlet is ready to be used 2292 */ 2293 public boolean getReady() { 2294 return _portlet.getReady(); 2295 } 2296 2297 /** 2298 * Returns <code>true</code> if the portlet is ready to be used. 2299 * 2300 * @return <code>true</code> if the portlet is ready to be used 2301 */ 2302 public boolean isReady() { 2303 return _portlet.isReady(); 2304 } 2305 2306 /** 2307 * Set to <code>true</code> if the portlet is ready to be used. 2308 * 2309 * @param ready whether the portlet is ready to be used 2310 */ 2311 public void setReady(boolean ready) { 2312 _portlet.setReady(ready); 2313 } 2314 2315 /** 2316 * Returns the init parameters of the portlet. 2317 * 2318 * @return init parameters of the portlet 2319 */ 2320 public java.util.Map<java.lang.String, java.lang.String> getInitParams() { 2321 return _portlet.getInitParams(); 2322 } 2323 2324 /** 2325 * Sets the init parameters of the portlet. 2326 * 2327 * @param initParams the init parameters of the portlet 2328 */ 2329 public void setInitParams( 2330 java.util.Map<java.lang.String, java.lang.String> initParams) { 2331 _portlet.setInitParams(initParams); 2332 } 2333 2334 /** 2335 * Returns expiration cache of the portlet. 2336 * 2337 * @return expiration cache of the portlet 2338 */ 2339 public java.lang.Integer getExpCache() { 2340 return _portlet.getExpCache(); 2341 } 2342 2343 /** 2344 * Sets expiration cache of the portlet. 2345 * 2346 * @param expCache expiration cache of the portlet 2347 */ 2348 public void setExpCache(java.lang.Integer expCache) { 2349 _portlet.setExpCache(expCache); 2350 } 2351 2352 /** 2353 * Returns the portlet modes of the portlet. 2354 * 2355 * @return portlet modes of the portlet 2356 */ 2357 public java.util.Map<java.lang.String, java.util.Set<java.lang.String>> getPortletModes() { 2358 return _portlet.getPortletModes(); 2359 } 2360 2361 /** 2362 * Sets the portlet modes of the portlet. 2363 * 2364 * @param portletModes the portlet modes of the portlet 2365 */ 2366 public void setPortletModes( 2367 java.util.Map<java.lang.String, java.util.Set<java.lang.String>> portletModes) { 2368 _portlet.setPortletModes(portletModes); 2369 } 2370 2371 /** 2372 * Returns <code>true</code> if the portlet supports the specified mime type 2373 * and portlet mode. 2374 * 2375 * @return <code>true</code> if the portlet supports the specified mime type 2376 and portlet mode 2377 */ 2378 public boolean hasPortletMode(java.lang.String mimeType, 2379 javax.portlet.PortletMode portletMode) { 2380 return _portlet.hasPortletMode(mimeType, portletMode); 2381 } 2382 2383 /** 2384 * Returns a list of all portlet modes supported by the portlet. 2385 * 2386 * @return a list of all portlet modes supported by the portlet 2387 */ 2388 public java.util.Set<java.lang.String> getAllPortletModes() { 2389 return _portlet.getAllPortletModes(); 2390 } 2391 2392 /** 2393 * Returns <code>true</code> if the portlet supports more than one mime 2394 * type. 2395 * 2396 * @return <code>true</code> if the portlet supports more than one mime type 2397 */ 2398 public boolean hasMultipleMimeTypes() { 2399 return _portlet.hasMultipleMimeTypes(); 2400 } 2401 2402 /** 2403 * Returns the window states of the portlet. 2404 * 2405 * @return window states of the portlet 2406 */ 2407 public java.util.Map<java.lang.String, java.util.Set<java.lang.String>> getWindowStates() { 2408 return _portlet.getWindowStates(); 2409 } 2410 2411 /** 2412 * Sets the window states of the portlet. 2413 * 2414 * @param windowStates the window states of the portlet 2415 */ 2416 public void setWindowStates( 2417 java.util.Map<java.lang.String, java.util.Set<java.lang.String>> windowStates) { 2418 _portlet.setWindowStates(windowStates); 2419 } 2420 2421 /** 2422 * Returns <code>true</code> if the portlet supports the specified mime type 2423 * and window state. 2424 * 2425 * @return <code>true</code> if the portlet supports the specified mime type 2426 and window state 2427 */ 2428 public boolean hasWindowState(java.lang.String mimeType, 2429 javax.portlet.WindowState windowState) { 2430 return _portlet.hasWindowState(mimeType, windowState); 2431 } 2432 2433 /** 2434 * Returns a list of all window states supported by the portlet. 2435 * 2436 * @return a list of all window states supported by the portlet 2437 */ 2438 public java.util.Set<java.lang.String> getAllWindowStates() { 2439 return _portlet.getAllWindowStates(); 2440 } 2441 2442 /** 2443 * Returns the supported locales of the portlet. 2444 * 2445 * @return supported locales of the portlet 2446 */ 2447 public java.util.Set<java.lang.String> getSupportedLocales() { 2448 return _portlet.getSupportedLocales(); 2449 } 2450 2451 /** 2452 * Sets the supported locales of the portlet. 2453 * 2454 * @param supportedLocales the supported locales of the portlet 2455 */ 2456 public void setSupportedLocales( 2457 java.util.Set<java.lang.String> supportedLocales) { 2458 _portlet.setSupportedLocales(supportedLocales); 2459 } 2460 2461 /** 2462 * Returns the resource bundle of the portlet. 2463 * 2464 * @return resource bundle of the portlet 2465 */ 2466 public java.lang.String getResourceBundle() { 2467 return _portlet.getResourceBundle(); 2468 } 2469 2470 /** 2471 * Sets the resource bundle of the portlet. 2472 * 2473 * @param resourceBundle the resource bundle of the portlet 2474 */ 2475 public void setResourceBundle(java.lang.String resourceBundle) { 2476 _portlet.setResourceBundle(resourceBundle); 2477 } 2478 2479 /** 2480 * Returns the portlet info of the portlet. 2481 * 2482 * @return portlet info of the portlet 2483 */ 2484 public com.liferay.portal.model.PortletInfo getPortletInfo() { 2485 return _portlet.getPortletInfo(); 2486 } 2487 2488 /** 2489 * Sets the portlet info of the portlet. 2490 * 2491 * @param portletInfo the portlet info of the portlet 2492 */ 2493 public void setPortletInfo(com.liferay.portal.model.PortletInfo portletInfo) { 2494 _portlet.setPortletInfo(portletInfo); 2495 } 2496 2497 /** 2498 * Returns the filters of the portlet. 2499 * 2500 * @return filters of the portlet 2501 */ 2502 public java.util.Map<java.lang.String, com.liferay.portal.model.PortletFilter> getPortletFilters() { 2503 return _portlet.getPortletFilters(); 2504 } 2505 2506 /** 2507 * Sets the filters of the portlet. 2508 * 2509 * @param portletFilters the filters of the portlet 2510 */ 2511 public void setPortletFilters( 2512 java.util.Map<java.lang.String, com.liferay.portal.model.PortletFilter> portletFilters) { 2513 _portlet.setPortletFilters(portletFilters); 2514 } 2515 2516 /** 2517 * Adds a supported processing event. 2518 */ 2519 public void addProcessingEvent( 2520 com.liferay.portal.kernel.xml.QName processingEvent) { 2521 _portlet.addProcessingEvent(processingEvent); 2522 } 2523 2524 /** 2525 * Returns the supported processing event from a namespace URI and a local 2526 * part. 2527 * 2528 * @return the supported processing event from a namespace URI and a local 2529 part 2530 */ 2531 public com.liferay.portal.kernel.xml.QName getProcessingEvent( 2532 java.lang.String uri, java.lang.String localPart) { 2533 return _portlet.getProcessingEvent(uri, localPart); 2534 } 2535 2536 /** 2537 * Returns the supported processing events of the portlet. 2538 * 2539 * @return supported processing events of the portlet 2540 */ 2541 public java.util.Set<com.liferay.portal.kernel.xml.QName> getProcessingEvents() { 2542 return _portlet.getProcessingEvents(); 2543 } 2544 2545 /** 2546 * Sets the supported processing events of the portlet. 2547 * 2548 * @param processingEvents the supported processing events of the portlet 2549 */ 2550 public void setProcessingEvents( 2551 java.util.Set<com.liferay.portal.kernel.xml.QName> processingEvents) { 2552 _portlet.setProcessingEvents(processingEvents); 2553 } 2554 2555 /** 2556 * Adds a supported publishing event. 2557 */ 2558 public void addPublishingEvent( 2559 com.liferay.portal.kernel.xml.QName publishingEvent) { 2560 _portlet.addPublishingEvent(publishingEvent); 2561 } 2562 2563 /** 2564 * Returns the supported publishing events of the portlet. 2565 * 2566 * @return supported publishing events of the portlet 2567 */ 2568 public java.util.Set<com.liferay.portal.kernel.xml.QName> getPublishingEvents() { 2569 return _portlet.getPublishingEvents(); 2570 } 2571 2572 /** 2573 * Sets the supported publishing events of the portlet. 2574 * 2575 * @param publishingEvents the supported publishing events of the portlet 2576 */ 2577 public void setPublishingEvents( 2578 java.util.Set<com.liferay.portal.kernel.xml.QName> publishingEvents) { 2579 _portlet.setPublishingEvents(publishingEvents); 2580 } 2581 2582 /** 2583 * Adds a supported public render parameter. 2584 * 2585 * @param publicRenderParameter a supported public render parameter 2586 */ 2587 public void addPublicRenderParameter( 2588 com.liferay.portal.model.PublicRenderParameter publicRenderParameter) { 2589 _portlet.addPublicRenderParameter(publicRenderParameter); 2590 } 2591 2592 /** 2593 * Returns the supported public render parameter from an identifier. 2594 * 2595 * @return the supported public render parameter from an identifier 2596 */ 2597 public com.liferay.portal.model.PublicRenderParameter getPublicRenderParameter( 2598 java.lang.String identifier) { 2599 return _portlet.getPublicRenderParameter(identifier); 2600 } 2601 2602 /** 2603 * Returns the supported public render parameter from a namespace URI and a 2604 * local part. 2605 * 2606 * @return the supported public render parameter from a namespace URI and a 2607 local part 2608 */ 2609 public com.liferay.portal.model.PublicRenderParameter getPublicRenderParameter( 2610 java.lang.String uri, java.lang.String localPart) { 2611 return _portlet.getPublicRenderParameter(uri, localPart); 2612 } 2613 2614 /** 2615 * Returns the supported public render parameters of the portlet. 2616 * 2617 * @return the supported public render parameters of the portlet 2618 */ 2619 public java.util.Set<com.liferay.portal.model.PublicRenderParameter> getPublicRenderParameters() { 2620 return _portlet.getPublicRenderParameters(); 2621 } 2622 2623 /** 2624 * Sets the supported public render parameters of the portlet. 2625 * 2626 * @param publicRenderParameters the supported public render parameters of 2627 the portlet 2628 */ 2629 public void setPublicRenderParameters( 2630 java.util.Set<com.liferay.portal.model.PublicRenderParameter> publicRenderParameters) { 2631 _portlet.setPublicRenderParameters(publicRenderParameters); 2632 } 2633 2634 /** 2635 * Returns the servlet context path of the portlet. 2636 * 2637 * @return the servlet context path of the portlet 2638 */ 2639 public java.lang.String getContextPath() { 2640 return _portlet.getContextPath(); 2641 } 2642 2643 /** 2644 * Returns the path for static resources served by this portlet. 2645 * 2646 * @return the path for static resources served by this portlet 2647 */ 2648 public java.lang.String getStaticResourcePath() { 2649 return _portlet.getStaticResourcePath(); 2650 } 2651 2652 /** 2653 * Returns this portlet's application. 2654 * 2655 * @return this portlet's application 2656 */ 2657 public com.liferay.portal.model.PortletApp getPortletApp() { 2658 return _portlet.getPortletApp(); 2659 } 2660 2661 /** 2662 * Sets this portlet's application. 2663 * 2664 * @param portletApp this portlet's application 2665 */ 2666 public void setPortletApp(com.liferay.portal.model.PortletApp portletApp) { 2667 _portlet.setPortletApp(portletApp); 2668 } 2669 2670 /** 2671 * Returns <code>true</code> if the portlet is found in a WAR file. 2672 * 2673 * @param portletId the cloned instance portlet ID 2674 * @return a cloned instance of the portlet 2675 */ 2676 public com.liferay.portal.model.Portlet getClonedInstance( 2677 java.lang.String portletId) { 2678 return _portlet.getClonedInstance(portletId); 2679 } 2680 2681 /** 2682 * Returns <code>true</code> if the portlet is a static portlet that is 2683 * cannot be moved. 2684 * 2685 * @return <code>true</code> if the portlet is a static portlet that is 2686 cannot be moved 2687 */ 2688 public boolean getStatic() { 2689 return _portlet.getStatic(); 2690 } 2691 2692 /** 2693 * Returns <code>true</code> if the portlet is a static portlet that is 2694 * cannot be moved. 2695 * 2696 * @return <code>true</code> if the portlet is a static portlet that is 2697 cannot be moved 2698 */ 2699 public boolean isStatic() { 2700 return _portlet.isStatic(); 2701 } 2702 2703 /** 2704 * Set to <code>true</code> if the portlet is a static portlet that is 2705 * cannot be moved. 2706 * 2707 * @param staticPortlet boolean value for whether the portlet is a static 2708 portlet that cannot be moved 2709 */ 2710 public void setStatic(boolean staticPortlet) { 2711 _portlet.setStatic(staticPortlet); 2712 } 2713 2714 /** 2715 * Returns <code>true</code> if the portlet is a static portlet at the start 2716 * of a list of portlets. 2717 * 2718 * @return <code>true</code> if the portlet is a static portlet at the start 2719 of a list of portlets 2720 */ 2721 public boolean getStaticStart() { 2722 return _portlet.getStaticStart(); 2723 } 2724 2725 /** 2726 * Returns <code>true</code> if the portlet is a static portlet at the start 2727 * of a list of portlets. 2728 * 2729 * @return <code>true</code> if the portlet is a static portlet at the start 2730 of a list of portlets 2731 */ 2732 public boolean isStaticStart() { 2733 return _portlet.isStaticStart(); 2734 } 2735 2736 /** 2737 * Set to <code>true</code> if the portlet is a static portlet at the start 2738 * of a list of portlets. 2739 * 2740 * @param staticPortletStart boolean value for whether the portlet is a 2741 static portlet at the start of a list of portlets 2742 */ 2743 public void setStaticStart(boolean staticPortletStart) { 2744 _portlet.setStaticStart(staticPortletStart); 2745 } 2746 2747 /** 2748 * Returns <code>true</code> if the portlet is a static portlet at the end 2749 * of a list of portlets. 2750 * 2751 * @return <code>true</code> if the portlet is a static portlet at the end 2752 of a list of portlets 2753 */ 2754 public boolean getStaticEnd() { 2755 return _portlet.getStaticEnd(); 2756 } 2757 2758 /** 2759 * Returns <code>true</code> if the portlet is a static portlet at the end 2760 * of a list of portlets. 2761 * 2762 * @return <code>true</code> if the portlet is a static portlet at the end 2763 of a list of portlets 2764 */ 2765 public boolean isStaticEnd() { 2766 return _portlet.isStaticEnd(); 2767 } 2768 2769 /** 2770 * Returns <code>true</code> if the portlet is an undeployed portlet. 2771 * 2772 * @return <code>true</code> if the portlet is a placeholder of an 2773 undeployed portlet 2774 */ 2775 public boolean getUndeployedPortlet() { 2776 return _portlet.getUndeployedPortlet(); 2777 } 2778 2779 /** 2780 * Returns <code>true</code> if the portlet is an undeployed portlet. 2781 * 2782 * @return <code>true</code> if the portlet is a placeholder of an 2783 undeployed portlet 2784 */ 2785 public boolean isUndeployedPortlet() { 2786 return _portlet.isUndeployedPortlet(); 2787 } 2788 2789 /** 2790 * Set to <code>true</code> if the portlet is an undeployed portlet. 2791 * 2792 * @param undeployedPortlet boolean value for whether the portlet is an 2793 undeployed portlet 2794 */ 2795 public void setUndeployedPortlet(boolean undeployedPortlet) { 2796 _portlet.setUndeployedPortlet(undeployedPortlet); 2797 } 2798 2799 /** 2800 * Checks whether this portlet is equal to the specified object. 2801 * 2802 * @param obj the object to compare this portlet against 2803 * @return <code>true</code> if the portlet is equal to the specified object 2804 */ 2805 public boolean equals(java.lang.Object obj) { 2806 return _portlet.equals(obj); 2807 } 2808 2809 /** 2810 * @deprecated Renamed to {@link #getWrappedModel} 2811 */ 2812 public Portlet getWrappedPortlet() { 2813 return _portlet; 2814 } 2815 2816 public Portlet getWrappedModel() { 2817 return _portlet; 2818 } 2819 2820 public void resetOriginalValues() { 2821 _portlet.resetOriginalValues(); 2822 } 2823 2824 private Portlet _portlet; 2825 }