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