Class AbstractTextFeedWorkflowAction
java.lang.Object
de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
de.uplanet.lucy.server.share.workflow.action.AbstractTextFeedWorkflowAction
- All Implemented Interfaces:
IActivatableWorkflowObject,INamedWorkflowObject,INeedWorkflow,INeedWorkflowDirectory,IWorkflowAction,IWorkflowObject,Serializable
- Direct Known Subclasses:
GroupTextFeedWorkflowAction,SystemMessageWorkflowAction,TextFeedWorkflowAction
public abstract class AbstractTextFeedWorkflowAction
extends AbstractWorkflowAction
implements INeedWorkflowDirectory
- See Also:
-
Field Summary
Fields inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.uplanet.lucy.server.share.workflow.action.SenderCfgGet the workflow directory.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.voidsetSender(de.uplanet.lucy.server.share.workflow.action.SenderCfg p_cfgSender) voidsetUriBody(String p_uriBody) voidsetWorkflowDirectory(Path p_dir) Set the workflow directory.Methods inherited from class de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
getAfferentTransition, getEfferentTransition, getGuid, getName, getWorkflow, isActive, setActive, setAfferentTransition, setEfferentTransition, setName, setWorkflow, toString
-
Constructor Details
-
AbstractTextFeedWorkflowAction
-
-
Method Details
-
getWorkflowDirectory
Description copied from interface:INeedWorkflowDirectoryGet the workflow directory.- Specified by:
getWorkflowDirectoryin interfaceINeedWorkflowDirectory- Returns:
- The workflow directory.
-
setWorkflowDirectory
Description copied from interface:INeedWorkflowDirectorySet the workflow directory.- Specified by:
setWorkflowDirectoryin interfaceINeedWorkflowDirectory- Parameters:
p_dir- The workflow directory.
-
getSender
public de.uplanet.lucy.server.share.workflow.action.SenderCfg getSender() -
getUriBody
-
setUriBody
-
process
public WorkflowTransition process(IWorkflowEvent p_evt, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx, de.uplanet.lucy.server.IProcessingContext p_ctx) throws Exception Description copied from interface:IWorkflowActionProcess a workflow event in the given context.Normally, a workflow action should return its efferent transition, regardless whether it is
active, or not.- Specified by:
processin interfaceIWorkflowAction- 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:
Exception- If an error occurred.
-