Java Doc for WrappedNodeManager.java in  » Web-Framework » helma » helma » objectmodel » db » 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 » Web Framework » helma » helma.objectmodel.db 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   helma.objectmodel.db.WrappedNodeManager

WrappedNodeManager
final public class WrappedNodeManager (Code)
A wrapper around NodeManager that catches most Exceptions, or rethrows them as RuntimeExceptions. The idea behind this is that we don't care a lot about Exception classes, since Hop programming is done in JavaScript which doesn't know about them (except for the exception message).


Field Summary
 NodeManagernmgr
    

Constructor Summary
public  WrappedNodeManager(NodeManager nmgr)
     Creates a new WrappedNodeManager object.

Method Summary
public  intcountNodes(Node home, Relation rel)
     Count the nodes contained in the given Node's collection specified by the given Relation.
public  voiddeleteNode(Node node)
    
public  voidevictKey(Key key)
    
public  voidevictNode(Node node)
    
public  voidevictNodeByKey(Key key)
    
public  StringgenerateID(DbMapping map)
    
public  Object[]getCacheEntries()
    
public  DbMappinggetDbMapping(String name)
    
public  NodegetNode(String id, DbMapping dbmap)
    
public  NodegetNode(Key key)
    
public  NodegetNode(Node home, String id, Relation rel)
     Get the node specified by the given id and Relation.
public  SubnodeListgetNodeIDs(Node home, Relation rel)
     Get a list of IDs of nodes contained in the given Node's collection specified by the given Relation.
public  SubnodeListgetNodes(Node home, Relation rel)
     Get the list of nodes contained in the collection of the given Node specified by the given Relation.
public  VectorgetPropertyNames(Node home, Relation rel)
     Get a list of property names from the given node.
public  NodegetRootNode()
     Gets the application's root node.
public  booleanisRootNode(Node node)
     Checks if the given node is the application's root node.
public  voidlogEvent(String msg)
    
public  voidregisterNode(Node node)
     Register a node with the object cache using its primary key.
public  voidregisterNode(Node node, Key key)
     Register a node with the object cache using the given key.
public  intupdateSubnodeList(Node home, Relation rel)
    

Field Detail
nmgr
NodeManager nmgr(Code)




Constructor Detail
WrappedNodeManager
public WrappedNodeManager(NodeManager nmgr)(Code)
Creates a new WrappedNodeManager object.
Parameters:
  nmgr - ...




Method Detail
countNodes
public int countNodes(Node home, Relation rel)(Code)
Count the nodes contained in the given Node's collection specified by the given Relation.
Parameters:
  home -
Parameters:
  rel -



deleteNode
public void deleteNode(Node node)(Code)
Delete a node from the database
Parameters:
  node -



evictKey
public void evictKey(Key key)(Code)
Evict the object with the given key from the object cache
Parameters:
  key -



evictNode
public void evictNode(Node node)(Code)
Evict a node from the object cache
Parameters:
  node -



evictNodeByKey
public void evictNodeByKey(Key key)(Code)
Completely evict the object with the given key from the object cache
Parameters:
  key -



generateID
public String generateID(DbMapping map)(Code)
Generate a new id for an object specified by the DbMapping
Parameters:
  map - the DbMapping to generate an id for a new unique id



getCacheEntries
public Object[] getCacheEntries()(Code)
Get an array of all objects in the object cache



getDbMapping
public DbMapping getDbMapping(String name)(Code)
Get the DbMapping corresponding to a type name
Parameters:
  name - a type name the corresponding DbMapping



getNode
public Node getNode(String id, DbMapping dbmap)(Code)
Get a node given its id and DbMapping
Parameters:
  id -
Parameters:
  dbmap -



getNode
public Node getNode(Key key)(Code)
Get a node given its key
Parameters:
  key -



getNode
public Node getNode(Node home, String id, Relation rel)(Code)
Get the node specified by the given id and Relation.
Parameters:
  home -
Parameters:
  id -
Parameters:
  rel -



getNodeIDs
public SubnodeList getNodeIDs(Node home, Relation rel)(Code)
Get a list of IDs of nodes contained in the given Node's collection specified by the given Relation.
Parameters:
  home -
Parameters:
  rel -



getNodes
public SubnodeList getNodes(Node home, Relation rel)(Code)
Get the list of nodes contained in the collection of the given Node specified by the given Relation.
Parameters:
  home -
Parameters:
  rel -



getPropertyNames
public Vector getPropertyNames(Node home, Relation rel)(Code)
Get a list of property names from the given node. TODO: this retrieves access names of child nodes, not property names
Parameters:
  home -
Parameters:
  rel -



getRootNode
public Node getRootNode()(Code)
Gets the application's root node.



isRootNode
public boolean isRootNode(Node node)(Code)
Checks if the given node is the application's root node.



logEvent
public void logEvent(String msg)(Code)
Write an entry to the application's event log
Parameters:
  msg - event message



registerNode
public void registerNode(Node node)(Code)
Register a node with the object cache using its primary key.
Parameters:
  node -



registerNode
public void registerNode(Node node, Key key)(Code)
Register a node with the object cache using the given key.
Parameters:
  node -



updateSubnodeList
public int updateSubnodeList(Node home, Relation rel)(Code)

See Also:   helma.objectmodel.db.NodeManager.updateSubnodeList(NodeRelation)



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.