Java Doc for ChannelStaticData.java in  » Portal » uPortal_rel-2-6-1-GA » org » jasig » portal » 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 » uPortal_rel 2 6 1 GA » org.jasig.portal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.util.Hashtable
   org.jasig.portal.ChannelStaticData

ChannelStaticData
public class ChannelStaticData extends Hashtable (Code)
Used to store channel configuration items and parameters.
author:
   Ken Weiner, Peter Kharchenko
version:
   $Revision: 36781 $
author:
   Peter Kharchenko pkharchenko@interactivebusiness.com"



Constructor Summary
public  ChannelStaticData()
    
public  ChannelStaticData(Map parameters, IUserLayoutManager ulm)
     If support is being provided to update channel parameters then a Layout Manager instance is required and the initial values of parameters must be set here to forgo override checks.

Method Summary
public  booleancanSetParameter(String key)
     Returns true if the indicated parameter can be altered.
public  IAuthorizationPrincipalgetAuthorizationPrincipal()
    
public static  IAuthorizationPrincipalgetAuthorizationPrincipal(IPerson person)
    
public  StringgetChannelPublishId()
     Determine channel publish Id.
public  StringgetChannelSubscribeId()
    
public  ICCRegistrygetICCRegistry()
    
public  ContextgetJNDIContext()
    
public synchronized  StringgetParameter(String key)
    
public  IPersongetPerson()
    
public  StringgetSerializerName()
     Sets the serializer name.
public  longgetTimeout()
     Maximum time the channel will be allowed to spend in the rendering cycle.
public  voidresetParameter(String key)
     Resets the value of this parameter.
public  voidsetChannelPublishId(String channelPublishId)
    
public  voidsetChannelSubscribeId(String channelSubscribeId)
    
public  voidsetICCRegistry(ICCRegistry registry)
    
public  voidsetJNDIContext(Context c)
     Set channel JNDI context.
public  StringsetParameter(String key, String value)
    
public  voidsetParameters(Map params)
    
public  voidsetPerson(IPerson person)
    
public  voidsetSerializerName(String serializerName)
     Setter method for the serializer name.
public  voidsetTimeout(long value)
     Setter method for channel timeout.
public  voidstore()
     Writes all string valued parameters to the database as part of the user's layout.
public  StringtoString()
    


Constructor Detail
ChannelStaticData
public ChannelStaticData()(Code)



ChannelStaticData
public ChannelStaticData(Map parameters, IUserLayoutManager ulm)(Code)
If support is being provided to update channel parameters then a Layout Manager instance is required and the initial values of parameters must be set here to forgo override checks. If a LayoutManager is had for ChannelStaticData then setParameter() and setParameters() restrict changing parameters that are not overrideable and hence can not be used to inject the initial parameter values.
Parameters:
  parameters -
Parameters:
  ulm -




Method Detail
canSetParameter
public boolean canSetParameter(String key) throws PortalException(Code)
Returns true if the indicated parameter can be altered. Ad-hoc added parameters will always be allowed to change. Parameters locked during publishing or via the plugged-in layout manager will return false. If no layout manager is available then this method always returns true.
Parameters:
  key - boolean



getAuthorizationPrincipal
public IAuthorizationPrincipal getAuthorizationPrincipal()(Code)
Returns an instance of the IAuthorizationPrincipal for the IPerson instance of the IAuthorizationPrincipal for the IPerson



getAuthorizationPrincipal
public static IAuthorizationPrincipal getAuthorizationPrincipal(IPerson person)(Code)
Returns an instance of the IAuthorizationPrincipal for the IPerson
Parameters:
  person - a IPerson instance instance of the IAuthorizationPrincipal for the IPerson



getChannelPublishId
public String getChannelPublishId()(Code)
Determine channel publish Id. channel's publish Id (defined at publish-time)



getChannelSubscribeId
public String getChannelSubscribeId()(Code)
Gets the channel subscribe Id the channel's Id (defined at subscribe-time)



getICCRegistry
public ICCRegistry getICCRegistry()(Code)
Obtain inter-channel communication registry object an ICCRegistry value



