public class SDITagInfo extends BaseTagInfo
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG_VAR_NAME |
Constructor and Description |
---|
SDITagInfo(java.util.HashMap querydatamap)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
int |
findRow(java.lang.String dataset,
java.lang.String find)
Returns the row number of the first row found matching a specified find String.
|
java.math.BigDecimal |
getBigDecimal(java.lang.String dataset,
int row,
java.lang.String columnid)
Get a BigDecimal value from a Numeric column.
|
java.math.BigDecimal |
getBigDecimal(java.lang.String dataset,
java.lang.String columnid)
Get a BigDecimal value from a Numeric column for the current row.
|
java.util.Calendar |
getCalendar(java.lang.String dataset,
int row,
java.lang.String columnid)
Get a Calendar object from a Date column.
|
java.util.Calendar |
getCalendar(java.lang.String dataset,
java.lang.String columnid)
Get a Calendar object from a Date column for the current row.
|
java.lang.Object |
getChildTagData(java.lang.String dataname)
Internal method, not currently supported.
|
int |
getColumnCount(java.lang.String dataset)
Returns the number of columns.
|
int |
getCurrentCol(java.lang.String dataset)
Returns the current column number.
|
java.lang.String |
getCurrentColId(java.lang.String dataset)
Returns the current column number.
|
int |
getCurrentRow()
Returns the current row number for the primary dataset.
|
int |
getCurrentRow(java.lang.String dataset)
Returns the current row number.
|
DataSet |
getDataSet(java.lang.String dataset)
Returns a sapphire.util.DataSet object for the specified dataset
|
java.lang.String |
getError()
Returns any errors that may have been generated, particularly after a "round-trip".
|
int |
getInt(java.lang.String dataset,
int row,
java.lang.String columnid)
Get an int value from a Numeric column.
|
int |
getInt(java.lang.String dataset,
java.lang.String columnid)
Get an int value from a Numeric column for the current row.
|
java.lang.String[] |
getKeycols() |
java.lang.Object |
getObject(java.lang.String dataset,
int row,
java.lang.String columnid)
Returns an object containing the String, BigDecimal or Calendar for the specified row / column.
|
java.lang.Object |
getObject(java.lang.String dataset,
java.lang.String columnid)
Returns an object containing the String, BigDecimal or Calendar for the current row.
|
PageContext |
getPageContext()
Returns the original PageContext containing the sdiinfo
|
com.labvantage.sapphire.tagext.QueryData |
getQueryData(java.lang.String dataset)
Internal method, not currently supported.
|
int |
getRowCount()
Returns the number of rows for the primary dataset.
|
int |
getRowCount(java.lang.String dataset)
Returns the number of rows.
|
java.lang.String |
getRowId(java.lang.String dataset)
Returns a unique identifier for the row.
|
java.lang.String |
getRowStatus(java.lang.String dataset)
Returns the "update" status of the row.
|
java.lang.String |
getSdcid()
Returns the sdcid
|
SDIData |
getSDIData()
Returns the original SDIData for the data
|
SDIRequest |
getSDIRequest()
Returns the original SDIRequest for the data
|
java.lang.String |
getString(java.lang.String dataset,
int row,
java.lang.String columnid)
Get a string value from a String column.
|
java.lang.String |
getString(java.lang.String dataset,
java.lang.String columnid)
Get a string value from a String column for the current row.
|
java.lang.String |
getValue(java.lang.String dataset,
int row,
java.lang.String columnid)
Returns String SDI query result for specified row
|
java.lang.String |
getValue(java.lang.String dataset,
java.lang.String columnid)
Returns a String representing the value for the current row, independant of column type.
|
boolean |
isGrouping(java.lang.String dataset)
Internal method, not currently supported.
|
boolean |
isTemplateRow()
Internal method, not currently supported.
|
boolean |
isTemplateRow(java.lang.String dataset)
Internal method, not currently supported.
|
void |
setChildTagData(java.lang.String dataname,
java.lang.Object data)
Internal method, not currently supported.
|
void |
setDataSet(java.lang.String datasetName,
DataSet dataset) |
void |
setError(java.lang.String error)
Internal method.
|
void |
setKeycols(java.lang.String[] keycols) |
void |
setPageContext(PageContext pageContext)
Sets the original PageContext containing the sdiinfo
|
void |
setSdcid(java.lang.String sdcid)
Sets the sdcid for the collection of data
|
void |
setSDIData(SDIData sdiData)
Sets the original SDIData for the data
|
void |
setSDIRequest(SDIRequest sdiRequest)
Sets the original SDIRequest for the data
|
getErrorCodes, getErrorStack, getLastError, setErrorStack
public static final java.lang.String TAG_VAR_NAME
public SDITagInfo(java.util.HashMap querydatamap)
querydatamap
- maps SDI datapublic SDIData getSDIData()
public void setSDIData(SDIData sdiData)
sdiData
- the original SDIData for the datapublic SDIRequest getSDIRequest()
public void setSDIRequest(SDIRequest sdiRequest)
sdiRequest
- the original SDIRequest for the datapublic PageContext getPageContext()
public void setPageContext(PageContext pageContext)
pageContext
- the original PageContext containing the sdiinfopublic void setSdcid(java.lang.String sdcid)
sdcid
- the sdcid for the collection of datapublic java.lang.String getSdcid()
public void setError(java.lang.String error)
public java.lang.String getError()
public java.lang.String[] getKeycols()
public void setKeycols(java.lang.String[] keycols)
public int getRowCount()
public int getRowCount(java.lang.String dataset)
dataset
- the identity (dataset name) of datasetpublic int getCurrentRow()
public int getCurrentRow(java.lang.String dataset)
dataset
- the identity (dataset name) of datasetpublic int getColumnCount(java.lang.String dataset)
dataset
- the identity (dataset name) of datasetpublic int getCurrentCol(java.lang.String dataset)
dataset
- the identity (dataset name) of datasetpublic java.lang.String getCurrentColId(java.lang.String dataset)
dataset
- the identity (dataset name) of datasetpublic java.lang.Object getObject(java.lang.String dataset, java.lang.String columnid)
dataset
- the identity (dataset name) of datasetcolumnid
- the columnid containing the required value.public java.lang.Object getObject(java.lang.String dataset, int row, java.lang.String columnid)
dataset
- the identity (dataset name) of datasetrow
- the row containing the required value.columnid
- the columnid containing the required value.public java.lang.String getValue(java.lang.String dataset, java.lang.String columnid)
dataset
- the identity (dataset name) of datasetcolumnid
- the column containing the required value (this can be either a String, Number or Date column).public java.lang.String getValue(java.lang.String dataset, int row, java.lang.String columnid)
dataset
- the identity (dataset name) of datasetrow
- the row containing the required value.columnid
- the column containing the required value (this can be either a String, Number or Date column).public java.lang.String getString(java.lang.String dataset, java.lang.String columnid)
dataset
- the identity (dataset name) of datasetcolumnid
- the column containing the required value (this must be a String column).public java.lang.String getString(java.lang.String dataset, int row, java.lang.String columnid)
dataset
- the identity (dataset name) of datasetrow
- the row containing the required value.columnid
- the column containing the required value (this must be a String column).public int getInt(java.lang.String dataset, java.lang.String columnid)
dataset
- the identity (dataset name) of datasetcolumnid
- the column containing the required value (this must be a Numeric column).public int getInt(java.lang.String dataset, int row, java.lang.String columnid)
dataset
- the identity (dataset name) of datasetrow
- the row containing the required value.columnid
- the column containing the required value (this must be a Numeric column).public java.math.BigDecimal getBigDecimal(java.lang.String dataset, java.lang.String columnid)
dataset
- the identity (dataset name) of datasetcolumnid
- the column containing the required value (this must be a Numeric column).public java.math.BigDecimal getBigDecimal(java.lang.String dataset, int row, java.lang.String columnid)
dataset
- the identity (dataset name) of datasetrow
- the row containing the required value.columnid
- the column containing the required value (this must be a Numeric column).public java.util.Calendar getCalendar(java.lang.String dataset, java.lang.String columnid)
dataset
- the identity (dataset name) of datasetcolumnid
- the column containing the required value (this must be a Date column).public java.util.Calendar getCalendar(java.lang.String dataset, int row, java.lang.String columnid)
dataset
- the identity (dataset name) of datasetrow
- the row containing the required value.columnid
- the column containing the required value (this must be a Date column).public int findRow(java.lang.String dataset, java.lang.String find)
dataset
- the identity (dataset name) of datasetfind
- comma separated list of find criteria. e.g. "col1=XXX,col2=99,col3=YYY"public java.lang.String getRowStatus(java.lang.String dataset)
dataset
- the identity (dataset name) of datasetpublic java.lang.String getRowId(java.lang.String dataset)
dataset
- the identity (dataset name) of datasetpublic DataSet getDataSet(java.lang.String dataset)
dataset
- the identity (dataset name) of datasetpublic boolean isTemplateRow()
public boolean isGrouping(java.lang.String dataset)
public boolean isTemplateRow(java.lang.String dataset)
public com.labvantage.sapphire.tagext.QueryData getQueryData(java.lang.String dataset)
public void setChildTagData(java.lang.String dataname, java.lang.Object data)
public java.lang.Object getChildTagData(java.lang.String dataname)
public void setDataSet(java.lang.String datasetName, DataSet dataset)