Package org.eclnt.workplace
Class WorkplaceUtil
java.lang.Object
org.eclnt.workplace.WorkplaceUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkpageStartInfodecodeDroppedWorkpage(String droppedString) Decodes a dropped string that is containing a "workpage:" info.static WorkpageStartInfodecodeDroppedWorkpage(String dragsendType, String droppedString) Decodes a dropped string that is containing a ":" info. static WorkpageStartInfostatic StringencodePageInfo(String dragsendType, WorkpageStartInfo wpsi) Encodes the WorkpageStartInfo instance into a complex-value-String-representation: ": ". static StringEncodes the WorkpageStartInfo instance into a complex-value-String-representation: "workpage:". static StringEncodes the instance into a plain csv-String.static voidRemoves all folders that do not contain start-able nodes from the node and its sub nodes.
-
Constructor Details
-
WorkplaceUtil
public WorkplaceUtil()
-
-
Method Details
-
decodeWorkpageStartInfoFromCSV
-
decodeDroppedWorkpage
Decodes a dropped string that is containing a ":" info. -
decodeDroppedWorkpage
Decodes a dropped string that is containing a "workpage:" info. -
encodeWorkpageStartInfoToCSV
Encodes the instance into a plain csv-String. -
encodePageInfo
Encodes the WorkpageStartInfo instance into a complex-value-String-representation: ": ". This representation is e.g. suitable for drag&drop scenarios. -
encodePageInfo
Encodes the WorkpageStartInfo instance into a complex-value-String-representation: "workpage:". This representation is e.g. suitable for drag&drop scenarios. -
removeEmptyFolders
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.
-