Class AbstractWorkflowAction
java.lang.Object
de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
- All Implemented Interfaces:
IActivatableWorkflowObject
,INamedWorkflowObject
,INeedWorkflow
,IWorkflowAction
,IWorkflowObject
,Serializable
- Direct Known Subclasses:
AbstractDataGroupWorkflowAction
,AbstractGroupAdministrationWorkflowAction
,AbstractImpersonateWorkflowAction
,AbstractJMSMessageProducerWorkflowAction
,AbstractPluginFeedWorkflowAction
,AbstractReportWorkflowAction
,AbstractSharePushNotificationWorkflowAction
,AbstractTextFeedWorkflowAction
,AbstractTimerWorkflowAction
,AbstractTriggerSubsequentWorkflowEventsWorkflowAction
,CheckPermissionWorkflowAction
,CreateGroupWorkflowAction
,GroovyScriptWorkflowAction
,IncludeWorkflowAction
,IxBrokerWorkflowAction
,JdbcExecuteUpdateWorkflowAction
,LoggerWorkflowAction
,MQTTMessageProducerWorkflowAction
,NoopWorkflowAction
,PushNotificationWorkflowAction
,RestCallWorkflowAction
,RollbackTransactionWorkflowAction
,SendMailWorkflowAction
,ShareGroupEventLinkPatcherWorkflowAction
,ShareGroupModeratorPatcherWorkflowAction
,SharePhotoAlbumPatcherWorkflowAction
,ShareUserSynchronisationPatcherWorkflowAction
,ShutdownPortalServiceWorkflowAction
,SleepWorkflowAction
,StartSchedulerJobWorkflowAction
,StopWorkflowAction
,ThrowExceptionWorkflowAction
,TouchSessionWorkflowAction
,UDPSendDatagramWorkflowAction
,VelocityWorkflowAction
,WebServiceWorkflowAction
,WebSocketWorkflowAction
,WorkflowActivateWorkflowAction
public abstract class AbstractWorkflowAction
extends Object
implements IWorkflowAction, INamedWorkflowObject, INeedWorkflow
- See Also:
-
Field Summary
Fields inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the afferent transition of this workflow action.Get the efferent transition of this workflow action.getGuid()
Get the GUID of this workflow object.getName()
Get the name of the workflow object.de.uplanet.lucy.server.workflow.IWorkflow
Get the workflow this object belongs to.boolean
isActive()
Check if this workflow action is active or inactive.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.void
Set the name of the workflow object.void
setWorkflow
(de.uplanet.lucy.server.workflow.IWorkflow p_wfWorkflow) Set the workflow this object belongs to.toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.uplanet.lucy.server.workflow.IWorkflowAction
process
-
Constructor Details
-
AbstractWorkflowAction
Create anAbstractWorkflowAction
.- Parameters:
p_strGuid
- The GUID of the workflow action.- Throws:
IllegalArgumentException
- If the GUID parameter isnull
or if it does not represent a valid GUID.
-
-
Method Details
-
getWorkflow
public de.uplanet.lucy.server.workflow.IWorkflow getWorkflow()Description copied from interface:INeedWorkflow
Get the workflow this object belongs to.- Specified by:
getWorkflow
in interfaceINeedWorkflow
- Returns:
- The workflow this object belongs to.
-
setWorkflow
public void setWorkflow(de.uplanet.lucy.server.workflow.IWorkflow p_wfWorkflow) Description copied from interface:INeedWorkflow
Set the workflow this object belongs to.- Specified by:
setWorkflow
in interfaceINeedWorkflow
- Parameters:
p_wfWorkflow
- The workflow this object belongs to.
-
getGuid
Description copied from interface:IWorkflowObject
Get the GUID of this workflow object.Note: implementors must ensure that this is never
null
.- Specified by:
getGuid
in interfaceIWorkflowObject
- Returns:
- The GUID of this workflow object
-
getAfferentTransition
Description copied from interface:IWorkflowAction
Get the afferent transition of this workflow action.- Specified by:
getAfferentTransition
in interfaceIWorkflowAction
- Returns:
- The afferent transition (this is normally not
null
).
-
setAfferentTransition
Description copied from interface:IWorkflowAction
Set the afferent transition of this workflow action.- Specified by:
setAfferentTransition
in interfaceIWorkflowAction
- Parameters:
p_wfTransition
- The transition to be set.
-
getEfferentTransition
Description copied from interface:IWorkflowAction
Get the efferent transition of this workflow action.- Specified by:
getEfferentTransition
in interfaceIWorkflowAction
- Returns:
- The efferent transition, or
null
.
-
setEfferentTransition
Description copied from interface:IWorkflowAction
Set the efferent transition of this workflow action.- Specified by:
setEfferentTransition
in interfaceIWorkflowAction
- Parameters:
p_wfTransition
- The transition to be set.
-
isActive
public boolean isActive()Description copied from interface:IWorkflowAction
Check if this workflow action is active or inactive.See
IWorkflowAction.process(IWorkflowEvent, IWorkflowProcessingContext, IProcessingContext)
for the general contract of the activation state.- Specified by:
isActive
in interfaceIActivatableWorkflowObject
- Specified by:
isActive
in interfaceIWorkflowAction
- Returns:
- The activation state of this workflow action.
-
setActive
public void setActive(boolean p_bActive) Description copied from interface:IWorkflowAction
Set this workflow action active or inactive.See
IWorkflowAction.process(IWorkflowEvent, IWorkflowProcessingContext, IProcessingContext)
for the general contract of the activation state.- Specified by:
setActive
in interfaceIActivatableWorkflowObject
- Specified by:
setActive
in interfaceIWorkflowAction
- Parameters:
p_bActive
- The new activation state to be set.
-
getName
Description copied from interface:INamedWorkflowObject
Get the name of the workflow object.- Specified by:
getName
in interfaceINamedWorkflowObject
- Returns:
- The name of the workflow object.
-
setName
Description copied from interface:INamedWorkflowObject
Set the name of the workflow object.- Specified by:
setName
in interfaceINamedWorkflowObject
- Parameters:
p_strName
- The name of the workflow object.
-
toString
-