Java Doc for SiteTreeImpl.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » lenya » cms » site » tree2 » 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 » Content Management System » apache lenya 2.0 » org.apache.lenya.cms.site.tree2 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.lenya.cms.site.tree2.SiteTreeImpl

SiteTreeImpl
public class SiteTreeImpl extends AbstractLogEnabled implements SiteStructure,SiteTree,Persistable(Code)
Simple site tree implementation.


Field Summary
final protected static  StringNAMESPACE
    
protected  ServiceManagermanager
    

Constructor Summary
public  SiteTreeImpl(ServiceManager manager, Area area, Logger logger)
    

Method Summary
public  Linkadd(String path, Document doc)
    
public  SiteNodeadd(String path)
    
public  SiteNodeadd(String path, String followingSiblingPath)
    
protected  voidchanged()
    
protected  voidcheckInvariants()
    
public  booleancontains(String path)
    
public  booleancontains(String path, String language)
    
public  booleancontainsByUuid(String uuid, String language)
    
public  booleancontainsInAnyLanguage(String uuid)
    
public  StringgetArea()
    
public  LinkgetByUuid(String uuid, String language)
    
protected  StringgetKey(Link link)
    
protected  StringgetKey(String uuid, String language)
    
public  SiteNodegetNode(String path)
    
protected  NodeFactorygetNodeFactory()
    
public  SiteNode[]getNodes()
    
protected  TreeNodegetParent(TreeNode node)
    
Parameters:
  node - A node.
protected  StringgetParentPath(String path)
    
protected  StringgetPath()
    
protected  MapgetPath2Node()
    
public  PublicationgetPublication()
    
public  NodegetRepositoryNode()
    
protected  intgetRevision(Node repoNode)
    
protected  RootNodegetRoot()
    
public  SessiongetSession()
    
protected  StringgetSourceUri()
    
public  SiteNode[]getTopLevelNodes()
    
protected  TreeNodeImplgetTreeNode(String path)
    
protected  MapgetUuidLanguage2Link()
    
protected  voidinitRoot()
    
public  booleanisModified()
    
protected  voidlinkAdded(Link link)
    
protected  voidlinkRemoved(String uuid, String language)
    
protected synchronized  voidload()
    
protected  voidloadLinks(TreeNodeImpl node, NamespaceHelper helper, Element element)
    
protected  voidloadNodes(TreeNode parent, NamespaceHelper helper, Element element)
    
public  voidmoveDown(String path)
    
public  voidmoveUp(String path)
    
protected  voidnodeAdded(SiteNode node)
    
protected  voidnodeRemoved(String path)
    
public  SiteNode[]preOrder()
    
protected  voidreset()
    
public synchronized  voidsave()
    
protected  voidsaveLinks(SiteNode node, NamespaceHelper helper, Element nodeElement)
    
protected  voidsaveNodes(TreeNode parent, NamespaceHelper helper, Element parentElement)
    

Field Detail
NAMESPACE
final protected static String NAMESPACE(Code)



manager
protected ServiceManager manager(Code)




Constructor Detail
SiteTreeImpl
public SiteTreeImpl(ServiceManager manager, Area area, Logger logger)(Code)

Parameters:
  manager - The service manager.
Parameters:
  area - The area.
Parameters:
  logger - The logger.




Method Detail
add
public Link add(String path, Document doc) throws SiteException(Code)



add
public SiteNode add(String path) throws SiteException(Code)



add
public SiteNode add(String path, String followingSiblingPath) throws SiteException(Code)



changed
protected void changed()(Code)



checkInvariants
protected void checkInvariants()(Code)



contains
public boolean contains(String path)(Code)



contains
public boolean contains(String path, String language)(Code)



containsByUuid
public boolean containsByUuid(String uuid, String language)(Code)



containsInAnyLanguage
public boolean containsInAnyLanguage(String uuid)(Code)



getArea
public String getArea()(Code)



getByUuid
public Link getByUuid(String uuid, String language) throws SiteException(Code)



getKey
protected String getKey(Link link)(Code)



getKey
protected String getKey(String uuid, String language)(Code)



getNode
public SiteNode getNode(String path) throws SiteException(Code)



getNodeFactory
protected NodeFactory getNodeFactory()(Code)



getNodes
public SiteNode[] getNodes()(Code)



getParent
protected TreeNode getParent(TreeNode node) throws SiteException(Code)

Parameters:
  node - A node. The parent of the node, which is the root node for top level nodes.
throws:
  SiteException - if an error occurs.



getParentPath
protected String getParentPath(String path)(Code)



getPath
protected String getPath()(Code)



getPath2Node
protected Map getPath2Node()(Code)



getPublication
public Publication getPublication()(Code)



getRepositoryNode
public Node getRepositoryNode()(Code)



getRevision
protected int getRevision(Node repoNode)(Code)



getRoot
protected RootNode getRoot()(Code)



getSession
public Session getSession()(Code)



getSourceUri
protected String getSourceUri()(Code)



getTopLevelNodes
public SiteNode[] getTopLevelNodes()(Code)



getTreeNode
protected TreeNodeImpl getTreeNode(String path) throws SiteException(Code)



getUuidLanguage2Link
protected Map getUuidLanguage2Link()(Code)



initRoot
protected void initRoot()(Code)



isModified
public boolean isModified()(Code)



linkAdded
protected void linkAdded(Link link)(Code)



linkRemoved
protected void linkRemoved(String uuid, String language)(Code)



load
protected synchronized void load()(Code)



loadLinks
protected void loadLinks(TreeNodeImpl node, NamespaceHelper helper, Element element)(Code)



loadNodes
protected void loadNodes(TreeNode parent, NamespaceHelper helper, Element element)(Code)



moveDown
public void moveDown(String path) throws SiteException(Code)



moveUp
public void moveUp(String path) throws SiteException(Code)



nodeAdded
protected void nodeAdded(SiteNode node)(Code)



nodeRemoved
protected void nodeRemoved(String path)(Code)



preOrder
public SiteNode[] preOrder()(Code)
The nodes in pre-order enumeration.



reset
protected void reset()(Code)



save
public synchronized void save() throws RepositoryException(Code)



saveLinks
protected void saveLinks(SiteNode node, NamespaceHelper helper, Element nodeElement) throws SiteException(Code)



saveNodes
protected void saveNodes(TreeNode parent, NamespaceHelper helper, Element parentElement) throws SiteException(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.