Source Code Cross Referenced for WfResource.java in  » Workflow-Engines » shark » org » enhydra » shark » api » client » wfmodel » 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.api.client.wfmodel 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        package org.enhydra.shark.api.client.wfmodel;
02:
03:        import org.enhydra.shark.api.client.wfbase.BaseBusinessObject;
04:
05:        /**
06:         * OMG definition: WfResource is an abstraction that represents a person or thing that
07:         * will potentially accept an assignment to an activity. Potential and/or accepted
08:         * WfAssignments are links between the requesting WfActivities and WfResource objects. It
09:         * is expected that this interface will be used to implement adapters for objects
10:         * representing people and things implemented in user, organization, and resource models.
11:         * These models are outside the scope of this specification.
12:         * <p>
13:         * We extended OMG's interface by duplicating methods, and adding additional parameter
14:         * that represents transaction. If you use methods without SharkTransaction parameter, the
15:         * transaction will be implicitly created, and if you use it with SharkTransaction
16:         * parameter you must obey to some rules explained in HowTo documentation.
17:         */
18:        public interface WfResource extends BaseBusinessObject {// , PersistenceInterface
19:
20:            /**
21:             * Zero or more WfAssignments are associated with a resource. The association is
22:             * established when the assignment is created as part of the resource selection process
23:             * for an activity; the assignment can be reassigned to another resource at a later
24:             * point in time.
25:             * <p>
26:             * The following operation returns the number of WfAssignments associated with a
27:             * resource.
28:             */
29:            int how_many_work_item() throws Exception;
30:
31:            /**
32:             * Zero or more WfAssignments are associated with a resource. The association is
33:             * established when the assignment is created as part of the resource selection process
34:             * for an activity; the assignment can be reassigned to another resource at a later
35:             * point in time.
36:             * <p>
37:             * The following operation returns iterator for qurying associated assignments based on
38:             * some criteria.
39:             */
40:            WfAssignmentIterator get_iterator_work_item() throws Exception;
41:
42:            /**
43:             * Zero or more WfAssignments are associated with a resource. The association is
44:             * established when the assignment is created as part of the resource selection process
45:             * for an activity; the assignment can be reassigned to another resource at a later
46:             * point in time.
47:             * <p>
48:             * The following operation returns max_number of WfAssignment objects associated with a
49:             * resource. If max_number is less or eaqual to zero, or it is greater than the number
50:             * of existing assignments, all associated WfAssignments objects will be returned.
51:             */
52:            WfAssignment[] get_sequence_work_item(int max_number)
53:                    throws Exception;
54:
55:            /**
56:             * Zero or more WfAssignments are associated with a resource. The association is
57:             * established when the assignment is created as part of the resource selection process
58:             * for an activity; the assignment can be reassigned to another resource at a later
59:             * point in time.
60:             * <p>
61:             * The following operation returns true if given assignment is associated with
62:             * resource.
63:             */
64:            boolean is_member_of_work_items(WfAssignment member)
65:                    throws Exception;
66:
67:            /**
68:             * Returns the resource key that identifies a resource within a given business domain.
69:             * It is assumed that resources are defined in the same business domain as the workflow
70:             * processes they are associated with.
71:             * <p>
72:             * The key is set when the object is initialized; modification of the key can be done
73:             * in the context of a resource management facility.
74:             */
75:            String resource_key() throws Exception;
76:
77:            /** Returns a human readable, descriptive name of the resource. */
78:            String resource_name() throws Exception;
79:
80:            /**
81:             * The release operation is used to signal that the resource is no longer needed for a
82:             * specific assignment. It takes the assignment that is no longer associated with the
83:             * resource and a string that specifies additional information on the reason for
84:             * realizing the resource as input. A NotAssigned exception is raised when the
85:             * WfAssignment specified as input is not assigned to the WfResource. It is assumed
86:             * that this operation is invoked when an assignment is deleted or when an assignment
87:             * is reassigned to another resource.
88:             */
89:            void release(WfAssignment from_assigment, String release_info)
90:                    throws Exception, NotAssigned;
91:
92:        } // interface WfResource
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.