Java Doc for AggregatedLayout.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.alm.AggregatedLayout

All known Subclasses:   org.jasig.portal.layout.alm.ALFragment,
AggregatedLayout
public class AggregatedLayout implements IAggregatedLayout(Code)
The aggregated user layout implementation. 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: 42355 $



Constructor Summary
public  AggregatedLayout(String layoutId, IAggregatedUserLayoutManager layoutManager)
    
public  AggregatedLayout(String layoutId)
    

Method Summary
public  booleanaddLayoutEventListener(LayoutEventListener l)
    
public  StringgetCacheKey()
     Return a cache key, uniqly corresponding to the composition and the structure of the user layout.
public  EnumerationgetChildIds(String nodeId)
     Returns a list of child node Ids for a given node.
public  intgetDepth(String nodeId)
    
public  ALNodegetFirstSiblingNode(String nodeIdArg)
    
public  StringgetFragmentId(String nodeId)
     Returns an fragment Id for a given node.
public  SetgetFragmentIds()
     Returns a list of fragment Ids existing in the layout.
public  StringgetFragmentRootId(String fragmentId)
     Returns an fragment root Id for a given fragment.
public  StringgetId()
    
public  ALNodegetLastSiblingNode(String nodeIdArg)
    
public  HashtablegetLayoutData()
    
public  ALFoldergetLayoutFolder(String folderId)
    
public  ALNodegetLayoutNode(String nodeId)
    
public  StringgetNextSiblingId(String nodeId)
     Determine an Id of a next sibling node.
public  ALNodegetNode(String nodeId)
     Returns a node specified by a node ID.
public  IUserLayoutNodeDescriptiongetNodeDescription(String nodeId)
     Obtain a description of a node (channel or a folder) in a given user layout.
Parameters:
  nodeId - a String channel subscribe id or folder id.
public  StringgetNodeId(String fname)
     Returns a node id associated with the supplied functional name.
public  EnumerationgetNodeIds()
     Returns a list of node Ids in the layout.
public  StringgetParentId(String nodeId)
     Returns an Id of a parent user layout node.
public  StringgetPreviousSiblingId(String nodeId)
     Determine an Id of a previous sibling node.
public  StringgetRootId()
     Returns an id of the root node.
public  booleanremoveLayoutEventListener(LayoutEventListener l)
     Remove a registered layout event listener.
public  voidsetLayoutData(Hashtable layout)
    
public  voidsetLayoutManager(IAggregatedUserLayoutManager layoutManager)
    
public  voidwriteTo(ContentHandler ch)
    
public  voidwriteTo(String nodeId, ContentHandler contentHandler)
    
public  voidwriteTo(Document document)
    
public  voidwriteTo(String nodeId, Document document)
    


Constructor Detail
AggregatedLayout
public AggregatedLayout(String layoutId, IAggregatedUserLayoutManager layoutManager) throws PortalException(Code)



AggregatedLayout
public AggregatedLayout(String layoutId) throws PortalException(Code)




Method Detail
addLayoutEventListener
public boolean addLayoutEventListener(LayoutEventListener l)(Code)
Register a layout event listener
Parameters:
  l - a LayoutEventListener object a boolean success status



getCacheKey
public String getCacheKey() throws PortalException(Code)
Return a cache key, uniqly corresponding to the composition and the structure of the user layout. a String value
exception:
  PortalException - if an error occurs



getChildIds
public Enumeration getChildIds(String nodeId) throws PortalException(Code)
Returns a list of child node Ids for a given node.
Parameters:
  nodeId - a String value a Enumeration of String child node Ids.
exception:
  PortalException - if an error occurs



getDepth
public int getDepth(String nodeId) throws PortalException(Code)
Gets the tree depth for a given node
Parameters:
  nodeId - a String node ID a depth value
exception:
  PortalException - if an error occurs



getFirstSiblingNode
public ALNode getFirstSiblingNode(String nodeIdArg)(Code)



getFragmentId
public String getFragmentId(String nodeId) throws PortalException(Code)
Returns an fragment Id for a given node. Returns null if the node is not part of any fragments.
Parameters:
  nodeId - a String value a String fragment Id
exception:
  PortalException - if an error occurs



