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>
columns
protected Exception
errEx
protected String
errFullText
protected String
errLowestLevel
protected String
errQuery
protected boolean
hasError
protected int
persoColumnNumber
protected String
persoUID
protected DataWarningQuery
queryParent
protected List
values
protected HashMap
valuesByUser
-
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 void
addColumn(String columnName)
void
addError(Exception ex, String sqlQuery)
void
addRow(List row)
List
getColumns()
Exception
getErrorException()
String
getErrorFullText()
int
getNbColumns()
int
getNbRows()
int
getNbRows(String userId)
DataWarningQuery
getParent()
int
getPersoColumnNumber()
List
getPersoColumns()
int
getPersoNbColumns()
protected ArrayList
getRow(int row)
protected ArrayList
getRow(String userId, int row)
String
getValue(int row, int col)
String
getValue(String userId, int row, int col)
List
getValues()
List
getValues(String userId)
boolean
hasError()
boolean
isPersoEnabled()
String
returnPersoValue(String userId)
long
returnTriggerValueFromResult()
long
returnTriggerValueFromResult(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()
-
-