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


java.lang.Object
   org.jasig.portal.layout.simple.SimpleUserLayoutManager

SimpleUserLayoutManager
public class SimpleUserLayoutManager implements IUserLayoutManager(Code)
An implementation of a user layout manager that uses 2.0-release store implementations. Prior to uPortal 2.5, this class existed in the org.jasig.portal.layout package. It was moved to its present package to reflect that it is part of the Simple Layout Management implementation.
author:
   Peter Kharchenko pkharchenko@interactivebusiness.com"
version:
   $Revision: 36690 $


Field Summary
protected  StringcacheKey
    
protected  Setlisteners
    
protected  DocumentmarkedUserLayout
    
final protected  IPersonowner
    
final protected  UserProfileprofile
    
protected static  Randomrnd
    
protected  StringrootNodeId
    
protected  IUserLayoutStorestore
    
protected  IUserLayoutuserLayout
    
protected  DocumentuserLayoutDocument
    

Constructor Summary
public  SimpleUserLayoutManager(IPerson owner, UserProfile profile, IUserLayoutStore store)
    

Method Summary
public  booleanaddLayoutEventListener(LayoutEventListener l)
    
public  IUserLayoutNodeDescriptionaddNode(IUserLayoutNodeDescription node, String parentId, String nextSiblingId)
    
public  booleancanAddNode(IUserLayoutNodeDescription node, String parentId, String nextSiblingId)
    
protected  booleancanAddNode(IUserLayoutNodeDescription node, IUserLayoutNodeDescription parent, String nextSiblingId)
    
public  booleancanDeleteNode(String nodeId)
    
protected  booleancanDeleteNode(IUserLayoutNodeDescription node)
    
public  booleancanMoveNode(String nodeId, String parentId, String nextSiblingId)
    
protected  booleancanMoveNode(IUserLayoutNodeDescription node, IUserLayoutNodeDescription parent, String nextSiblingId)
    
public  booleancanUpdateNode(String nodeId)
    
public  booleancanUpdateNode(IUserLayoutNodeDescription node)
    
public  voidclearMarkings()
    
public  IUserLayoutNodeDescriptioncreateNodeDescription(int nodeType)
    
public  booleandeleteNode(String nodeId)
    
public  StringgetCacheKey()
    
public  EnumerationgetChildIds(String nodeId)
    
public  intgetDepth(String nodeId)
     Returns the depth of a node in the layout tree.
public  intgetLayoutId()
    
protected  IUserLayoutStoregetLayoutStore()
    
public  StringgetNextSiblingId(String nodeId)
    
public  IUserLayoutNodeDescriptiongetNode(String nodeId)
    
public  StringgetParentId(String nodeId)
    
public  StringgetPreviousSiblingId(String nodeId)
    
public  StringgetRootFolderId()
    
public  StringgetSubscribeId(String fname)
     Returns a subscription id given a functional name.
Parameters:
  fname - the functional name to lookup.
public  IUserLayoutgetUserLayout()
    
public  voidgetUserLayout(ContentHandler ch)
    
public  voidgetUserLayout(String nodeId, ContentHandler ch)
    
protected  voidgetUserLayout(Node n, ContentHandler ch)
    
public  DocumentgetUserLayoutDOM()
    
protected  booleanisLayoutDirty()
    
public  voidloadUserLayout()
    
public  voidmarkAddTargets(IUserLayoutNodeDescription node)
    
public  voidmarkMoveTargets(String nodeId)
    
public  booleanmoveNode(String nodeId, String parentId, String nextSiblingId)
    
public  voidprocessLayoutParameters(IPerson person, UserPreferences userPrefs, HttpServletRequest req)
    
public  booleanremoveLayoutEventListener(LayoutEventListener l)
    
public  voidsaveUserLayout()
    
public  voidsetLayoutStore(IUserLayoutStore store)
    
public  voidsetUserLayout(IUserLayout userLayout)
    
public synchronized  booleanupdateNode(IUserLayoutNodeDescription node)
    

Field Detail
cacheKey
protected String cacheKey(Code)



listeners
protected Set listeners(Code)



markedUserLayout
protected Document markedUserLayout(Code)



owner
final protected IPerson owner(Code)



profile
final protected UserProfile profile(Code)



rnd
protected static Random rnd(Code)



rootNodeId
protected String rootNodeId(Code)



store
protected IUserLayoutStore store(Code)



userLayout
protected IUserLayout userLayout(Code)



userLayoutDocument
protected Document userLayoutDocument(Code)




