Java Doc for TreeEngineBean.java in  » J2EE » fleXive » com » flexive » ejb » beans » 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 » J2EE » fleXive » com.flexive.ejb.beans 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.flexive.ejb.beans.TreeEngineBean

TreeEngineBean
public class TreeEngineBean implements TreeEngine,TreeEngineLocal(Code)
Flexive Tree implementation
author:
   Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)


Field Summary
final static  booleanPARTIAL_LOADING
    
 ContentEngineLocalcontentEngine
    
 javax.ejb.SessionContextctx
    
 LanguageEngineLocallanguageEngine
    
 SequencerEngineLocalseq
    

Constructor Summary
public  TreeEngineBean()
    

Method Summary
public  voidactivate(FxTreeMode mode, long nodeId, boolean includeChildren)
    
public  voidclear(FxTreeMode mode)
    
public  longcopy(FxTreeMode mode, long source, long destination, int destinationPosition)
    
public  longcreateNode(long parentNodeId, String name, FxString label, int position, FxPK reference, String template, FxTreeMode mode)
    
public  long[]createNodes(FxTreeMode mode, long parentNodeId, int position, String path)
    
public  booleanexist(FxTreeMode mode, long id)
    
public  FxTreeNodefindChild(FxTreeMode mode, long nodeId, String name)
    
public  FxTreeNodefindChild(FxTreeMode mode, long nodeId, long referenceId)
    
public  FxTreeNodefindChild(FxTreeMode mode, long nodeId, FxPK pk)
    
public  FxTreeNodefindChild(FxTreeMode mode, long nodeId, FxReference reference)
    
public  longgetIdByFQNPath(FxTreeMode mode, long startNode, String path)
    
public  longgetIdByLabelPath(FxTreeMode mode, long startNode, String path)
    
public  longgetIdByPath(FxTreeMode mode, String path)
    
public  long[]getIdChain(FxTreeMode mode, long nodeId)
    
public  List<String>getLabels(FxTreeMode mode, long... ids)
    
public  List<String>getLabels(FxTreeMode mode, FxLanguage language, long... ids)
    
public  FxTreeNodegetNode(FxTreeMode mode, long id)
    
public  List<FxTreeNode>getNodesWithReference(FxTreeMode mode, long reference)
    
public  StringgetPathById(FxTreeMode mode, long nodeId)
    
public  List<String>getPaths(FxTreeMode mode, long... ids)
    
public  long[]getReverseIdChain(FxTreeMode mode, long id)
    
public  String[]getTemplates(FxTreeMode mode, long id)
    
public  FxTreeNodegetTree(FxTreeMode mode, long nodeId, int depth)
    
public  voidmove(FxTreeMode mode, long nodeId, long destinationId, int newPosition)
    
public  voidpopulate(FxTreeMode mode)
    
public  voidremove(FxTreeNode node, boolean removeReferencedContent, boolean removeChildren)
    
public  voidremoveNode(FxTreeMode mode, long nodeId, boolean deleteReferencedContent, boolean deleteChildren)
     Deletes the given node.
public  voidrenameNode(long nodeId, FxTreeMode mode, String name, FxString label)
    
public  longsave(FxTreeNodeEdit node)
    
public  voidsetTemplate(FxTreeMode mode, long nodeId, String template)
    

Field Detail
PARTIAL_LOADING
final static boolean PARTIAL_LOADING(Code)



contentEngine
ContentEngineLocal contentEngine(Code)



ctx
javax.ejb.SessionContext ctx(Code)



languageEngine
LanguageEngineLocal languageEngine(Code)



seq
SequencerEngineLocal seq(Code)




Constructor Detail
TreeEngineBean
public TreeEngineBean()(Code)




Method Detail
activate
public void activate(FxTreeMode mode, long nodeId, boolean includeChildren) throws FxApplicationException(Code)



clear
public void clear(FxTreeMode mode) throws FxApplicationException(Code)



copy
public long copy(FxTreeMode mode, long source, long destination, int destinationPosition) throws FxApplicationException(Code)



