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


java.lang.Object
   org.jasig.portal.layout.simple.RDBMUserLayoutStore
      org.jasig.portal.layout.alm.AggregatedUserLayoutStore

AggregatedUserLayoutStore
public class AggregatedUserLayoutStore extends RDBMUserLayoutStore implements IAggregatedUserLayoutStore(Code)
AggregatedUserLayoutStore implementation using the relational database with SQL 92.

Company: Instructional Media & Magic Prior to uPortal 2.5, this class existed in the package org.jasig.portal.layout. It was moved to its present package to reflect that it is part of Aggregated Layouts.
author:
   Michael Ivanov
version:
   $Revision: 42045 $


Inner Class :public class UserAttributes

Field Summary
final protected static  StringCHANNEL_ADD_SQL
    
final protected static  StringCHANNEL_PARAM_ADD_SQL
    
final protected static  StringCHANNEL_PARAM_UPDATE_SQL
    
final protected static  StringCHANNEL_UPDATE_SQL
    
final protected static  StringFRAGMENT_ADD_SQL
    
final protected static  StringFRAGMENT_RESTRICTION_ADD_SQL
    
final protected static  StringFRAGMENT_RESTRICTION_UPDATE_SQL
    
final protected static  StringFRAGMENT_UPDATE_SQL
    
final protected static  StringLAYOUT_ADD_SQL
    
final protected static  StringLAYOUT_RESTRICTION_ADD_SQL
    
final protected static  StringLAYOUT_RESTRICTION_UPDATE_SQL
    
final protected static  StringLAYOUT_UPDATE_SQL
    

Constructor Summary
public  AggregatedUserLayoutStore()
    

Method Summary
public synchronized  ALNodeaddUserLayoutNode(IPerson person, UserProfile profile, ALNode node)
     Add the new user layout node.
public  voiddeleteFragment(IPerson person, String fragmentId)
    
public  voidfillChannelDescription(IALChannelDescription channelDesc)
    
public  IAggregatedLayoutgetAggregatedLayout(IPerson person, UserProfile profile)
     Returns the user layout internal representation.
public  ILayoutFragmentgetFragment(IPerson person, String fragmentId)
    
protected  ILayoutFragmentgetFragment(String fragmentIdStr)
    
public  MapgetFragments(IPerson person)
    
public  SetgetIncorrectPushedFragmentNodes(IPerson person, UserProfile profile)
     Returns the list of pushed fragment node IDs that must be removed from the user layout.
public  StringgetNextFragmentId()
     Returns the next fragment ID.
public  StringgetNextNodeId(IPerson person)
    
public  int[]getPriorityRange(String groupKey)
    
public  CollectiongetPublishGroups(IPerson person, String fragmentId)
    
protected  StringgetStructId(int structId, int chanId)
    
public  StructureStylesheetUserPreferencesgetStructureStylesheetUserPreferences(IPerson person, int profileId, int stylesheetId)
    
public  CollectiongetSubscribableFragments(IPerson person)
    
public  ThemeStylesheetUserPreferencesgetThemeStylesheetUserPreferences(IPerson person, int profileId, int stylesheetId)
    
public synchronized  voidsetAggregatedLayout(IPerson person, UserProfile profile, IAggregatedLayout layoutImpl)
    
public  voidsetFragment(IPerson person, ILayoutFragment fragment, UserPreferences userPrefs)
    
public  voidsetPublishGroups(IGroupMember[] groups, IPerson person, String fragmentId)
    
public  voidsetStructureStylesheetUserPreferences(IPerson person, int profileId, StructureStylesheetUserPreferences ssup)
    
public  voidsetThemeStylesheetUserPreferences(IPerson person, int profileId, ThemeStylesheetUserPreferences tsup)
    

Field Detail
CHANNEL_ADD_SQL
final protected static String CHANNEL_ADD_SQL(Code)



CHANNEL_PARAM_ADD_SQL
final protected static String CHANNEL_PARAM_ADD_SQL(Code)



CHANNEL_PARAM_UPDATE_SQL
final protected static String CHANNEL_PARAM_UPDATE_SQL(Code)



CHANNEL_UPDATE_SQL
final protected static String CHANNEL_UPDATE_SQL(Code)



FRAGMENT_ADD_SQL
final protected static String FRAGMENT_ADD_SQL(Code)



