Class AbstractWorkflowStep

java.lang.Object
webwork.action.ActionSupport
All Implemented Interfaces:
ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
DeleteWorkflowStep, EditWorkflowStep, ViewWorkflowStep, ViewWorkflowSteps

public class AbstractWorkflowStep extends AbstractWorkflowAction
Copyright (c) 2002-2004 All rights reserved.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getStepName

      public String getStepName()
    • setStepName

      public void setStepName(String stepName)
    • getUnlinkedStatusesGVs

      public Collection<org.ofbiz.core.entity.GenericValue> getUnlinkedStatusesGVs()
    • getUnlinkedStatuses

      public Collection<org.ofbiz.core.entity.GenericValue> getUnlinkedStatuses()
    • getUnlinkedStatuses

      public Collection<org.ofbiz.core.entity.GenericValue> getUnlinkedStatuses(boolean genericValues)
    • getStepStatus

      public String getStepStatus()
    • setStepStatus

      public void setStepStatus(String stepStatus)
    • getWorkflow

      public JiraWorkflow getWorkflow()
      Overrides:
      getWorkflow in class AbstractWorkflowAction
    • getConstantsManager

      public ConstantsManager getConstantsManager()
      Overrides:
      getConstantsManager in class JiraWebActionSupport
    • isOldStepOnDraft

      public boolean isOldStepOnDraft(com.opensymphony.workflow.loader.StepDescriptor stepDescriptor)
      This method is used to determine if workflowstep belongs to a draft workflow and is present on the original workflow that was used to create the draft. This means this step cannot be deleted, and cannot be associated with a different status.
      Parameters:
      stepDescriptor - The stepDescriptor in being edited.
      Returns:
      True if the step is an existing step and the workflow is a draft workflow
    • isCanDeleteStep

      public boolean isCanDeleteStep(com.opensymphony.workflow.loader.StepDescriptor stepDescriptor) throws WorkflowException
      Throws:
      WorkflowException