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


com.sun.portal.providers.containers.JSPContainerProviderAdapter
   com.sun.portal.wireless.providers.containers.jsp.WirelessJSPContainerProviderAdapter

All known Subclasses:   com.sun.portal.wireless.providers.containers.jsp.list.JSPNativeContainerProvider,  com.sun.portal.wireless.providers.containers.jsp.rendering.JSPRenderingContainerProvider,
WirelessJSPContainerProviderAdapter
public class WirelessJSPContainerProviderAdapter extends JSPContainerProviderAdapter implements WirelessContainerProvider(Code)


Field Summary
final public static  StringCHANNELS_IS_REMOVABLE
    
final public static  StringCHANNELS_ROW
    
final public static  StringDEFAULT_CHANNEL_IS_MINIMIZED
    
final public static  StringDEFAULT_CHANNEL_IS_REMOVABLE
    
final public static  StringMAXIMIZEDCHANNEL
    
final public static  StringUSER_DEFINED_CHANNELS
    
final public static  StringWRAPPED_CHANNELS
    
final public static  StringWRAPPED_CHANNEL_PROPERTY
    
final public static  StringWRAPPING_PROVIDER
    
final public static  StringWRAPPING_STRING
    


Method Summary
public  voidcleanUpWrappedChannels(ContainerProviderContext cpc)
    
public  voiddownRow(HttpServletRequest httpReq, String channel)
     Down the row in which this channel should be displayed in.
public  ListgetAvailableChannels(HttpServletRequest req, boolean onlyRemovable)
    
public  ListgetAvailableChannels(HttpServletRequest req)
    
public  StringgetMaximizedChannel(HttpServletRequest request)
     Returns the maximized channel specified by this request, or null if none exists, or the channel is not presentable.
public  ListgetOrderedSelectedChannels(HttpServletRequest req, boolean onlyMovable)
    
public  ListgetOrderedSelectedChannels(HttpServletRequest req)
    
public  StringgetRow(HttpServletRequest httpReq, String channel)
     Gets the row in which this channel should be displayed in.
protected  StringgetStringAttrFromCollection(HttpServletRequest httpReq, String channel, String mapKey, String defaultKey, String defaultVal)
     Gets a string property from a map for the contained channel in the container
Parameters:
  httpReq - The servlet request
Parameters:
  channel - channel for which the property is requested.
Parameters:
  mapKey - property name of the collection in the display profilefrom which the string property is requested.
Parameters:
  defaultKey - default property name in display profile for the property.
Parameters:
  defaultVal - default value to return if the property cannot be returned.
public  ListgetUserDefinedChannels()
     Returns any user-defined channels, or an empty list of none exist.
public  intgetWindowState(String channelName)
    
public  ListgetWrappedOrderedSelectedChannels(HttpServletRequest req, boolean onlyMovable)
     Returns an ordered list of existing presentable selected channels.
public  ListgetWrappedOrderedSelectedChannels(HttpServletRequest req)
     Returns an ordered list of existing presentable selected channels and movable channel names.
public  voidprocessContentChannelSelection(HttpServletRequest request)
    
protected  voidsetRowOrder(HttpServletRequest httpReq, String container, ContainerProviderContext cpc, List channelList)
    
public  voidupRow(HttpServletRequest httpReq, String channel)
     Up the row in which this channel should be displayed in.

Field Detail
CHANNELS_IS_REMOVABLE
final public static String CHANNELS_IS_REMOVABLE(Code)



CHANNELS_ROW
final public static String CHANNELS_ROW(Code)



DEFAULT_CHANNEL_IS_MINIMIZED
final public static String DEFAULT_CHANNEL_IS_MINIMIZED(Code)



DEFAULT_CHANNEL_IS_REMOVABLE
final public static String DEFAULT_CHANNEL_IS_REMOVABLE(Code)



MAXIMIZEDCHANNEL
final public static String MAXIMIZEDCHANNEL(Code)



USER_DEFINED_CHANNELS
final public static String USER_DEFINED_CHANNELS(Code)



WRAPPED_CHANNELS
final public static String WRAPPED_CHANNELS(Code)



WRAPPED_CHANNEL_PROPERTY
final public static String WRAPPED_CHANNEL_PROPERTY(Code)



WRAPPING_PROVIDER
final public static String WRAPPING_PROVIDER(Code)



WRAPPING_STRING
final public static String WRAPPING_STRING(Code)





Method Detail
cleanUpWrappedChannels
public void cleanUpWrappedChannels(ContainerProviderContext cpc)(Code)



downRow
public void downRow(HttpServletRequest httpReq, String channel) throws ProviderException(Code)
Down the row in which this channel should be displayed in.
Parameters:
  httpReq - The servlet request
Parameters:
  channel - Channel for which the row is requested



getAvailableChannels
public List getAvailableChannels(HttpServletRequest req, boolean onlyRemovable) throws ProviderException(Code)
Returns a list of existing, presentable, and available channels names (including any user-defined channels)
Parameters:
  req - HttpServletRequest
Parameters:
  onlyRemovable - indicate to include only removable channels list of channel names