FRAGMENT_RESTRICTION_ADD_SQL
final protected static String FRAGMENT_RESTRICTION_ADD_SQL(Code)



FRAGMENT_RESTRICTION_UPDATE_SQL
final protected static String FRAGMENT_RESTRICTION_UPDATE_SQL(Code)



FRAGMENT_UPDATE_SQL
final protected static String FRAGMENT_UPDATE_SQL(Code)



LAYOUT_ADD_SQL
final protected static String LAYOUT_ADD_SQL(Code)



LAYOUT_RESTRICTION_ADD_SQL
final protected static String LAYOUT_RESTRICTION_ADD_SQL(Code)



LAYOUT_RESTRICTION_UPDATE_SQL
final protected static String LAYOUT_RESTRICTION_UPDATE_SQL(Code)



LAYOUT_UPDATE_SQL
final protected static String LAYOUT_UPDATE_SQL(Code)




Constructor Detail
AggregatedUserLayoutStore
public AggregatedUserLayoutStore() throws Exception(Code)




Method Detail
addUserLayoutNode
public synchronized ALNode addUserLayoutNode(IPerson person, UserProfile profile, ALNode node) throws PortalException(Code)
Add the new user layout node.
Parameters:
  person - an IPerson object specifying the user
Parameters:
  profile - a user profile for which the layout is being stored
Parameters:
  node - a ALNode object specifying the node a ALNode object specifying the node with the generated node ID
exception:
  PortalException - if an error occurs



deleteFragment
public void deleteFragment(IPerson person, String fragmentId) throws PortalException(Code)
Deletes the layout fragment
Parameters:
  person - an IPerson object specifying the user
Parameters:
  fragmentId - a fragment ID
exception:
  PortalException - if an error occurs



fillChannelDescription
public void fillChannelDescription(IALChannelDescription channelDesc) throws PortalException(Code)



getAggregatedLayout
public IAggregatedLayout getAggregatedLayout(IPerson person, UserProfile profile) throws PortalException(Code)
Returns the user layout internal representation.
Parameters:
  person - an IPerson object specifying the user
Parameters:
  profile - a user profile for which the layout is being stored a IAggregatedLayout object containing the internal representation of the user layout
exception:
  PortalException - if an error occurs



getFragment
public ILayoutFragment getFragment(IPerson person, String fragmentId) throws PortalException(Code)
Returns the layout fragment as a user layout
Parameters:
  person - an IPerson object specifying the user
Parameters:
  fragmentId - a fragment ID a IAggregatedLayout object containing the internal representation of the user layout
exception:
  PortalException - if an error occurs



getFragment
protected ILayoutFragment getFragment(String fragmentIdStr) throws PortalException(Code)
Returns the layout fragment as a user layout
Parameters:
  fragmentIdStr - a fragment ID a IAggregatedLayout object containing the internal representation of the user layout
exception:
  PortalException - if an error occurs



getFragments
public Map getFragments(IPerson person) throws PortalException(Code)
Gets the fragment IDs/fragment descriptions for a given user
Parameters:
  person - an IPerson object specifying the user a Map object containing the IDs of the fragments the user owns
exception:
  PortalException - if an error occurs



getIncorrectPushedFragmentNodes
public Set getIncorrectPushedFragmentNodes(IPerson person, UserProfile profile) throws PortalException(Code)
Returns the list of pushed fragment node IDs that must be removed from the user layout.
Parameters:
  person - an IPerson object specifying the user
Parameters:
  profile - a user profile for which the layout is being stored a Set list containing the fragment node IDs to be deleted from the user layout
exception:
  PortalException - if an error occurs



getNextFragmentId
public String getNextFragmentId() throws PortalException(Code)
Returns the next fragment ID. a String next fragment ID
exception:
  PortalException - if an error occurs



getNextNodeId
public String getNextNodeId(IPerson person) throws PortalException(Code)



getPriorityRange
public int[] getPriorityRange(String groupKey) throws PortalException(Code)
Returns the priority range defined for the given user group
Parameters:
  groupKey - a String group key a int array containing the min and max priority values
exception:
  PortalException - if an error occurs



getPublishGroups
public Collection getPublishGroups(IPerson person, String fragmentId) throws PortalException(Code)
Returns the user group keys which the fragment is published to
Parameters:
  person - an IPerson object specifying the user
Parameters:
  fragmentId - a String value a Collection object containing the group keys
exception:
  PortalException - if an error occurs