getJNDIContext
public Context getJNDIContext()(Code)
Obtain a channel JNDI context JNDI context



getParameter
public synchronized String getParameter(String key)(Code)
Get information contained in a particular element
Parameters:
  key - param name param value



getPerson
public IPerson getPerson()(Code)
Provide information on the user the channel is serving IPerons object.



getSerializerName
public String getSerializerName()(Code)
Sets the serializer name. serializerName



getTimeout
public long getTimeout()(Code)
Maximum time the channel will be allowed to spend in the rendering cycle. timeout (in milliseconds) after which the channel thread will be killed.Ideally, channels should monitor for this timeout and abort internal executionif the rendering cycle takes too long.



resetParameter
public void resetParameter(String key)(Code)
Resets the value of this parameter. If this is an overrideable parameter then a user's override will be removed and the original value restored. If this is a non-overrideable parameter this call will have no effect. If this is an ad-hoc parameter then the parameter will be removed. Ad-hoc parameters are ones added by a channel instance beyond the set of parameters specified during channel publishing.
Parameters:
  key - param name



setChannelPublishId
public void setChannelPublishId(String channelPublishId)(Code)
Setter method for channel publish Id
Parameters:
  channelPublishId - channel publish Id (defined at a publish-time)



setChannelSubscribeId
public void setChannelSubscribeId(String channelSubscribeId)(Code)
Sets the channel subscribe Id
Parameters:
  channelSubscribeId - the channel subscribe Id



setICCRegistry
public void setICCRegistry(ICCRegistry registry)(Code)
Set inter-channel communication registry object
Parameters:
  registry - an ICCRegistry value



setJNDIContext
public void setJNDIContext(Context c)(Code)
Set channel JNDI context.
Parameters:
  c - a Context value



setParameter
public String setParameter(String key, String value)(Code)
Set information contained in a channel element Parameters are strings!
Parameters:
  key - param name
Parameters:
  value - param value
throws:
  IllegalChannelParameterOverrideException - if key is not configured to be overrideable.



setParameters
public void setParameters(Map params)(Code)
Copy parameter list from a Map
Parameters:
  params - a map of params
throws:
  IllegalChannelParameterOverrideException - if key is not configured to be overrideable.



setPerson
public void setPerson(IPerson person)(Code)
Setter method for the user being served by the channel
Parameters:
  person - an IPerson value.



setSerializerName
public void setSerializerName(String serializerName)(Code)
Setter method for the serializer name.
Parameters:
  serializerName -



setTimeout
public void setTimeout(long value)(Code)
Setter method for channel timeout.
Parameters:
  value -



store
public void store() throws PortalException(Code)
Writes all string valued parameters to the database as part of the user's layout.



toString
public String toString()(Code)



Methods inherited from java.util.Hashtable
public synchronized void clear()(Code)(Java Doc)
public synchronized Object clone()(Code)(Java Doc)
public synchronized boolean contains(Object value)(Code)(Java Doc)
public synchronized boolean containsKey(Object key)(Code)(Java Doc)
public boolean containsValue(Object value)(Code)(Java Doc)
public synchronized Enumeration<V> elements()(Code)(Java Doc)
public Set<Map.Entry<K, V>> entrySet()(Code)(Java Doc)
public synchronized boolean equals(Object o)(Code)(Java Doc)
public synchronized V get(Object key)(Code)(Java Doc)
public synchronized int hashCode()(Code)(Java Doc)
public synchronized boolean isEmpty()(Code)(Java Doc)
public Set<K> keySet()(Code)(Java Doc)
public synchronized Enumeration<K> keys()(Code)(Java Doc)
public synchronized V put(K key, V value)(Code)(Java Doc)
public synchronized void putAll(Map<? extends K, ? extends V> t)(Code)(Java Doc)
protected void rehash()(Code)(Java Doc)
public synchronized V remove(Object key)(Code)(Java Doc)
public synchronized int size()(Code)(Java Doc)
public synchronized String toString()(Code)(Java Doc)
public Collection<V> values()(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.