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


org.jasig.portal.ThemeStylesheetUserPreferences
   org.jasig.portal.StructureStylesheetUserPreferences
      org.jasig.portal.layout.dlm.DistributedUserPreferences

DistributedUserPreferences
public class DistributedUserPreferences extends StructureStylesheetUserPreferences (Code)
Distributed layout Extension to user preferences object for stylesheets performing structure or theme transformation. This extension adds support for user preferences set by layout owneres in incorporated elements.
author:
   Mark Boyd mboyd@campuspipeline.com
version:
   $Revision: 36684 $ $Date: 2006-08-24 00:56:17 -0700 (Thu, 24 Aug 2006) $
since:
   uPortal 2.5


Field Summary
final public static  StringRCS_ID
    
protected  HashtableincorporatedChannelAttributeValues
    
protected  HashtableincorporatedFolderAttributeValues
    

Constructor Summary
public  DistributedUserPreferences()
     Creates a new DistributedUserPreferences object with empty tables.
public  DistributedUserPreferences(StructureStylesheetUserPreferences ssup)
     Creates a DistributedUserPreferences with values for super classes derived from those of the passed in StructureStylesheetUserPreferences object.
public  DistributedUserPreferences(ThemeStylesheetUserPreferences tsup)
     If instantiated with a theme stylesheet preferences then this object should only be used in place of a theme stylesheet user prefs since structure stylesheet oriented variables will not be initialized.
public  DistributedUserPreferences(DistributedUserPreferences dup)
     Creates a new DistributedUserPreferences object populated with all values from the passed-in instance.

Method Summary
public  voidchangeChannelId(String oldChannelId, String newChannelId)
     Used when loading fragment layouts and converting them to their "fragmentized" version suitable for incorporating into other user's layouts.
public  voidchangeFolderId(String oldFolderId, String newFolderId)
     Used when loading fragment layouts and converting them to their "fragmentized" version suitable for incorporating into other user's layouts.
public  StringgetChannelAttributeValue(String channelSubscribeId, String attributeName)
    
public  EnumerationgetChannels()
    
public  StringgetDefaultChannelAttributeValue(String channelSubscribeId, String attributeName)
     Returns the default value for the specified attribute for the specified channel.
public  StringgetDefaultFolderAttributeValue(String folderId, String attributeName)
     Returns the default value for the specified attribute for the specified folder.
public  StringgetFolderAttributeValue(String folderId, String attributeName)
    
public  EnumerationgetFolders()
    
public  booleanhasChannel(String chanId)
    
public  booleanhasFolder(String folderId)
    
public  ObjectnewInstance()
     Provides a copy of this object with all fields instantiated to reflect the values of this object.
public  voidremoveChannel(String channelSubscribeId)
    
public  voidremoveDefinedChannelAttributeValue(String channelID, String attributeName)
    
public  voidremoveDefinedFolderAttributeValue(String folderID, String attributeName)
    
public  voidremoveFolder(String folderID)
    
public  voidsetIncorporatedChannelAttributeValue(String channelSubscribeId, String attributeName, String attributeValue)
     Sets the value of an attribute to the value that it had on the channel in the fragment from which it was incorporated.
public  voidsetIncorporatedFolderAttributeValue(String folderSubscribeId, String attributeName, String attributeValue)
     Sets the value of an attribute to the value that it had on the folder in the fragment from which it was incorporated.

Field Detail
RCS_ID
final public static String RCS_ID(Code)



incorporatedChannelAttributeValues
protected Hashtable incorporatedChannelAttributeValues(Code)



incorporatedFolderAttributeValues
protected Hashtable incorporatedFolderAttributeValues(Code)




Constructor Detail
DistributedUserPreferences
public DistributedUserPreferences()(Code)
Creates a new DistributedUserPreferences object with empty tables.



DistributedUserPreferences
public DistributedUserPreferences(StructureStylesheetUserPreferences ssup)(Code)
Creates a DistributedUserPreferences with values for super classes derived from those of the passed in StructureStylesheetUserPreferences object.
Parameters:
  ssup -



DistributedUserPreferences
public DistributedUserPreferences(ThemeStylesheetUserPreferences tsup)(Code)
If instantiated with a theme stylesheet preferences then this object should only be used in place of a theme stylesheet user prefs since structure stylesheet oriented variables will not be initialized.



DistributedUserPreferences
public DistributedUserPreferences(DistributedUserPreferences dup)(Code)
Creates a new DistributedUserPreferences object populated with all values from the passed-in instance.
Parameters:
  dup -




Method Detail
changeChannelId
public void changeChannelId(String oldChannelId, String newChannelId)(Code)
Used when loading fragment layouts and converting them to their "fragmentized" version suitable for incorporating into other user's layouts. One aspect of fragmentization is converting the user and layout node IDs to globally unique and consistent IDs. This method is used to replace the channel's user and layout specific ID with its globally unique value.
Parameters:
  oldChannelId -
Parameters:
  newChannelId -



changeFolderId
public void changeFolderId(String oldFolderId, String newFolderId)(Code)
Used when loading fragment layouts and converting them to their "fragmentized" version suitable for incorporating into other user's layouts. One aspect of fragmentization is converting the user and layout node IDs to globally unique and consistent IDs. This method is used to replace the folder's user and layout specific ID with its globally unique value.
Parameters:
  oldFolderId -
Parameters:
  newFolderId -



