Java Doc for XpdlReader.java in  » ERP-CRM-Financial » SourceTap-CRM » org » ofbiz » workflow » definition » 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 » ERP CRM Financial » SourceTap CRM » org.ofbiz.workflow.definition 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.ofbiz.workflow.definition.XpdlReader

XpdlReader
public class XpdlReader (Code)
XpdlReader - Reads Process Definition objects from XPDL
author:
   David E. Jones
author:
   Andy Zeneski
version:
   $Revision: 1.1 $
since:
   2.0


Field Summary
protected  GenericDelegatordelegator
    
final public static  Stringmodule
    
protected  Listvalues
    

Constructor Summary
public  XpdlReader(GenericDelegator delegator)
    

Method Summary
protected  StringgetExtendedAttributeValue(Element element, String name, String defaultValue)
    
public static  voidimportXpdl(URL location, GenericDelegator delegator)
    
public static  voidmain(String[] args)
    
protected  voidreadActivities(List activities, String packageId, String packageVersion, String processId, String processVersion, GenericValue processValue)
    
protected  voidreadActivity(Element activityElement, String packageId, String packageVersion, String processId, String processVersion)
    
protected  StringreadActualParameters(List actualParameters)
    
public  ListreadAll(Document document)
    
protected  voidreadApplications(List applications, String packageId, String packageVersion, String processId, String processVersion)
    
protected  voidreadDataFields(List dataFields, String packageId, String packageVersion, String processId, String processVersion)
    
protected  StringreadExtendedAttributes(List extendedAttributes)
    
protected  voidreadExternalPackages(List externalPackages, String packageId, String packageVersion)
    
protected  voidreadFormalParameters(List formalParameters, String packageId, String packageVersion, String processId, String processVersion, String applicationId)
    
protected  voidreadLoop(Element loopElement, String packageId, String packageVersion, String processId, String processVersion, String activityId)
    
protected  voidreadPackage(Element packageElement)
    
protected  voidreadParticipants(List participants, String packageId, String packageVersion, String processId, String processVersion, GenericValue valueObject)
    
protected  booleanreadRedefinableHeader(Element redefinableHeaderElement, GenericValue valueObject, String prefix)
    
protected  voidreadResponsibles(List responsibles, GenericValue valueObject, String prefix)
    
protected  voidreadSubFlow(Element subFlowElement, String packageId, String packageVersion, String processId, String processVersion, String activityId)
    
protected  voidreadTool(Element toolElement, String packageId, String packageVersion, String processId, String processVersion, String activityId)
    
protected  voidreadTools(List tools, String packageId, String packageVersion, String processId, String processVersion, String activityId)
    
protected  voidreadTransition(Element transitionElement, String packageId, String packageVersion, String processId, String processVersion)
    
protected  voidreadTransitionRefs(List transitionRefs, String packageId, String packageVersion, String processId, String processVersion, String activityId)
    
protected  voidreadTransitionRestriction(Element transitionRestrictionElement, GenericValue activityValue)
    
protected  voidreadTransitionRestrictions(List transitionRestrictions, GenericValue activityValue)
    
protected  voidreadTransitions(List transitions, String packageId, String packageVersion, String processId, String processVersion)
    
protected  voidreadType(Element element, GenericValue value)
     Reads information about "Type" entity member sub-elements; the value object passed must have two fields to contain Type information: dataTypeEnumId and complexTypeInfoId.
protected  voidreadTypeDeclarations(List typeDeclarations, String packageId, String packageVersion)
    
protected  voidreadWorkflowProcess(Element workflowProcessElement, String packageId, String packageVersion)
    
protected  voidreadWorkflowProcesses(List workflowProcesses, String packageId, String packageVersion)
    
public static  ListreadXpdl(URL location, GenericDelegator delegator)
     Gets an XML file from the specified location and reads it into GenericValue objects from the given delegator and returns them in a List; does not write to the database, just gets the entities.

Field Detail
delegator
protected GenericDelegator delegator(Code)



module
final public static String module(Code)



values
protected List values(Code)




Constructor Detail
XpdlReader
public XpdlReader(GenericDelegator delegator)(Code)




Method Detail
getExtendedAttributeValue
protected String getExtendedAttributeValue(Element element, String name, String defaultValue)(Code)



