Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Stardust/Knowledge Base/Java API"
< Stardust | Knowledge Base
(28 intermediate revisions by 7 users not shown) | |||
Line 7: | Line 7: | ||
== Process and Activity Instance Lifecycle == | == Process and Activity Instance Lifecycle == | ||
− | *[[ | + | *[[Stardust/Knowledge Base/API/JavaAPICookbook/Stardust Workflow Service in Action|Stardust Workflow Service in Action]] |
**Starting a Process | **Starting a Process | ||
**Activating and completing an Activity | **Activating and completing an Activity | ||
Line 16: | Line 16: | ||
**Submitting Process Data<br> | **Submitting Process Data<br> | ||
− | *[[ | + | *[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/StartProcess|Start a process]] |
− | *[[ | + | *[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/CompleteAnActivity|Complete an Activity]] |
− | *[[ | + | *[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/AttachADocument|Attaching a document to a process instance]]<br> |
− | *[[ | + | *[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/LinkProcesses|Linking two process instances]]<br> |
− | + | ||
− | <br> | + | == Monitoring, Events and Event Actions == |
+ | |||
+ | *[[Stardust/Knowledge_Base/Java_API/Event_Binding|Event Binding]] - binding and unbinding event handler via the API<br> | ||
+ | *[[Stardust/Knowledge_Base/Java_API/Dynamic_Event_Binding|Binding a Process Timer Through API]] | ||
+ | *[[Stardust/Knowledge Base/Java API/Dynamic Event Binding| Dynamic Event Binding]] dynamic event binding of a process timer event | ||
+ | *[[Stardust/Knowledge_Base/Java_API/IWorklistMonitor_Example|IWorklistMonitor Example Implementation]] - sending push notifications or triggering other system activity when a worklist content changes<br> | ||
+ | *[[Stardust/Knowledge_Base/Java_API/IPartitionMonitor_Example|IPartitionMonitor Example Implementation]] - triggering participant synchronization or other system activity when a new model is deployed or deleted or when users are created, enabled or disabled<br> | ||
== Queries == | == Queries == | ||
− | *[[ | + | *[[Stardust/Knowledge Base/API/JavaAPICookbook/QueryingWorklists|Querying Worklists]] - querying different user, user group, role or organization worklists based on different predicates |
− | *[[ | + | *[[Stardust/Knowledge Base/API/JavaAPICookbook/QueryingWorklist Utility|Querying Worklist Utility]] - a utility program to provide a list of WorkItems (Activity Instances) for a given combination of user, partition, role and department |
− | *[[ | + | *[[Stardust/Knowledge Base/API/JavaAPICookbook/Querying Workflow and Runtime|Querying Worklow and Runtime Information]] - querying e.g. model information, users having a certain role, the logged in user,... |
− | *[[ | + | *[[Stardust/Knowledge_Base/API/JavaAPICookbook/Querying_Users_entitled_to_perform_an_Activity| Querying Users entitled to perform an Activity]] - Querying Users with grants to perform a certain activity or activity instance. |
− | *[[ | + | *[[Stardust/Knowledge Base/API/JavaAPICookbook/Querying Activity Instance List|Querying Activity Instance List ]] - querying e.g. Activity Instance List, Activity Instance having a certain state,... |
− | *Process instances | + | *[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/GeneratingRoleBasedAPI|Generating Role/Grant-based Stardust API Queries]] |
+ | *[[Stardust/Knowledge Base/API/JavaAPICookbook/CheckingUserSpecificRole|Checking if a user has specific role]] | ||
+ | *[[Stardust/Knowledge Base/API/JavaAPICookbook/FetchingOrganizationOfProviderModel |Fetching organization of Provider Model]] | ||
+ | *[[Stardust/Knowledge Base/API/JavaAPICookbook/FetchingPIandAIHistoricalEvents |Fetching PI and AI Historical Events]] | ||
+ | *[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/ActivityEventHibernateInitially|Checking Activity Event and Hibernate initially Status]] | ||
+ | *[[Stardust/Knowledge Base/Java API/Queries/Partitions|Queries related to Audit Trail Partitions, e.g. listing existing partitions]] | ||
+ | *[[Stardust/Knowledge Base/Java API/Process Instance Queries|Process Instance Queries]] - querying for process instances satisfying various search criteria | ||
+ | *[[Stardust/Knowledge Base/Java API/Process Definition Queries|Process Definition Queries]] - querying for process definitions satisfying various search criteria | ||
*Status of a Process Instance | *Status of a Process Instance | ||
*History of a ProcessInstance | *History of a ProcessInstance | ||
− | *Listing Data Mappings of an Activity | + | *Listing Data Mappings of an Activity |
+ | *[[Stardust/Knowledge Base/API/JavaAPICookbook/ExposingRESTService | | ||
+ | Exposing REST service]] | ||
− | <br> | + | <br> |
== Organizational Structure & Authorizations == | == Organizational Structure & Authorizations == | ||
− | *[[ | + | *[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/CreateDepartments|Creating Departments Programmatically]]<br> |
− | + | <br> | |
− | == | + | == Process Data == |
− | *[[ | + | *[[Stardust/Knowledge Base/Java API/Reading Process Data|Reading Process Data]] |
<br> | <br> | ||
+ | |||
+ | == Document Management == | ||
+ | *[[Stardust/Knowledge_Base/Java_API/Document_Management|DMS Java API Examples]] | ||
+ | *[[Stardust/Knowledge Base/Java API/Document Security|Document Security]] | ||
+ | <br> | ||
== Other == | == Other == | ||
− | *[[ | + | *[[Stardust/Knowledge_Base/Java_API/Support_Case_Example|Executing the Support Case Example using the Stardust Java API]] |
− | *[[ | + | *[[Stardust/Knowledge Base/API/ExamplesofAPIUsage/CompleteAPIExample|Complete Stardust API Example]] |
<br> | <br> |
Latest revision as of 09:29, 15 March 2016
NOTE to authors: Please make sure to specify the version on which the example was tested. All version numbers < 7.0 refer to the Infinity Process Platform (IPP)
NOTE: The ServiceFactory caches the authenticated Stardust services for the user. For use in a production environment it is important that the clients cache the ServiceFactory per user. Not caching the ServiceFactory means that a new login will be performed for every interaction with the engine.
Process and Activity Instance Lifecycle
- Stardust Workflow Service in Action
- Starting a Process
- Activating and completing an Activity
- Aborting an Activity
- Delegating an Activity
- Suspending an Activity
- Fetching the User Work List
- Submitting Process Data
- Start a process
- Complete an Activity
- Attaching a document to a process instance
- Linking two process instances
Monitoring, Events and Event Actions
- Event Binding - binding and unbinding event handler via the API
- Binding a Process Timer Through API
- Dynamic Event Binding dynamic event binding of a process timer event
- IWorklistMonitor Example Implementation - sending push notifications or triggering other system activity when a worklist content changes
- IPartitionMonitor Example Implementation - triggering participant synchronization or other system activity when a new model is deployed or deleted or when users are created, enabled or disabled
Queries
- Querying Worklists - querying different user, user group, role or organization worklists based on different predicates
- Querying Worklist Utility - a utility program to provide a list of WorkItems (Activity Instances) for a given combination of user, partition, role and department
- Querying Worklow and Runtime Information - querying e.g. model information, users having a certain role, the logged in user,...
- Querying Users entitled to perform an Activity - Querying Users with grants to perform a certain activity or activity instance.
- Querying Activity Instance List - querying e.g. Activity Instance List, Activity Instance having a certain state,...
- Generating Role/Grant-based Stardust API Queries
- Checking if a user has specific role
- Fetching organization of Provider Model
- Fetching PI and AI Historical Events
- Checking Activity Event and Hibernate initially Status
- Queries related to Audit Trail Partitions, e.g. listing existing partitions
- Process Instance Queries - querying for process instances satisfying various search criteria
- Process Definition Queries - querying for process definitions satisfying various search criteria
- Status of a Process Instance
- History of a ProcessInstance
- Listing Data Mappings of an Activity
- Exposing REST service
Organizational Structure & Authorizations
Process Data
Document Management
Other