Java Doc for PortletStateManager.java in  » Portal » liferay-portal-4.4.2 » org » apache » wsrp4j » producer » provider » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » liferay portal 4.4.2 » org.apache.wsrp4j.producer.provider 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.wsrp4j.producer.provider.PortletStateManager

All known Subclasses:   com.liferay.portal.wsrp.PortletStateManagerImpl,
PortletStateManager
public interface PortletStateManager (Code)
Manages the portlet states. Provides convenience mehtods usefull for state handling
author:
   Stefan Behl


Field Summary
final public static  intINITIALIZATION_FAILED
    


Method Summary
public  voiddestroy(String portletHandle)
    
public  PortletStateget(String portletHandle)
    
public  PropertyListgetAsPropertyList(String portletHandle)
    
public  PropertyListgetAsPropertyList(PortletState state)
    
public  PropertyListgetAsPropertyList(String portletHandle, String[] names)
     Converts a subset of the portlet state to a PropertyList.
public  StringgetAsString(String portletHandle)
    
public  StringgetAsString(PortletState state)
    
public  StringgetAsString(String portletHandle, String[] names)
     Converts a subset of the portlet stateto java.lang.String.
public  ModelDescriptiongetModelDescription(String portletHandle, String[] desiredLocales, boolean sendAllLocales)
     Returns the WSRP model description for a portlet's state.
public  voidset(String portletHandle, PortletState state)
    
public  voidsetAsPropertyList(String portletHandle, PropertyList state)
    
public  voidsetAsString(String portletHandle, String state)
    

Field Detail
INITIALIZATION_FAILED
final public static int INITIALIZATION_FAILED(Code)
defines an error state





Method Detail
destroy
public void destroy(String portletHandle)(Code)
Destroys a portlet state
Parameters:
  portletHandle - String representing a portlet handle



get
public PortletState get(String portletHandle)(Code)
Returns the portlet's state for a given portlet handle
Parameters:
  portletHandle - String representing a portlet handle PortletState



getAsPropertyList
public PropertyList getAsPropertyList(String portletHandle)(Code)
Returns the portlet's state as PropertyList
Parameters:
  portletHandle - String representing a portlte handle PropertyList



getAsPropertyList
public PropertyList getAsPropertyList(PortletState state)(Code)
Converts a portlet's state to a PropertyList
Parameters:
  state - the portlet's state PropertyList



getAsPropertyList
public PropertyList getAsPropertyList(String portletHandle, String[] names)(Code)
Converts a subset of the portlet state to a PropertyList. The subset of the state is represented by an array of names.
Parameters:
  portletHandle - String representing a portlet handle
Parameters:
  names - array of String PropertyList



getAsString
public String getAsString(String portletHandle)(Code)
Returns the portlet's state as String for a given portlet handle
Parameters:
  portletHandle - String representing a portlet handle String representing the portlet's state



getAsString
public String getAsString(PortletState state)(Code)
Converts a PortletState object to java.lang.String
Parameters:
  state - PortletState java.lang.String representing a portlet state



getAsString
public String getAsString(String portletHandle, String[] names)(Code)
Converts a subset of the portlet stateto java.lang.String. The subset of the state is represented by an array of names.
Parameters:
  portletHandle - String representing a portlet handle
Parameters:
  names - array of String String representing a subset of a portlte state



getModelDescription
public ModelDescription getModelDescription(String portletHandle, String[] desiredLocales, boolean sendAllLocales)(Code)
Returns the WSRP model description for a portlet's state.
Parameters:
  portletHandle - String representing a portlet handle
Parameters:
  desiredLocales - determine the desired locales
Parameters:
  sendAllLocales - indicates if all locales are desired ModelDescription



set
public void set(String portletHandle, PortletState state)(Code)
Set the portlet's state
Parameters:
  portletHandle - String representing a portlet handle
Parameters:
  state - PortletState



setAsPropertyList
public void setAsPropertyList(String portletHandle, PropertyList state)(Code)
Set the portlet state
Parameters:
  portletHandle - String representing a portlet handle
Parameters:
  state - PropretyList representing the portlte's state



setAsString
public void setAsString(String portletHandle, String state)(Code)
Set the portlet state
Parameters:
  portletHandle - String representing a portlet handle
Parameters:
  state - String representing the portlet's state



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.