Class WorkflowItem

java.lang.Object
com.hybris.backoffice.workflow.WorkflowItem

public abstract class WorkflowItem extends Object
Represents the nodes processed by the WorkflowNetworkFactory
  • Constructor Details

  • Method Details

    • getId

      public String getId()
    • getType

      public WorkflowItem.Type getType()
    • isEnd

      public boolean isEnd()
    • getLevel

      public Integer getLevel()
    • setLevel

      public void setLevel(Integer level)
    • createNode

      public abstract com.hybris.cockpitng.components.visjs.network.data.Node createNode()
      Creates the Node object that will be drawn on the graph
      Returns:
      created node
    • getModel

      public abstract ItemModel getModel()
    • getNeighborsIds

      public abstract Collection<String> getNeighborsIds()
      Returns the collection of ids of the neighbors
      Returns:
      neighbors ids
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object