Class WorkplaceUtil

java.lang.Object
org.eclnt.workplace.WorkplaceUtil

public class WorkplaceUtil extends Object
  • Constructor Details

    • WorkplaceUtil

      public WorkplaceUtil()
  • Method Details

    • decodeWorkpageStartInfoFromCSV

      public static WorkpageStartInfo decodeWorkpageStartInfoFromCSV(String csv)
    • decodeDroppedWorkpage

      public static WorkpageStartInfo decodeDroppedWorkpage(String dragsendType, String droppedString)
      Decodes a dropped string that is containing a ":" info.
    • decodeDroppedWorkpage

      public static WorkpageStartInfo decodeDroppedWorkpage(String droppedString)
      Decodes a dropped string that is containing a "workpage:" info.
    • encodeWorkpageStartInfoToCSV

      public static String encodeWorkpageStartInfoToCSV(WorkpageStartInfo wpsi)
      Encodes the instance into a plain csv-String.
    • encodePageInfo

      public static String encodePageInfo(String dragsendType, WorkpageStartInfo wpsi)
      Encodes the WorkpageStartInfo instance into a complex-value-String-representation: ":". This representation is e.g. suitable for drag&drop scenarios.
    • encodePageInfo

      public static String encodePageInfo(WorkpageStartInfo wpsi)
      Encodes the WorkpageStartInfo instance into a complex-value-String-representation: "workpage:". This representation is e.g. suitable for drag&drop scenarios.
    • removeEmptyFolders

      public static void removeEmptyFolders(WorkplaceFunctionTreeInfoNode node)
      Removes all folders that do not contain start-able nodes from the node and its sub nodes. Typical usage: the function tree is filtered by e.g. authority functions and afterwards should only show the nodes that contain star-table nodes.