Java Doc for WFNetEvents.java in  » Workflow-Engines » Bossa » com » bigbross » bossa » wfnet » 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 » Bossa » com.bigbross.bossa.wfnet 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.bigbross.bossa.notify.NotificationQueue
      com.bigbross.bossa.wfnet.WFNetEvents

WFNetEvents
public class WFNetEvents extends NotificationQueue (Code)
This class holds as static constants all ids of WFNet events. It also provides methods used by the WFNet classes to create and notify these events.


author:
   BigBross Team



Field Summary
final public static  StringATTRIB_ACTIVITY_ID
     Constant to indicate the activity id attribute.
final public static  StringATTRIB_ACTIVITY_WI_ID
     Constant to indicate the work item id of an activity attribute.
final public static  StringATTRIB_CASE_ID
     Constant to indicate the case id attribute.
final public static  StringATTRIB_CASE_TYPE_ID
     Constant to indicate the case type id attribute.
final public static  StringATTRIB_PLACE_ID
     Constant to indicate the place id attribute.
final public static  StringATTRIB_RESOURCE_ID
     Constant to indicate the resource id attribute.
final public static  StringATTRIB_TOKEN_NUMBER_ID
     Constant to indicate the token number id attribute.
final public static  StringATTRIB_WORK_ITEM_ID
     Constant to indicate the work item id attribute.
final public static  StringID_ADD_TOKENS
     Constant to indicate the event of tokens being added to a place.
final public static  StringID_CANCEL_ACTIVITY
     Constant to indicate the event of canceling an activity.
final public static  StringID_CLOSE_ACTIVITY
     Constant to indicate the event of closing an activity.
final public static  StringID_CLOSE_CASE
     Constant to indicate the event of closing a case.
final public static  StringID_OPEN_CASE
     Constant to indicate the event of opening a case.
final public static  StringID_OPEN_WORK_ITEM
     Constant to indicate the event of opening a work item.
final public static  StringID_REGISTER_CASE_TYPE
     Constant to indicate the event of a case type registration.
final public static  StringID_REMOVE_CASE_TYPE
     Constant to indicate the event of a case type removal.
final public static  StringID_REMOVE_TOKENS
     Constant to indicate the event of tokens being removed from a place.
final public static  StringID_SET_STATE
     Constant to indicate the event of a manual state change in a case.
final public static  StringID_SET_TOKENS
     Constant to indicate the event of a specific number of tokens being put in a place.
final public static  StringID_WORK_ITEM_ACTIVE
     Constant to indicate the activation of an inactive work item.
final public static  StringID_WORK_ITEM_INACTIVE
     Constant to indicate the deactivation of an active work item.


Method Summary
 voidnewActivityEvent(Bossa bossa, String notificationId, Activity act)
     Creates an activity related event and puts it in the queue.
 voidnewCaseEvent(Bossa bossa, String notificationId, Case caze)
     Creates a case related event and puts it in the queue.
 voidnewCaseTypeEvent(Bossa bossa, String notificationId, CaseType caseType)
     Creates a case type related event and puts it in the queue.
 voidnewPlaceEvent(Bossa bossa, String notificationId, Case caze, Place place, int amount)
     Creates a place related event and puts it in the queue.
 voidnewWorkItemEvent(Bossa bossa, String notificationId, WorkItem wi, Resource resource)
     Creates a work item related event and puts it in the queue.

Field Detail
ATTRIB_ACTIVITY_ID
final public static String ATTRIB_ACTIVITY_ID(Code)
Constant to indicate the activity id attribute.



ATTRIB_ACTIVITY_WI_ID
final public static String ATTRIB_ACTIVITY_WI_ID(Code)
Constant to indicate the work item id of an activity attribute.



ATTRIB_CASE_ID
final public static String ATTRIB_CASE_ID(Code)
Constant to indicate the case id attribute.



ATTRIB_CASE_TYPE_ID
final public static String ATTRIB_CASE_TYPE_ID(Code)
Constant to indicate the case type id attribute.



ATTRIB_PLACE_ID
final public static String ATTRIB_PLACE_ID(Code)
Constant to indicate the place id attribute.



ATTRIB_RESOURCE_ID
final public static String ATTRIB_RESOURCE_ID(Code)
Constant to indicate the resource id attribute.



ATTRIB_TOKEN_NUMBER_ID
final public static String ATTRIB_TOKEN_NUMBER_ID(Code)
Constant to indicate the token number id attribute.



