com.silverpeas.dataWarning.model
Class DataWarningQueryResult

java.lang.Object
  extended by com.silverpeas.dataWarning.model.DataWarningQueryResult

public class DataWarningQueryResult
extends Object


Field Summary
protected  ArrayList columns
           
protected  Exception errEx
           
protected  String errFullText
           
protected  String errLowestLevel
           
protected  String errQuery
           
protected  boolean hasError
           
protected  org.silverpeas.core.admin.OrganisationController oc
           
protected  int persoColumnNumber
           
protected  String persoUID
           
protected  DataWarningQuery queryParent
           
protected  ArrayList values
           
protected  HashMap valuesByUser
           
 
Constructor Summary
DataWarningQueryResult(DataWarningQuery qp, boolean pe, int colNum, String puid)
           
 
Method Summary
 void addColumn(String columnName)
           
 void addError(Exception ex, String sqlQuery)
           
 void addRow(ArrayList row)
           
 ArrayList getColumns()
           
 ArrayList getColumns(String userId)
           
 Exception getErrorException()
           
 String getErrorFullText()
           
 int getNbColumns()
           
 int getNbColumns(String userId)
           
 int getNbRows()
           
 int getNbRows(String userId)
           
 DataWarningQuery getParent()
           
 int getPersoColumnNumber()
           
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)
           
 ArrayList getValues()
           
 ArrayList getValues(String userId)
           
 boolean hasError()
           
 boolean isPersoEnabled()
           
 String returnPersoValue(String userId)
           
 long returnTriggerValueFromResult()
           
 long returnTriggerValueFromResult(String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queryParent

protected DataWarningQuery queryParent

columns

protected ArrayList columns

values

protected ArrayList 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

oc

protected org.silverpeas.core.admin.OrganisationController oc
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()

addError

public void addError(Exception ex,
                     String sqlQuery)

addColumn

public void addColumn(String columnName)

getColumns

public ArrayList getColumns()

getValues

public ArrayList getValues()

returnTriggerValueFromResult

public long returnTriggerValueFromResult()
                                  throws DataWarningException
Throws:
DataWarningException

addRow

public void addRow(ArrayList 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

getValues

public ArrayList getValues(String userId)

getRow

protected ArrayList getRow(String userId,
                           int row)

getValue

public String getValue(String userId,
                       int row,
                       int col)

getColumns

public ArrayList getColumns(String userId)

getNbColumns

public int getNbColumns(String userId)

getNbRows

public int getNbRows(String userId)

getPersoColumnNumber

public int getPersoColumnNumber()

returnPersoValue

public String returnPersoValue(String userId)


Copyright © 2016 Silverpeas. All Rights Reserved.