importXpdl
public static void importXpdl(URL location, GenericDelegator delegator) throws DefinitionParserException(Code)
Imports an XPDL file at the given location and imports it into the datasource through the given delegator



main
public static void main(String[] args) throws Exception(Code)



readActivities
protected void readActivities(List activities, String packageId, String packageVersion, String processId, String processVersion, GenericValue processValue) throws DefinitionParserException(Code)



readActivity
protected void readActivity(Element activityElement, String packageId, String packageVersion, String processId, String processVersion) throws DefinitionParserException(Code)



readActualParameters
protected String readActualParameters(List actualParameters)(Code)



readAll
public List readAll(Document document) throws DefinitionParserException(Code)



readApplications
protected void readApplications(List applications, String packageId, String packageVersion, String processId, String processVersion) throws DefinitionParserException(Code)



readDataFields
protected void readDataFields(List dataFields, String packageId, String packageVersion, String processId, String processVersion) throws DefinitionParserException(Code)



readExtendedAttributes
protected String readExtendedAttributes(List extendedAttributes)(Code)



readExternalPackages
protected void readExternalPackages(List externalPackages, String packageId, String packageVersion)(Code)



readFormalParameters
protected void readFormalParameters(List formalParameters, String packageId, String packageVersion, String processId, String processVersion, String applicationId) throws DefinitionParserException(Code)



readLoop
protected void readLoop(Element loopElement, String packageId, String packageVersion, String processId, String processVersion, String activityId) throws DefinitionParserException(Code)



readPackage
protected void readPackage(Element packageElement) throws DefinitionParserException(Code)



readParticipants
protected void readParticipants(List participants, String packageId, String packageVersion, String processId, String processVersion, GenericValue valueObject) throws DefinitionParserException(Code)



readRedefinableHeader
protected boolean readRedefinableHeader(Element redefinableHeaderElement, GenericValue valueObject, String prefix) throws DefinitionParserException(Code)



readResponsibles
protected void readResponsibles(List responsibles, GenericValue valueObject, String prefix) throws DefinitionParserException(Code)



readSubFlow
protected void readSubFlow(Element subFlowElement, String packageId, String packageVersion, String processId, String processVersion, String activityId) throws DefinitionParserException(Code)



readTool
protected void readTool(Element toolElement, String packageId, String packageVersion, String processId, String processVersion, String activityId) throws DefinitionParserException(Code)



readTools
protected void readTools(List tools, String packageId, String packageVersion, String processId, String processVersion, String activityId) throws DefinitionParserException(Code)



readTransition
protected void readTransition(Element transitionElement, String packageId, String packageVersion, String processId, String processVersion) throws DefinitionParserException(Code)



readTransitionRefs
protected void readTransitionRefs(List transitionRefs, String packageId, String packageVersion, String processId, String processVersion, String activityId) throws DefinitionParserException(Code)



readTransitionRestriction
protected void readTransitionRestriction(Element transitionRestrictionElement, GenericValue activityValue) throws DefinitionParserException(Code)



readTransitionRestrictions
protected void readTransitionRestrictions(List transitionRestrictions, GenericValue activityValue) throws DefinitionParserException(Code)



readTransitions
protected void readTransitions(List transitions, String packageId, String packageVersion, String processId, String processVersion) throws DefinitionParserException(Code)



readType
protected void readType(Element element, GenericValue value)(Code)
Reads information about "Type" entity member sub-elements; the value object passed must have two fields to contain Type information: dataTypeEnumId and complexTypeInfoId.



readTypeDeclarations
protected void readTypeDeclarations(List typeDeclarations, String packageId, String packageVersion) throws DefinitionParserException(Code)



readWorkflowProcess
protected void readWorkflowProcess(Element workflowProcessElement, String packageId, String packageVersion) throws DefinitionParserException(Code)



readWorkflowProcesses
protected void readWorkflowProcesses(List workflowProcesses, String packageId, String packageVersion) throws DefinitionParserException(Code)



readXpdl
public static List readXpdl(URL location, GenericDelegator delegator) throws DefinitionParserException(Code)
Gets an XML file from the specified location and reads it into GenericValue objects from the given delegator and returns them in a List; does not write to the database, just gets the entities.



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.