ATTRIB_WORK_ITEM_ID
final public static String ATTRIB_WORK_ITEM_ID(Code)
Constant to indicate the work item id attribute.



ID_ADD_TOKENS
final public static String ID_ADD_TOKENS(Code)
Constant to indicate the event of tokens being added to a place.

This event contains the following attributes: ATTRIB_PLACE_ID, ATTRIB_CASE_ID and ATTRIB_CASE_TYPE_ID


See Also:   WFNetEvents.ATTRIB_PLACE_ID
See Also:   WFNetEvents.ATTRIB_CASE_ID
See Also:   WFNetEvents.ATTRIB_CASE_TYPE_ID




ID_CANCEL_ACTIVITY
final public static String ID_CANCEL_ACTIVITY(Code)
Constant to indicate the event of canceling an activity.

This event contains the following attributes: ATTRIB_ACTIVITY_ID, ATTRIB_ACTIVITY_WI_ID, ATTRIB_CASE_ID, ATTRIB_CASE_TYPE_ID and ATTRIB_RESOURCE_ID


See Also:   WFNetEvents.ATTRIB_ACTIVITY_ID
See Also:   WFNetEvents.ATTRIB_ACTIVITY_WI_ID
See Also:   WFNetEvents.ATTRIB_CASE_ID
See Also:   WFNetEvents.ATTRIB_CASE_TYPE_ID
See Also:   WFNetEvents.ATTRIB_RESOURCE_ID




ID_CLOSE_ACTIVITY
final public static String ID_CLOSE_ACTIVITY(Code)
Constant to indicate the event of closing an activity.

This event contains the following attributes: ATTRIB_ACTIVITY_ID, ATTRIB_ACTIVITY_WI_ID, ATTRIB_CASE_ID, ATTRIB_CASE_TYPE_ID and ATTRIB_RESOURCE_ID


See Also:   WFNetEvents.ATTRIB_ACTIVITY_ID
See Also:   WFNetEvents.ATTRIB_ACTIVITY_WI_ID
See Also:   WFNetEvents.ATTRIB_CASE_ID
See Also:   WFNetEvents.ATTRIB_CASE_TYPE_ID
See Also:   WFNetEvents.ATTRIB_RESOURCE_ID




ID_CLOSE_CASE
final public static String ID_CLOSE_CASE(Code)
Constant to indicate the event of closing a case.

This event contains the following attributes: ATTRIB_CASE_ID and ATTRIB_CASE_TYPE_ID


See Also:   WFNetEvents.ATTRIB_CASE_ID
See Also:   WFNetEvents.ATTRIB_CASE_TYPE_ID




ID_OPEN_CASE
final public static String ID_OPEN_CASE(Code)
Constant to indicate the event of opening a case.

This event contains the following attributes: ATTRIB_CASE_ID and ATTRIB_CASE_TYPE_ID


See Also:   WFNetEvents.ATTRIB_CASE_ID
See Also:   WFNetEvents.ATTRIB_CASE_TYPE_ID




ID_OPEN_WORK_ITEM
final public static String ID_OPEN_WORK_ITEM(Code)
Constant to indicate the event of opening a work item.

This event contains the following attributes: ATTRIB_WORK_ITEM_ID, ATTRIB_CASE_ID, ATTRIB_CASE_TYPE_ID and ATTRIB_RESOURCE_ID


See Also:   WFNetEvents.ATTRIB_WORK_ITEM_ID
See Also:   WFNetEvents.ATTRIB_CASE_ID
See Also:   WFNetEvents.ATTRIB_CASE_TYPE_ID
See Also:   WFNetEvents.ATTRIB_RESOURCE_ID




ID_REGISTER_CASE_TYPE
final public static String ID_REGISTER_CASE_TYPE(Code)
Constant to indicate the event of a case type registration.

This event contains the following attributes: ATTRIB_CASE_TYPE_ID


See Also:   WFNetEvents.ATTRIB_CASE_TYPE_ID




ID_REMOVE_CASE_TYPE
final public static String ID_REMOVE_CASE_TYPE(Code)
Constant to indicate the event of a case type removal.

This event contains the following attributes: ATTRIB_CASE_TYPE_ID


See Also:   WFNetEvents.ATTRIB_CASE_TYPE_ID




ID_REMOVE_TOKENS
final public static String ID_REMOVE_TOKENS(Code)
Constant to indicate the event of tokens being removed from a place.

