Java Doc for WMEntityUtilities.java in  » Workflow-Engines » shark » org » enhydra » shark » utilities » 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 » Workflow Engines » shark » org.enhydra.shark.utilities 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.enhydra.shark.utilities.WMEntityUtilities

WMEntityUtilities
public class WMEntityUtilities (Code)
The various utilities for WMEntity handling.
author:
   Sasa Bojanic




Method Summary
public static  StringfindEAAndGetValue(WMSessionHandle sh, XPDLBrowser xpdlb, WMEntity ent, String eaName)
     Searchs for the extended attribute for the specified entity with a given name.
public static  WMEntity[]getAllActivities(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity wpOrAs)
     Retrieves all the Shark entitites representing activities from the given workflow process or activity set.
public static  WMEntity[]getAllActivitySets(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity wp)
     Retrieves all the Shark entitites representing activity sets for the given WorkflowProcess entity.
public static  WMEntity[]getAllApplications(WMSessionHandle shandle, XPDLBrowser xpdlb)
     Retrieves all the Shark entitites representing applications from all the packages and their workflow processes.
public static  WMEntity[]getAllApplications(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity pkgOrWp)
     Retrieves all the Shark entitites representing applications from the given package or workflow process.
public static  WMEntity[]getAllPackages(WMSessionHandle shandle, XPDLBrowser xpdlb)
     Retrieves all the Shark entitites representing uploaded XPDL Packages.
public static  WMEntity[]getAllParticipants(WMSessionHandle shandle, XPDLBrowser xpdlb)
     Retrieves all the Shark entitites representing participants from all the packages and their workflow processes.
public static  WMEntity[]getAllParticipants(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity pkgOrWp)
     Retrieves all the Shark entitites representing participants from the given package or workflow process.
public static  WMEntity[]getAllWorkflowProcesses(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity pkg)
     Retrieves all the Shark entitites representing workflow processes for the given Package entity.
public static  WMAttributegetAttribute(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity ent, String attrName)
     Returns given entity's attribute referenced by the name or null if it does not exist.
public static  StringgetAttributeValue(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity ent, String attrName)
     Returns given entity's attribute value or null if it does not exist.
public static  String[][]getExtAttribNVPairs(WMSessionHandle sh, XPDLBrowser xpdlb, WMEntity ent)
     Returns (double) string array of all extended attributes for the given entity.
public static  MapgetMapFromWMAttributeArray(WMAttribute[] attrs)
     Converts array of WMAttribute objects to a java Map where keys are WMAttribute names (variable Ids) and values are attribute/variable values.
public static  NameValue[]getNameValueArrayFromMap(Map context)
    
public static  WMEntity[]getOverallActivities(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity wp)
     Retrieves all the Shark entitites representing activities from the given workflow process and their activity sets.
public static  WMEntitygetSubEntity(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity ent, String subEntName)
     Returns given entity's sub-entity referenced by the name or null if it does not exist.
public static  WMAttribute[]getWMAttributeArrayFromMap(Map context, Map contextSignature)
     Converts variable Map to array of WMAttribute objects.



Method Detail
findEAAndGetValue
public static String findEAAndGetValue(WMSessionHandle sh, XPDLBrowser xpdlb, WMEntity ent, String eaName) throws Exception(Code)
Searchs for the extended attribute for the specified entity with a given name. If attribute is found, the extended attribute's value attribute value is returned, and otherwise null is returned.



getAllActivities
public static WMEntity[] getAllActivities(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity wpOrAs) throws Exception(Code)
Retrieves all the Shark entitites representing activities from the given workflow process or activity set.



getAllActivitySets
public static WMEntity[] getAllActivitySets(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity wp) throws Exception(Code)
Retrieves all the Shark entitites representing activity sets for the given WorkflowProcess entity.



getAllApplications
public static WMEntity[] getAllApplications(WMSessionHandle shandle, XPDLBrowser xpdlb) throws Exception(Code)
Retrieves all the Shark entitites representing applications from all the packages and their workflow processes.



getAllApplications
public static WMEntity[] getAllApplications(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity pkgOrWp) throws Exception(Code)
Retrieves all the Shark entitites representing applications from the given package or workflow process.



getAllPackages
public static WMEntity[] getAllPackages(WMSessionHandle shandle, XPDLBrowser xpdlb) throws Exception(Code)
Retrieves all the Shark entitites representing uploaded XPDL Packages.



getAllParticipants
public static WMEntity[] getAllParticipants(WMSessionHandle shandle, XPDLBrowser xpdlb) throws Exception(Code)
Retrieves all the Shark entitites representing participants from all the packages and their workflow processes.



getAllParticipants
public static WMEntity[] getAllParticipants(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity pkgOrWp) throws Exception(Code)
Retrieves all the Shark entitites representing participants from the given package or workflow process.



getAllWorkflowProcesses
public static WMEntity[] getAllWorkflowProcesses(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity pkg) throws Exception(Code)
Retrieves all the Shark entitites representing workflow processes for the given Package entity.



getAttribute
public static WMAttribute getAttribute(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity ent, String attrName) throws Exception(Code)
Returns given entity's attribute referenced by the name or null if it does not exist.



getAttributeValue
public static String getAttributeValue(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity ent, String attrName) throws Exception(Code)
Returns given entity's attribute value or null if it does not exist. Attribute name is specified as parameter.



getExtAttribNVPairs
public static String[][] getExtAttribNVPairs(WMSessionHandle sh, XPDLBrowser xpdlb, WMEntity ent) throws Exception(Code)
Returns (double) string array of all extended attributes for the given entity. The first column of each row represents extended attribute's name attribute, and second column represents its value attribute.



getMapFromWMAttributeArray
public static Map getMapFromWMAttributeArray(WMAttribute[] attrs) throws Exception(Code)
Converts array of WMAttribute objects to a java Map where keys are WMAttribute names (variable Ids) and values are attribute/variable values.



getNameValueArrayFromMap
public static NameValue[] getNameValueArrayFromMap(Map context) throws Exception(Code)



getOverallActivities
public static WMEntity[] getOverallActivities(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity wp) throws Exception(Code)
Retrieves all the Shark entitites representing activities from the given workflow process and their activity sets.



getSubEntity
public static WMEntity getSubEntity(WMSessionHandle shandle, XPDLBrowser xpdlb, WMEntity ent, String subEntName) throws Exception(Code)
Returns given entity's sub-entity referenced by the name or null if it does not exist.



getWMAttributeArrayFromMap
public static WMAttribute[] getWMAttributeArrayFromMap(Map context, Map contextSignature) throws Exception(Code)
Converts variable Map to array of WMAttribute objects. Map keys become WMAttribute names and values WMAttribute values. Context signature of the corresponding process definition is mandatory parameter which can't be null.



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.