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
,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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR
-
-
Constructor Summary
Constructors Constructor Description AbstractWorkflowAction(String p_strGuid)
Create anAbstractWorkflowAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowTransition
getAfferentTransition()
Get the afferent transition of this workflow action.WorkflowTransition
getEfferentTransition()
Get the efferent transition of this workflow action.String
getGuid()
Get the GUID of this workflow object.String
getName()
Get the name of the workflow object.de.uplanet.lucy.server.workflow.IWorkflow
getWorkflow()
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
setName(String p_strName)
Set the name of the workflow object.void
setWorkflow(de.uplanet.lucy.server.workflow.IWorkflow p_wfWorkflow)
Set the workflow this object belongs to.String
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 Detail
-
AbstractWorkflowAction
public AbstractWorkflowAction(String p_strGuid)
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 Detail
-
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
public String 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
public WorkflowTransition 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
public void setAfferentTransition(WorkflowTransition p_wfTransition)
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
public WorkflowTransition 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
public void setEfferentTransition(WorkflowTransition p_wfTransition)
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
public String 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
public void setName(String p_strName)
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.
-
-