Class WorkflowActivateWorkflowAction

java.lang.Object
de.uplanet.lucy.server.workflow.action.AbstractWorkflowAction
de.uplanet.lucy.server.workflow.action.WorkflowActivateWorkflowAction
All Implemented Interfaces:
IActivatableWorkflowObject, INamedWorkflowObject, INeedWorkflow, IWorkflowAction, IWorkflowObject, Serializable

public final class WorkflowActivateWorkflowAction extends AbstractWorkflowAction
This action can be used to activate or deactivate another workflow.
See Also:
  • Constructor Details

    • WorkflowActivateWorkflowAction

      public WorkflowActivateWorkflowAction(String p_strGuid)
  • Method Details

    • getControlledWorkflowGuid

      public String getControlledWorkflowGuid()
    • setControlledWorkflowGuid

      public void setControlledWorkflowGuid(String p_strControlledWorkflowGuid)
    • isSetActive

      public boolean isSetActive()
    • setSetActive

      public void setSetActive(boolean p_bSetActive)
    • getContextValue

      public String getContextValue()
    • setContextValue

      public void setContextValue(String p_strContextValue)
    • isNullContextValueIsActivate

      public boolean isNullContextValueIsActivate()
    • setNullContextValueIsActivate

      public void setNullContextValueIsActivate(boolean p_bNullContextValueIsActivate)
    • isNullContextValueIsDeactivate

      public boolean isNullContextValueIsDeactivate()
    • setNullContextValueIsDeactivate

      public void setNullContextValueIsDeactivate(boolean p_bNullContextValueIsDeactivate)
    • 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:
      InterruptedException - If processing of this action has been interrupted.
      Exception - If an error occurred.