This event contains the following attributes: ATTRIB_PLACE_ID, ATTRIB_TOKEN_NUMBER_ID, ATTRIB_CASE_ID and ATTRIB_CASE_TYPE_ID


See Also:   WFNetEvents.ATTRIB_PLACE_ID
See Also:   WFNetEvents.ATTRIB_TOKEN_NUMBER_ID
See Also:   WFNetEvents.ATTRIB_CASE_ID
See Also:   WFNetEvents.ATTRIB_CASE_TYPE_ID




ID_SET_STATE
final public static String ID_SET_STATE(Code)
Constant to indicate the event of a manual state change in a case.

This event contains the following attributes: ATTRIB_CASE_ID and ATTRIB_CASE_TYPE_ID


See Also:   WFNetEvents.ATTRIB_CASE_ID
See Also:   WFNetEvents.ATTRIB_CASE_TYPE_ID




ID_SET_TOKENS
final public static String ID_SET_TOKENS(Code)
Constant to indicate the event of a specific number of tokens being put in a place.

This event contains the following attributes: ATTRIB_PLACE_ID, ATTRIB_TOKEN_NUMBER_ID, ATTRIB_CASE_ID and ATTRIB_CASE_TYPE_ID


See Also:   WFNetEvents.ATTRIB_PLACE_ID
See Also:   WFNetEvents.ATTRIB_TOKEN_NUMBER_ID
See Also:   WFNetEvents.ATTRIB_CASE_ID
See Also:   WFNetEvents.ATTRIB_CASE_TYPE_ID




ID_WORK_ITEM_ACTIVE
final public static String ID_WORK_ITEM_ACTIVE(Code)
Constant to indicate the activation of an inactive work item.

This event contains the following attributes: ATTRIB_WORK_ITEM_ID, ATTRIB_CASE_ID and ATTRIB_CASE_TYPE_ID


See Also:   WFNetEvents.ATTRIB_WORK_ITEM_ID
See Also:   WFNetEvents.ATTRIB_CASE_ID
See Also:   WFNetEvents.ATTRIB_CASE_TYPE_ID




ID_WORK_ITEM_INACTIVE
final public static String ID_WORK_ITEM_INACTIVE(Code)
Constant to indicate the deactivation of an active work item.

This event contains the following attributes: ATTRIB_WORK_ITEM_ID, ATTRIB_CASE_ID and ATTRIB_CASE_TYPE_ID


See Also:   WFNetEvents.ATTRIB_WORK_ITEM_ID
See Also:   WFNetEvents.ATTRIB_CASE_ID
See Also:   WFNetEvents.ATTRIB_CASE_TYPE_ID






Method Detail
newActivityEvent
void newActivityEvent(Bossa bossa, String notificationId, Activity act)(Code)
Creates an activity related event and puts it in the queue.


Parameters:
  bossa - the root of the bossa system.
Parameters:
  notificationId - the id of this event.
Parameters:
  act - the activity involved.




newCaseEvent
void newCaseEvent(Bossa bossa, String notificationId, Case caze)(Code)
Creates a case related event and puts it in the queue.


Parameters:
  bossa - the root of the bossa system.
Parameters:
  notificationId - the id of this event.
Parameters:
  caze - the case involved.




newCaseTypeEvent
void newCaseTypeEvent(Bossa bossa, String notificationId, CaseType caseType)(Code)
Creates a case type related event and puts it in the queue.


Parameters:
  bossa - the root of the bossa system.
Parameters:
  notificationId - the id of this event.
Parameters:
  caseType - the case type involved.




newPlaceEvent
void newPlaceEvent(Bossa bossa, String notificationId, Case caze, Place place, int amount)(Code)
Creates a place related event and puts it in the queue.


Parameters:
  bossa - the root of the bossa system.
Parameters:
  notificationId - the id of this event.
Parameters:
  caze - the case involved.
Parameters:
  place - the place involved.
Parameters:
  amount - the number of tokens involved.




newWorkItemEvent
void newWorkItemEvent(Bossa bossa, String notificationId, WorkItem wi, Resource resource)(Code)
Creates a work item related event and puts it in the queue.


Parameters:
  bossa - the root of the bossa system.
Parameters:
  notificationId - the id of this event.
Parameters:
  wi - the work item involved.
Parameters:
  resource - the resource involved.




Methods inherited from com.bigbross.bossa.notify.NotificationQueue
protected void addEvent(Event event)(Code)(Java Doc)
public void notifyAll(Bossa bossa)(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.