createNode
public long createNode(long parentNodeId, String name, FxString label, int position, FxPK reference, String template, FxTreeMode mode) throws FxApplicationException(Code)
Create a new node
Parameters:
  mode - tree mode
Parameters:
  parentNodeId - id of the parent node
Parameters:
  name - name (will only be used if no FQN property is available in the reference)
Parameters:
  label - label for Caption property (only used if new reference is created)
Parameters:
  position - position
Parameters:
  reference - referenced content id
Parameters:
  template - optional template to assign @return id of the created node id of the node created
throws:
  FxApplicationException - on errors



createNodes
public long[] createNodes(FxTreeMode mode, long parentNodeId, int position, String path) throws FxApplicationException(Code)



exist
public boolean exist(FxTreeMode mode, long id) throws FxApplicationException(Code)



findChild
public FxTreeNode findChild(FxTreeMode mode, long nodeId, String name) throws FxApplicationException(Code)



findChild
public FxTreeNode findChild(FxTreeMode mode, long nodeId, long referenceId) throws FxApplicationException(Code)



findChild
public FxTreeNode findChild(FxTreeMode mode, long nodeId, FxPK pk) throws FxApplicationException(Code)



findChild
public FxTreeNode findChild(FxTreeMode mode, long nodeId, FxReference reference) throws FxApplicationException(Code)



getIdByFQNPath
public long getIdByFQNPath(FxTreeMode mode, long startNode, String path) throws FxApplicationException(Code)



getIdByLabelPath
public long getIdByLabelPath(FxTreeMode mode, long startNode, String path) throws FxApplicationException(Code)



getIdByPath
public long getIdByPath(FxTreeMode mode, String path) throws FxApplicationException(Code)



getIdChain
public long[] getIdChain(FxTreeMode mode, long nodeId) throws FxApplicationException(Code)



getLabels
public List<String> getLabels(FxTreeMode mode, long... ids) throws FxApplicationException(Code)



getLabels
public List<String> getLabels(FxTreeMode mode, FxLanguage language, long... ids) throws FxApplicationException(Code)



getNode
public FxTreeNode getNode(FxTreeMode mode, long id) throws FxApplicationException(Code)



getNodesWithReference
public List<FxTreeNode> getNodesWithReference(FxTreeMode mode, long reference) throws FxApplicationException(Code)



getPathById
public String getPathById(FxTreeMode mode, long nodeId) throws FxApplicationException(Code)



getPaths
public List<String> getPaths(FxTreeMode mode, long... ids) throws FxApplicationException(Code)



getReverseIdChain
public long[] getReverseIdChain(FxTreeMode mode, long id)(Code)



getTemplates
public String[] getTemplates(FxTreeMode mode, long id)(Code)



getTree
public FxTreeNode getTree(FxTreeMode mode, long nodeId, int depth) throws FxApplicationException(Code)



move
public void move(FxTreeMode mode, long nodeId, long destinationId, int newPosition) throws FxApplicationException(Code)



populate
public void populate(FxTreeMode mode) throws FxApplicationException(Code)



remove
public void remove(FxTreeNode node, boolean removeReferencedContent, boolean removeChildren) throws FxApplicationException(Code)



removeNode
public void removeNode(FxTreeMode mode, long nodeId, boolean deleteReferencedContent, boolean deleteChildren) throws FxApplicationException(Code)
Deletes the given node.
Parameters:
  mode - tree mode to use (Live or Edit tree)
Parameters:
  nodeId - the node to delete
Parameters:
  deleteReferencedContent - delete referenced content
Parameters:
  deleteChildren - if true all nodes that are inside the subtree of the given node aredeleted as well, if false the subtree is moved one level up (to the parent of the specifiednode)
throws:
  FxApplicationException - on errors



renameNode
public void renameNode(long nodeId, FxTreeMode mode, String name, FxString label) throws FxApplicationException(Code)



save
public long save(FxTreeNodeEdit node) throws FxApplicationException(Code)



setTemplate
public void setTemplate(FxTreeMode mode, long nodeId, String template)(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.