getChannelAttributeValue
public String getChannelAttributeValue(String channelSubscribeId, String attributeName)(Code)



getChannels
public Enumeration getChannels()(Code)



getDefaultChannelAttributeValue
public String getDefaultChannelAttributeValue(String channelSubscribeId, String attributeName)(Code)
Returns the default value for the specified attribute for the specified channel. Defaults for an attribute may be unique to a channel since an incorporated value becomes the default value for a fragment user.



getDefaultFolderAttributeValue
public String getDefaultFolderAttributeValue(String folderId, String attributeName)(Code)
Returns the default value for the specified attribute for the specified folder. Defaults for an attribute may be unique to a folder since an incorporated value becomes the default value for a fragment user.



getFolderAttributeValue
public String getFolderAttributeValue(String folderId, String attributeName)(Code)



getFolders
public Enumeration getFolders()(Code)



hasChannel
public boolean hasChannel(String chanId)(Code)



hasFolder
public boolean hasFolder(String folderId)(Code)



newInstance
public Object newInstance()(Code)
Provides a copy of this object with all fields instantiated to reflect the values of this object. This allows subclasses to override to add correct copying behavior for their added fields. a copy of this object



removeChannel
public void removeChannel(String channelSubscribeId)(Code)



removeDefinedChannelAttributeValue
public void removeDefinedChannelAttributeValue(String channelID, String attributeName)(Code)



removeDefinedFolderAttributeValue
public void removeDefinedFolderAttributeValue(String folderID, String attributeName)(Code)



removeFolder
public void removeFolder(String folderID)(Code)



setIncorporatedChannelAttributeValue
public void setIncorporatedChannelAttributeValue(String channelSubscribeId, String attributeName, String attributeValue)(Code)
Sets the value of an attribute to the value that it had on the channel in the fragment from which it was incorporated. User overrides, if allowed, are not set here. The setChannelAttributeValue() method is where user overrides are set and maintained distinctly from the original values had in the originating fragment.
Parameters:
  channelSubscribeId -
Parameters:
  attributeName -
Parameters:
  attributeValue -



setIncorporatedFolderAttributeValue
public void setIncorporatedFolderAttributeValue(String folderSubscribeId, String attributeName, String attributeValue)(Code)
Sets the value of an attribute to the value that it had on the folder in the fragment from which it was incorporated. User overrides, if allowed, are not set here. The setFolderAttributeValue() method is where user overrides are set and maintained distinctly from the original values had in the originating fragment.
Parameters:
  folderSubscribeId -
Parameters:
  attributeName -
Parameters:
  attributeValue -



Fields inherited from org.jasig.portal.StructureStylesheetUserPreferences
protected ArrayList defaultFolderAttributeValues(Code)(Java Doc)
protected Hashtable folderAttributeNumbers(Code)(Java Doc)
protected Hashtable folderAttributeValues(Code)(Java Doc)

Methods inherited from org.jasig.portal.StructureStylesheetUserPreferences
public void addFolder(String folderID)(Code)(Java Doc)
public void addFolderAttribute(String attributeName, String defaultValue)(Code)(Java Doc)
public String getCacheKey()(Code)(Java Doc)
public String getDefinedFolderAttributeValue(String folderID, String attributeName)(Code)(Java Doc)
public Enumeration getFolderAttributeNames()(Code)(Java Doc)
public String getFolderAttributeValue(String folderID, String attributeName)(Code)(Java Doc)
public Enumeration getFolders()(Code)(Java Doc)
public boolean hasFolder(String folderID)(Code)(Java Doc)
public Object newInstance()(Code)(Java Doc)
public void removeFolder(String folderID)(Code)(Java Doc)
public void removeFolderAttribute(String attributeName)(Code)(Java Doc)
public void setFolderAttributeDefaultValue(String attributeName, String defaultValue)(Code)(Java Doc)
public void setFolderAttributeValue(String folderID, String attributeName, String attributeValue)(Code)(Java Doc)

Fields inherited from org.jasig.portal.ThemeStylesheetUserPreferences
protected Hashtable channelAttributeNumbers(Code)(Java Doc)
protected Hashtable channelAttributeValues(Code)(Java Doc)
protected ArrayList defaultChannelAttributeValues(Code)(Java Doc)

Methods inherited from org.jasig.portal.ThemeStylesheetUserPreferences
public void addChannel(String channelSubscribeId)(Code)(Java Doc)
public void addChannelAttribute(String attributeName, String defaultValue)(Code)(Java Doc)
public String getCacheKey()(Code)(Java Doc)
public Enumeration getChannelAttributeNames()(Code)(Java Doc)
public String getChannelAttributeValue(String channelSubscribeId, String attributeName)(Code)(Java Doc)
public Enumeration getChannels()(Code)(Java Doc)
public String getDefinedChannelAttributeValue(String channelSubscribeId, String attributeName)(Code)(Java Doc)
public boolean hasChannel(String channelSubscribeId)(Code)(Java Doc)
public Object newInstance()(Code)(Java Doc)
public void removeChannel(String channelSubscribeId)(Code)(Java Doc)
public void removeChannelAttribute(String attributeName)(Code)(Java Doc)
public void setChannelAttributeDefaultValue(String attributeName, String defaultValue)(Code)(Java Doc)
public void setChannelAttributeValue(String channelSubscribeId, String attributeName, String attributeValue)(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.