Java Doc for ProviderEditUtility.java in  » Portal » Open-Portal » com » sun » portal » providers » 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 » Open Portal » com.sun.portal.providers 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.portal.providers.ProviderEditUtility

ProviderEditUtility
public class ProviderEditUtility (Code)
Provides access to common methods for use by the communication channels. Most of\ these methods will handle the SSOAdapter
author:
   Bill York


Field Summary
public static  Stringcontainer
    
public static  StringeditContainer
    


Method Summary
public static  StringBuffercreateEditContent(String type, String header, String key, String pName, ProviderContext pc, boolean useDP)
     This is the main method used by the application preference editing.
public static  Stringencode(String enc, String charset)
     Wrapper class for encode.
public static  StringgetCharSet()
    
public static  URLgetErrorURL()
    
public static  StringgetRequestParameter(String key, HttpServletRequest req)
    
public static  StringBuffergetSSOAdapterPrefs(ProviderAdapter prov, SSOAdapter ssoa)
     Gets the SSOAdapterPrefs attribute of the ProviderEditUtility object.
public static  PropertiesgetSSOAdapterProperties()
    
public static  StringgetSSOProperty(String key)
    
public static  booleanisAppHandlerSet(HashMap appHandlers, String appValue)
    
public static  booleanisEmpty(String line)
    
public static  voidsetCharSet(String cs)
    
public static  HashtablesetDefaultPresentation(String provName, ProviderContext pc, Hashtable tagTable)
     This method sets default presentation values based on a providers theme.
public static  SSOAdaptersetSSOAdapterPrefs(ProviderAdapter prov, SSOAdapter ssoAdapter, SSOAdapterFactory adapterFactory, HttpServletRequest request)
    
public static  voidsetSSOAdapterProperties(Properties props)
    

Field Detail
container
public static String container(Code)
Current container



editContainer
public static String editContainer(Code)
Current edit container





Method Detail
createEditContent
public static StringBuffer createEditContent(String type, String header, String key, String pName, ProviderContext pc, boolean useDP)(Code)
This is the main method used by the application preference editing. It uses the display profile attributes dpEditAttributes and ssoEditAttributes to edit what is displayed.
Parameters:
  type - type of parameter string, check, select, or password
Parameters:
  header - header to display
Parameters:
  key - key to create HTML item for
Parameters:
  pName - provider name
Parameters:
  pc - current provider context
Parameters:
  useDP - Defines if this is for the display profile or for thessoAdapter Description of the Return Value



encode
public static String encode(String enc, String charset)(Code)
Wrapper class for encode. Relies on class level charset attribute
Parameters:
  enc - String to encode Encoded string contents if successful or unencoded string results if failed.



getCharSet
public static String getCharSet()(Code)



getErrorURL
public static URL getErrorURL()(Code)
Gets the errorURL attribute of the ProviderEditUtility class The errorURL value



getRequestParameter
public static String getRequestParameter(String key, HttpServletRequest req)(Code)
Gets the requestParameter attribute of the ProviderEditUtility class
Parameters:
  key - key to retrieve value
Parameters:
  req - request to look for values in The requestParameter value



getSSOAdapterPrefs
public static StringBuffer getSSOAdapterPrefs(ProviderAdapter prov, SSOAdapter ssoa) throws Exception(Code)
Gets the SSOAdapterPrefs attribute of the ProviderEditUtility object. This creates the first edit page you see with the host, port, and all other connection related attributes.
Parameters:
  prov - A reference to the provider
Parameters:
  ssoa - The current SSOAdapter used by the provider class The editable SSOAdapter attributes
exception:
  Exception - Description of the Exception



getSSOAdapterProperties
public static Properties getSSOAdapterProperties()(Code)
Gets the sSOAdapterProperties attribute of the ProviderEditUtility class The sSOAdapterProperties value



getSSOProperty
public static String getSSOProperty(String key)(Code)
Gets the SSOProperty attribute of the MessengerExpressHelper object
Parameters:
  key - Key to use to retrieve value The sSOProperty value



isAppHandlerSet
public static boolean isAppHandlerSet(HashMap appHandlers, String appValue)(Code)
Gets the appHandlerSet attribute of the ProviderEditUtility class
Parameters:
  appHandlers - app helper map
Parameters:
  appValue - app helper to retrieve The appHandlerSet value



isEmpty
public static boolean isEmpty(String line)(Code)
Gets the empty attribute of the ProviderEditUtility object
Parameters:
  line - String to check The empty value



setCharSet
public static void setCharSet(String cs)(Code)



setDefaultPresentation
public static Hashtable setDefaultPresentation(String provName, ProviderContext pc, Hashtable tagTable) throws ProviderContextException(Code)
This method sets default presentation values based on a providers theme.
Parameters:
  tagTable - The tagTable that you want to setdefault values in
Parameters:
  provName - provider name
Parameters:
  pc - current provider context The hashtable with the followingvalues set bgColor Background Color borderWidth Border width for atable titlebarColor Color for a table section borderColor Color for atable border fontFace Font style fontColor Font color
exception:
  ProviderContextException - Description of the Exception



setSSOAdapterPrefs
public static SSOAdapter setSSOAdapterPrefs(ProviderAdapter prov, SSOAdapter ssoAdapter, SSOAdapterFactory adapterFactory, HttpServletRequest request) throws Exception(Code)
Sets the SSOAdapterPrefs attribute of the ProviderAdapter object
Parameters:
  prov - A reference to the provider
Parameters:
  request - The HttpServletRequest from the provider provider
Parameters:
  ssoAdapter - The current SSOAdapter used by the provider class
Parameters:
  adapterFactory - The new sSOAdapterPrefs value returns the new SSOAdapter after saving theattributes.
exception:
  Exception - Description of the Exception



setSSOAdapterProperties
public static void setSSOAdapterProperties(Properties props)(Code)
Sets the sSOAdapterProperties attribute of the ProviderEditUtility class
Parameters:
  props - The new sSOAdapterProperties value



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.