com.stratelia.silverpeas.selectionPeas.jdbc
Class JdbcConnectorDAO
java.lang.Object
com.stratelia.silverpeas.selectionPeas.jdbc.JdbcConnectorDAO
public class JdbcConnectorDAO
- extends Object
JDBC database access.
- Author:
- Antoine HEDIN
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcConnectorDAO
public JdbcConnectorDAO(SelectionJdbcParams jdbcParams)
getColumnsNames
public String[] getColumnsNames()
- Returns:
- The list of columns which compose the table.
getData
public ArrayList<String[]> getData()
- Returns:
- the table's data, after having loading them if needed.
loadData
public void loadData()
- Loads the table's data.
getLine
public String[] getLine(String index)
- Parameters:
index
- The index of the searched line.
- Returns:
- The data of the table's line corresponding to the index.
getLineCount
public int getLineCount()
- Returns:
- The number of lines in the table.
Copyright © 2016 Silverpeas. All Rights Reserved.