Package com.saperion.ngc.resultset
Class ResultSetColumns
java.lang.Object
com.saperion.ngc.resultset.ResultSetColumns
Utility class used to write and read configuration-strings for the result set view.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
columnsToString
(Collection<ResultSetColumn> columns) Creates a string containing the configuration of the specified columns.static Collection<ResultSetColumn>
stringToColumns
(String string) Reads a configuration-string and creates columns based on the configuration specified in the string.
-
Method Details
-
columnsToString
Creates a string containing the configuration of the specified columns.- Parameters:
columns
- columns to save- Returns:
- string containing the configuration of the columns
-
stringToColumns
Reads a configuration-string and creates columns based on the configuration specified in the string.- Parameters:
string
- configuration string- Returns:
- list of configured columns. Only the name, width and sorting-directions are configured.
-