getFragmentIds
public Set getFragmentIds() throws PortalException(Code)
Returns a list of fragment Ids existing in the layout. a Set of String fragment Ids.
exception:
  PortalException - if an error occurs



getFragmentRootId
public String getFragmentRootId(String fragmentId) throws PortalException(Code)
Returns an fragment root Id for a given fragment.
Parameters:
  fragmentId - a String value a String fragment root Id
exception:
  PortalException - if an error occurs



getId
public String getId()(Code)
Returns a layout Id associated with this manager/ an String layout Id value;



getLastSiblingNode
public ALNode getLastSiblingNode(String nodeIdArg)(Code)



getLayoutData
public Hashtable getLayoutData() throws PortalException(Code)



getLayoutFolder
public ALFolder getLayoutFolder(String folderId)(Code)



getLayoutNode
public ALNode getLayoutNode(String nodeId)(Code)



getNextSiblingId
public String getNextSiblingId(String nodeId) throws PortalException(Code)
Determine an Id of a next sibling node.
Parameters:
  nodeId - a String value a String Id value of a next sibling node, or null if this is the last sibling.
exception:
  PortalException - if an error occurs



getNode
public ALNode getNode(String nodeId) throws PortalException(Code)
Returns a node specified by a node ID.
Parameters:
  nodeId - a String value a ALNode object
exception:
  PortalException - if an error occurs



getNodeDescription
public IUserLayoutNodeDescription getNodeDescription(String nodeId) throws PortalException(Code)
Obtain a description of a node (channel or a folder) in a given user layout.
Parameters:
  nodeId - a String channel subscribe id or folder id. an UserLayoutNodeDescription value
exception:
  PortalException - if an error occurs



getNodeId
public String getNodeId(String fname) throws PortalException(Code)
Returns a node id associated with the supplied functional name.
Parameters:
  fname - the functional name to lookup a String subscription id
exception:
  PortalException - if an error occurs



getNodeIds
public Enumeration getNodeIds() throws PortalException(Code)
Returns a list of node Ids in the layout. a Enumeration of node Ids
exception:
  PortalException - if an error occurs



getParentId
public String getParentId(String nodeId) throws PortalException(Code)
Returns an Id of a parent user layout node. The user layout root node always has ID= org.jasig.portal.layout.IUserLayout.ROOT_NODE_NAME
Parameters:
  nodeId - a String value a String value
exception:
  PortalException - if an error occurs



getPreviousSiblingId
public String getPreviousSiblingId(String nodeId) throws PortalException(Code)
Determine an Id of a previous sibling node.
Parameters:
  nodeId - a String value a String Id value of a previous sibling node, or null if this is the first sibling.
exception:
  PortalException - if an error occurs



getRootId
public String getRootId()(Code)
Returns an id of the root node. a String value



removeLayoutEventListener
public boolean removeLayoutEventListener(LayoutEventListener l)(Code)
Remove a registered layout event listener.
Parameters:
  l - a LayoutEventListener object a boolean success status



setLayoutData
public void setLayoutData(Hashtable layout) throws PortalException(Code)



setLayoutManager
public void setLayoutManager(IAggregatedUserLayoutManager layoutManager)(Code)



writeTo
public void writeTo(ContentHandler ch) throws PortalException(Code)
Writes user layout content (with appropriate markings) into a ContentHandler
Parameters:
  ch - a ContentHandler value
exception:
  PortalException - if an error occurs



writeTo
public void writeTo(String nodeId, ContentHandler contentHandler) throws PortalException(Code)
Writes subtree of a user layout (with appropriate markings) defined by a particular node into a ContentHandler
Parameters:
  nodeId - a String a node determining a user layout subtree.
Parameters:
  contentHandler - a ContentHandler value
exception:
  PortalException - if an error occurs



writeTo
public void writeTo(Document document) throws PortalException(Code)
Writes user layout content (with appropriate markings) into a Document object
Parameters:
  document - a Document value
exception:
  PortalException - if an error occurs



writeTo
public void writeTo(String nodeId, Document document) throws PortalException(Code)
Writes subtree of a user layout (with appropriate markings) defined by a particular node into a Document
Parameters:
  nodeId - a String a node determining a user layout subtree.
Parameters:
  document - a Document object
exception:
  PortalException - if an error occurs



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.