Package com.onenetwork.platform.workflow
Services to facilitate the implementation of model workflows.
Workflows fall into two major categories: Action-based and Time-based.
Action-based Workflows are associated with actions in the MPT or SPT. Activities
in these workflows are given an
ActionBasedWorkflowContext
which provides
the Models which were given as input to the action.
Time-based Workflows are run on a scheduled basis. They have no input per se, but
can execute arbitrary actions as desired. These workflwos are given a TimeBasedWorkflowContext
-
Interface Summary Interface Description ActionBasedWorkflowActivity<M extends Model> Interface for an activity in an action-based workflow (a workflow initiated by executing a write action on aModel
).ActionBasedWorkflowContext<M extends Model> Describes the execution context for an activity in an action-based workflow.Callback<M extends Model> Interface for callbacks registered in the module or spt for actions defined in an mpt.Comp<M extends Model> A computation (Issue, Valication, etc) which can be invoked in the context of an action-based workflow.IssueService Service to facilitates the execution of issue computations through time-based workflows.NotificationComp<M extends Model> A computation for sending Notifications to users which can be invoked in the context of an action-based workflow.PersonalizedIssueComp<E> A computation for detecting an issue for which a user is subscribed.TimeBasedWorkflowActivity Interface for an activity in a time-based workflow (a workflow initiated by a schedule).TimeBasedWorkflowContext Describes the execution context for an activity in a time-based workflow.WorkflowActivity Marker interface for workflow activities.WorkflowContext Base for all flavors of workflow context.WorkflowService Service which facilitates the implementation of action-based and time-based workflow activities. -
Class Summary Class Description AbstractActionBasedWorkflowActivity<M extends Model> Default base class for implementingActionBasedWorkflowActivity
AbstractTimeBasedWorkflowActivity Default base class for implementingActionBasedWorkflowActivity
FetchParam Used to specify what levels of a Model should be fetched when callingpopulateCurrentFromDatabase(ActionBasedWorkflowContext, FetchParam...)
.PersonalizedIssueCompContext<T> Contains the data required to compute a personalized issue.PersonalizedIssueCompContext.SubscriptionUserInfo -
Enum Summary Enum Description FetchType Enumeration of fetch options used byFetchParam
when getting the current state of a Model from the database. -
Annotation Types Summary Annotation Type Description Workflow Indicates that the annotated class is a workflow object.