Constructor Detail
SimpleUserLayoutManager
public SimpleUserLayoutManager(IPerson owner, UserProfile profile, IUserLayoutStore store) throws PortalException(Code)




Method Detail
addLayoutEventListener
public boolean addLayoutEventListener(LayoutEventListener l)(Code)



addNode
public IUserLayoutNodeDescription addNode(IUserLayoutNodeDescription node, String parentId, String nextSiblingId) throws PortalException(Code)



canAddNode
public boolean canAddNode(IUserLayoutNodeDescription node, String parentId, String nextSiblingId) throws PortalException(Code)



canAddNode
protected boolean canAddNode(IUserLayoutNodeDescription node, IUserLayoutNodeDescription parent, String nextSiblingId) throws PortalException(Code)



canDeleteNode
public boolean canDeleteNode(String nodeId) throws PortalException(Code)



canDeleteNode
protected boolean canDeleteNode(IUserLayoutNodeDescription node) throws PortalException(Code)



canMoveNode
public boolean canMoveNode(String nodeId, String parentId, String nextSiblingId) throws PortalException(Code)



canMoveNode
protected boolean canMoveNode(IUserLayoutNodeDescription node, IUserLayoutNodeDescription parent, String nextSiblingId) throws PortalException(Code)



canUpdateNode
public boolean canUpdateNode(String nodeId) throws PortalException(Code)



canUpdateNode
public boolean canUpdateNode(IUserLayoutNodeDescription node)(Code)



clearMarkings
public void clearMarkings()(Code)



createNodeDescription
public IUserLayoutNodeDescription createNodeDescription(int nodeType) throws PortalException(Code)
A factory method to create an empty IUserLayoutNodeDescription instance
Parameters:
  nodeType - a node type value an IUserLayoutNodeDescription instance
exception:
  PortalException - if the error occurs.



deleteNode
public boolean deleteNode(String nodeId) throws PortalException(Code)



getCacheKey
public String getCacheKey()(Code)



getChildIds
public Enumeration getChildIds(String nodeId) throws PortalException(Code)



getDepth
public int getDepth(String nodeId) throws PortalException(Code)
Returns the depth of a node in the layout tree.
Parameters:
  nodeId - a String value a depth value
exception:
  PortalException - if an error occurs



getLayoutId
public int getLayoutId()(Code)



getLayoutStore
protected IUserLayoutStore getLayoutStore()(Code)



getNextSiblingId
public String getNextSiblingId(String nodeId) throws PortalException(Code)



getNode
public IUserLayoutNodeDescription getNode(String nodeId) throws PortalException(Code)



getParentId
public String getParentId(String nodeId) throws PortalException(Code)



getPreviousSiblingId
public String getPreviousSiblingId(String nodeId) throws PortalException(Code)



getRootFolderId
public String getRootFolderId()(Code)



getSubscribeId
public String getSubscribeId(String fname) throws PortalException(Code)
Returns a subscription id given a functional name.
Parameters:
  fname - the functional name to lookup. a String subscription id.



getUserLayout
public IUserLayout getUserLayout() throws PortalException(Code)



getUserLayout
public void getUserLayout(ContentHandler ch) throws PortalException(Code)



getUserLayout
public void getUserLayout(String nodeId, ContentHandler ch) throws PortalException(Code)



getUserLayout
protected void getUserLayout(Node n, ContentHandler ch) throws PortalException(Code)



getUserLayoutDOM
public Document getUserLayoutDOM()(Code)



isLayoutDirty
protected boolean isLayoutDirty()(Code)



loadUserLayout
public void loadUserLayout() throws PortalException(Code)



markAddTargets
public void markAddTargets(IUserLayoutNodeDescription node) throws PortalException(Code)



markMoveTargets
public void markMoveTargets(String nodeId) throws PortalException(Code)



moveNode
public boolean moveNode(String nodeId, String parentId, String nextSiblingId) throws PortalException(Code)



processLayoutParameters
public void processLayoutParameters(IPerson person, UserPreferences userPrefs, HttpServletRequest req) throws PortalException(Code)



removeLayoutEventListener
public boolean removeLayoutEventListener(LayoutEventListener l)(Code)



saveUserLayout
public void saveUserLayout() throws PortalException(Code)



setLayoutStore
public void setLayoutStore(IUserLayoutStore store)(Code)



setUserLayout
public void setUserLayout(IUserLayout userLayout) throws PortalException(Code)



updateNode
public synchronized boolean updateNode(IUserLayoutNodeDescription node) throws PortalException(Code)



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.