getStructId
protected String getStructId(int structId, int chanId)(Code)
Return the Structure ID tag (Overloaded)
Parameters:
  structId -
Parameters:
  chanId - ID tag



getStructureStylesheetUserPreferences
public StructureStylesheetUserPreferences getStructureStylesheetUserPreferences(IPerson person, int profileId, int stylesheetId) throws Exception(Code)



getSubscribableFragments
public Collection getSubscribableFragments(IPerson person) throws PortalException(Code)
Returns the list of Ids of the fragments that the user can subscribe to
Parameters:
  person - an IPerson object specifying the user Collection a set of the fragment IDs
exception:
  PortalException - if an error occurs



getThemeStylesheetUserPreferences
public ThemeStylesheetUserPreferences getThemeStylesheetUserPreferences(IPerson person, int profileId, int stylesheetId) throws Exception(Code)



setAggregatedLayout
public synchronized void setAggregatedLayout(IPerson person, UserProfile profile, IAggregatedLayout layoutImpl) throws PortalException(Code)

Parameters:
  person - an IPerson object specifying the user
Parameters:
  profile - a user profile for which the layout is being stored
Parameters:
  layoutImpl - a IAggregatedLayout containing an aggregated user layout
exception:
  PortalException - if an error occurs



setFragment
public void setFragment(IPerson person, ILayoutFragment fragment, UserPreferences userPrefs) throws PortalException(Code)
Sets the fragment
Parameters:
  person - an IPerson object specifying the user
Parameters:
  fragment - a ILayoutFragment containing a fragment
exception:
  PortalException - if an error occurs



setPublishGroups
public void setPublishGroups(IGroupMember[] groups, IPerson person, String fragmentId) throws PortalException(Code)
Persists the user groups which the fragment is published to
Parameters:
  groups - an array of IGroupMember objects
Parameters:
  person - an IPerson object specifying the user
Parameters:
  fragmentId - a String value
exception:
  PortalException - if an error occurs



setStructureStylesheetUserPreferences
public void setStructureStylesheetUserPreferences(IPerson person, int profileId, StructureStylesheetUserPreferences ssup) throws Exception(Code)



setThemeStylesheetUserPreferences
public void setThemeStylesheetUserPreferences(IPerson person, int profileId, ThemeStylesheetUserPreferences tsup) throws Exception(Code)



Fields inherited from org.jasig.portal.layout.simple.RDBMUserLayoutStore
protected static int DEBUG(Code)(Java Doc)
final protected static String channelPrefix(Code)(Java Doc)
protected IChannelRegistryStore crs(Code)(Java Doc)
protected ICounterStore csdb(Code)(Java Doc)
final protected static String folderPrefix(Code)(Java Doc)
final protected static boolean localeAware(Code)(Java Doc)
final protected Log log(Code)(Java Doc)