throws:
  ProviderException -



getAvailableChannels
public List getAvailableChannels(HttpServletRequest req) throws ProviderException(Code)
Returns a list of existing, presentable, available, and removable channels names (including any user-defined channels)
Parameters:
  req - HttpServletRequest list of channel names
throws:
  ProviderException -



getMaximizedChannel
public String getMaximizedChannel(HttpServletRequest request) throws ProviderException(Code)
Returns the maximized channel specified by this request, or null if none exists, or the channel is not presentable.
Parameters:
  request - the current request the maximized channel
throws:
  ProviderException -



getOrderedSelectedChannels
public List getOrderedSelectedChannels(HttpServletRequest req, boolean onlyMovable) throws ProviderException(Code)
Returns an ordered list of existing, presentable, and selected channel names
Parameters:
  req - HttpServletRequest
Parameters:
  onlyMovable - indicate to include only movable channels list of channel names
throws:
  ProviderException -



getOrderedSelectedChannels
public List getOrderedSelectedChannels(HttpServletRequest req) throws ProviderException(Code)
Returns an ordered list of existing, presentable, selected and movable channel names list of channel names
throws:
  ProviderException -



getRow
public String getRow(HttpServletRequest httpReq, String channel) throws ProviderException(Code)
Gets the row in which this channel should be displayed in.
Parameters:
  httpReq - The servlet request
Parameters:
  channel - Channel for which the row is requested The row for this channel; either "1", "2", ....



getStringAttrFromCollection
protected String getStringAttrFromCollection(HttpServletRequest httpReq, String channel, String mapKey, String defaultKey, String defaultVal) throws ProviderException(Code)
Gets a string property from a map for the contained channel in the container
Parameters:
  httpReq - The servlet request
Parameters:
  channel - channel for which the property is requested.
Parameters:
  mapKey - property name of the collection in the display profilefrom which the string property is requested.
Parameters:
  defaultKey - default property name in display profile for the property.
Parameters:
  defaultVal - default value to return if the property cannot be returned. String string property from map for the channel.



getUserDefinedChannels
public List getUserDefinedChannels() throws ProviderException(Code)
Returns any user-defined channels, or an empty list of none exist. List of user-defined channels
throws:
  ProviderException -



getWindowState
public int getWindowState(String channelName) throws ProviderException(Code)

Parameters:
  channelName - Name of the channel whose state is sought ProviderWindowStates.MINIMIZE if channel state isminimized, otherwise returns ProviderWindowStates.NORMAL



getWrappedOrderedSelectedChannels
public List getWrappedOrderedSelectedChannels(HttpServletRequest req, boolean onlyMovable) throws ProviderException(Code)
Returns an ordered list of existing presentable selected channels. Wrap any native channels if required.
Parameters:
  req - HttpServletRequest
Parameters:
  onlyMovable - should list only include movable channels List ordered existing presentable selected channel names
throws:
  ProviderException -



getWrappedOrderedSelectedChannels
public List getWrappedOrderedSelectedChannels(HttpServletRequest req) throws ProviderException(Code)
Returns an ordered list of existing presentable selected channels and movable channel names. Wrap any native channels if required.
Parameters:
  req - HttpServletRequest List ordered existing presentable selected channel names
throws:
  ProviderException -



processContentChannelSelection
public void processContentChannelSelection(HttpServletRequest request) throws ProviderException(Code)
Processes submission from JSP desktop content selection page
Parameters:
  request - HttpServletRequest



setRowOrder
protected void setRowOrder(HttpServletRequest httpReq, String container, ContainerProviderContext cpc, List channelList) throws ProviderException(Code)
Helper that saves the row order of a given list
Parameters:
  httpReq -
Parameters:
  container -
Parameters:
  cpc -
Parameters:
  channelList -
throws:
  ProviderException -



upRow
public void upRow(HttpServletRequest httpReq, String channel) throws ProviderException(Code)
Up the row in which this channel should be displayed in.
Parameters:
  httpReq - The servlet request
Parameters:
  channel - Channel for which the row is requested



Methods inherited from com.sun.portal.providers.containers.JSPContainerProviderAdapter
public List getAvailableAndUserDefinedChannels() throws ProviderException(Code)(Java Doc)
public List getAvailableChannels() throws ProviderException(Code)(Java Doc)
public ContainerProviderContext getContainerProviderContext() throws ProviderException(Code)(Java Doc)
public long getRefreshTime() throws ProviderException(Code)(Java Doc)
public List getSelectedChannels() throws ProviderException(Code)(Java Doc)
public int[] getSupportedWindowStates() throws ProviderException(Code)(Java Doc)
public int getWindowState(String channelName) throws ProviderException(Code)(Java Doc)
public void setAvailableChannels(List avail) throws ProviderException(Code)(Java Doc)
public void setSelectedChannels(List sel) throws ProviderException(Code)(Java Doc)
public void setWindowState(String channelName, int windowState) throws UnsupportedWindowStateException(Code)(Java Doc)

www_._j___a___v__a2__s.__c_o__m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.