/** * Streams all entities in this table, that appear in a row, which contains any of the provided strings. * * @param strings Strings to check whether a row contains them * @return Stream of all entities in this table, that appear in a row, which contains any of the provided strings */ Stream streamEntitiesWhereRowContainsStringsIgnoreCase(List strings) /** * Checks whether the specified row contains all the provided strings. * * @param row the row to check as an Integer, must be smaller than numberOfRows * @param strings a list of strings to check for * @return true, if all strings appear in the provided row */ boolean rowContainsStringsIgnoreCase(Integer row, List strings) /** * Streams all entities which appear in a row where at least one cell has the provided header and the provided value. * * @param header the header value to search for * @param value the string which the table cell should contain * @return a stream of all entities, which appear in a row where at least one cell has the provided header and the provided value. */ Stream streamEntitiesWhereRowHasHeaderAndValue(String header, String value) /** * Streams all entities which appear in a row where at least one cell has the provided header and any provided value. * * @param header the header value to search for * @param values the strings which the table cell should contain * @return a stream of all entities, which appear in a row where at least one cell has the provided header and any provided value. */ Stream streamEntitiesWhereRowHasHeaderAndAnyValue(String header, List values) /** * Streams all entities in this table, that appear in a row, which contains at least one entity with any of the provided types. * Ignores Entity with ignored == true or removed == true. * * @param types type strings to check whether a row contains an entity like them * @return Stream of all entities in this table, that appear in a row, which contains at least one entity with any of the provided types. */ Stream streamEntitiesWhereRowContainsEntitiesOfType(List types) /** * Streams all entities in this table, that appear in a row, which contains no entity of any of the provided types. * Ignores Entity with ignored == true or removed == true. * * @param types type strings to check whether a row contains an entity like them * @return Stream of all entities in this table, that appear in a row, which contains at least one entity with any of the provided types. */ Stream streamEntitiesWhereRowContainsNoEntitiesOfType(List types) /** * Streams all TableCells in this Table which have the provided header row-wise. * * @return Stream of all TableCells which have the provided header */ Stream streamTableCellsWithHeader(String header) /** * Streams all Headers and checks if any equal the provided string. * * @param header string to check the headers for * @return true, if at least one header equals the provided string */ boolean hasHeader(String header) /** * Checks if this table has a column with the provided header and any of the table cells in that column contain the provided value. * * @param header string to find header cells * @param value string to check cells with provided header * @return true, if this table has a column with the provided header and any of the table cells in that column contain the provided value */ boolean hasRowWithHeaderAndValue(String header, String value) /** * Finds all entities of the provided type, which appear in the same row that the provided entity appears in. * Ignores Entity with ignored == true or removed == true. * * @param type the type of entities to search for * @param redactionEntity the entity, which appears in the row to search * @return List of all entities of the provided type, which appear in the same row that the provided entity appears in. */ List getEntitiesOfTypeInSameRow(String type, RedactionEntity redactionEntity)