Methods inherited from org.jasig.portal.layout.simple.RDBMUserLayoutStore
public Integer addStructureStylesheetDescription(StructureStylesheetDescription ssd) throws Exception(Code)(Java Doc)
public Integer addStructureStylesheetDescription(String stylesheetDescriptionURI, String stylesheetURI)(Code)(Java Doc)
public UserProfile addSystemProfile(UserProfile profile) throws Exception(Code)(Java Doc)
public Integer addThemeStylesheetDescription(ThemeStylesheetDescription tsd) throws Exception(Code)(Java Doc)
public Integer addThemeStylesheetDescription(String stylesheetDescriptionURI, String stylesheetURI)(Code)(Java Doc)
public UserProfile addUserProfile(IPerson person, UserProfile profile) throws Exception(Code)(Java Doc)
protected static boolean channelApproved(java.util.Date approvedDate)(Code)(Java Doc)
final protected void createLayout(HashMap layoutStructure, Document doc, Element root, int structId) throws java.sql.SQLException, Exception(Code)(Java Doc)
public void deleteSystemProfile(int profileId) throws Exception(Code)(Java Doc)
public void deleteUserProfile(IPerson person, int profileId) throws Exception(Code)(Java Doc)
final public static void dumpDoc(Node node, String indent)(Code)(Java Doc)
public String generateNewChannelSubscribeId(IPerson person) throws Exception(Code)(Java Doc)
public String generateNewFolderId(IPerson person) throws Exception(Code)(Java Doc)
protected int getLayoutID(int userId, int profileId) throws SQLException(Code)(Java Doc)
public Hashtable getMimeTypeList() throws Exception(Code)(Java Doc)
protected synchronized String getNextStructId(IPerson person, String prefix) throws Exception(Code)(Java Doc)
protected String getStructId(int structId, int chanId)(Code)(Java Doc)
protected Element getStructure(Document doc, LayoutStructure ls) throws Exception(Code)(Java Doc)
public StructureStylesheetDescription getStructureStylesheetDescription(int stylesheetId) throws Exception(Code)(Java Doc)
public Integer getStructureStylesheetId(String ssName) throws Exception(Code)(Java Doc)
public Hashtable getStructureStylesheetList(String mimeType) throws Exception(Code)(Java Doc)
public Hashtable getStructureStylesheetList() throws Exception(Code)(Java Doc)
public StructureStylesheetUserPreferences getStructureStylesheetUserPreferences(IPerson person, int profileId, int stylesheetId) throws Exception(Code)(Java Doc)
public UserProfile getSystemProfile(String userAgent) throws Exception(Code)(Java Doc)
public UserProfile getSystemProfileById(int profileId) throws Exception(Code)(Java Doc)
public Hashtable getSystemProfileList() throws Exception(Code)(Java Doc)
public ThemeStylesheetDescription getThemeStylesheetDescription(int stylesheetId) throws Exception(Code)(Java Doc)
public Integer getThemeStylesheetId(String tsName) throws Exception(Code)(Java Doc)
public Hashtable getThemeStylesheetList(int structureStylesheetId) throws Exception(Code)(Java Doc)
public Hashtable getThemeStylesheetList() throws Exception(Code)(Java Doc)
public ThemeStylesheetUserPreferences getThemeStylesheetUserPreferences(IPerson person, int profileId, int stylesheetId) throws Exception(Code)(Java Doc)
public Document getUserLayout(IPerson person, UserProfile profile) throws Exception(Code)(Java Doc)
public UserPreferences getUserPreferences(IPerson person, int profileId) throws Exception(Code)(Java Doc)
public UserPreferences getUserPreferences(IPerson person, UserProfile profile) throws Exception(Code)(Java Doc)
public UserProfile getUserProfile(IPerson person, String userAgent) throws Exception(Code)(Java Doc)
public UserProfile getUserProfileById(IPerson person, int profileId) throws Exception(Code)(Java Doc)
public Hashtable getUserProfileList(IPerson person) throws Exception(Code)(Java Doc)
public void putUserPreferences(IPerson person, UserPreferences up) throws Exception(Code)(Java Doc)
public void removeStructureStylesheetDescription(int stylesheetId) throws Exception(Code)(Java Doc)
public void removeThemeStylesheetDescription(int stylesheetId) throws Exception(Code)(Java Doc)
protected int saveStructure(Node node, PreparedStatement structStmt, PreparedStatement parmStmt) throws Exception(Code)(Java Doc)
public void setStructureStylesheetUserPreferences(IPerson person, int profileId, StructureStylesheetUserPreferences ssup) throws Exception(Code)(Java Doc)
public void setSystemBrowserMapping(String userAgent, int profileId) throws Exception(Code)(Java Doc)
public void setThemeStylesheetUserPreferences(IPerson person, int profileId, ThemeStylesheetUserPreferences tsup) throws Exception(Code)(Java Doc)
public void setUserBrowserMapping(IPerson person, String userAgent, int profileId) throws Exception(Code)(Java Doc)
public void setUserLayout(IPerson person, UserProfile profile, Document layoutXML, boolean channelsAdded) throws Exception(Code)(Java Doc)
public boolean updateStructureStylesheetDescription(String stylesheetDescriptionURI, String stylesheetURI, int stylesheetId)(Code)(Java Doc)
public void updateStructureStylesheetDescription(StructureStylesheetDescription ssd) throws Exception(Code)(Java Doc)
public void updateSystemProfile(UserProfile profile) throws Exception(Code)(Java Doc)
public boolean updateThemeStylesheetDescription(String stylesheetDescriptionURI, String stylesheetURI, int stylesheetId)(Code)(Java Doc)
public void updateThemeStylesheetDescription(ThemeStylesheetDescription tsd) throws Exception(Code)(Java Doc)
public void updateUserProfile(IPerson person, UserProfile profile) throws Exception(Code)(Java Doc)
final protected static boolean xmlBool(String value)(Code)(Java Doc)

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.