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


edu.iu.uis.eden.plugin.attributes.RoleAttribute

All known Subclasses:   org.kuali.workflow.attribute.KualiCGAttribute,  org.kuali.workflow.attribute.KualiAccountAttribute,  edu.iu.uis.eden.routetemplate.TestRuleAttributeThree,  org.kuali.workflow.attribute.KualiVerificationWorkgroupAttribute,  edu.iu.uis.eden.routetemplate.TestRuleAttribute,  edu.iu.uis.eden.routetemplate.TestRuleAttributeDuex,  org.kuali.workflow.attribute.KualiChartAttribute,  edu.iu.uis.eden.routetemplate.GenericRoleAttribute,  edu.iu.uis.eden.routetemplate.AbstractRoleAttribute,
RoleAttribute
public interface RoleAttribute (Code)
A special type of attribute that is used exclusively for resolving abstract roles to concrete responsibilities (users and groups). A RoleAttribute provides resolution for a set of abstract "role" names. These are published via the RoleAttribute.getRoleNames() method, which returns a list of Role , which is a combination of class name (attribute implementation class), abstract role name, and optional label and return url (DOCME: what is return url used for?).

RoleAttribute lifecycle:

  1. A RoleAttribute is defined on a Rule, via the role element, with the syntax: fully qualified class name!abstract role name. E.g.:
    <role>edu.whatever.attribute.SomeAttribute!RoleName</role>
  2. When the <role> element is parsed, the Rule's "responsibility" is set to the role element value and the responsibility is marked to indicate that it is a role ("R", EdenConstants.RULE_RESPONSIBILITY_ROLE_ID )
  3. When a Rule that is configured with a Role responsibility is fired, RoleAttribute.getQualifiedRoleNames(String,DocumentContent) is called to return a list of "qualified" role names. Qualified role names are role names which have been qualified with some relevant contextual information (e.g. from the document) that is useful for subsequent responsibility resolution.
  4. RoleAttribute.resolveQualifiedRole(RouteContext,String,String) is immediately called for each of the qualified role names returned in the previous step, and it returns a ResolvedQualifiedRole containing the list of concrete recipients ( Id s).
  5. ( edu.iu.uis.eden.routetemplate.UnqualifiedRoleAttribute base class can be used to simplify this two-step process)

Relationship to WorkflowAttribute: all RoleAttribute implementations are also WorkflowAttribute implementations (is this true? should RoleAttribute extend WorkflowAttribute in that case?)

Methods of WorkflowAttribute interface fulfilled by RoleAttribute:

  1. ??
Methods of WorkflowAttribute interface not relevant to RoleAttribute:
  1. WorkflowAttribute.isMatch(DocumentContentList)
  2. ??

See Also:   WorkflowAttribute
author:
   rkirkend




Method Summary
public  List<String>getQualifiedRoleNames(String roleName, DocumentContent documentContent)
     Returns a String which represent the qualified role name of this role for the given roleName and docContent.
public  List<Role>getRoleNames()
    
public  ResolvedQualifiedRoleresolveQualifiedRole(RouteContext routeContext, String roleName, String qualifiedRole)
     Returns a List of Workflow Users which are members of the given qualified role.



Method Detail
getQualifiedRoleNames
public List<String> getQualifiedRoleNames(String roleName, DocumentContent documentContent) throws EdenUserNotFoundException(Code)
Returns a String which represent the qualified role name of this role for the given roleName and docContent.
Parameters:
  roleName - the role name (without class prefix)
Parameters:
  documentContent - the document content
throws:
  EdenUserNotFoundException -



getRoleNames
public List<Role> getRoleNames()(Code)
List of Role s this RoleAttribute supports list of Roles this RoleAttribute supports



resolveQualifiedRole
public ResolvedQualifiedRole resolveQualifiedRole(RouteContext routeContext, String roleName, String qualifiedRole) throws EdenUserNotFoundException(Code)
Returns a List of Workflow Users which are members of the given qualified role.
Parameters:
  routeContext - the RouteContext
Parameters:
  roleName - the roleName (without class prefix)
Parameters:
  qualifiedRole - one of the the qualified role names returned from the RoleAttribute.getQualifiedRoleNames(String,DocumentContent) method ResolvedQualifiedRole containing recipients, role label (most likely the roleName), and an annotation



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.