Class AbstractPluginFeedWorkflowAction
java.lang.Object
de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
de.uplanet.lucy.server.share.workflow.action.AbstractPluginFeedWorkflowAction
- All Implemented Interfaces:
IActivatableWorkflowObject
,INamedWorkflowObject
,INeedWorkflow
,IWorkflowAction
,IWorkflowObject
,Serializable
- Direct Known Subclasses:
CreatePluginFeedWorkflowAction
,DeletePluginFeedWorkflowAction
,MergePluginFeedWorkflowAction
,UpdatePluginFeedWorkflowAction
- See Also:
-
Field Summary
Fields inherited from interface de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis property determines if an exception should be thrown if the feed action configuration is invalid.This property determines if an exception should be thrown if the feed creation failed for some reason.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
setFeedConfigurationErrorMode
(ON_ERROR_MODE p_onErrorMode) This property determines if an exception should be thrown if the feed action configuration is invalid.void
setFeedCreationErrorMode
(ON_ERROR_MODE p_onErrorMode) This property determines if an exception should be thrown if the feed creation failed for some reason.void
setMappingGuid
(String p_strMappingGuid) void
setPluginGuid
(String p_strPluginGuid) void
setSourceDataGroupGuid
(String p_strDataGroupGuid) 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
-
AbstractPluginFeedWorkflowAction
-
-
Method Details
-
getPluginGuid
-
setPluginGuid
-
getSourceDataGroupGuid
-
setSourceDataGroupGuid
-
getMappingGuid
-
setMappingGuid
-
getFeedConfigurationErrorMode
This property determines if an exception should be thrown if the feed action configuration is invalid.- Returns:
- The error handling mode.
-
setFeedConfigurationErrorMode
This property determines if an exception should be thrown if the feed action configuration is invalid.- Parameters:
p_onErrorMode
- The error mode to be used. May be eitherON_ERROR_MODE.THROW_EXCEPTION
, orON_ERROR_MODE.NO_ACTION
.
-
getFeedCreationErrorMode
This property determines if an exception should be thrown if the feed creation failed for some reason.- Returns:
- The error handling mode.
-
setFeedCreationErrorMode
This property determines if an exception should be thrown if the feed creation failed for some reason.- Parameters:
p_onErrorMode
- The error mode to be used. May be eitherON_ERROR_MODE.THROW_EXCEPTION
, orON_ERROR_MODE.NO_ACTION
.
-
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:IWorkflowAction
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:
Exception
- If an error occurred.
-