Java Doc for PortletConfigInfo.java in  » Portal » stringbeans-3.5 » com » nabhinc » portal » core » 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 » stringbeans 3.5 » com.nabhinc.portal.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.nabhinc.portal.core.PortletConfigInfo

PortletConfigInfo
public class PortletConfigInfo (Code)
Maintains information related to a portlet including configuration as well as cache.
author:
   Padmanabh Dabke
author:
   (c) 2006 Nabh Information Systems, Inc. All Rights Reserved.


Field Summary
final public static  intPORTLET_STATUS_INIT_ERROR
    
final public static  intPORTLET_STATUS_INSTANTIATION_ERROR
    
final public static  intPORTLET_STATUS_INTERNAL_ERROR
    
final public static  intPORTLET_STATUS_LOADED
    
final public static  intPORTLET_STATUS_PREF_VALIDATOR_ERROR
    
final public static  intPORTLET_STATUS_UNAVAILABLE
    
final public static  intPORTLET_STATUS_UNLOADED
    
public  longcacheExpirationTime
     If content of this portlet is cacheable, the value indicates UTC seconds after which the cache expires.
public  StringcachedContent
    
public  PortletConfigImplconfig
    
public  Hashtable<String, PortletPreferencesImpl.PrefInfo>configuredPrefs
    
public  StringcontextPath
    
public  StringdefaultLocale
    
public  Stringdescription
    
public  StringdisplayName
    
public  intexpirationCache
     Number of seconds the content can be cached.
public  booleanisWSRPPortlet
    
public  String[]keywordArray
    
public  Stringkeywords
    
public  StringloadError
     Exception encountered while creating the portlet.
public  StringloadErrorStackTrace
     Stack trace of exception encountered while creating the portlet.
public  intloadStatus
    
public  HashMaplocaleSupport
    
public  HashMaplocalizedDescriptions
    
public  HashMaplocalizedDisplayNames
    
public  HashMapmimeTypeSupport
    
public  Stringname
    
public  Portletportlet
    
public  PortletTypeportletType
    
public  PreferencesValidatorprefValidator
    
public  HashMapsecurityRoleMapping
     Mapping between portlet security roles and Webapp security roles.
public  StringservletURI
    
public  StringshortTitle
    
public  Stringtitle
    
public  HashMapwindowStateSupport
    

Constructor Summary
public  PortletConfigInfo(String pName, Hashtable pr, PortletConfigImpl pc, PreferencesValidator pValidator, PortletType pType, String cPath, String sURI)
    

Method Summary
public  voidcheckPortletMode(PortletMode pMode, String mimeType, HttpServletRequest req)
    
public  voidcheckWindowState(WindowState wState, String mimeType)
     Check if the current user can change to specified window state.
public  StringgetPortletDescription(RenderRequest request)
    
public  StringgetPortletDescription(Locale l)
    
public  StringgetPortletDisplayName(RenderRequest request)
    
public  StringgetPortletDisplayName(Locale l)
    

Field Detail
PORTLET_STATUS_INIT_ERROR
final public static int PORTLET_STATUS_INIT_ERROR(Code)



PORTLET_STATUS_INSTANTIATION_ERROR
final public static int PORTLET_STATUS_INSTANTIATION_ERROR(Code)



PORTLET_STATUS_INTERNAL_ERROR
final public static int PORTLET_STATUS_INTERNAL_ERROR(Code)



PORTLET_STATUS_LOADED
final public static int PORTLET_STATUS_LOADED(Code)



PORTLET_STATUS_PREF_VALIDATOR_ERROR
final public static int PORTLET_STATUS_PREF_VALIDATOR_ERROR(Code)



PORTLET_STATUS_UNAVAILABLE
final public static int PORTLET_STATUS_UNAVAILABLE(Code)



PORTLET_STATUS_UNLOADED
final public static int PORTLET_STATUS_UNLOADED(Code)



cacheExpirationTime
public long cacheExpirationTime(Code)
If content of this portlet is cacheable, the value indicates UTC seconds after which the cache expires.



cachedContent
public String cachedContent(Code)
Cached portlet content



config
public PortletConfigImpl config(Code)
PortletConfig object corresponding to the portlet



configuredPrefs
public Hashtable<String, PortletPreferencesImpl.PrefInfo> configuredPrefs(Code)
Portlet preferences as configured in portlet.xml file



contextPath
public String contextPath(Code)
Context path of the PortletServlet that loaded this portlet config



defaultLocale
public String defaultLocale(Code)
Locales supported



description
public String description(Code)
Portlet description



displayName
public String displayName(Code)
Default display name for the portlet



expirationCache
public int expirationCache(Code)
Number of seconds the content can be cached. 0 => No caching -1 => Cache never expires



isWSRPPortlet
public boolean isWSRPPortlet(Code)



keywordArray
public String[] keywordArray(Code)



keywords
public String keywords(Code)



loadError
public String loadError(Code)
Exception encountered while creating the portlet.



loadErrorStackTrace
public String loadErrorStackTrace(Code)
Stack trace of exception encountered while creating the portlet.



loadStatus
public int loadStatus(Code)
Load status of the portlet



localeSupport
public HashMap localeSupport(Code)



localizedDescriptions
public HashMap localizedDescriptions(Code)
Map of locale -> portlet description



localizedDisplayNames
public HashMap localizedDisplayNames(Code)
Locale -> display name map



mimeTypeSupport
public HashMap mimeTypeSupport(Code)
Map of mime type -> Array of portlet modes



name
public String name(Code)
Portlet name



portlet
public Portlet portlet(Code)
Portlet instance



portletType
public PortletType portletType(Code)
Object representing portlet configuration in XML



prefValidator
public PreferencesValidator prefValidator(Code)
Preferences validator



securityRoleMapping
public HashMap securityRoleMapping(Code)
Mapping between portlet security roles and Webapp security roles.



servletURI
public String servletURI(Code)
Servlet URI of the PortletServlet that loaded this portlet config



shortTitle
public String shortTitle(Code)



title
public String title(Code)



windowStateSupport
public HashMap windowStateSupport(Code)
Supported window states




Constructor Detail
PortletConfigInfo
public PortletConfigInfo(String pName, Hashtable pr, PortletConfigImpl pc, PreferencesValidator pValidator, PortletType pType, String cPath, String sURI)(Code)




Method Detail
checkPortletMode
public void checkPortletMode(PortletMode pMode, String mimeType, HttpServletRequest req) throws PortletModeException, PortletSecurityException(Code)



checkWindowState
public void checkWindowState(WindowState wState, String mimeType) throws WindowStateException(Code)
Check if the current user can change to specified window state.
Parameters:
  wState - New window state
Parameters:
  mimeType - Mime type for the current request
throws:
  WindowStateException - Thrown if the new window state is not allowed



getPortletDescription
public String getPortletDescription(RenderRequest request)(Code)



getPortletDescription
public String getPortletDescription(Locale l)(Code)



getPortletDisplayName
public String getPortletDisplayName(RenderRequest request)(Code)



getPortletDisplayName
public String getPortletDisplayName(Locale l)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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