Interface NetworkEntityRenderer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean canHandle​(WorkflowEntity workflowEntity)
      Suggest whether the given object can be handled by the renderer
      com.hybris.cockpitng.components.visjs.network.data.Node render​(WorkflowEntity workflowEntity)
      Returns the object's representation in NetworkUpdate as entity
      com.hybris.cockpitng.components.visjs.network.data.Node render​(WorkflowEntity workflowEntity, com.hybris.cockpitng.components.visjs.network.data.Node node)
      Returns the object's representation in NetworkUpdate as entity based on already existing node
    • Method Detail

      • canHandle

        boolean canHandle​(WorkflowEntity workflowEntity)
        Suggest whether the given object can be handled by the renderer
        Parameters:
        workflowEntity - object to be checked if it can be handled
        Returns:
        true if renderer supports the object, false otherwise
      • render

        com.hybris.cockpitng.components.visjs.network.data.Node render​(WorkflowEntity workflowEntity)
        Returns the object's representation in NetworkUpdate as entity
        Parameters:
        workflowEntity - object to be rendered
        Returns:
        objects' representation in NetworkUpdate
      • render

        com.hybris.cockpitng.components.visjs.network.data.Node render​(WorkflowEntity workflowEntity,
                                                                       com.hybris.cockpitng.components.visjs.network.data.Node node)
        Returns the object's representation in NetworkUpdate as entity based on already existing node
        Parameters:
        workflowEntity - object to be rendered
        node - baseline of new node
        Returns: