com.ibm.gre.IRMResultList Class
The IRMResultList encapsulates the XML returned from a Records Manager Query. The class contains methods for iterating through all the results from a query while iterating through all the individual Columns for each result. Tables of values can be built using this process. There are methods that can be used to limit the number of columns to display.

Access: Public
Base Classes: Object
  Members Description  
    IRMResultList Constructor

 
    IRMResultList Constructor

 
    AddColumn This method specifies the name of a column to include in the displayed results. If no names are specified the class will include all the columns specified in the XML used to construct this object.

 
    ColumnCount The number of columns to be displayed. Note this is either the number of columns that are specified using the above AddColumn method or all of the columns in the original XML if the AddColumn method is never called.

 
    getFlPlnCmpntAttrDefCapt Gets the Caption of a table column for the specified index.

 
    getFlPlnCmpntAttrDefColNm Gets the FlPlnCmpntAttrDefColNm of a table column for the specified index. This value is used in the getItemByFlPlnCmpntAttrDefColNm method to specify which value to return.

 
    getPercentageColumnWidth The suggested percentage of the total width for all Columns that the specified column should take up.

 
    ItemCount The Number of rows that will be returned in the result set.

 
    getItemByFlPlnCmpntAttrDefColNm This method gets the value for the column as specified by the strFlPlnCmpntAttrDefColNm param for the result set row specified by the index parameter. You fill table values by iterating through all index values from 0 to ItemCount. For each row you then iterate through all columns and call the getFlPlnCmpntAttrDefColNm method for each column value from 0 to ColumnCount to get the value to supply for the strFlPlnCmpntAttrDefColNm param.

 
    getItemByRowColumnIndex This is a variation on the above method. The FlPlnCmpntAttrDefColNm does not have to be known only the index of the column in the table.

 
    Wheight1 Set the wheight value that is used for BINARY and BOOLEAN values when the percentage width is calculated for these types. The default value is 1.

 
    Wheight2 Set the wheight value that is used for DATE, DOUBLE, INTEGER and VIRTUAL values when the percentage width is calculated for these types. The default value is 2. This means a DATE value will take up twice as much column width as a BOOLEAN

 
    Wheight3 Set the wheight value that is used for DATETIME, CLOB and STRING values when the percentage width is calculated for these types. The default value is 3. This means a DATE value will take up three times as much column width as a BOOLEAN

 
    reLoad    
    makeColumnsArray    
    makeColumnWidths    
    wheightByFlPlnCmpntAttrDefDatTyp    
    m_Items    
    m_irmQuery    
    m_doc    
    m_MetaData    
    m_Data    
    m_SelectedColumns    
    widthsDone    
    weight1    
    weight2    
    weight3