Class DataWarningQueryResult
- java.lang.Object
-
- org.silverpeas.components.datawarning.model.DataWarningQueryResult
-
public class DataWarningQueryResult extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ArrayList<String>columnsprotected ExceptionerrExprotected StringerrFullTextprotected StringerrLowestLevelprotected StringerrQueryprotected booleanhasErrorprotected intpersoColumnNumberprotected StringpersoUIDprotected DataWarningQueryqueryParentprotected Listvaluesprotected HashMapvaluesByUser
-
Constructor Summary
Constructors Constructor Description DataWarningQueryResult(DataWarningQuery qp, boolean pe, int colNum, String puid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddColumn(String columnName)voidaddError(Exception ex, String sqlQuery)voidaddRow(List row)ListgetColumns()ExceptiongetErrorException()StringgetErrorFullText()intgetNbColumns()intgetNbRows()intgetNbRows(String userId)DataWarningQuerygetParent()intgetPersoColumnNumber()ListgetPersoColumns()intgetPersoNbColumns()protected ArrayListgetRow(int row)protected ArrayListgetRow(String userId, int row)StringgetValue(int row, int col)StringgetValue(String userId, int row, int col)ListgetValues()ListgetValues(String userId)booleanhasError()booleanisPersoEnabled()StringreturnPersoValue(String userId)longreturnTriggerValueFromResult()longreturnTriggerValueFromResult(String userId)
-
-
-
Field Detail
-
queryParent
protected DataWarningQuery queryParent
-
values
protected List values
-
hasError
protected boolean hasError
-
errEx
protected Exception errEx
-
errQuery
protected String errQuery
-
errLowestLevel
protected String errLowestLevel
-
errFullText
protected String errFullText
-
valuesByUser
protected HashMap valuesByUser
-
persoColumnNumber
protected int persoColumnNumber
-
persoUID
protected String persoUID
-
-
Constructor Detail
-
DataWarningQueryResult
public DataWarningQueryResult(DataWarningQuery qp, boolean pe, int colNum, String puid)
-
-
Method Detail
-
getParent
public DataWarningQuery getParent()
-
hasError
public boolean hasError()
-
getErrorFullText
public String getErrorFullText()
-
getErrorException
public Exception getErrorException()
-
addColumn
public void addColumn(String columnName)
-
getColumns
public List getColumns()
-
getValues
public List getValues()
-
returnTriggerValueFromResult
public long returnTriggerValueFromResult() throws DataWarningException- Throws:
DataWarningException
-
addRow
public void addRow(List row)
-
getRow
protected ArrayList getRow(int row)
-
getValue
public String getValue(int row, int col)
-
getNbColumns
public int getNbColumns()
-
getNbRows
public int getNbRows()
-
isPersoEnabled
public boolean isPersoEnabled()
-
returnTriggerValueFromResult
public long returnTriggerValueFromResult(String userId) throws DataWarningException
- Throws:
DataWarningException
-
getPersoColumns
public List getPersoColumns()
-
getPersoNbColumns
public int getPersoNbColumns()
-
getNbRows
public int getNbRows(String userId)
-
getPersoColumnNumber
public int getPersoColumnNumber()
-
-