Uses of Class
com.basiscomponents.db.ResultSet
-
-
Uses of ResultSet in com.basiscomponents.bc
Methods in com.basiscomponents.bc that return ResultSet Modifier and Type Method Description ResultSetConfigurationsBC. getAvailableConfigurations()returns the available configurations the user can access with the current filter.ResultSetIConfigurationsBC. getAvailableConfigurations()returns the available configurations the user can access with the current filter.ResultSetConfigurationsBC. getEffectiveConfiguration()gets the effective configuration for a user.ResultSetIConfigurationsBC. getEffectiveConfiguration()gets the effective configuration for a user.ResultSetBusinessComponent. getLookupData(String fieldName, DataRow dr)like getLookup, but instead returns a resultset containg the lookup data.ResultSetConfigurationsBC. getLookupData(String fieldName, DataRow dr)ResultSetSqlTableBC. getLookupData(String fieldName, DataRow dr)ResultSetBCBinder. getRS()ResultSetConfigurationsBC. getSharedConfigs()returns the shared configurations the user can access with the current filter.ResultSetIConfigurationsBC. getSharedConfigs()returns the shared configurations the user can access with the current filter.protected ResultSetConfigurationsBC. mergeResultSetsOnKeys(ResultSet rs1, ResultSet rs2)merges 2 resultsetsResultSetBusinessComponent. retrieve()Retrieves a ResultSet with DataRow's.
If a filter is set, this will be applied to filter the result.
If a scope and/or a field selection is set, it will be used to retrieve the desired fields.ResultSetBusinessComponent. retrieve(int first, int last)Retrieves a ResultSet containing a subset of DataRow's (for pagination f.g.).
If a filter is set, this will be applied to filter the result.
If a scope and/or a field selection is set, it will be used to retrieve the desired fields.ResultSetConfigurationsBC. retrieve()ResultSetConfigurationsBC. retrieve(int first, int last)ResultSetSqlQueryBC. retrieve(String sql)ResultSetSqlQueryBC. retrieve(String sql, List<Object> params)ResultSetSqlTableBC. retrieve()Retrieves a ResultSet with DataRow's.
If a filter is set, this will be applied to filter the result.
If a scope and/or a field selection is set, it will be used to retrieve the desired fields.ResultSetSqlTableBC. retrieve(int first, int last)Retrieves a ResultSet containing a subset of DataRow's (for pagination f.g.).
If a filter is set, this will be applied to filter the result.
If a scope and/or a field selection is set, it will be used to retrieve the desired fields.ResultSetSqlTableBC. retrieve(String sql, DataRow params)Executes a SQL query statement and returns the result as aResultSet.ResultSetBusinessComponent. validateRemove(DataRow dr)Validates a DataRow object before it can be removed.
This method is internally used by the remove method.
But it can also be called from the frontend to check for dependencies before it can be removed.ResultSetConfigurationsBC. validateRemove(DataRow dr)validates datarow before removal.ResultSetSqlTableBC. validateRemove(DataRow dr)Validates a DataRow object before it can be removed.
This method is internally used by the remove method.
But it can also be called from the frontend to check for dependencies before it can be removed.ResultSetBusinessComponent. validateWrite(DataRow dr)Validates a DataRow object before it can be written.
This method is internally used by the write method.
But it can also be called from the frontend to check for required or missing data.ResultSetConfigurationsBC. validateWrite(DataRow dr)Validates a DataRow object before it can be written.
This method is internally used by the write method.
But it can also be called from the frontend to check for required or missing data.ResultSetSqlTableBC. validateWrite(DataRow dr)Validates a DataRow object before it can be written.
This method is internally used by the write method.
But it can also be called from the frontend to check for required or missing data.Methods in com.basiscomponents.bc with parameters of type ResultSet Modifier and Type Method Description protected voidConfigurationsBC. checkDataRowMustContainField(DataRow dr, ResultSet errorRS, String fieldName)checks if the field is contained in the datarow, otherwise an error is added to the resultsetprotected voidConfigurationsBC. checkDataRowMustNotContainField(DataRow dr, ResultSet errorRS, String fieldName)checks if the field is NOT contained in the datarow, otherwise an error is added to the resultsetprotected voidConfigurationsBC. checkEditableFieldsInDataRow(DataRow dr, ResultSet errorRS, boolean checkKeysOnly)checks a data row if it violates the requirements as defined in the attributesRecord.
For example if a field is a key, the dataRow must contain it.
If it is read only, the dataRow must not contain it (That is, if 'checkKeysOnly' is false.protected ResultSetConfigurationsBC. mergeResultSetsOnKeys(ResultSet rs1, ResultSet rs2)merges 2 resultsetsprotected voidConfigurationsBC. throwValidation(ResultSet validation)throws a validation error if the validation has failed. -
Uses of ResultSet in com.basiscomponents.db
Methods in com.basiscomponents.db that return ResultSet Modifier and Type Method Description ResultSetResultSet. clone()ResultSetResultSet. clone(Boolean fDeepClone)creates a clone of the ResultSetResultSetJDBCDataSource. fetchResultSet(String sql)ResultSetResultSet. filterBy(DataRow simpleFilterCondition)Search for DataRow(s) containing a specific value(s) Returns a new ResultSet with the DataRow(s) found in the current instance.ResultSetResultSet. filterBy(String queryClause)Applies the queryClause to a ResultSet and returns a new ResultSet that only contains records that match the clause.ResultSetResultSet. filterBy(String QueryClause, boolean caseSensitive, boolean trimmed)Applies the queryClause to a ResultSet and returns a new ResultSet that only contains records that match the clause.static ResultSetResultSet. fromJson(String js)Returns a ResultSet object created by parsing the given JSON String.ResultSetResultSet. orderBy(String orderByClause)re-orders a result set according to an ORDER BY clause like in SQL ORDER BY: e.g.static ResultSetResultSetImporter. readExcel(File excelFile)Parses the given Excel file and returns a com.basiscomponents.db.ResultSet with the data defined the the Excel file.static ResultSetResultSetImporter. readExcel(File excelFile, DataRow attributesRecord)Parses the given Excel file and returns a com.basiscomponents.db.ResultSet with the data defined the the Excel file.static ResultSetResultSetImporter. readExcel(File excelFile, DataRow attributesRecord, List<String> columnNames, Boolean firstRowHasData)Parses the given Excel file and returns a com.basiscomponents.db.ResultSet with the data defined the the Excel file.Methods in com.basiscomponents.db with parameters of type ResultSet Modifier and Type Method Description static voidResultSetExporter. exportToCSV(File outputFile, ResultSet rs)Exports the content of the given ResultSet from a BBjGridExWidgetstatic voidResultSetExporter. exportToCSV(File outputFile, ResultSet rs, DataRow baseDR, boolean useLabel)Method to export a result set to a CSV filestatic net.sf.jasperreports.engine.JasperPrintResultSetExporter. exportToJasperPrint(File file, ResultSet rs, SheetConfiguration sheetConfig, boolean baristaMode, int fitTo, boolean landscapeMode)static FileResultSetExporter. exportToPDF(File file, ResultSet rs, SheetConfiguration sheetConfig, boolean baristaMode, int fitTo, boolean landscapeMode)Exports the content of the given ResultSet from a BBjGridExWidgetstatic FileResultSetExporter. exportToPDFByCustomReport(File outputFile, File customReport, ResultSet rs)Exports the content of the given ResultSet from a BBjGridExWidgetvoidResultSet. merge(ResultSet rs2, String onFieldName, boolean fOverwrite)static DataRowDataRow. newInstance(ResultSet resultSet)Returns a new instance of a DataRow object which has been initialized with the column metadata from the given ResultSet object.static voidResultSetExporter. writeHTML(ResultSet resultSet, Writer writer)Uses the given Writer object to write the ResultSet's content as HTML <table> element to the output stream.static voidResultSetExporter. writeHTML(ResultSet resultSet, Writer writer, DataRow baseDR, boolean useLabel)Uses the given Writer object to write the ResultSet's content as HTML <table> element to the output stream.static voidResultSetExporter. writeHTML(ResultSet resultSet, Writer writer, HashMap<String,String> links)Uses the given Writer object to write the ResultSet's content as HTML <table> element to the output stream.static voidResultSetExporter. writeHTML(ResultSet resultSet, Writer writer, HashMap<String,String> links, DataRow baseDR, boolean useLabel)Uses the given Writer object to write the ResultSet's content as HTML <table> element to the output stream.static voidResultSetExporter. writeJSON(ResultSet resultSet, Writer writer)Converts the given ResultSet object to a JSON String and writes it to the output stream using the given writer object.static voidResultSetExporter. writeJSON(ResultSet resultSet, Writer writer, Boolean fMeta)static voidResultSetExporter. writeTXT(ResultSet resultSet, Writer writer)Uses the given Writer object to write the ResultSet's content as plain text to the output stream.static voidResultSetExporter. writeTXT(ResultSet resultSet, Writer writer, DataRow baseDR, Boolean useLabel)Uses the given Writer object to write the ResultSet's content as plain text to the output stream.static voidResultSetExporter. writeXLSX(ResultSet rs, File outputFile, boolean writeHeader)Writes the content of the given ResultSet as XLSX into the specified File.static voidResultSetExporter. writeXLSX(ResultSet rs, File outputFile, boolean writeHeader, boolean useLabelIfPresent, String sheetName, DataRow AttributesRecord)Writes the content of the given ResultSet as XLSX into the specified File.static voidResultSetExporter. writeXLSX(ResultSet rs, File outputFile, boolean writeHeader, SheetConfiguration sheetConfig)Writes the content of the given ResultSet as XLSX into the specified File.static voidResultSetExporter. writeXLSX(ResultSet rs, OutputStream out, boolean writeHeader)Writes the content of the given ResultSet into an output stream.static voidResultSetExporter. writeXLSX(ResultSet rs, OutputStream out, boolean writeHeader, boolean useLabelIfPresent, String sheetName, DataRow attributesRecord)Writes the content of the given ResultSet into an output stream.static voidResultSetExporter. writeXLSX(ResultSet rs, OutputStream out, boolean writeHeader, boolean useLabelIfPresent, String sheetName, DataRow AttributesRecord, SheetConfiguration sheetConfig)Writes the content of the given ResultSet into an output stream.static voidResultSetExporter. writeXML(ResultSet resultSet, String rootTagName, String entityName, Writer writer)Uses the given Writer object to write the ResultSet's content as XML to the output stream.static voidResultSetExporter. writeXML(ResultSet resultSet, String rootTagName, String entityName, Writer writer, DataRow baseDR, boolean useLabel)Uses the given Writer object to write the ResultSet's content as XML to the output stream.Constructors in com.basiscomponents.db with parameters of type ResultSet Constructor Description DataRow(ResultSet resultSet)Instantiates a new DataRow object and sets the column metadata to the given ResultSet object's column metadata. -
Uses of ResultSet in com.basiscomponents.db.export
Methods in com.basiscomponents.db.export with parameters of type ResultSet Modifier and Type Method Description static StringCsvExport. buildExportString(ResultSet rs)Method to build the CSV export Stringstatic StringCsvExport. buildExportString(ResultSet rs, DataRow baseDR, boolean useLabel)Method to build the CSV export Stringstatic DataRowColumnWidthCalculator. calculateColumnWidths(ResultSet rs, float fontSize)Calculates the column widthsstatic DataRowColumnWidthCalculator. calculateColumnWidths(ResultSet rs, float fontSize, boolean useLabel)Calculates the column widthsstatic DataRowColumnWidthCalculator. calculateColumnWidths(ResultSet rs, float fontSize, boolean calculateAllRows, boolean useLabel)Calculates the column widthsstatic DataRowColumnWidthCalculator. calculateColumnWidths(ResultSet rs, String fontResourcePath, float fontSize, int rowsToCheck, boolean calculateAllRows, boolean useLabel)Calculates the column widthsstatic voidCsvExport. exportToCSV(File outputFile, ResultSet rs)Method to export a result set to a CSV filestatic voidCsvExport. exportToCSV(File outputFile, ResultSet rs, DataRow baseDR, boolean useLabel)Method to export a result set to a CSV filestatic net.sf.jasperreports.engine.JasperPrintPdfExport. exportToJasperPrint(File outputFile, ResultSet rs, SheetConfiguration sheetConfig, boolean baristaMode, int fitTo, boolean landscapeMode)static FilePdfExport. exportToPDF(File outputFile, ResultSet rs, SheetConfiguration sheetConfig, boolean baristaMode, int fitTo, boolean landscapeMode)Exports the content of the given ResultSet from a BBjGridExWidgetstatic FilePdfExport. exportToPDF(File outputFile, File customReport, ResultSet rs)Exports the content of the given ResultSet from a BBjGridExWidgetstatic voidHtmlExport. writeHTML(ResultSet resultSet, Writer writer, HashMap<String,String> links, DataRow baseDR, boolean useLabel)Uses the given Writer object to write the ResultSet's content as HTML <table> element to the output stream.static voidTxtExport. writeTXT(ResultSet resultSet, Writer writer, DataRow baseDR, boolean useLabel)Uses the given Writer object to write the ResultSet's content as plain text to the output stream.static voidXlsxExport. writeXLSX(ResultSet rs, OutputStream out, boolean writeHeader, boolean useLabelIfPresent, String sheetName, DataRow AttributesRecord, SheetConfiguration sheetConfig)Writes the content of the given ResultSet into an output stream.static voidXmlExport. writeXML(ResultSet resultSet, String rootTagName, String entityName, Writer writer, DataRow baseDR, boolean useLabel)Uses the given Writer object to write the ResultSet's content as XML to the output stream. -
Uses of ResultSet in com.basiscomponents.db.importer
Methods in com.basiscomponents.db.importer that return ResultSet Modifier and Type Method Description static ResultSetListImporter. ResultSetFromVector(List li, DataRow AttributesRecord)Create a ResultSet from a List (like BBjVector)ResultSetJLibResultSetImporter. retrieve()Returns a ResultSet object with the content of the Data file based on the specified filter, offset, field selection. -
Uses of ResultSet in com.basiscomponents.db.seeder
Methods in com.basiscomponents.db.seeder that return ResultSet Modifier and Type Method Description ResultSetCommonDataTypeSeeder. retrieve(int resultSetSize)Creates a ResultSet, filled with a specific number of data rows which are filled with common data types data -
Uses of ResultSet in com.basiscomponents.db.sql
Methods in com.basiscomponents.db.sql that return ResultSet Modifier and Type Method Description ResultSetSQLResultSet. getResultSet()Constructors in com.basiscomponents.db.sql with parameters of type ResultSet Constructor Description SQLResultSet(ResultSet rs)SQLResultSetMetaData(ResultSet rs) -
Uses of ResultSet in com.basiscomponents.db.tree
Methods in com.basiscomponents.db.tree that return ResultSet Modifier and Type Method Description ResultSetNode. getResultSet()Methods in com.basiscomponents.db.tree with parameters of type ResultSet Modifier and Type Method Description voidNode. setResultSet(ResultSet rs) -
Uses of ResultSet in com.basiscomponents.db.util
Methods in com.basiscomponents.db.util that return ResultSet Modifier and Type Method Description static ResultSetResultSetJsonMapper. fromJson(String js)Returns a ResultSet object created by processing the given JSON String.Methods in com.basiscomponents.db.util with parameters of type ResultSet Modifier and Type Method Description static StringBBTemplateProvider. createBBTemplate(ResultSet resultSet, boolean extendedInfo)static StringBBTemplateProvider. createBBTemplateColumn(ResultSet rs, int col, int cols, boolean extendedInfo)Creates and returns BB template definition for indexed column used bygetBBTemplateColumn(java.lang.String, int, java.lang.Boolean)static DoubleDataFieldConverter. fieldToNumber(ResultSet resultSet, DataField field, int column, int type)static List<String>ValuesUtil. fieldValuesAsList(ResultSet rs, String columnName)static List<String>ValuesUtil. fieldValuesAsList(ResultSet rs, String columnName, boolean addEmptyRow, boolean unique)static com.basis.startup.type.BBjVectorValuesUtil. fieldValuesAsVector(ResultSet rs, String columnName)static com.basis.startup.type.BBjVectorValuesUtil. fieldValuesAsVector(ResultSet rs, String columnName, boolean addEmptyRow, boolean unique)static StringResultSetJsonMapper. toJson(ResultSet rs, boolean meta, String addIndexColumn, boolean f_trimStrings, boolean writeDataRowAttributes)static StringResultSetJsonMapper. toJson(ResultSet rs, boolean meta, String addIndexColumn, boolean f_trimStrings, boolean writeDataRowAttributes, ConversionRuleSet crs)Constructors in com.basiscomponents.db.util with parameters of type ResultSet Constructor Description JRDataSourceAdapter(ResultSet rs)public constructor -
Uses of ResultSet in com.basiscomponents.rest
Methods in com.basiscomponents.rest that return ResultSet Modifier and Type Method Description ResultSetRestClient. get(String path, String request_parms) -
Uses of ResultSet in com.basiscomponents.util
Methods in com.basiscomponents.util that return ResultSet Modifier and Type Method Description ResultSetJLibDataFileHandler. retrieve()Returns a ResultSet object with the content of the Data file based on the specified filter, offset, field selection.
-