Java Doc for GenericWorkflowAttribute.java in  » ERP-CRM-Financial » Kuali-Financial-System » edu » iu » uis » eden » routetemplate » 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 » Kuali Financial System » edu.iu.uis.eden.routetemplate 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   edu.iu.uis.eden.routetemplate.AbstractWorkflowAttribute
      edu.iu.uis.eden.routetemplate.GenericWorkflowAttribute

All known Subclasses:   edu.sampleu.travel.workflow.DestinationRuleAttribute,  edu.iu.uis.eden.routetemplate.GenericRoleAttribute,
GenericWorkflowAttribute
abstract public class GenericWorkflowAttribute extends AbstractWorkflowAttribute (Code)
Generic base class that implements common functionality to simplify implementing a WorkflowAttribute. This includes simplified template methods, as well as a generic attribute content model.

Control flow (for isMatch):

  1. GenericWorkflowAttribute.isMatch(DocumentContent,List)
    1. GenericWorkflowAttribute.isMatch(List,List)
      1. GenericWorkflowAttribute.isMatch(Map,List)
The default matching algorithm will match:
if any single attribute's properties are a match for all rule extension values
This implementation does not (yet!) implement a generic internal map of properties, so it is up to subclasses to expose specific named getters/setters to set data on an attribute of this ancestry.
author:
   Aaron Hamid (arh14 at cornell dot edu)


Field Summary
final protected  StringattributeName
    
final protected  GenericAttributeContentcontent
    
final protected  Loggerlog
    

Constructor Summary
public  GenericWorkflowAttribute()
    
public  GenericWorkflowAttribute(String uniqueName)
    

Method Summary
public  StringgetDocContent()
    
abstract public  Map<String, String>getProperties()
    
public  List<RuleExtensionValue>getRuleExtensionValues()
     I think the job of this method is to marshal the current state of the attribute into a representative list of rule extension values.
public  booleanisMatch(DocumentContent docContent, List<RuleExtension> ruleExtensions)
    
protected  booleanisMatch(List<Map<String, String>> propertiesList, List<RuleExtension> ruleExtensions)
    
protected  booleanisMatch(Map<String, String> properties, List<RuleExtension> ruleExtensions)
    
public  ListvalidateRoutingData(Map paramMap)
     These guys should probably be implemented to set the parameters on an internal member property map this attribute should use to contain all properties set on it, like StandardGenericXmlAttribute.
public  ListvalidateRuleData(Map paramMap)
    

Field Detail
attributeName
final protected String attributeName(Code)



content
final protected GenericAttributeContent content(Code)



log
final protected Logger log(Code)




Constructor Detail
GenericWorkflowAttribute
public GenericWorkflowAttribute()(Code)



GenericWorkflowAttribute
public GenericWorkflowAttribute(String uniqueName)(Code)




Method Detail
getDocContent
public String getDocContent()(Code)
Simply defers to GenericAttributeContent to generate suitable XML content in a standard fashion



getProperties
abstract public Map<String, String> getProperties()(Code)
Template method for subclasses to override to expose attribute state map exposing attribute state



getRuleExtensionValues
public List<RuleExtensionValue> getRuleExtensionValues()(Code)
I think the job of this method is to marshal the current state of the attribute into a representative list of rule extension values. On that assumption, this method should simply create a list of RuleExtensionValues based on the the property map this attribute uses to hold property values. TODO: this is not fully implemented! e.g. generic property map like StandardGenericXmlAttribute



isMatch
public boolean isMatch(DocumentContent docContent, List<RuleExtension> ruleExtensions)(Code)



isMatch
protected boolean isMatch(List<Map<String, String>> propertiesList, List<RuleExtension> ruleExtensions)(Code)
Returns true if any single incoming attribute's properties are a match for all rule extension values
Parameters:
  propertiesList - the list of incoming attributes' properties
Parameters:
  ruleExtensions - the rule extensions true if any single attribute's properties are a match for all rule extension values



isMatch
protected boolean isMatch(Map<String, String> properties, List<RuleExtension> ruleExtensions)(Code)
Returns true if all key/value pairs defined by the specified rule extensions are present in the incoming attribute's properties
Parameters:
  properties - incoming attribute's properties
Parameters:
  ruleExtensions - list of rule extensions true if all key/value pairs defined by the specified rule extensions are present in the incoming attribute's



validateRoutingData
public List validateRoutingData(Map paramMap)(Code)
These guys should probably be implemented to set the parameters on an internal member property map this attribute should use to contain all properties set on it, like StandardGenericXmlAttribute.
See Also:   GenericWorkflowAttribute.getProperties()
See Also:   TODO: implement me!



validateRuleData
public List validateRuleData(Map paramMap)(Code)



Fields inherited from edu.iu.uis.eden.routetemplate.AbstractWorkflowAttribute
protected boolean required(Code)(Java Doc)

Methods inherited from edu.iu.uis.eden.routetemplate.AbstractWorkflowAttribute
public String getDocContent()(Code)(Java Doc)
public String getIdFieldName()(Code)(Java Doc)
public String getLockFieldName()(Code)(Java Doc)
public List<Row> getRoutingDataRows()(Code)(Java Doc)
public List<RuleExtensionValue> getRuleExtensionValues()(Code)(Java Doc)
public List<Row> getRuleRows()(Code)(Java Doc)
public boolean isRequired()(Code)(Java Doc)
public void setRequired(boolean required)(Code)(Java Doc)
public List validateRoutingData(Map paramMap)(Code)(Java Doc)
public List validateRuleData(Map paramMap)(Code)(Java Doc)

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.