Package de.uplanet.lucy.server.workflow
Interface IWorkflowAction
- All Superinterfaces:
IActivatableWorkflowObject
,IWorkflowObject
,Serializable
- All Known Implementing Classes:
AbstractDataGroupWorkflowAction
,AbstractExpendableTimerWorkflowAction
,AbstractGroupAdministrationWorkflowAction
,AbstractImpersonateWorkflowAction
,AbstractJMSMessageProducerWorkflowAction
,AbstractPluginFeedWorkflowAction
,AbstractReportWorkflowAction
,AbstractSharePushNotificationWorkflowAction
,AbstractSynchronizeGroupMembersWorkflowAction
,AbstractSynchronizeGroupModeratorsWorkflowAction
,AbstractTextFeedWorkflowAction
,AbstractTimerWorkflowAction
,AbstractTriggerSubsequentWorkflowEventsWorkflowAction
,AbstractWorkflowAction
,AppendNewGroupMembersWorkflowAction
,AppendNewGroupModeratorsWorkflowAction
,CheckPermissionWorkflowAction
,CreateGroupWorkflowAction
,CreatePluginFeedWorkflowAction
,CreateRecordDataGroupWorkflowAction
,CreateRecordReportWorkflowAction
,DeleteGroupMembersWorkflowAction
,DeleteGroupWorkflowAction
,DeletePluginFeedWorkflowAction
,DeleteRecordDataGroupWorkflowAction
,DisableTriggerSubsequentWorkflowEventsWorkflowAction
,EnableTriggerSubsequentWorkflowEventsWorkflowAction
,ExpendableTimerDataGroupWorkflowAction
,ExpendableTimerWorkflowAction
,GroovyScriptWorkflowAction
,GroupReadOnlyWorkflowAction
,GroupTextFeedWorkflowAction
,HypArchiveImpersonateWorkflowAction
,ImpersonateWorkflowAction
,IncludeWorkflowAction
,IxBrokerWorkflowAction
,JdbcExecuteUpdateWorkflowAction
,JMSQueueMessageProducerWorkflowAction
,JMSTopicMessageProducerWorkflowAction
,LoggerWorkflowAction
,MergePluginFeedWorkflowAction
,MQTTMessageProducerWorkflowAction
,MSExchangeImpersonateWorkflowAction
,MsTeamsCreateGroupWorkflowAction
,MsTeamsCreateMeetingWorkflowAction
,MsTeamsCreateTeamWorkflowAction
,MsTeamsMessageWorkflowAction
,NoopWorkflowAction
,ODataImpersonateWorkflowAction
,PushNotificationWorkflowAction
,ReplaceGroupMembersWorkflowAction
,ReplaceGroupModeratorsWorkflowAction
,RestCallWorkflowAction
,RollbackTransactionWorkflowAction
,SendMailWorkflowAction
,ShareFrequencyPushNotificationWorkflowAction
,ShareGroupEventLinkPatcherWorkflowAction
,ShareGroupModeratorPatcherWorkflowAction
,ShareImmediatelyPushNotificationWorkflowAction
,SharePhotoAlbumPatcherWorkflowAction
,ShareUserSynchronisationPatcherWorkflowAction
,ShutdownPortalServiceWorkflowAction
,SleepWorkflowAction
,StartSchedulerJobWorkflowAction
,StopWorkflowAction
,SystemMessageWorkflowAction
,TextFeedWorkflowAction
,ThrowExceptionWorkflowAction
,TimerDataGroupWorkflowAction
,TimerWorkflowAction
,TouchSessionWorkflowAction
,UDPSendDatagramWorkflowAction
,UpdateGroupModeratorWorkflowAction
,UpdatePluginFeedWorkflowAction
,UpdateRecordDataGroupWorkflowAction
,UpdateRecordReportWorkflowAction
,VelocityWorkflowAction
,WebServiceWorkflowAction
,WebSocketWorkflowAction
,WorkflowActivateWorkflowAction
This is the interface for workflow actions.
Classes that implement this interface should have the WorkflowAction
name suffix.
- Since:
- Intrexx 5.0.
-
Field Summary
Fields inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR
-
Method Summary
Modifier and TypeMethodDescriptionGet the afferent transition of this workflow action.Get the efferent transition of this workflow action.boolean
isActive()
Check if this workflow action is active or inactive.process
(IWorkflowEvent p_evt, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx, de.uplanet.lucy.server.IProcessingContext p_ctx) Process a workflow event in the given context.void
setActive
(boolean p_bActive) Set this workflow action active or inactive.void
setAfferentTransition
(WorkflowTransition p_wfTransition) Set the afferent transition of this workflow action.void
setEfferentTransition
(WorkflowTransition p_wfTransition) Set the efferent transition of this workflow action.Methods inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
getGuid
-
Method Details
-
getAfferentTransition
WorkflowTransition getAfferentTransition()Get the afferent transition of this workflow action.- Returns:
- The afferent transition (this is normally not
null
).
-
setAfferentTransition
Set the afferent transition of this workflow action.- Parameters:
p_wfTransition
- The transition to be set.
-
getEfferentTransition
WorkflowTransition getEfferentTransition()Get the efferent transition of this workflow action.- Returns:
- The efferent transition, or
null
.
-
setEfferentTransition
Set the efferent transition of this workflow action.- Parameters:
p_wfTransition
- The transition to be set.
-
isActive
boolean isActive()Check if this workflow action is active or inactive.See
process(IWorkflowEvent, IWorkflowProcessingContext, IProcessingContext)
for the general contract of the activation state.- Specified by:
isActive
in interfaceIActivatableWorkflowObject
- Returns:
- The activation state of this workflow action.
-
setActive
void setActive(boolean p_bActive) Set this workflow action active or inactive.See
process(IWorkflowEvent, IWorkflowProcessingContext, IProcessingContext)
for the general contract of the activation state.- Specified by:
setActive
in interfaceIActivatableWorkflowObject
- Parameters:
p_bActive
- The new activation state to be set.
-
process
WorkflowTransition process(IWorkflowEvent p_evt, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx, de.uplanet.lucy.server.IProcessingContext p_ctx) throws InterruptedException, Exception Process a workflow event in the given context.Normally, a workflow action should return its efferent transition, regardless whether it is
active
, or not.- Parameters:
p_evt
- The event to be processed.p_wfCtx
- The workflow processing context.p_ctx
- The processing context.- Returns:
- The efferent transition, or
null
. - Throws:
InterruptedException
- If processing of this action has been interrupted.Exception
- If an error occurred.
-