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
Constructors -
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.IWorkflowGet the workflow this object belongs to.booleanisActive()Check if this workflow action is active or inactive.voidsetActive(boolean p_bActive) Set this workflow action active or inactive.voidsetAfferentTransition(WorkflowTransition p_wfTransition) Set the afferent transition of this workflow action.voidsetEfferentTransition(WorkflowTransition p_wfTransition) Set the efferent transition of this workflow action.voidSet the name of the workflow object.voidsetWorkflow(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, waitMethods 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 isnullor if it does not represent a valid GUID.
-
-
Method Details
-
getWorkflow
public de.uplanet.lucy.server.workflow.IWorkflow getWorkflow()Description copied from interface:INeedWorkflowGet the workflow this object belongs to.- Specified by:
getWorkflowin interfaceINeedWorkflow- Returns:
- The workflow this object belongs to.
-
setWorkflow
public void setWorkflow(de.uplanet.lucy.server.workflow.IWorkflow p_wfWorkflow) Description copied from interface:INeedWorkflowSet the workflow this object belongs to.- Specified by:
setWorkflowin interfaceINeedWorkflow- Parameters:
p_wfWorkflow- The workflow this object belongs to.
-
getGuid
Description copied from interface:IWorkflowObjectGet the GUID of this workflow object.Note: implementors must ensure that this is never
null.- Specified by:
getGuidin interfaceIWorkflowObject- Returns:
- The GUID of this workflow object
-
getAfferentTransition
Description copied from interface:IWorkflowActionGet the afferent transition of this workflow action.- Specified by:
getAfferentTransitionin interfaceIWorkflowAction- Returns:
- The afferent transition (this is normally not
null).
-
setAfferentTransition
Description copied from interface:IWorkflowActionSet the afferent transition of this workflow action.- Specified by:
setAfferentTransitionin interfaceIWorkflowAction- Parameters:
p_wfTransition- The transition to be set.
-
getEfferentTransition
Description copied from interface:IWorkflowActionGet the efferent transition of this workflow action.- Specified by:
getEfferentTransitionin interfaceIWorkflowAction- Returns:
- The efferent transition, or
null.
-
setEfferentTransition
Description copied from interface:IWorkflowActionSet the efferent transition of this workflow action.- Specified by:
setEfferentTransitionin interfaceIWorkflowAction- Parameters:
p_wfTransition- The transition to be set.
-
isActive
public boolean isActive()Description copied from interface:IWorkflowActionCheck if this workflow action is active or inactive.See
IWorkflowAction.process(IWorkflowEvent, IWorkflowProcessingContext, IProcessingContext)for the general contract of the activation state.- Specified by:
isActivein interfaceIActivatableWorkflowObject- Specified by:
isActivein interfaceIWorkflowAction- Returns:
- The activation state of this workflow action.
-
setActive
public void setActive(boolean p_bActive) Description copied from interface:IWorkflowActionSet this workflow action active or inactive.See
IWorkflowAction.process(IWorkflowEvent, IWorkflowProcessingContext, IProcessingContext)for the general contract of the activation state.- Specified by:
setActivein interfaceIActivatableWorkflowObject- Specified by:
setActivein interfaceIWorkflowAction- Parameters:
p_bActive- The new activation state to be set.
-
getName
Description copied from interface:INamedWorkflowObjectGet the name of the workflow object.- Specified by:
getNamein interfaceINamedWorkflowObject- Returns:
- The name of the workflow object.
-
setName
Description copied from interface:INamedWorkflowObjectSet the name of the workflow object.- Specified by:
setNamein interfaceINamedWorkflowObject- Parameters:
p_strName- The name of the workflow object.
-
toString
-